Home
last modified time | relevance | path

Searched refs:dev_mask (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/iio/light/
Dpa12203001.c212 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/
Dmax597x-regulator.c274 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()
Dbd9576-regulator.c779 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 …]
Dirq_helpers.c416 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/
Ddriver.h573 unsigned long *dev_mask);
712 unsigned long *dev_mask);
/linux-6.1.9/drivers/tee/
Dtee_core.c40 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/
Dcore.c72 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/
Dse.c92 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()