Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/regulator/
Dtps65910-regulator.c440 int opvsel = 0, srvsel = 0, vselmax = 0, mult = 0, sr = 0; in tps65910_get_voltage_dcdc_sel() local
444 ret = tps65910_reg_read(pmic->mfd, TPS65910_VDD1_OP, &opvsel); in tps65910_get_voltage_dcdc_sel()
454 sr = opvsel & VDD1_OP_CMD_MASK; in tps65910_get_voltage_dcdc_sel()
455 opvsel &= VDD1_OP_SEL_MASK; in tps65910_get_voltage_dcdc_sel()
460 ret = tps65910_reg_read(pmic->mfd, TPS65910_VDD2_OP, &opvsel); in tps65910_get_voltage_dcdc_sel()
470 sr = opvsel & VDD2_OP_CMD_MASK; in tps65910_get_voltage_dcdc_sel()
471 opvsel &= VDD2_OP_SEL_MASK; in tps65910_get_voltage_dcdc_sel()
477 &opvsel); in tps65910_get_voltage_dcdc_sel()
484 sr = opvsel & VDDCTRL_OP_CMD_MASK; in tps65910_get_voltage_dcdc_sel()
485 opvsel &= VDDCTRL_OP_SEL_MASK; in tps65910_get_voltage_dcdc_sel()
[all …]