Home
last modified time | relevance | path

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

/linux/drivers/regulator/
H A Danatop-regulator.c38 struct anatop_regulator *anatop_reg = rdev_get_drvdata(reg); in anatop_regmap_set_voltage_time_sel() local
43 if (anatop_reg->delay_bit_width && new_sel > old_sel) { in anatop_regmap_set_voltage_time_sel()
50 regmap_read(reg->regmap, anatop_reg->delay_reg, &val); in anatop_regmap_set_voltage_time_sel()
51 val = (val >> anatop_reg->delay_bit_shift) & in anatop_regmap_set_voltage_time_sel()
52 ((1 << anatop_reg->delay_bit_width) - 1); in anatop_regmap_set_voltage_time_sel()
62 struct anatop_regulator *anatop_reg = rdev_get_drvdata(reg); in anatop_regmap_enable() local
65 sel = anatop_reg->bypass ? LDO_FET_FULL_ON : anatop_reg->sel; in anatop_regmap_enable()
82 struct anatop_regulator *anatop_reg = rdev_get_drvdata(reg); in anatop_regmap_core_set_voltage_sel() local
85 if (anatop_reg->bypass || !anatop_regmap_is_enabled(reg)) { in anatop_regmap_core_set_voltage_sel()
86 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel()
[all …]