Searched refs:kmx61_set_power_state (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/imu/ |
H A D | kmx61.c | 730 static int kmx61_set_power_state(struct kmx61_data *data, bool on, u8 device) in kmx61_set_power_state() function 803 ret = kmx61_set_power_state(data, true, chan->address); in kmx61_read_raw() 811 kmx61_set_power_state(data, false, chan->address); in kmx61_read_raw() 817 ret = kmx61_set_power_state(data, false, chan->address); in kmx61_read_raw() 959 ret = kmx61_set_power_state(data, state, KMX61_ACC); in kmx61_write_event_config() 965 kmx61_set_power_state(data, false, KMX61_ACC); in kmx61_write_event_config() 1039 ret = kmx61_set_power_state(data, state, device); in kmx61_data_rdy_trigger_set_state() 1048 kmx61_set_power_state(data, false, device); in kmx61_data_rdy_trigger_set_state()
|