Searched refs:curr_ua (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.7.0/tests/drivers/regulator/api/src/ |
D | main.c | 526 static int get_current_limit_ok(const struct device *dev, int32_t *curr_ua) in get_current_limit_ok() argument 530 *curr_ua = 100; in get_current_limit_ok() 537 int32_t curr_ua; in ZTEST() local 544 zassert_equal(regulator_get_current_limit(reg0, &curr_ua), 0); in ZTEST() 545 zassert_equal(curr_ua, 100); in ZTEST() 548 zassert_equal(regulator_fake_get_current_limit_fake.arg1_val, &curr_ua); in ZTEST() 551 static int get_current_limit_fail(const struct device *dev, int32_t *curr_ua) in get_current_limit_fail() argument 554 ARG_UNUSED(curr_ua); in get_current_limit_fail()
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/ |
D | regulator.h | 88 int32_t *curr_ua); 618 int32_t *curr_ua) in regulator_get_current_limit() argument 627 return api->get_current_limit(dev, curr_ua); in regulator_get_current_limit()
|
/Zephyr-Core-3.7.0/drivers/regulator/ |
D | regulator_shell.c | 315 int32_t curr_ua; in cmd_iget() local 326 ret = regulator_get_current_limit(dev, &curr_ua); in cmd_iget() 332 microtoshell(sh, 'A', curr_ua); in cmd_iget()
|
D | regulator_pca9420.c | 292 int32_t *curr_ua) in regulator_pca9420_get_current_limit() argument 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_axp192.c | 323 static int axp192_get_current_limit(const struct device *dev, int32_t *curr_ua) in axp192_get_current_limit() argument 327 *curr_ua = config->desc->max_ua; in axp192_get_current_limit()
|
D | regulator_da1469x.c | 370 int32_t *curr_ua) in regulator_da1469x_get_current_limit() argument 381 ret = linear_range_group_get_value(config->desc->current_ranges, 1, idx, curr_ua); in regulator_da1469x_get_current_limit()
|