Searched refs:max_ua (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/drivers/regulator/ |
D | regulator_axp192.c | 42 const int32_t max_ua; member 74 .max_ua = 1200000U, 93 .max_ua = 1600000U, 112 .max_ua = 700000U, 131 .max_ua = 50000u, 149 .max_ua = 200000U, 167 .max_ua = 200000U, 327 *curr_ua = config->desc->max_ua; in axp192_get_current_limit()
|
D | regulator_common.c | 249 int32_t max_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_pca9420.c | 118 int32_t max_ua; member 180 .max_ua = 250000, 194 .max_ua = 500000, 208 .max_ua = 1000, 222 .max_ua = 250000, 298 *curr_ua = config->desc->max_ua; in regulator_pca9420_get_current_limit() 300 *curr_ua = MIN(config->desc->max_ua, cconfig->vin_ilim_ua); in regulator_pca9420_get_current_limit()
|
D | regulator_shell.c | 279 int32_t min_ua, max_ua; in cmd_iset() local 294 ret = strtomicro(argv[3], 'a', &max_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 | 257 int32_t max_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); 169 int32_t max_ua; member 201 .max_ua = DT_PROP_OR(node_id, regulator_max_microamp, \ 627 int32_t max_ua);
|
/Zephyr-latest/tests/drivers/regulator/api/src/ |
D | main.c | 108 zassert_equal(config->max_ua, INT32_MAX); in ZTEST() 127 zassert_equal(config->max_ua, 200); in ZTEST()
|