Home
last modified time | relevance | path

Searched refs:INDIO_BUFFER_TRIGGERED (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/include/linux/iio/
H A Diio.h371 #define INDIO_BUFFER_TRIGGERED 0x02 macro
378 (INDIO_BUFFER_TRIGGERED | INDIO_BUFFER_HARDWARE | INDIO_BUFFER_SOFTWARE)
381 (INDIO_BUFFER_TRIGGERED \
/openbmc/linux/drivers/iio/buffer/
H A Dindustrialio-triggered-buffer.c81 indio_dev->modes |= INDIO_BUFFER_TRIGGERED; in iio_triggered_buffer_setup_ext()
H A Dindustrialio-buffer-cb.c45 .modes = INDIO_BUFFER_SOFTWARE | INDIO_BUFFER_TRIGGERED,
H A Dkfifo_buf.c200 .modes = INDIO_BUFFER_SOFTWARE | INDIO_BUFFER_TRIGGERED,
/openbmc/linux/drivers/iio/
H A Dindustrialio-buffer.c871 if ((modes & INDIO_BUFFER_TRIGGERED) && indio_dev->trig) { in iio_verify_update()
872 config->mode = INDIO_BUFFER_TRIGGERED; in iio_verify_update()
886 if (indio_dev->modes & INDIO_BUFFER_TRIGGERED) in iio_verify_update()
1110 if (iio_dev_opaque->currentmode == INDIO_BUFFER_TRIGGERED) { in iio_enable_buffers()
1129 if (iio_dev_opaque->currentmode == INDIO_BUFFER_TRIGGERED) { in iio_enable_buffers()
1172 if (iio_dev_opaque->currentmode == INDIO_BUFFER_TRIGGERED) { in iio_disable_buffers()
H A Dindustrialio-trigger.c455 if (iio_dev_opaque->currentmode == INDIO_BUFFER_TRIGGERED) { in current_trigger_store()
H A Dindustrialio-core.c211 INDIO_BUFFER_TRIGGERED); in iio_buffer_enabled()
/openbmc/linux/drivers/iio/accel/
H A Dkionix-kx022a.c799 if (iio_device_get_current_mode(idev) == INDIO_BUFFER_TRIGGERED) in kx022a_buffer_predisable()
847 if (iio_device_get_current_mode(idev) == INDIO_BUFFER_TRIGGERED) in kx022a_buffer_postenable()
H A Dbmc150-accel-core.c1528 if (iio_device_get_current_mode(indio_dev) == INDIO_BUFFER_TRIGGERED) in bmc150_accel_buffer_postenable()
1560 if (iio_device_get_current_mode(indio_dev) == INDIO_BUFFER_TRIGGERED) in bmc150_accel_buffer_predisable()