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

/linux-4.4.14/drivers/iio/imu/
H A Dkmx61.c128 bool mag_stby; member in struct:kmx61_data
328 * mag_stby members of driver's private @data.
334 int acc_stby = -1, mag_stby = -1; kmx61_set_mode() local
354 mag_stby = 1; kmx61_set_mode()
357 mag_stby = 0; kmx61_set_mode()
372 if (mag_stby != -1 && update) kmx61_set_mode()
373 data->mag_stby = mag_stby; kmx61_set_mode()
741 if (on && !data->acc_ps && !data->mag_stby) { kmx61_set_power_state()
1483 if (data->mag_stby) kmx61_resume()

Completed in 41 milliseconds