Searched refs:currentmode (Results 1 – 6 of 6) sorted by relevance
533 int currentmode; member707 return indio_dev->currentmode in iio_buffer_enabled()
956 indio_dev->currentmode = config->mode; in iio_enable_buffers()974 indio_dev->currentmode = INDIO_DIRECT_MODE; in iio_enable_buffers()1012 indio_dev->currentmode = INDIO_DIRECT_MODE; in iio_disable_buffers()
409 if (indio_dev->currentmode == INDIO_BUFFER_TRIGGERED) { in iio_trigger_write_current()
1414 if (indio_dev->currentmode == INDIO_BUFFER_TRIGGERED) in bmc150_accel_buffer_postenable()1446 if (indio_dev->currentmode == INDIO_BUFFER_TRIGGERED) in bmc150_accel_buffer_predisable()
589 if (indio_dev->currentmode == INDIO_BUFFER_TRIGGERED) { in st_sensors_read_info_raw()
912 if (!(indio_dev->currentmode & INDIO_ALL_TRIGGERED_MODES)) in at91_adc_buffer_postenable()939 if (!(indio_dev->currentmode & INDIO_ALL_TRIGGERED_MODES)) in at91_adc_buffer_predisable()