Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/regulator/
Dtps65910-regulator.c441 int opvsel = 0, srvsel = 0, vselmax = 0, mult = 0, sr = 0; in tps65910_get_voltage_dcdc_sel() local
452 ret = regmap_read(regmap, TPS65910_VDD1_SR, &srvsel); in tps65910_get_voltage_dcdc_sel()
457 srvsel &= VDD1_SR_SEL_MASK; in tps65910_get_voltage_dcdc_sel()
468 ret = regmap_read(regmap, TPS65910_VDD2_SR, &srvsel); in tps65910_get_voltage_dcdc_sel()
473 srvsel &= VDD2_SR_SEL_MASK; in tps65910_get_voltage_dcdc_sel()
480 ret = regmap_read(regmap, TPS65911_VDDCTRL_SR, &srvsel); in tps65910_get_voltage_dcdc_sel()
485 srvsel &= VDDCTRL_SR_SEL_MASK; in tps65910_get_voltage_dcdc_sel()
496 if (srvsel < 3) in tps65910_get_voltage_dcdc_sel()
497 srvsel = 3; in tps65910_get_voltage_dcdc_sel()
498 if (srvsel > vselmax) in tps65910_get_voltage_dcdc_sel()
[all …]