Searched refs:regulator_set_mode (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/tests/drivers/regulator/api/src/ |
D | main.c | 519 int ret = regulator_set_mode(dummy_reg, 0); in ZTEST() 530 zassert_equal(regulator_set_mode(reg0, 0), 0); in ZTEST() 531 zassert_equal(regulator_set_mode(reg0, 1), 0); in ZTEST() 532 zassert_equal(regulator_set_mode(reg0, 10), 0); in ZTEST() 542 zassert_equal(regulator_set_mode(reg0, 0), -ENOTSUP); in ZTEST() 554 zassert_equal(regulator_set_mode(reg3, 0), -ENOTSUP); in ZTEST() 555 zassert_equal(regulator_set_mode(reg3, 1), 0); in ZTEST() 556 zassert_equal(regulator_set_mode(reg3, 10), 0); in ZTEST()
|
/Zephyr-latest/drivers/regulator/ |
D | regulator_common.c | 36 ret = regulator_set_mode(dev, config->initial_mode); in regulator_common_init() 266 int regulator_set_mode(const struct device *dev, regulator_mode_t mode) in regulator_set_mode() function
|
D | regulator_shell.c | 353 ret = regulator_set_mode(dev, mode); in cmd_modeset()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | regulator.h | 668 int regulator_set_mode(const struct device *dev, regulator_mode_t mode);
|
/Zephyr-latest/samples/shields/npm6001_ek/src/ |
D | main.c | 229 ret = regulator_set_mode(dev, mode); in cmd_regulator_modeset()
|