Searched refs:device_mask (Results 1 - 7 of 7) sorted by relevance
/linux-4.4.14/drivers/iio/light/ |
H A D | rpr0521.c | 87 u8 device_mask; member in struct:rpr0521_reg_desc 93 .device_mask = RPR0521_MODE_ALS_MASK, 97 .device_mask = RPR0521_MODE_ALS_MASK, 101 .device_mask = RPR0521_MODE_PXS_MASK, 224 * @on: state to be set for devices in @device_mask 225 * @device_mask: bitmask specifying for which device we need to update @on state 227 * We rely on rpr0521_runtime_resume to enable our @device_mask devices, but 234 u8 device_mask) rpr0521_set_power_state() 240 if (device_mask & RPR0521_MODE_ALS_MASK) { rpr0521_set_power_state() 247 if (device_mask & RPR0521_MODE_PXS_MASK) { rpr0521_set_power_state() 323 u8 device_mask; rpr0521_read_raw() local 331 device_mask = rpr0521_data_reg[chan->address].device_mask; rpr0521_read_raw() 334 ret = rpr0521_set_power_state(data, true, device_mask); rpr0521_read_raw() 344 rpr0521_set_power_state(data, false, device_mask); rpr0521_read_raw() 349 ret = rpr0521_set_power_state(data, false, device_mask); rpr0521_read_raw() 233 rpr0521_set_power_state(struct rpr0521_data *data, bool on, u8 device_mask) rpr0521_set_power_state() argument
|
/linux-4.4.14/drivers/media/pci/ttpci/ |
H A D | av7110_ir.c | 149 if (!(ir->device_mask & (1 << addr))) av7110_emit_key() 262 if (av7110->ir.device_mask != ir_device_mask[i]) av7110_check_ir_config() 263 av7110->ir.device_mask = ir_device_mask[i]; av7110_check_ir_config()
|
H A D | av7110.h | 88 u32 device_mask; member in struct:infrared
|
/linux-4.4.14/drivers/macintosh/ |
H A D | via-macii.c | 203 int device_mask; macii_queue_poll() local 209 device_mask = (1 << (((command_byte & 0xF0) >> 4) + 1)) - 1; macii_queue_poll() 210 if (autopoll_devs & ~device_mask) macii_queue_poll() 211 next_device = ffs(autopoll_devs & ~device_mask) - 1; macii_queue_poll()
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | iommu.c | 758 int dma_supported(struct device *dev, u64 device_mask) dma_supported() argument 763 if (device_mask >= (1UL << 32UL)) dma_supported() 766 if ((device_mask & dma_addr_mask) == dma_addr_mask) dma_supported() 771 return pci64_dma_supported(to_pci_dev(dev), device_mask); dma_supported()
|
H A D | kernel.h | 48 int pci64_dma_supported(struct pci_dev *pdev, u64 device_mask);
|
H A D | pci.c | 950 int pci64_dma_supported(struct pci_dev *pdev, u64 device_mask) pci64_dma_supported() argument 963 device_mask == 0x7fffffff) { pci64_dma_supported() 970 if (device_mask >= (1UL << 32UL)) pci64_dma_supported() 973 return (device_mask & dma_addr_mask) == dma_addr_mask; pci64_dma_supported()
|
Completed in 228 milliseconds