Searched refs:platname (Results 1 – 3 of 3) sorted by relevance
/external/u-boot/test/dm/ |
D | regulator.c | 55 const char *platname; in dm_test_power_regulator_get() local 64 platname = regulator_names[i][PLATNAME]; in dm_test_power_regulator_get() 77 ut_assertok(regulator_get_by_platname(platname, &dev_by_platname)); in dm_test_power_regulator_get() 80 ut_asserteq_str(platname, uc_pdata->name); in dm_test_power_regulator_get() 98 const char *platname; in dm_test_power_regulator_set_get_voltage() local 102 platname = regulator_names[BUCK1][PLATNAME]; in dm_test_power_regulator_set_get_voltage() 103 ut_assertok(regulator_get_by_platname(platname, &dev)); in dm_test_power_regulator_set_get_voltage() 125 const char *platname; in dm_test_power_regulator_set_get_current() local 129 platname = regulator_names[LDO1][PLATNAME]; in dm_test_power_regulator_set_get_current() 130 ut_assertok(regulator_get_by_platname(platname, &dev)); in dm_test_power_regulator_set_get_current() [all …]
|
/external/u-boot/include/power/ |
D | regulator.h | 381 int regulator_autoset_by_name(const char *platname, struct udevice **devp); 434 int regulator_get_by_platname(const char *platname, struct udevice **devp);
|
/external/u-boot/drivers/power/regulator/ |
D | regulator-uclass.c | 212 int regulator_autoset_by_name(const char *platname, struct udevice **devp) in regulator_autoset_by_name() argument 217 ret = regulator_get_by_platname(platname, &dev); in regulator_autoset_by_name() 221 debug("Can get the regulator: %s (err=%d)\n", platname, ret); in regulator_autoset_by_name()
|