Searched refs:max_uV (Results 1 – 13 of 13) sorted by relevance
| /u-boot/board/st/stm32mp1/ |
| A D | stm32mp1.c | 347 if (uV > *max_uV) in adc_measurement() 348 *max_uV = uV; in adc_measurement() 365 int max_uV = 0; in board_check_usb_power() local 406 if (max_uV > USB_START_LOW_THRESHOLD_UV && in board_check_usb_power() 407 max_uV <= USB_START_HIGH_THRESHOLD_UV && in board_check_usb_power() 424 if ((max_uV > USB_LOW_THRESHOLD_UV && in board_check_usb_power() 426 (max_uV <= USB_LOW_THRESHOLD_UV && in board_check_usb_power() 434 if (max_uV > USB_LOW_THRESHOLD_UV && in board_check_usb_power() 441 if (max_uV > USB_WARNING_LOW_THRESHOLD_UV && in board_check_usb_power() 442 max_uV <= USB_START_LOW_THRESHOLD_UV && in board_check_usb_power() [all …]
|
| /u-boot/drivers/power/regulator/ |
| A D | regulator-uclass.c | 62 if (uc_pdata->max_uV != -ENODATA && uV > uc_pdata->max_uV) in regulator_set_value() 92 if (uc_pdata->max_uV != -ENODATA && uV > uc_pdata->max_uV) in regulator_set_suspend_value() 453 uc_pdata->max_uV = dev_read_u32_default(dev, "regulator-max-microvolt", in regulator_pre_probe() 471 uc_pdata->suspend_uV = uc_pdata->max_uV; in regulator_pre_probe() 474 uc_pdata->suspend_uV = uc_pdata->max_uV; in regulator_pre_probe() 479 (uc_pdata->max_uV != -ENODATA) && in regulator_pre_probe() 480 (uc_pdata->min_uV == uc_pdata->max_uV)) in regulator_pre_probe()
|
| A D | pwm_regulator.c | 54 int max_uV = priv->max_voltage; in pwm_voltage_to_duty_cycle_percentage() local 55 int diff = max_uV - min_uV; in pwm_voltage_to_duty_cycle_percentage() 132 priv->max_voltage = uc_pdata->max_uV; in pwm_regulator_probe()
|
| A D | da9063.c | 48 uint max_uV; member 77 .max_uV = (max_mV) * 1000, \ 114 .max_uV = (max_mV) * 1000, \ 177 if (uV < info->min_uV || uV > info->max_uV) in da9063_set_voltage()
|
| A D | fixed.c | 47 if (uc_pdata->min_uV != uc_pdata->max_uV) { in fixed_regulator_get_value()
|
| A D | gpio-regulator.c | 89 if (uc_pdata->min_uV > uc_pdata->max_uV) { in gpio_regulator_get_value()
|
| A D | stpmic1.c | 199 if (uv < uc_pdata->min_uV || uv > uc_pdata->max_uV) in stpmic1_buck_set_enable() 378 if (uv < uc_pdata->min_uV || uv > uc_pdata->max_uV) in stpmic1_ldo_set_enable()
|
| A D | tps65910_regulator.c | 346 if (uV > uc_pdata->max_uV) { in buck_set_vdd1_vdd2_value()
|
| /u-boot/drivers/net/phy/ |
| A D | atheros.c | 196 u32 strength, freq, min_uV, max_uV; in ar803x_of_init() local 224 max_uV = ofnode_read_u32_default(vddio_reg_node, in ar803x_of_init() 227 if (min_uV != max_uV) { in ar803x_of_init()
|
| /u-boot/test/dm/ |
| A D | scmi.c | 232 ut_assertok(regulator_set_value(regul0_dev, uc_pdata->max_uV)); in dm_test_scmi_voltage_domains() 233 ut_asserteq(agent->voltd[0].voltage_uv, uc_pdata->max_uV); in dm_test_scmi_voltage_domains() 235 ut_assert(regulator_get_value(regul0_dev) == uc_pdata->max_uV); in dm_test_scmi_voltage_domains()
|
| /u-boot/cmd/ |
| A D | regulator.c | 169 constraint(" - max uV:", uc_pdata->max_uV, NULL); in do_info() 295 if ((value < uc_pdata->min_uV || value > uc_pdata->max_uV) && !force) { in do_value() 297 uc_pdata->min_uV, uc_pdata->max_uV); in do_value()
|
| /u-boot/include/power/ |
| A D | regulator.h | 173 int max_uV; member
|
| /u-boot/arch/arm/mach-stm32mp/ |
| A D | pwr_regulator.c | 200 if (uc_pdata->min_uV != uc_pdata->max_uV) { in stm32mp_pwr_regulator_get_value()
|
Completed in 27 milliseconds