Home
last modified time | relevance | path

Searched refs:bmc150_magn_set_power_mode (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/magnetometer/
H A Dbmc150_magn.c231 static int bmc150_magn_set_power_mode(struct bmc150_magn_data *data, in bmc150_magn_set_power_mode() function
709 ret = bmc150_magn_set_power_mode(data, BMC150_MAGN_POWER_MODE_SUSPEND, in bmc150_magn_init()
758 ret = bmc150_magn_set_power_mode(data, BMC150_MAGN_POWER_MODE_NORMAL, in bmc150_magn_init()
768 bmc150_magn_set_power_mode(data, BMC150_MAGN_POWER_MODE_SUSPEND, true); in bmc150_magn_init()
983 bmc150_magn_set_power_mode(data, BMC150_MAGN_POWER_MODE_SUSPEND, true); in bmc150_magn_probe()
1007 bmc150_magn_set_power_mode(data, BMC150_MAGN_POWER_MODE_SUSPEND, true); in bmc150_magn_remove()
1022 ret = bmc150_magn_set_power_mode(data, BMC150_MAGN_POWER_MODE_SLEEP, in bmc150_magn_runtime_suspend()
1040 return bmc150_magn_set_power_mode(data, BMC150_MAGN_POWER_MODE_NORMAL, in bmc150_magn_runtime_resume()
1053 ret = bmc150_magn_set_power_mode(data, BMC150_MAGN_POWER_MODE_SLEEP, in bmc150_magn_suspend()
1067 ret = bmc150_magn_set_power_mode(data, BMC150_MAGN_POWER_MODE_NORMAL, in bmc150_magn_resume()