Searched refs:mode_count (Results 1 – 13 of 13) sorted by relevance
| /openbmc/u-boot/cmd/ |
| H A D | regulator.c | 128 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 D | sandbox.c | 158 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 D | stpmu1.c | 241 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 D | rk8xx.c | 286 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 D | pfuze100.c | 298 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 D | s5m8767.c | 138 uc_pdata->mode_count = 0; in s5m8767_ldo_probe() 207 uc_pdata->mode_count = 0; in s5m8767_buck_probe()
|
| H A D | tps65090_regulator.c | 20 uc_pdata->mode_count = 0; in tps65090_fet_probe()
|
| H A D | act8846.c | 137 uc_pdata->mode_count = 0; in act8846_reg_probe()
|
| H A D | pwm_regulator.c | 128 uc_pdata->mode_count = 0; in pwm_regulator_probe()
|
| H A D | s2mps11_regulator.c | 313 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 D | max77686.c | 665 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 D | regulator-uclass.c | 25 return uc_pdata->mode_count; in regulator_mode()
|
| /openbmc/u-boot/include/power/ |
| H A D | regulator.h | 168 int mode_count; member
|