Home
last modified time | relevance | path

Searched refs:mode_count (Results 1 – 13 of 13) sorted by relevance

/openbmc/u-boot/cmd/
H A Dregulator.c128 int mode_count, in get_mode_name() argument
131 while (mode_count--) { in get_mode_name()
146 int mode_count; in do_info() local
173 mode_count = regulator_mode(dev, &modes); in do_info()
174 constraint("* op modes:", mode_count, NULL); in do_info()
176 for (i = 0; i < mode_count; i++, modes++) in do_info()
201 mode_name = get_mode_name(uc_pdata->mode, uc_pdata->mode_count, mode); in do_status_detail()
217 mode_name = get_mode_name(pdata->mode, pdata->mode_count, mode); in do_status_line()
/openbmc/u-boot/drivers/power/regulator/
H A Dsandbox.c158 for (i = 0; i < uc_pdata->mode_count; i++) { in out_get_mode()
177 if (mode >= uc_pdata->mode_count) in out_set_mode()
180 for (i = 0; i < uc_pdata->mode_count; i++) { in out_set_mode()
255 uc_pdata->mode_count = ARRAY_SIZE(sandbox_buck_modes); in sandbox_buck_probe()
331 uc_pdata->mode_count = ARRAY_SIZE(sandbox_ldo_modes); in sandbox_ldo_probe()
H A Dstpmu1.c241 uc_pdata->mode_count = ARRAY_SIZE(buck_modes); in stpmu1_buck_probe()
447 uc_pdata->mode_count = ARRAY_SIZE(ldo_modes); in stpmu1_ldo_probe()
449 uc_pdata->mode_count = 0; in stpmu1_ldo_probe()
516 uc_pdata->mode_count = 0; in stpmu1_vref_ddr_probe()
580 uc_pdata->mode_count = 0; in stpmu1_boost_probe()
656 uc_pdata->mode_count = 0; in stpmu1_pwr_sw_probe()
H A Drk8xx.c286 uc_pdata->mode_count = 0; in rk8xx_buck_probe()
298 uc_pdata->mode_count = 0; in rk8xx_ldo_probe()
310 uc_pdata->mode_count = 0; in rk8xx_switch_probe()
H A Dpfuze100.c298 uc_pdata->mode_count = ARRAY_SIZE(pfuze_swbst_modes); in pfuze100_regulator_probe()
301 uc_pdata->mode_count = ARRAY_SIZE(pfuze_sw_modes); in pfuze100_regulator_probe()
305 uc_pdata->mode_count = ARRAY_SIZE(pfuze_ldo_modes); in pfuze100_regulator_probe()
308 uc_pdata->mode_count = 0; in pfuze100_regulator_probe()
H A Ds5m8767.c138 uc_pdata->mode_count = 0; in s5m8767_ldo_probe()
207 uc_pdata->mode_count = 0; in s5m8767_buck_probe()
H A Dtps65090_regulator.c20 uc_pdata->mode_count = 0; in tps65090_fet_probe()
H A Dact8846.c137 uc_pdata->mode_count = 0; in act8846_reg_probe()
H A Dpwm_regulator.c128 uc_pdata->mode_count = 0; in pwm_regulator_probe()
H A Ds2mps11_regulator.c313 uc_pdata->mode_count = ARRAY_SIZE(s2mps11_buck_modes); in s2mps11_buck_probe()
588 uc_pdata->mode_count = ARRAY_SIZE(s2mps11_ldo_modes); in s2mps11_ldo_probe()
H A Dmax77686.c665 uc_pdata->mode_count = max77686_ldo_modes(dev->driver_data, in max77686_ldo_probe()
729 uc_pdata->mode_count = max77686_buck_modes(dev->driver_data, in max77686_buck_probe()
H A Dregulator-uclass.c25 return uc_pdata->mode_count; in regulator_mode()
/openbmc/u-boot/include/power/
H A Dregulator.h168 int mode_count; member