Home
last modified time | relevance | path

Searched refs:active_scan_mask (Results 1 – 25 of 68) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_trigger.c16 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/
Diio_simple_dummy_buffer.c55 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/
Dad7298.c105 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()
Dti-adc108s102.c114 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()
Dad7923.c160 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()
Dat91-sama5d2_adc.c499 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()
Ddln2-adc.c112 (*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()
Dti-adc084s021.c169 for_each_set_bit(scan_index, indio_dev->active_scan_mask, in adc084s021_buffer_preenable()
Dmax1118.c179 for_each_set_bit(scan_index, indio_dev->active_scan_mask, in max1118_trigger_handler()
/kernel/linux/linux-5.10/drivers/iio/accel/
Dst_accel_buffer.c36 err = st_sensors_set_axis_enable(indio_dev, indio_dev->active_scan_mask[0]); in st_accel_buffer_postenable()
Dstk8ba50.c322 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()
Dstk8312.c441 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/
Dst_gyro_buffer.c36 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/
Dam2315.c173 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/
Dindustrialio-buffer.c855 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/
Dst_sensors_buffer.c31 for_each_set_bit(i, indio_dev->active_scan_mask, num_data_channels) { in st_sensors_get_buffer_element()
Dst_sensors_trigger.c39 if (!indio_dev->active_scan_mask) in st_sensors_new_samples_available()
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dmpl3115.c165 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/
Dsx9500.c657 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/
Drm3100-core.c386 (*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/
Dad5933.c551 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/
Dmax44000.c501 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()
Dltr501.c1262 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/
Dtriggered-buffers.rst36 for_each_set_bit(bit, active_scan_mask, masklength)
/kernel/linux/linux-5.10/drivers/iio/health/
Dmax30102.c198 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()

123