Searched refs:regul (Results 1 – 2 of 2) sorted by relevance
627 const struct regul_struct *regul = get_regulator_data(name); in voltage_to_index() local630 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() local658 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() local666 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 …]
259 struct rdev *regul = dt_get_vdd_regulator(); in dt_get_pwr_vdd_voltage() local262 if (regul == NULL) { in dt_get_pwr_vdd_voltage()266 regulator_get_range(regul, &min, NULL); in dt_get_pwr_vdd_voltage()