/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_trigger.c | 16 indio_dev->active_scan_mask) || in inv_scan_query_mpu6050() 18 indio_dev->active_scan_mask) || in inv_scan_query_mpu6050() 20 indio_dev->active_scan_mask); in inv_scan_query_mpu6050() 24 indio_dev->active_scan_mask) || in inv_scan_query_mpu6050() 26 indio_dev->active_scan_mask) || in inv_scan_query_mpu6050() 28 indio_dev->active_scan_mask); in inv_scan_query_mpu6050() 31 test_bit(INV_MPU6050_SCAN_TEMP, indio_dev->active_scan_mask); in inv_scan_query_mpu6050() 57 indio_dev->active_scan_mask) || in inv_scan_query_mpu9x50() 59 indio_dev->active_scan_mask) || in inv_scan_query_mpu9x50() 61 indio_dev->active_scan_mask); in inv_scan_query_mpu9x50()
|
/kernel/linux/linux-5.10/drivers/iio/dummy/ |
D | iio_simple_dummy_buffer.c | 55 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) { in iio_simple_dummy_trigger_h() 75 i < bitmap_weight(indio_dev->active_scan_mask, in iio_simple_dummy_trigger_h() 78 j = find_next_bit(indio_dev->active_scan_mask, in iio_simple_dummy_trigger_h()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | ad7298.c | 105 const unsigned long *active_scan_mask) in ad7298_update_scan_mode() argument 113 scan_count = bitmap_weight(active_scan_mask, indio_dev->masklength); in ad7298_update_scan_mode() 118 if (test_bit(i, active_scan_mask)) in ad7298_update_scan_mode()
|
D | ti-adc108s102.c | 114 unsigned long const *active_scan_mask) in adc108s102_update_scan_mode() argument 124 for_each_set_bit(bit, active_scan_mask, ADC108S102_MAX_CHANNELS) in adc108s102_update_scan_mode()
|
D | ad7923.c | 160 const unsigned long *active_scan_mask) in ad7923_update_scan_mode() argument 170 for_each_set_bit(i, active_scan_mask, indio_dev->num_channels - 1) { in ad7923_update_scan_mode()
|
D | at91-sama5d2_adc.c | 499 for_each_set_bit(bit, indio_dev->active_scan_mask, in at91_adc_active_scan_mask_to_reg() 819 for_each_set_bit(bit, indio_dev->active_scan_mask, in at91_adc_dma_start() 883 return !!bitmap_subset(indio_dev->active_scan_mask, in at91_adc_current_chan_is_touch() 909 for_each_set_bit(bit, indio_dev->active_scan_mask, in at91_adc_buffer_prepare() 961 for_each_set_bit(bit, indio_dev->active_scan_mask, in at91_adc_buffer_postdisable() 1056 for_each_set_bit(bit, indio_dev->active_scan_mask, in at91_adc_trigger_handler_nodma() 1224 for_each_set_bit(bit, indio_dev->active_scan_mask, in at91_adc_touch_data_handler()
|
D | dln2-adc.c | 112 (*indio_dev->active_scan_mask & 0xff) == 0xff) { in dln2_adc_update_demux() 121 indio_dev->active_scan_mask, in dln2_adc_update_demux() 543 trigger_chan = find_first_bit(indio_dev->active_scan_mask, in dln2_adc_triggered_buffer_postenable()
|
D | ti-adc084s021.c | 169 for_each_set_bit(scan_index, indio_dev->active_scan_mask, in adc084s021_buffer_preenable()
|
D | max1118.c | 179 for_each_set_bit(scan_index, indio_dev->active_scan_mask, in max1118_trigger_handler()
|
/kernel/linux/linux-5.10/drivers/iio/accel/ |
D | st_accel_buffer.c | 36 err = st_sensors_set_axis_enable(indio_dev, indio_dev->active_scan_mask[0]); in st_accel_buffer_postenable()
|
D | stk8ba50.c | 322 if (*(indio_dev->active_scan_mask) == STK8BA50_ALL_CHANNEL_MASK) { in stk8ba50_trigger_handler() 332 for_each_set_bit(bit, indio_dev->active_scan_mask, in stk8ba50_trigger_handler()
|
D | stk8312.c | 441 if (*(indio_dev->active_scan_mask) == STK8312_ALL_CHANNEL_MASK) { in stk8312_trigger_handler() 452 for_each_set_bit(bit, indio_dev->active_scan_mask, in stk8312_trigger_handler()
|
/kernel/linux/linux-5.10/drivers/iio/gyro/ |
D | st_gyro_buffer.c | 36 err = st_sensors_set_axis_enable(indio_dev, indio_dev->active_scan_mask[0]); in st_gyro_buffer_postenable()
|
/kernel/linux/linux-5.10/drivers/iio/humidity/ |
D | am2315.c | 173 if (*(indio_dev->active_scan_mask) == AM2315_ALL_CHANNEL_MASK) { in am2315_trigger_handler() 178 for_each_set_bit(bit, indio_dev->active_scan_mask, in am2315_trigger_handler()
|
/kernel/linux/linux-5.10/drivers/iio/ |
D | industrialio-buffer.c | 855 if (bitmap_equal(indio_dev->active_scan_mask, in iio_buffer_update_demux() 864 in_ind = find_next_bit(indio_dev->active_scan_mask, in iio_buffer_update_demux() 871 in_ind = find_next_bit(indio_dev->active_scan_mask, in iio_buffer_update_demux() 935 indio_dev->active_scan_mask = config->scan_mask; in iio_enable_buffers() 955 indio_dev->active_scan_mask); in iio_enable_buffers() 1006 indio_dev->active_scan_mask = NULL; in iio_enable_buffers() 1052 iio_free_scan_mask(indio_dev, indio_dev->active_scan_mask); in iio_disable_buffers() 1053 indio_dev->active_scan_mask = NULL; in iio_disable_buffers()
|
/kernel/linux/linux-5.10/drivers/iio/common/st_sensors/ |
D | st_sensors_buffer.c | 31 for_each_set_bit(i, indio_dev->active_scan_mask, num_data_channels) { in st_sensors_get_buffer_element()
|
D | st_sensors_trigger.c | 39 if (!indio_dev->active_scan_mask) in st_sensors_new_samples_available()
|
/kernel/linux/linux-5.10/drivers/iio/pressure/ |
D | mpl3115.c | 165 if (test_bit(0, indio_dev->active_scan_mask)) { in mpl3115_trigger_handler() 175 if (test_bit(1, indio_dev->active_scan_mask)) { in mpl3115_trigger_handler()
|
/kernel/linux/linux-5.10/drivers/iio/proximity/ |
D | sx9500.c | 657 for_each_set_bit(bit, indio_dev->active_scan_mask, in sx9500_trigger_handler() 686 if (test_bit(i, indio_dev->active_scan_mask)) { in sx9500_buffer_postenable() 694 if (test_bit(i, indio_dev->active_scan_mask)) in sx9500_buffer_postenable() 710 if (test_bit(i, indio_dev->active_scan_mask)) { in sx9500_buffer_predisable() 718 if (test_bit(i, indio_dev->active_scan_mask)) in sx9500_buffer_predisable()
|
/kernel/linux/linux-5.10/drivers/iio/magnetometer/ |
D | rm3100-core.c | 386 (*indio_dev->active_scan_mask & 0x7) << in rm3100_set_samp_freq() 454 (*indio_dev->active_scan_mask & 0x7) << RM3100_CMM_AXIS_SHIFT | in rm3100_buffer_preenable() 474 unsigned long scan_mask = *indio_dev->active_scan_mask; in rm3100_trigger_handler()
|
/kernel/linux/linux-5.10/drivers/staging/iio/impedance-analyzer/ |
D | ad5933.c | 551 if (bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) in ad5933_ring_preenable() 645 int scan_count = bitmap_weight(indio_dev->active_scan_mask, in ad5933_work() 648 test_bit(1, indio_dev->active_scan_mask) ? in ad5933_work()
|
/kernel/linux/linux-5.10/drivers/iio/light/ |
D | max44000.c | 501 if (test_bit(MAX44000_SCAN_INDEX_ALS, indio_dev->active_scan_mask)) { in max44000_trigger_handler() 507 if (test_bit(MAX44000_SCAN_INDEX_PRX, indio_dev->active_scan_mask)) { in max44000_trigger_handler()
|
D | ltr501.c | 1262 if (test_bit(0, indio_dev->active_scan_mask) || in ltr501_trigger_handler() 1263 test_bit(1, indio_dev->active_scan_mask)) in ltr501_trigger_handler() 1265 if (test_bit(2, indio_dev->active_scan_mask)) in ltr501_trigger_handler() 1277 if (test_bit(0, indio_dev->active_scan_mask)) in ltr501_trigger_handler() 1279 if (test_bit(1, indio_dev->active_scan_mask)) in ltr501_trigger_handler()
|
/kernel/linux/linux-5.10/Documentation/driver-api/iio/ |
D | triggered-buffers.rst | 36 for_each_set_bit(bit, active_scan_mask, masklength)
|
/kernel/linux/linux-5.10/drivers/iio/health/ |
D | max30102.c | 198 switch (*indio_dev->active_scan_mask) { in max30102_buffer_postenable() 295 unsigned int measurements = bitmap_weight(indio_dev->active_scan_mask, in max30102_interrupt_handler()
|