Searched refs:min_ua (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/drivers/regulator/ |
D | regulator_common.c | 248 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()
|
D | regulator_shell.c | 279 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()
|
D | regulator_npm2100.c | 304 static int regulator_npm2100_set_current(const struct device *dev, int32_t min_ua, int32_t max_ua) in regulator_npm2100_set_current() argument 314 ret = linear_range_get_win_index(&boost_ocp_range, min_ua, max_ua, &idx); in regulator_npm2100_set_current() 327 ldsw_ocp_ranges, ARRAY_SIZE(ldsw_ocp_ranges), min_ua, max_ua, &idx); in regulator_npm2100_set_current() 332 ldo_ocp_ranges, ARRAY_SIZE(ldo_ocp_ranges), min_ua, max_ua, &idx); in regulator_npm2100_set_current()
|
D | regulator_max20335.c | 256 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()
|
D | regulator_da1469x.c | 338 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-latest/include/zephyr/drivers/ |
D | regulator.h | 86 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, \ 626 int regulator_set_current_limit(const struct device *dev, int32_t min_ua,
|
/Zephyr-latest/tests/drivers/regulator/api/src/ |
D | main.c | 107 zassert_equal(config->min_ua, INT32_MIN); in ZTEST() 126 zassert_equal(config->min_ua, 100); in ZTEST()
|