Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/regulator/
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 …]
Dmax5970-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()
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.6.21/include/linux/regulator/
Ddriver.h574 unsigned long *dev_mask);
713 unsigned long *dev_mask);
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Daqua_vanjaram.c236 uint32_t dev_mask = 0; in aqua_vanjaram_logical_to_dev_mask() local
242 dev_mask |= (1 << dev_inst); in aqua_vanjaram_logical_to_dev_mask()
246 return dev_mask; in aqua_vanjaram_logical_to_dev_mask()
Damdgpu_psp.c1697 uint32_t dev_mask; in psp_ras_trigger_error() local
1704 dev_mask = GET_MASK(GC, instance_mask); in psp_ras_trigger_error()
1707 dev_mask = GET_MASK(SDMA0, instance_mask); in psp_ras_trigger_error()
1711 dev_mask = GET_MASK(VCN, instance_mask); in psp_ras_trigger_error()
1714 dev_mask = instance_mask; in psp_ras_trigger_error()
1719 dev_mask <<= AMDGPU_RAS_INST_SHIFT; in psp_ras_trigger_error()
1720 dev_mask &= AMDGPU_RAS_INST_MASK; in psp_ras_trigger_error()
1721 info->sub_block_index |= dev_mask; in psp_ras_trigger_error()
/linux-6.6.21/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.6.21/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.6.21/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()