Home
last modified time | relevance | path

Searched refs:device_mask (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/iio/light/
Drpr0521.c105 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/
Dvia-macii.c190 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/
Dkernel.h49 int ali_sound_dma_hack(struct device *dev, u64 device_mask);
Diommu.c744 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()
Dpci_sun4v.c676 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()
Dpci.c962 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()