/linux/drivers/iio/ |
A D | industrialio-buffer.c | 407 unsigned int masklength, in iio_scan_mask_match() argument 451 if (!indio_dev->masklength) { in iio_scan_mask_set() 467 indio_dev->masklength, in iio_scan_mask_set() 492 if (bit > indio_dev->masklength) in iio_scan_mask_query() 713 indio_dev->masklength) { in iio_compute_scan_bytes() 899 indio_dev->masklength); in iio_verify_update() 911 indio_dev->masklength, in iio_verify_update() 988 indio_dev->masklength)) in iio_buffer_update_demux() 994 indio_dev->masklength) { in iio_buffer_update_demux() 996 indio_dev->masklength, in iio_buffer_update_demux() [all …]
|
/linux/drivers/iio/dummy/ |
A D | iio_simple_dummy_buffer.c | 55 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) { in iio_simple_dummy_trigger_h() 76 indio_dev->masklength); in iio_simple_dummy_trigger_h() 79 indio_dev->masklength, j); in iio_simple_dummy_trigger_h()
|
/linux/drivers/iio/adc/ |
A D | dln2-adc.c | 111 if (indio_dev->masklength && in dln2_adc_update_demux() 122 indio_dev->masklength) { in dln2_adc_update_demux() 544 indio_dev->masklength); in dln2_adc_triggered_buffer_postenable()
|
A D | ad7266.c | 125 unsigned int nr = find_first_bit(scan_mask, indio_dev->masklength); in ad7266_update_scan_mode() 373 indio_dev->masklength = chan_info->num_channels - 1; in ad7266_init_channels()
|
A D | max1118.c | 178 indio_dev->masklength) { in max1118_trigger_handler()
|
A D | ti-adc084s021.c | 170 indio_dev->masklength) { in adc084s021_buffer_preenable()
|
A D | ti-adc0832.c | 215 indio_dev->masklength) { in adc0832_trigger_handler()
|
A D | ti-ads124s08.c | 284 indio_dev->masklength) { in ads124s_trigger_handler()
|
A D | mt6360-adc.c | 270 for_each_set_bit(bit, indio_dev->active_scan_mask, indio_dev->masklength) { in mt6360_adc_trigger_handler()
|
A D | ad7298.c | 112 scan_count = bitmap_weight(active_scan_mask, indio_dev->masklength); in ad7298_update_scan_mode()
|
/linux/drivers/iio/common/cros_ec_sensors/ |
A D | cros_ec_sensors_core.c | 206 indio_dev->masklength) { in cros_ec_sensors_push_data() 573 for_each_set_bit(i, &scan_mask, indio_dev->masklength) { in cros_ec_sensors_read_data_unsafe() 669 for_each_set_bit(i, &scan_mask, indio_dev->masklength) { in cros_ec_sensors_read_cmd()
|
/linux/drivers/iio/buffer/ |
A D | industrialio-buffer-cb.c | 80 cb_buff->buffer.scan_mask = bitmap_zalloc(cb_buff->indio_dev->masklength, in iio_channel_get_all_cb()
|
A D | industrialio-hw-consumer.c | 55 size_t mask_size = BITS_TO_LONGS(indio_dev->masklength) * sizeof(long); in iio_hw_consumer_get_buffer()
|
/linux/drivers/iio/accel/ |
A D | cros_ec_accel_legacy.c | 65 for_each_set_bit(i, &scan_mask, indio_dev->masklength) { in cros_ec_accel_legacy_read_cmd()
|
A D | sca3300.c | 303 indio_dev->masklength) { in sca3300_trigger_handler()
|
/linux/Documentation/driver-api/iio/ |
A D | triggered-buffers.rst | 36 for_each_set_bit(bit, active_scan_mask, masklength)
|
/linux/drivers/iio/light/ |
A D | adjd_s311.c | 129 indio_dev->masklength) { in adjd_s311_trigger_handler()
|
A D | si1145.c | 469 indio_dev->masklength) { in si1145_trigger_handler() 472 while (i + run < indio_dev->masklength) { in si1145_trigger_handler() 517 for_each_set_bit(i, &scan_mask, indio_dev->masklength) { in si1145_set_chlist()
|
A D | isl29125.c | 185 indio_dev->masklength) { in isl29125_trigger_handler()
|
A D | gp2ap020a00f.c | 970 indio_dev->masklength) { in gp2ap020a00f_trigger_handler() 1402 indio_dev->masklength) { in gp2ap020a00f_buffer_postenable() 1440 indio_dev->masklength) { in gp2ap020a00f_buffer_predisable()
|
A D | tcs3414.c | 210 indio_dev->masklength) { in tcs3414_trigger_handler()
|
/linux/drivers/iio/humidity/ |
A D | am2315.c | 178 indio_dev->masklength) { in am2315_trigger_handler()
|
/linux/drivers/staging/iio/impedance-analyzer/ |
A D | ad5933.c | 551 if (bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) in ad5933_ring_preenable() 629 indio_dev->masklength); in ad5933_work()
|
/linux/drivers/iio/pressure/ |
A D | dlhl60d.c | 261 indio_dev->masklength) { in dlh_trigger_handler()
|
/linux/include/linux/iio/ |
A D | iio.h | 526 unsigned masklength; member
|