Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/magnetometer/
Dak8974.c227 static int ak8974_set_power(struct ak8974 *ak8974, bool mode) in ak8974_set_power() function
249 ret = ak8974_set_power(ak8974, AK8974_PWR_ON); in ak8974_reset()
271 return ak8974_set_power(ak8974, AK8974_PWR_OFF); in ak8974_reset()
868 ret = ak8974_set_power(ak8974, AK8974_PWR_ON); in ak8974_probe()
966 ak8974_set_power(ak8974, AK8974_PWR_OFF); in ak8974_probe()
982 ak8974_set_power(ak8974, AK8974_PWR_OFF); in ak8974_remove()
991 ak8974_set_power(ak8974, AK8974_PWR_OFF); in ak8974_runtime_suspend()
1007 ret = ak8974_set_power(ak8974, AK8974_PWR_ON); in ak8974_runtime_resume()
1018 ak8974_set_power(ak8974, AK8974_PWR_OFF); in ak8974_runtime_resume()