Searched refs:s2mps11 (Results 1 – 4 of 4) sorted by relevance
72 struct s2mps11_info *s2mps11 = rdev_get_drvdata(rdev); in s2mps11_regulator_set_voltage_time_sel() local79 ramp_delay = s2mps11->ramp_delay2; in s2mps11_regulator_set_voltage_time_sel()83 ramp_delay = s2mps11->ramp_delay34; in s2mps11_regulator_set_voltage_time_sel()86 ramp_delay = s2mps11->ramp_delay5; in s2mps11_regulator_set_voltage_time_sel()90 ramp_delay = s2mps11->ramp_delay16; in s2mps11_regulator_set_voltage_time_sel()95 ramp_delay = s2mps11->ramp_delay7810; in s2mps11_regulator_set_voltage_time_sel()98 ramp_delay = s2mps11->ramp_delay9; in s2mps11_regulator_set_voltage_time_sel()112 struct s2mps11_info *s2mps11 = rdev_get_drvdata(rdev); in s2mps11_set_ramp_delay() local120 if (ramp_delay > s2mps11->ramp_delay16) in s2mps11_set_ramp_delay()121 s2mps11->ramp_delay16 = ramp_delay; in s2mps11_set_ramp_delay()[all …]
104 obj-$(CONFIG_REGULATOR_S2MPS11) += s2mps11.o
39 struct s2mps11_clk *s2mps11 = to_s2mps11_clk(hw); in s2mps11_clk_prepare() local41 return regmap_update_bits(s2mps11->iodev->regmap_pmic, in s2mps11_clk_prepare()42 s2mps11->reg, in s2mps11_clk_prepare()43 s2mps11->mask, s2mps11->mask); in s2mps11_clk_prepare()48 struct s2mps11_clk *s2mps11 = to_s2mps11_clk(hw); in s2mps11_clk_unprepare() local50 regmap_update_bits(s2mps11->iodev->regmap_pmic, s2mps11->reg, in s2mps11_clk_unprepare()51 s2mps11->mask, ~s2mps11->mask); in s2mps11_clk_unprepare()58 struct s2mps11_clk *s2mps11 = to_s2mps11_clk(hw); in s2mps11_clk_is_prepared() local60 ret = regmap_read(s2mps11->iodev->regmap_pmic, in s2mps11_clk_is_prepared()61 s2mps11->reg, &val); in s2mps11_clk_is_prepared()[all …]
50 obj-$(CONFIG_COMMON_CLK_S2MPS11) += clk-s2mps11.o