Home
last modified time | relevance | path

Searched refs:regul (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-a-3.7.0/drivers/st/pmic/
Dstpmic1.c627 const struct regul_struct *regul = get_regulator_data(name); in voltage_to_index() local
630 for (i = 0 ; i < regul->voltage_table_size ; i++) { in voltage_to_index()
631 if (regul->voltage_table[i] == millivolts) { in voltage_to_index()
656 const struct regul_struct *regul = get_regulator_data(name); in stpmic1_regulator_enable() local
658 return stpmic1_register_update(regul->control_reg, regul->enable_mask, in stpmic1_regulator_enable()
659 regul->enable_mask); in stpmic1_regulator_enable()
664 const struct regul_struct *regul = get_regulator_data(name); in stpmic1_regulator_disable() local
666 return stpmic1_register_update(regul->control_reg, 0, in stpmic1_regulator_disable()
667 regul->enable_mask); in stpmic1_regulator_disable()
673 const struct regul_struct *regul = get_regulator_data(name); in stpmic1_is_regulator_enabled() local
[all …]
/trusted-firmware-a-3.7.0/plat/st/common/
Dstm32mp_dt.c259 struct rdev *regul = dt_get_vdd_regulator(); in dt_get_pwr_vdd_voltage() local
262 if (regul == NULL) { in dt_get_pwr_vdd_voltage()
266 regulator_get_range(regul, &min, NULL); in dt_get_pwr_vdd_voltage()