Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/regulator/
Dtps65910-regulator.c445 int opvsel = 0, srvsel = 0, vselmax = 0, mult = 0, sr = 0; in tps65910_get_voltage_dcdc_sel() local
456 ret = tps65910_reg_read(pmic->mfd, TPS65910_VDD1_SR, &srvsel); in tps65910_get_voltage_dcdc_sel()
461 srvsel &= VDD1_SR_SEL_MASK; in tps65910_get_voltage_dcdc_sel()
472 ret = tps65910_reg_read(pmic->mfd, TPS65910_VDD2_SR, &srvsel); in tps65910_get_voltage_dcdc_sel()
477 srvsel &= VDD2_SR_SEL_MASK; in tps65910_get_voltage_dcdc_sel()
486 &srvsel); in tps65910_get_voltage_dcdc_sel()
491 srvsel &= VDDCTRL_SR_SEL_MASK; in tps65910_get_voltage_dcdc_sel()
502 if (srvsel < 3) in tps65910_get_voltage_dcdc_sel()
503 srvsel = 3; in tps65910_get_voltage_dcdc_sel()
504 if (srvsel > vselmax) in tps65910_get_voltage_dcdc_sel()
[all …]