Lines Matching refs:sel
55 int sel; member
87 int sel; in anatop_regmap_enable() local
89 sel = anatop_reg->bypass ? LDO_FET_FULL_ON : anatop_reg->sel; in anatop_regmap_enable()
90 return regulator_set_voltage_sel_regmap(reg, sel); in anatop_regmap_enable()
110 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel()
116 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel()
125 return anatop_reg->sel; in anatop_regmap_core_get_voltage_sel()
133 int sel; in anatop_regmap_get_bypass() local
135 sel = regulator_get_voltage_sel_regmap(reg); in anatop_regmap_get_bypass()
136 if (sel == LDO_FET_FULL_ON) in anatop_regmap_get_bypass()
138 else if (sel != LDO_POWER_GATE) in anatop_regmap_get_bypass()
148 int sel; in anatop_regmap_set_bypass() local
153 sel = enable ? LDO_FET_FULL_ON : anatop_reg->sel; in anatop_regmap_set_bypass()
156 return regulator_set_voltage_sel_regmap(reg, sel); in anatop_regmap_set_bypass()
282 sreg->sel = (val & rdesc->vsel_mask) >> sreg->vol_bit_shift; in anatop_regulator_probe()
283 if (sreg->sel == LDO_FET_FULL_ON) { in anatop_regulator_probe()
284 sreg->sel = 0; in anatop_regulator_probe()
293 if (!sreg->sel && !strcmp(sreg->name, "vddpu")) in anatop_regulator_probe()
294 sreg->sel = 22; in anatop_regulator_probe()
296 if (!sreg->sel) { in anatop_regulator_probe()