Lines Matching full:sel
31 int sel; member
63 int sel; in anatop_regmap_enable() local
65 sel = anatop_reg->bypass ? LDO_FET_FULL_ON : anatop_reg->sel; in anatop_regmap_enable()
66 return regulator_set_voltage_sel_regmap(reg, sel); in anatop_regmap_enable()
86 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel()
92 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel()
101 return anatop_reg->sel; in anatop_regmap_core_get_voltage_sel()
109 int sel; in anatop_regmap_get_bypass() local
111 sel = regulator_get_voltage_sel_regmap(reg); in anatop_regmap_get_bypass()
112 if (sel == LDO_FET_FULL_ON) in anatop_regmap_get_bypass()
114 else if (sel != LDO_POWER_GATE) in anatop_regmap_get_bypass()
124 int sel; in anatop_regmap_set_bypass() local
129 sel = enable ? LDO_FET_FULL_ON : anatop_reg->sel; in anatop_regmap_set_bypass()
132 return regulator_set_voltage_sel_regmap(reg, sel); in anatop_regmap_set_bypass()
267 sreg->sel = (val & rdesc->vsel_mask) >> vol_bit_shift; in anatop_regulator_probe()
268 if (sreg->sel == LDO_FET_FULL_ON) { in anatop_regulator_probe()
269 sreg->sel = 0; in anatop_regulator_probe()
278 if (!sreg->sel && !strcmp(rdesc->name, "vddpu")) in anatop_regulator_probe()
279 sreg->sel = 22; in anatop_regulator_probe()
282 if (!sreg->sel && !strcmp(rdesc->name, "vddpcie")) in anatop_regulator_probe()
283 sreg->sel = 0x10; in anatop_regulator_probe()
285 if (!sreg->bypass && !sreg->sel) { in anatop_regulator_probe()