/linux-6.1.9/drivers/iio/ |
D | industrialio-buffer.c | 407 unsigned int masklength, in iio_scan_mask_match() argument 411 if (bitmap_empty(mask, masklength)) in iio_scan_mask_match() 415 if (bitmap_equal(mask, av_masks, masklength)) in iio_scan_mask_match() 418 if (bitmap_subset(mask, av_masks, masklength)) in iio_scan_mask_match() 421 av_masks += BITS_TO_LONGS(masklength); in iio_scan_mask_match() 451 if (!indio_dev->masklength) { in iio_scan_mask_set() 456 trialmask = bitmap_alloc(indio_dev->masklength, GFP_KERNEL); in iio_scan_mask_set() 459 bitmap_copy(trialmask, buffer->scan_mask, indio_dev->masklength); in iio_scan_mask_set() 467 indio_dev->masklength, in iio_scan_mask_set() 472 bitmap_copy(buffer->scan_mask, trialmask, indio_dev->masklength); in iio_scan_mask_set() [all …]
|
/linux-6.1.9/drivers/iio/dummy/ |
D | iio_simple_dummy_buffer.c | 71 for_each_set_bit(j, indio_dev->active_scan_mask, indio_dev->masklength) in iio_simple_dummy_trigger_h()
|
/linux-6.1.9/drivers/iio/adc/ |
D | ad_sigma_delta.c | 353 indio_dev->masklength); in ad_sd_buffer_postenable() 366 for_each_set_bit(i, indio_dev->active_scan_mask, indio_dev->masklength) { in ad_sd_buffer_postenable() 528 return bitmap_weight(mask, indio_dev->masklength) <= sigma_delta->num_slots; in ad_sd_validate_scan_mask()
|
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() 374 indio_dev->masklength = chan_info->num_channels - 1; in ad7266_init_channels()
|
D | max1118.c | 178 indio_dev->masklength) { in max1118_trigger_handler()
|
D | ti-adc084s021.c | 170 indio_dev->masklength) { in adc084s021_buffer_preenable()
|
D | ti-adc0832.c | 215 indio_dev->masklength) { in adc0832_trigger_handler()
|
D | ti-ads124s08.c | 283 indio_dev->masklength) { in ads124s_trigger_handler()
|
D | mt6360-adc.c | 271 for_each_set_bit(bit, indio_dev->active_scan_mask, indio_dev->masklength) { in mt6360_adc_trigger_handler()
|
D | ad7298.c | 112 scan_count = bitmap_weight(active_scan_mask, indio_dev->masklength); in ad7298_update_scan_mode()
|
/linux-6.1.9/drivers/iio/common/cros_ec_sensors/ |
D | cros_ec_sensors_core.c | 200 indio_dev->masklength) { in cros_ec_sensors_push_data() 586 for_each_set_bit(i, &scan_mask, indio_dev->masklength) { in cros_ec_sensors_read_data_unsafe() 682 for_each_set_bit(i, &scan_mask, indio_dev->masklength) { in cros_ec_sensors_read_cmd()
|
/linux-6.1.9/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 | 62 buf = kzalloc(struct_size(buf, scan_mask, BITS_TO_LONGS(indio_dev->masklength)), in iio_hw_consumer_get_buffer()
|
/linux-6.1.9/Documentation/driver-api/iio/ |
D | triggered-buffers.rst | 36 for_each_set_bit(bit, active_scan_mask, masklength)
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/iio/proximity/ |
D | sx_common.c | 374 indio_dev->masklength) { in sx_common_trigger_handler() 403 indio_dev->masklength) in sx_common_buffer_preenable()
|
/linux-6.1.9/drivers/iio/humidity/ |
D | am2315.c | 178 indio_dev->masklength) { in am2315_trigger_handler()
|
/linux-6.1.9/drivers/iio/light/ |
D | adjd_s311.c | 129 indio_dev->masklength) { in adjd_s311_trigger_handler()
|
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()
|
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()
|
/linux-6.1.9/drivers/staging/iio/impedance-analyzer/ |
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-6.1.9/drivers/iio/pressure/ |
D | dlhl60d.c | 260 indio_dev->masklength) { in dlh_trigger_handler()
|