Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/drivers/sensor/bmc150_magn/
Dbmc150_magn.c51 static int bmc150_magn_set_power_mode(const struct device *dev, in bmc150_magn_set_power_mode() function
492 bmc150_magn_set_power_mode(dev, BMC150_MAGN_POWER_MODE_NORMAL, 0); in bmc150_magn_init_chip()
493 bmc150_magn_set_power_mode(dev, BMC150_MAGN_POWER_MODE_SUSPEND, 1); in bmc150_magn_init_chip()
495 if (bmc150_magn_set_power_mode(dev, BMC150_MAGN_POWER_MODE_SUSPEND, 0) in bmc150_magn_init_chip()
536 if (bmc150_magn_set_power_mode(dev, BMC150_MAGN_POWER_MODE_NORMAL, 1) in bmc150_magn_init_chip()
566 bmc150_magn_set_power_mode(dev, BMC150_MAGN_POWER_MODE_NORMAL, 0); in bmc150_magn_init_chip()
567 bmc150_magn_set_power_mode(dev, BMC150_MAGN_POWER_MODE_SUSPEND, 1); in bmc150_magn_init_chip()