Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-buffer.c280 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/
Diio_simple_dummy_buffer.c55 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/
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()
373 indio_dev->masklength = chan_info->num_channels - 1; in ad7266_init_channels()
Dti-adc084s021.c170 indio_dev->masklength) { in adc084s021_buffer_preenable()
Dmax1118.c180 indio_dev->masklength) { in max1118_trigger_handler()
Dti-adc0832.c215 indio_dev->masklength) { in adc0832_trigger_handler()
Dti-ads124s08.c284 indio_dev->masklength) { in ads124s_trigger_handler()
Dad7298.c113 scan_count = bitmap_weight(active_scan_mask, indio_dev->masklength); in ad7298_update_scan_mode()
Dcc10001_adc.c162 indio_dev->masklength) { in cc10001_adc_trigger_h()
Dmax1027.c398 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/
Dcros_ec_sensors_core.c205 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/
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.c55 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/
Dtriggered-buffers.rst36 for_each_set_bit(bit, active_scan_mask, masklength)
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/iio/humidity/
Dam2315.c179 indio_dev->masklength) { in am2315_trigger_handler()
/kernel/linux/linux-5.10/drivers/iio/light/
Dadjd_s311.c126 indio_dev->masklength) { in adjd_s311_trigger_handler()
Dsi1145.c470 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()
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()
/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()
646 indio_dev->masklength); in ad5933_work()
/kernel/linux/linux-5.10/drivers/iio/pressure/
Ddlhl60d.c261 indio_dev->masklength) { in dlh_trigger_handler()
/kernel/linux/linux-5.10/include/linux/iio/
Diio.h534 unsigned masklength; member

123