Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/regulator/
Dregulator_common.c247 int regulator_set_current_limit(const struct device *dev, int32_t min_ua, in regulator_set_current_limit() argument
258 if ((min_ua > config->max_ua) || (max_ua < config->min_ua)) { in regulator_set_current_limit()
262 return api->set_current_limit(dev, min_ua, max_ua); in regulator_set_current_limit()
Dregulator_shell.c259 int32_t min_ua, max_ua; in cmd_iset() local
268 ret = strtomicro(argv[2], 'a', &min_ua); in cmd_iset()
280 max_ua = min_ua; in cmd_iset()
283 ret = regulator_set_current_limit(dev, min_ua, max_ua); in cmd_iset()
Dregulator_max20335.c256 int32_t min_ua, in regulator_max20335_set_current_limit() argument
274 ret = linear_range_get_win_index(config->desc->ua_range, min_ua, max_ua, &idx); in regulator_max20335_set_current_limit()
Dregulator_da1469x.c299 int32_t min_ua, int32_t max_ua) in regulator_da1469x_set_current_limit() argument
312 min_ua, max_ua, &idx); in regulator_da1469x_set_current_limit()
/Zephyr-Core-3.6.0/include/zephyr/drivers/
Dregulator.h84 int32_t min_ua, int32_t max_ua);
163 int32_t min_ua; member
195 .min_ua = DT_PROP_OR(node_id, regulator_min_microamp, \
597 int regulator_set_current_limit(const struct device *dev, int32_t min_ua,
/Zephyr-Core-3.6.0/tests/drivers/regulator/api/src/
Dmain.c107 zassert_equal(config->min_ua, INT32_MIN); in ZTEST()
126 zassert_equal(config->min_ua, 100); in ZTEST()