Searched refs:previous_mode (Results 1 – 3 of 3) sorted by relevance
108 u8 previous_mode; in set_digital_mode() local121 previous_mode = chip->digital_mode; in set_digital_mode()127 if (err >= 0 && previous_mode != mode && in set_digital_mode()128 (previous_mode == DIGITAL_MODE_ADAT || mode == DIGITAL_MODE_ADAT)) { in set_digital_mode()
101 u8 previous_mode; in set_digital_mode() local111 previous_mode = chip->digital_mode; in set_digital_mode()117 if (err >= 0 && previous_mode != mode && in set_digital_mode()118 (previous_mode == DIGITAL_MODE_ADAT || mode == DIGITAL_MODE_ADAT)) { in set_digital_mode()
399 int previous_mode; in iio_buffer_store_enable() local404 previous_mode = indio_dev->currentmode; in iio_buffer_store_enable()452 indio_dev->currentmode = previous_mode; in iio_buffer_store_enable()