Searched refs:currentmode (Results 1 – 7 of 7) sorted by relevance
404 previous_mode = indio_dev->currentmode; in iio_buffer_store_enable()438 indio_dev->currentmode = INDIO_BUFFER_TRIGGERED; in iio_buffer_store_enable()440 indio_dev->currentmode = INDIO_BUFFER_HARDWARE; in iio_buffer_store_enable()452 indio_dev->currentmode = previous_mode; in iio_buffer_store_enable()465 indio_dev->currentmode = INDIO_DIRECT_MODE; in iio_buffer_store_enable()
345 int currentmode; member451 return indio_dev->currentmode in iio_buffer_enabled()
338 if (indio_dev->currentmode == INDIO_BUFFER_TRIGGERED) { in iio_trigger_write_current()
1343 int currentmode; in b43legacy_radio_set_interference_mitigation() local1366 currentmode = phy->interfmode; in b43legacy_radio_set_interference_mitigation()1367 if (currentmode == mode) in b43legacy_radio_set_interference_mitigation()1369 if (currentmode != B43legacy_RADIO_INTERFMODE_NONE) in b43legacy_radio_set_interference_mitigation()1371 currentmode); in b43legacy_radio_set_interference_mitigation()
126 if (indio_dev->currentmode == INDIO_BUFFER_TRIGGERED) { in ad7298_read_raw()
2708 int currentmode; in b43_gphy_op_interf_mitigation() local2731 currentmode = gphy->interfmode; in b43_gphy_op_interf_mitigation()2732 if (currentmode == mode) in b43_gphy_op_interf_mitigation()2734 if (currentmode != B43_INTERFMODE_NONE) in b43_gphy_op_interf_mitigation()2735 b43_radio_interference_mitigation_disable(dev, currentmode); in b43_gphy_op_interf_mitigation()
263 if (indio_dev->currentmode == INDIO_BUFFER_TRIGGERED) { in lis3l02dq_read_raw()