Searched refs:kmx61_set_power_state (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/iio/imu/
H A Dkmx61.c725 * kmx61_set_power_state() - set power state for kmx61 @device
735 static int kmx61_set_power_state(struct kmx61_data *data, bool on, u8 device) kmx61_set_power_state() function
765 "Failed: kmx61_set_power_state for %d, ret %d\n", kmx61_set_power_state()
810 ret = kmx61_set_power_state(data, true, chan->address); kmx61_read_raw()
818 kmx61_set_power_state(data, false, chan->address); kmx61_read_raw()
824 ret = kmx61_set_power_state(data, false, chan->address); kmx61_read_raw()
966 ret = kmx61_set_power_state(data, state, KMX61_ACC); kmx61_write_event_config()
972 kmx61_set_power_state(data, false, KMX61_ACC); kmx61_write_event_config()
1048 ret = kmx61_set_power_state(data, state, device); kmx61_data_rdy_trigger_set_state()
1057 kmx61_set_power_state(data, false, device); kmx61_data_rdy_trigger_set_state()

Completed in 45 milliseconds