Searched refs:dev_mask (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/iio/light/ |
D | pa12203001.c | 212 u8 dev_mask; in pa12203001_read_raw() local 220 dev_mask = PA12203001_ALS_EN_MASK; in pa12203001_read_raw() 221 ret = pa12203001_set_power_state(data, true, dev_mask); in pa12203001_read_raw() 234 ret = pa12203001_set_power_state(data, false, dev_mask); in pa12203001_read_raw() 239 dev_mask = PA12203001_PX_EN_MASK; in pa12203001_read_raw() 240 ret = pa12203001_set_power_state(data, true, dev_mask); in pa12203001_read_raw() 249 ret = pa12203001_set_power_state(data, false, dev_mask); in pa12203001_read_raw() 270 pa12203001_set_power_state(data, false, dev_mask); in pa12203001_read_raw()
|
/linux-6.1.9/drivers/regulator/ |
D | max597x-regulator.c | 274 unsigned long *dev_mask) in max597x_irq_handler() argument 284 *dev_mask = 0; in max597x_irq_handler() 295 *dev_mask |= 1 << i; in max597x_irq_handler() 299 *dev_mask |= 1 << i; in max597x_irq_handler() 313 *dev_mask |= 1 << i; in max597x_irq_handler() 317 *dev_mask |= 1 << i; in max597x_irq_handler() 331 *dev_mask |= 1 << i; in max597x_irq_handler() 346 *dev_mask |= 1 << i; in max597x_irq_handler()
|
D | bd9576-regulator.c | 779 unsigned long *dev_mask) in bd9576_uvd_handler() argument 788 *dev_mask = 0; in bd9576_uvd_handler() 796 *dev_mask = val & BD9576_xVD_IRQ_MASK_VOUT1TO4; in bd9576_uvd_handler() 798 *dev_mask |= ((val & BD9576_xVD_IRQ_MASK_VOUTL1) >> 1); in bd9576_uvd_handler() 803 *dev_mask |= ((val & BD9576_UVD_IRQ_MASK_VOUTS1_OCW) >> 1); in bd9576_uvd_handler() 805 for_each_set_bit(i, dev_mask, 6) { in bd9576_uvd_handler() 823 unsigned long *dev_mask) in bd9576_ovd_handler() argument 833 *dev_mask = 0; in bd9576_ovd_handler() 838 *dev_mask = val & BD9576_xVD_IRQ_MASK_VOUT1TO4; in bd9576_ovd_handler() 840 *dev_mask |= ((val & BD9576_xVD_IRQ_MASK_VOUTL1) >> 1); in bd9576_ovd_handler() [all …]
|
D | irq_helpers.c | 416 unsigned long *dev_mask) in regulator_irq_map_event_simple() argument 420 *dev_mask = 1; in regulator_irq_map_event_simple()
|
/linux-6.1.9/include/linux/regulator/ |
D | driver.h | 573 unsigned long *dev_mask); 712 unsigned long *dev_mask);
|
/linux-6.1.9/drivers/tee/ |
D | tee_core.c | 40 static DECLARE_BITMAP(dev_mask, TEE_NUM_DEVICES); 860 clear_bit(teedev->id, dev_mask); in tee_release_device() 908 teedev->id = find_next_zero_bit(dev_mask, max_id, offs); in tee_device_alloc() 910 set_bit(teedev->id, dev_mask); in tee_device_alloc() 957 clear_bit(teedev->id, dev_mask); in tee_device_alloc()
|
/linux-6.1.9/drivers/nfc/st21nfca/ |
D | core.c | 72 static DECLARE_BITMAP(dev_mask, ST21NFCA_NUM_DEVICES); 966 dev_num = find_first_zero_bit(dev_mask, ST21NFCA_NUM_DEVICES); in st21nfca_hci_probe() 972 set_bit(dev_num, dev_mask); in st21nfca_hci_probe()
|
/linux-6.1.9/drivers/nfc/st-nci/ |
D | se.c | 92 static DECLARE_BITMAP(dev_mask, ST_NCI_NUM_DEVICES); 584 dev_num = find_first_zero_bit(dev_mask, ST_NCI_NUM_DEVICES); in st_nci_hci_network_init()
|