/* * This code implements the DMA subsystem. It provides a HW-neutral interface * for other kernel code to use asynchronous memory copy capabilities, * if present, and allows different HW DMA drivers to register as providing * this capability....
682 u16 reg, size_t field_sz, 683 const char *field[], u8 numfields, 684 bool *update) 685{ 686 int val[4] = {-1, -2, -3, -4}; 687 int matches = 0; 688 u16 mask; 689 u16 maxval; 690 u16 newval; 691 int i; 692 693 for (i = 0; i < numfields; i++) 694 if...
Elixir Cross Referencer - Explore source code in your browser - Particularly useful for the Linux kernel and other low-level projects in C/C++ (bootloaders, C libraries...)
rtl9000a_read_status(structphy_device*phydev) { intret; phydev->master_slave_get=MASTER_SLAVE_CFG_UNKNOWN; phydev->master_slave_state=MASTER_SLAVE_STATE_UNKNOWN; ret=genphy_update_link(phydev); if(ret) returnret; ret=phy_read(
* * To address that, rather than precisely accounting every page, we * instead account for a worst case on locked memory when the iommu is * enabled and disabled. The worst case upper bound on locked memory * is the size of the whole iommu window, which is usually...
{ 1272 struct platform_device *pdev = to_platform_device(dev); 1273 char *driver_override, *old, *cp; 1274 1275 /* We need to keep extra room for a newline */ 1276 if (count >= (PAGE_SIZE - 1)) 1277 return -EINVAL; 1278 1279 driver_override = kstrndup(buf, count, GFP_...
(dev, "Reject override mode: panel has a fixed mode\n"); return; } if (WARN_ON(!desc->num_timings)) { dev_err(dev, "Reject override mode: no timings specified\n"); return; } for (i = 0; i < panel->desc->num_timings; i++) { const struct display_timing ...
1029 * the loopback device whenever they appear. xfstests is notorious for1030 * failing tests because blkid via udev races with a losetup1031 * <dev>/do something like mkfs/losetup -d <dev> causing the losetup -d1032 * command to fa...
Elixir Cross Referencer - Explore source code in your browser - Particularly useful for the Linux kernel and other low-level projects in C/C++ (bootloaders, C libraries...)
Elixir Cross Referencer - Explore source code in your browser - Particularly useful for the Linux kernel and other low-level projects in C/C++ (bootloaders, C libraries...)