Lines Matching full:regmap

6 #include <linux/regmap.h>
12 #include "clk-regmap.h"
24 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_init_once() local
31 regmap_write(regmap, hd->config_reg, hd->config_val); in __clk_hfpll_init_once()
32 regmap_write(regmap, hd->m_reg, 0); in __clk_hfpll_init_once()
33 regmap_write(regmap, hd->n_reg, 1); in __clk_hfpll_init_once()
44 regmap_write(regmap, hd->user_reg, regval); in __clk_hfpll_init_once()
48 regmap_write(regmap, hd->droop_reg, hd->droop_val); in __clk_hfpll_init_once()
57 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_enable() local
63 regmap_update_bits(regmap, hd->mode_reg, PLL_BYPASSNL, PLL_BYPASSNL); in __clk_hfpll_enable()
72 regmap_update_bits(regmap, hd->mode_reg, PLL_RESET_N, PLL_RESET_N); in __clk_hfpll_enable()
80 regmap_read_poll_timeout(regmap, hd->status_reg, val, in __clk_hfpll_enable()
87 regmap_update_bits(regmap, hd->mode_reg, PLL_OUTCTRL, PLL_OUTCTRL); in __clk_hfpll_enable()
96 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_enable() local
100 regmap_read(regmap, hd->mode_reg, &mode); in clk_hfpll_enable()
111 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_disable() local
117 regmap_update_bits(regmap, hd->mode_reg, in __clk_hfpll_disable()
156 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_set_rate() local
171 regmap_read(regmap, hd->user_reg, &val); in clk_hfpll_set_rate()
176 regmap_write(regmap, hd->user_reg, val); in clk_hfpll_set_rate()
179 regmap_write(regmap, hd->l_reg, l_val); in clk_hfpll_set_rate()
194 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_recalc_rate() local
197 regmap_read(regmap, hd->l_reg, &l_val); in clk_hfpll_recalc_rate()
206 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_init() local
209 regmap_read(regmap, hd->mode_reg, &mode); in clk_hfpll_init()
216 regmap_read(regmap, hd->status_reg, &status); in clk_hfpll_init()
232 struct regmap *regmap = h->clkr.regmap; in hfpll_is_enabled() local
235 regmap_read(regmap, hd->mode_reg, &mode); in hfpll_is_enabled()