Lines Matching refs:sel
56 int sel; member
88 int sel; in anatop_regmap_enable() local
90 sel = anatop_reg->bypass ? LDO_FET_FULL_ON : anatop_reg->sel; in anatop_regmap_enable()
91 return regulator_set_voltage_sel_regmap(reg, sel); in anatop_regmap_enable()
111 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel()
117 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel()
126 return anatop_reg->sel; in anatop_regmap_core_get_voltage_sel()
134 int sel; in anatop_regmap_get_bypass() local
136 sel = regulator_get_voltage_sel_regmap(reg); in anatop_regmap_get_bypass()
137 if (sel == LDO_FET_FULL_ON) in anatop_regmap_get_bypass()
139 else if (sel != LDO_POWER_GATE) in anatop_regmap_get_bypass()
149 int sel; in anatop_regmap_set_bypass() local
154 sel = enable ? LDO_FET_FULL_ON : anatop_reg->sel; in anatop_regmap_set_bypass()
157 return regulator_set_voltage_sel_regmap(reg, sel); in anatop_regmap_set_bypass()
285 sreg->sel = (val & rdesc->vsel_mask) >> sreg->vol_bit_shift; in anatop_regulator_probe()
286 if (sreg->sel == LDO_FET_FULL_ON) { in anatop_regulator_probe()
287 sreg->sel = 0; in anatop_regulator_probe()
296 if (!sreg->sel && !strcmp(sreg->name, "vddpu")) in anatop_regulator_probe()
297 sreg->sel = 22; in anatop_regulator_probe()
299 if (!sreg->sel) { in anatop_regulator_probe()