Searched refs:srvsel (Results 1 – 1 of 1) sorted by relevance
440 int opvsel = 0, srvsel = 0, vselmax = 0, mult = 0, sr = 0; in tps65910_get_voltage_dcdc_sel() local451 ret = tps65910_reg_read(pmic->mfd, TPS65910_VDD1_SR, &srvsel); in tps65910_get_voltage_dcdc_sel()456 srvsel &= VDD1_SR_SEL_MASK; in tps65910_get_voltage_dcdc_sel()467 ret = tps65910_reg_read(pmic->mfd, TPS65910_VDD2_SR, &srvsel); in tps65910_get_voltage_dcdc_sel()472 srvsel &= VDD2_SR_SEL_MASK; in tps65910_get_voltage_dcdc_sel()481 &srvsel); in tps65910_get_voltage_dcdc_sel()486 srvsel &= VDDCTRL_SR_SEL_MASK; in tps65910_get_voltage_dcdc_sel()497 if (srvsel < 3) in tps65910_get_voltage_dcdc_sel()498 srvsel = 3; in tps65910_get_voltage_dcdc_sel()499 if (srvsel > vselmax) in tps65910_get_voltage_dcdc_sel()[all …]