Searched refs:dev_mask (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/iio/light/ |
H A 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/drivers/regulator/ |
H A 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 …]
|
H A D | max5970-regulator.c | 401 unsigned long *dev_mask) in max597x_irq_handler() argument 411 *dev_mask = 0; in max597x_irq_handler() 422 *dev_mask |= 1 << i; in max597x_irq_handler() 426 *dev_mask |= 1 << i; in max597x_irq_handler() 440 *dev_mask |= 1 << i; in max597x_irq_handler() 444 *dev_mask |= 1 << i; in max597x_irq_handler() 458 *dev_mask |= 1 << i; in max597x_irq_handler() 473 *dev_mask |= 1 << i; in max597x_irq_handler()
|
H A D | irq_helpers.c | 424 unsigned long *dev_mask) in regulator_irq_map_event_simple() argument 428 *dev_mask = 1; in regulator_irq_map_event_simple()
|
H A D | bd96801-regulator.c | 315 unsigned long *dev_mask) in ldo_map_notif() argument 328 *dev_mask |= BIT(i); in ldo_map_notif()
|
/linux/drivers/tee/ |
H A 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/drivers/nfc/st21nfca/ |
H A 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/drivers/nfc/st-nci/ |
H A 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()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | aqua_vanjaram.c | 248 uint32_t dev_mask = 0; in aqua_vanjaram_logical_to_dev_mask() local 254 dev_mask |= (1 << dev_inst); in aqua_vanjaram_logical_to_dev_mask() 258 return dev_mask; in aqua_vanjaram_logical_to_dev_mask()
|