Home
last modified time | relevance | path

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

12

/drivers/iio/
Dindustrialio-buffer.c265 unsigned int masklength, in iio_scan_mask_match() argument
269 if (bitmap_empty(mask, masklength)) in iio_scan_mask_match()
273 if (bitmap_equal(mask, av_masks, masklength)) in iio_scan_mask_match()
276 if (bitmap_subset(mask, av_masks, masklength)) in iio_scan_mask_match()
279 av_masks += BITS_TO_LONGS(masklength); in iio_scan_mask_match()
310 BITS_TO_LONGS(indio_dev->masklength), in iio_scan_mask_set()
315 if (!indio_dev->masklength) { in iio_scan_mask_set()
319 bitmap_copy(trialmask, buffer->scan_mask, indio_dev->masklength); in iio_scan_mask_set()
327 indio_dev->masklength, in iio_scan_mask_set()
332 bitmap_copy(buffer->scan_mask, trialmask, indio_dev->masklength); in iio_scan_mask_set()
[all …]
/drivers/staging/iio/
Diio_simple_dummy_buffer.c57 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) { in iio_simple_dummy_trigger_h()
78 indio_dev->masklength); in iio_simple_dummy_trigger_h()
81 indio_dev->masklength, j); in iio_simple_dummy_trigger_h()
/drivers/staging/iio/meter/
Dade7758_ring.c68 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) in ade7758_trigger_handler()
90 if (bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) in ade7758_ring_preenable()
94 indio_dev->masklength); in ade7758_ring_preenable()
/drivers/staging/iio/accel/
Dlis3l02dq_ring.c65 indio_dev->masklength) * 2, in lis3l02dq_read_all()
102 indio_dev->masklength) * 2; j++) in lis3l02dq_read_all()
119 indio_dev->masklength); in lis3l02dq_get_buffer_element()
148 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) in lis3l02dq_trigger_handler()
/drivers/iio/buffer/
Dindustrialio-buffer-cb.c77 = kcalloc(BITS_TO_LONGS(indio_dev->masklength), sizeof(long), in iio_channel_get_all_cb()
/drivers/iio/adc/
Dad7266.c128 unsigned int nr = find_first_bit(scan_mask, indio_dev->masklength); in ad7266_update_scan_mode()
378 indio_dev->masklength = chan_info->num_channels - 1; in ad7266_init_channels()
Dad7298.c114 scan_count = bitmap_weight(active_scan_mask, indio_dev->masklength); in ad7298_update_scan_mode()
Dcc10001_adc.c166 indio_dev->masklength) { in cc10001_adc_trigger_h()
Dmax1027.c383 spi_read(st->spi, st->buffer, indio_dev->masklength * 2); in max1027_trigger_handler()
Dad_sigma_delta.c350 indio_dev->masklength); in ad_sd_buffer_postenable()
Dxilinx-xadc-core.c566 n = bitmap_weight(mask, indio_dev->masklength); in xadc_update_scan_mode()
617 indio_dev->masklength) { in xadc_trigger_handler()
Dad799x.c232 st->transfer_size = bitmap_weight(scan_mask, indio_dev->masklength) * 2; in ad799x_update_scan_mode()
Dvf610_adc.c751 indio_dev->masklength); in vf610_adc_buffer_postenable()
/drivers/staging/iio/impedance-analyzer/
Dad5933.c571 if (bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) in ad5933_ring_preenable()
667 indio_dev->masklength); in ad5933_work()
/drivers/iio/light/
Dadjd_s311.c129 indio_dev->masklength) { in adjd_s311_trigger_handler()
Disl29125.c182 indio_dev->masklength) { in isl29125_trigger_handler()
Dgp2ap020a00f.c973 indio_dev->masklength) { in gp2ap020a00f_trigger_handler()
1414 indio_dev->masklength) { in gp2ap020a00f_buffer_postenable()
1460 indio_dev->masklength) { in gp2ap020a00f_buffer_predisable()
Dtcs3472.c197 indio_dev->masklength) { in tcs3472_trigger_handler()
Dtcs3414.c210 indio_dev->masklength) { in tcs3414_trigger_handler()
/drivers/iio/accel/
Dstk8ba50.c339 indio_dev->masklength) { in stk8ba50_trigger_handler()
Dstk8312.c459 indio_dev->masklength) { in stk8312_trigger_handler()
Dbmc150-accel-core.c939 indio_dev->masklength) in __bmc150_accel_fifo_flush()
1124 indio_dev->masklength) { in bmc150_accel_trigger_handler()
Dbma180.c690 indio_dev->masklength) { in bma180_trigger_handler()
/drivers/iio/proximity/
Dsx9500.c662 indio_dev->masklength) { in sx9500_trigger_handler()
/drivers/iio/gyro/
Dbmg160_core.c789 indio_dev->masklength) { in bmg160_trigger_handler()

12