Searched refs:srvsel (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/regulator/ |
D | tps65910-regulator.c | 440 int opvsel = 0, srvsel = 0, vselmax = 0, mult = 0, sr = 0; in tps65910_get_voltage_dcdc_sel() local 451 ret = regmap_read(regmap, TPS65910_VDD1_SR, &srvsel); in tps65910_get_voltage_dcdc_sel() 456 srvsel &= VDD1_SR_SEL_MASK; in tps65910_get_voltage_dcdc_sel() 467 ret = regmap_read(regmap, TPS65910_VDD2_SR, &srvsel); in tps65910_get_voltage_dcdc_sel() 472 srvsel &= VDD2_SR_SEL_MASK; in tps65910_get_voltage_dcdc_sel() 479 ret = regmap_read(regmap, TPS65911_VDDCTRL_SR, &srvsel); in tps65910_get_voltage_dcdc_sel() 484 srvsel &= VDDCTRL_SR_SEL_MASK; in tps65910_get_voltage_dcdc_sel() 495 if (srvsel < 3) in tps65910_get_voltage_dcdc_sel() 496 srvsel = 3; in tps65910_get_voltage_dcdc_sel() 497 if (srvsel > vselmax) in tps65910_get_voltage_dcdc_sel() [all …]
|