Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/regulator/
Dregulator_common.c248 int regulator_set_current_limit(const struct device *dev, int32_t min_ua, in regulator_set_current_limit() argument
259 if ((min_ua > config->max_ua) || (max_ua < config->min_ua)) { in regulator_set_current_limit()
263 return api->set_current_limit(dev, min_ua, max_ua); in regulator_set_current_limit()
Dregulator_shell.c279 int32_t min_ua, max_ua; in cmd_iset() local
288 ret = strtomicro(argv[2], 'a', &min_ua); in cmd_iset()
300 max_ua = min_ua; in cmd_iset()
303 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.c338 int32_t min_ua, int32_t max_ua) in regulator_da1469x_set_current_limit() argument
351 min_ua, max_ua, &idx); in regulator_da1469x_set_current_limit()
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dregulator.h86 int32_t min_ua, int32_t max_ua);
167 int32_t min_ua; member
199 .min_ua = DT_PROP_OR(node_id, regulator_min_microamp, \
604 int regulator_set_current_limit(const struct device *dev, int32_t min_ua,
/Zephyr-Core-3.7.0/tests/drivers/regulator/api/src/
Dmain.c111 zassert_equal(config->min_ua, INT32_MIN); in ZTEST()
130 zassert_equal(config->min_ua, 100); in ZTEST()