Searched refs:device_mask (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/iio/light/ |
D | rpr0521.c | 105 u8 device_mask; member 111 .device_mask = RPR0521_MODE_PXS_MASK, 115 .device_mask = RPR0521_MODE_ALS_MASK, 119 .device_mask = RPR0521_MODE_ALS_MASK, 329 u8 device_mask) in rpr0521_set_power_state() argument 334 if (device_mask & RPR0521_MODE_ALS_MASK) { in rpr0521_set_power_state() 339 if (device_mask & RPR0521_MODE_PXS_MASK) { in rpr0521_set_power_state() 722 u8 device_mask; in rpr0521_read_raw() local 734 device_mask = rpr0521_data_reg[chan->address].device_mask; in rpr0521_read_raw() 737 ret = rpr0521_set_power_state(data, true, device_mask); in rpr0521_read_raw() [all …]
|
/Linux-v5.4/drivers/macintosh/ |
D | via-macii.c | 190 int device_mask; in macii_queue_poll() local 197 device_mask = (1 << (((command_byte & 0xF0) >> 4) + 1)) - 1; in macii_queue_poll() 198 if (autopoll_devs & ~device_mask) in macii_queue_poll() 199 next_device = ffs(autopoll_devs & ~device_mask) - 1; in macii_queue_poll()
|
/Linux-v5.4/arch/sparc/kernel/ |
D | kernel.h | 49 int ali_sound_dma_hack(struct device *dev, u64 device_mask);
|
D | iommu.c | 744 static int dma_4u_supported(struct device *dev, u64 device_mask) in dma_4u_supported() argument 748 if (ali_sound_dma_hack(dev, device_mask)) in dma_4u_supported() 751 if (device_mask < iommu->dma_addr_mask) in dma_4u_supported()
|
D | pci_sun4v.c | 676 static int dma_4v_supported(struct device *dev, u64 device_mask) in dma_4v_supported() argument 680 if (ali_sound_dma_hack(dev, device_mask)) in dma_4v_supported() 682 if (device_mask < iommu->dma_addr_mask) in dma_4v_supported()
|
D | pci.c | 962 int ali_sound_dma_hack(struct device *dev, u64 device_mask) in ali_sound_dma_hack() argument 973 device_mask != 0x7fffffff) in ali_sound_dma_hack()
|