Lines Matching full:s2mps11
3 // clk-s2mps11.c - Clock driver for S2MPS11.
14 #include <linux/mfd/samsung/s2mps11.h>
20 #include <dt-bindings/clock/samsung,s2mps11.h>
39 struct s2mps11_clk *s2mps11 = to_s2mps11_clk(hw); in s2mps11_clk_prepare() local
41 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() local
50 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() local
60 ret = regmap_read(s2mps11->iodev->regmap_pmic, in s2mps11_clk_is_prepared()
61 s2mps11->reg, &val); in s2mps11_clk_is_prepared()
65 return val & s2mps11->mask; in s2mps11_clk_is_prepared()
81 /* This s2mps11_clks_init tructure is common to s2mps11, s2mps13 and s2mps14 */
223 { "s2mps11-clk", S2MPS11X},
243 .compatible = "samsung,s2mps11-clk",
263 .name = "s2mps11-clk",
271 MODULE_DESCRIPTION("S2MPS11 Clock Driver");