Home
last modified time | relevance | path

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

/linux-5.19.10/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,
340 u8 device_mask) in rpr0521_set_power_state() argument
345 if (device_mask & RPR0521_MODE_ALS_MASK) { in rpr0521_set_power_state()
350 if (device_mask & RPR0521_MODE_PXS_MASK) { in rpr0521_set_power_state()
726 u8 device_mask; in rpr0521_read_raw() local
738 device_mask = rpr0521_data_reg[chan->address].device_mask; in rpr0521_read_raw()
741 ret = rpr0521_set_power_state(data, true, device_mask); in rpr0521_read_raw()
[all …]
/linux-5.19.10/arch/sparc/kernel/
Dkernel.h54 int ali_sound_dma_hack(struct device *dev, u64 device_mask);
Diommu.c741 static int dma_4u_supported(struct device *dev, u64 device_mask) in dma_4u_supported() argument
745 if (ali_sound_dma_hack(dev, device_mask)) in dma_4u_supported()
748 if (device_mask < iommu->dma_addr_mask) in dma_4u_supported()
Dpci_sun4v.c674 static int dma_4v_supported(struct device *dev, u64 device_mask) in dma_4v_supported() argument
678 if (ali_sound_dma_hack(dev, device_mask)) in dma_4v_supported()
680 if (device_mask < iommu->dma_addr_mask) in dma_4v_supported()
Dpci.c961 int ali_sound_dma_hack(struct device *dev, u64 device_mask) in ali_sound_dma_hack() argument
972 device_mask != 0x7fffffff) in ali_sound_dma_hack()