Searched refs:masklength (Results 1 – 25 of 29) sorted by relevance
12
/drivers/iio/ |
D | industrialio-buffer.c | 265 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/ |
D | iio_simple_dummy_buffer.c | 57 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/ |
D | ade7758_ring.c | 68 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/ |
D | lis3l02dq_ring.c | 65 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/ |
D | industrialio-buffer-cb.c | 77 = kcalloc(BITS_TO_LONGS(indio_dev->masklength), sizeof(long), in iio_channel_get_all_cb()
|
/drivers/iio/adc/ |
D | ad7266.c | 128 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()
|
D | ad7298.c | 114 scan_count = bitmap_weight(active_scan_mask, indio_dev->masklength); in ad7298_update_scan_mode()
|
D | cc10001_adc.c | 166 indio_dev->masklength) { in cc10001_adc_trigger_h()
|
D | max1027.c | 383 spi_read(st->spi, st->buffer, indio_dev->masklength * 2); in max1027_trigger_handler()
|
D | ad_sigma_delta.c | 350 indio_dev->masklength); in ad_sd_buffer_postenable()
|
D | xilinx-xadc-core.c | 566 n = bitmap_weight(mask, indio_dev->masklength); in xadc_update_scan_mode() 617 indio_dev->masklength) { in xadc_trigger_handler()
|
D | ad799x.c | 232 st->transfer_size = bitmap_weight(scan_mask, indio_dev->masklength) * 2; in ad799x_update_scan_mode()
|
D | vf610_adc.c | 751 indio_dev->masklength); in vf610_adc_buffer_postenable()
|
/drivers/staging/iio/impedance-analyzer/ |
D | ad5933.c | 571 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/ |
D | adjd_s311.c | 129 indio_dev->masklength) { in adjd_s311_trigger_handler()
|
D | isl29125.c | 182 indio_dev->masklength) { in isl29125_trigger_handler()
|
D | gp2ap020a00f.c | 973 indio_dev->masklength) { in gp2ap020a00f_trigger_handler() 1414 indio_dev->masklength) { in gp2ap020a00f_buffer_postenable() 1460 indio_dev->masklength) { in gp2ap020a00f_buffer_predisable()
|
D | tcs3472.c | 197 indio_dev->masklength) { in tcs3472_trigger_handler()
|
D | tcs3414.c | 210 indio_dev->masklength) { in tcs3414_trigger_handler()
|
/drivers/iio/accel/ |
D | stk8ba50.c | 339 indio_dev->masklength) { in stk8ba50_trigger_handler()
|
D | stk8312.c | 459 indio_dev->masklength) { in stk8312_trigger_handler()
|
D | bmc150-accel-core.c | 939 indio_dev->masklength) in __bmc150_accel_fifo_flush() 1124 indio_dev->masklength) { in bmc150_accel_trigger_handler()
|
D | bma180.c | 690 indio_dev->masklength) { in bma180_trigger_handler()
|
/drivers/iio/proximity/ |
D | sx9500.c | 662 indio_dev->masklength) { in sx9500_trigger_handler()
|
/drivers/iio/gyro/ |
D | bmg160_core.c | 789 indio_dev->masklength) { in bmg160_trigger_handler()
|
12