/kernel/linux/linux-5.10/drivers/iio/ |
D | industrialio-buffer.c | 280 unsigned int masklength, in iio_scan_mask_match() argument 284 if (bitmap_empty(mask, masklength)) in iio_scan_mask_match() 288 if (bitmap_equal(mask, av_masks, masklength)) in iio_scan_mask_match() 291 if (bitmap_subset(mask, av_masks, masklength)) in iio_scan_mask_match() 294 av_masks += BITS_TO_LONGS(masklength); in iio_scan_mask_match() 324 trialmask = bitmap_zalloc(indio_dev->masklength, GFP_KERNEL); in iio_scan_mask_set() 327 if (!indio_dev->masklength) { in iio_scan_mask_set() 331 bitmap_copy(trialmask, buffer->scan_mask, indio_dev->masklength); in iio_scan_mask_set() 339 indio_dev->masklength, in iio_scan_mask_set() 344 bitmap_copy(buffer->scan_mask, trialmask, indio_dev->masklength); in iio_scan_mask_set() [all …]
|
/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() 76 indio_dev->masklength); in iio_simple_dummy_trigger_h() 79 indio_dev->masklength, j); in iio_simple_dummy_trigger_h()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
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()
|
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()
|
D | ti-adc084s021.c | 170 indio_dev->masklength) { in adc084s021_buffer_preenable()
|
D | max1118.c | 180 indio_dev->masklength) { in max1118_trigger_handler()
|
D | ti-adc0832.c | 215 indio_dev->masklength) { in adc0832_trigger_handler()
|
D | ti-ads124s08.c | 284 indio_dev->masklength) { in ads124s_trigger_handler()
|
D | ad7298.c | 113 scan_count = bitmap_weight(active_scan_mask, indio_dev->masklength); in ad7298_update_scan_mode()
|
D | cc10001_adc.c | 162 indio_dev->masklength) { in cc10001_adc_trigger_h()
|
D | max1027.c | 398 spi_read(st->spi, st->buffer, indio_dev->masklength * 2); in max1027_trigger_handler()
|
/kernel/linux/linux-5.10/drivers/iio/common/cros_ec_sensors/ |
D | cros_ec_sensors_core.c | 205 indio_dev->masklength) { in cros_ec_sensors_push_data() 581 for_each_set_bit(i, &scan_mask, indio_dev->masklength) { in cros_ec_sensors_read_data_unsafe() 677 for_each_set_bit(i, &scan_mask, indio_dev->masklength) { in cros_ec_sensors_read_cmd()
|
/kernel/linux/linux-5.10/drivers/iio/buffer/ |
D | industrialio-buffer-cb.c | 80 cb_buff->buffer.scan_mask = bitmap_zalloc(cb_buff->indio_dev->masklength, in iio_channel_get_all_cb()
|
D | industrialio-hw-consumer.c | 55 size_t mask_size = BITS_TO_LONGS(indio_dev->masklength) * sizeof(long); in iio_hw_consumer_get_buffer()
|
/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/accel/ |
D | cros_ec_accel_legacy.c | 65 for_each_set_bit(i, &scan_mask, indio_dev->masklength) { in cros_ec_accel_legacy_read_cmd()
|
/kernel/linux/linux-5.10/drivers/iio/humidity/ |
D | am2315.c | 179 indio_dev->masklength) { in am2315_trigger_handler()
|
/kernel/linux/linux-5.10/drivers/iio/light/ |
D | adjd_s311.c | 126 indio_dev->masklength) { in adjd_s311_trigger_handler()
|
D | si1145.c | 470 indio_dev->masklength) { in si1145_trigger_handler() 473 while (i + run < indio_dev->masklength) { in si1145_trigger_handler() 518 for_each_set_bit(i, &scan_mask, indio_dev->masklength) { in si1145_set_chlist()
|
D | isl29125.c | 185 indio_dev->masklength) { in isl29125_trigger_handler()
|
D | tcs3414.c | 210 indio_dev->masklength) { in tcs3414_trigger_handler()
|
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()
|
/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() 646 indio_dev->masklength); in ad5933_work()
|
/kernel/linux/linux-5.10/drivers/iio/pressure/ |
D | dlhl60d.c | 261 indio_dev->masklength) { in dlh_trigger_handler()
|
/kernel/linux/linux-5.10/include/linux/iio/ |
D | iio.h | 534 unsigned masklength; member
|