Home
last modified time | relevance | path

Searched refs:masklength (Results 1 – 25 of 63) sorted by relevance

123

/linux-6.1.9/drivers/iio/
Dindustrialio-buffer.c407 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/
Diio_simple_dummy_buffer.c71 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/
Dad_sigma_delta.c353 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()
Ddln2-adc.c111 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()
Dad7266.c125 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()
Dmax1118.c178 indio_dev->masklength) { in max1118_trigger_handler()
Dti-adc084s021.c170 indio_dev->masklength) { in adc084s021_buffer_preenable()
Dti-adc0832.c215 indio_dev->masklength) { in adc0832_trigger_handler()
Dti-ads124s08.c283 indio_dev->masklength) { in ads124s_trigger_handler()
Dmt6360-adc.c271 for_each_set_bit(bit, indio_dev->active_scan_mask, indio_dev->masklength) { in mt6360_adc_trigger_handler()
Dad7298.c112 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/
Dcros_ec_sensors_core.c200 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/
Dindustrialio-buffer-cb.c80 cb_buff->buffer.scan_mask = bitmap_zalloc(cb_buff->indio_dev->masklength, in iio_channel_get_all_cb()
Dindustrialio-hw-consumer.c62 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/
Dtriggered-buffers.rst36 for_each_set_bit(bit, active_scan_mask, masklength)
/linux-6.1.9/drivers/iio/accel/
Dcros_ec_accel_legacy.c65 for_each_set_bit(i, &scan_mask, indio_dev->masklength) { in cros_ec_accel_legacy_read_cmd()
/linux-6.1.9/drivers/iio/proximity/
Dsx_common.c374 indio_dev->masklength) { in sx_common_trigger_handler()
403 indio_dev->masklength) in sx_common_buffer_preenable()
/linux-6.1.9/drivers/iio/humidity/
Dam2315.c178 indio_dev->masklength) { in am2315_trigger_handler()
/linux-6.1.9/drivers/iio/light/
Dadjd_s311.c129 indio_dev->masklength) { in adjd_s311_trigger_handler()
Dsi1145.c469 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()
Disl29125.c185 indio_dev->masklength) { in isl29125_trigger_handler()
Dtcs3414.c210 indio_dev->masklength) { in tcs3414_trigger_handler()
Dgp2ap020a00f.c970 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/
Dad5933.c551 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/
Ddlhl60d.c260 indio_dev->masklength) { in dlh_trigger_handler()

123