Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/iio/
Dindustrialio-buffer.c284 (int)indio_dev->masklength - 1) in iio_buffer_register()
285 indio_dev->masklength in iio_buffer_register()
297 if (indio_dev->masklength && buffer->scan_mask == NULL) { in iio_buffer_register()
298 buffer->scan_mask = kcalloc(BITS_TO_LONGS(indio_dev->masklength), in iio_buffer_register()
493 unsigned int masklength, in iio_scan_mask_match() argument
496 if (bitmap_empty(mask, masklength)) in iio_scan_mask_match()
499 if (bitmap_subset(mask, av_masks, masklength)) in iio_scan_mask_match()
501 av_masks += BITS_TO_LONGS(masklength); in iio_scan_mask_match()
516 indio_dev->masklength) { in iio_sw_buffer_preenable()
535 indio_dev->masklength, in iio_sw_buffer_preenable()
[all …]
Diio_simple_dummy_buffer.c60 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) { in iio_simple_dummy_trigger_h()
80 indio_dev->masklength); in iio_simple_dummy_trigger_h()
83 indio_dev->masklength, j + 1); in iio_simple_dummy_trigger_h()
Diio.h354 unsigned masklength; member
/linux-3.4.99/drivers/staging/iio/meter/
Dade7758_ring.c70 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) in ade7758_trigger_handler()
99 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) in ade7758_ring_preenable()
103 indio_dev->masklength); in ade7758_ring_preenable()
/linux-3.4.99/drivers/staging/iio/accel/
Dlis3l02dq_ring.c64 indio_dev->masklength) * 2, in lis3l02dq_read_all()
101 indio_dev->masklength) * 2; j++) in lis3l02dq_read_all()
118 indio_dev->masklength); in lis3l02dq_get_buffer_element()
149 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) in lis3l02dq_trigger_handler()
Dadis16204_ring.c74 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength) && in adis16204_trigger_handler()
77 indio_dev->masklength); i++) in adis16204_trigger_handler()
Dadis16240_ring.c72 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength) && in adis16240_trigger_handler()
75 indio_dev->masklength); i++) in adis16240_trigger_handler()
Dadis16209_ring.c75 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength) && in adis16209_trigger_handler()
78 indio_dev->masklength); i++) in adis16209_trigger_handler()
Dadis16201_ring.c77 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength) in adis16201_trigger_handler()
80 indio_dev->masklength); i++) in adis16201_trigger_handler()
Dadis16203_ring.c77 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength) && in adis16203_trigger_handler()
80 indio_dev->masklength); i++) in adis16203_trigger_handler()
/linux-3.4.99/drivers/staging/iio/adc/
Dad7887_ring.c35 indio_dev->masklength) * in ad7887_ring_preenable()
92 indio_dev->masklength) * in ad7887_trigger_handler()
Dad799x_ring.c47 indio_dev->masklength) * 2; in ad799x_ring_preenable()
108 indio_dev->masklength) * 2, rxbuf); in ad799x_trigger_handler()
Dad7298_ring.c36 indio_dev->masklength); in ad7298_ring_preenable()
110 indio_dev->masklength); i++) in ad7298_trigger_handler()
Dad7476_ring.c36 indio_dev->masklength) * in ad7476_ring_preenable()
Dad7793.c326 if (bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) in ad7793_ring_preenable()
330 indio_dev->masklength); in ad7793_ring_preenable()
333 indio_dev->masklength) * in ad7793_ring_preenable()
396 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) in ad7793_trigger_handler()
Dad7192.c463 if (bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) in ad7192_ring_preenable()
467 indio_dev->masklength); in ad7192_ring_preenable()
470 indio_dev->masklength) * in ad7192_ring_preenable()
530 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) in ad7192_trigger_handler()
/linux-3.4.99/drivers/staging/iio/gyro/
Dadis16260_ring.c77 if (!bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength) && in adis16260_trigger_handler()
80 indio_dev->masklength); i++) in adis16260_trigger_handler()
/linux-3.4.99/drivers/staging/iio/imu/
Dadis16400_ring.c83 indio_dev->masklength); in adis16350_spi_read_all()
126 indio_dev->masklength); in adis16400_trigger_handler()
/linux-3.4.99/drivers/staging/iio/impedance-analyzer/
Dad5933.c543 if (bitmap_empty(indio_dev->active_scan_mask, indio_dev->masklength)) in ad5933_ring_preenable()
547 indio_dev->masklength) * in ad5933_ring_preenable()
641 indio_dev->masklength); in ad5933_work()