Lines Matching refs:h
4 #include <linux/kernel.h>
5 #include <linux/export.h>
6 #include <linux/regmap.h>
7 #include <linux/delay.h>
8 #include <linux/err.h>
9 #include <linux/clk-provider.h>
10 #include <linux/spinlock.h>
12 #include "clk-regmap.h"
13 #include "clk-hfpll.h"
22 struct clk_hfpll *h = to_clk_hfpll(hw);
23 struct hfpll_data const *hd = h->d;
24 struct regmap *regmap = h->clkr.regmap;
26 if (likely(h->init_done))
54 h->init_done = true;
59 struct clk_hfpll *h = to_clk_hfpll(hw);
60 struct hfpll_data const *hd = h->d;
61 struct regmap *regmap = h->clkr.regmap;
98 struct clk_hfpll *h = to_clk_hfpll(hw);
99 struct hfpll_data const *hd = h->d;
100 struct regmap *regmap = h->clkr.regmap;
103 spin_lock_irqsave(&h->lock, flags);
107 spin_unlock_irqrestore(&h->lock, flags);
112 static void __clk_hfpll_disable(struct clk_hfpll *h)
114 struct hfpll_data const *hd = h->d;
115 struct regmap *regmap = h->clkr.regmap;
127 struct clk_hfpll *h = to_clk_hfpll(hw);
130 spin_lock_irqsave(&h->lock, flags);
131 __clk_hfpll_disable(h);
132 spin_unlock_irqrestore(&h->lock, flags);
137 struct clk_hfpll *h = to_clk_hfpll(hw);
138 struct hfpll_data const *hd = h->d;
158 struct clk_hfpll *h = to_clk_hfpll(hw);
159 struct hfpll_data const *hd = h->d;
160 struct regmap *regmap = h->clkr.regmap;
167 spin_lock_irqsave(&h->lock, flags);
171 __clk_hfpll_disable(h);
188 spin_unlock_irqrestore(&h->lock, flags);
196 struct clk_hfpll *h = to_clk_hfpll(hw);
197 struct hfpll_data const *hd = h->d;
198 struct regmap *regmap = h->clkr.regmap;
208 struct clk_hfpll *h = to_clk_hfpll(hw);
209 struct hfpll_data const *hd = h->d;
210 struct regmap *regmap = h->clkr.regmap;
234 struct clk_hfpll *h = to_clk_hfpll(hw);
235 struct hfpll_data const *hd = h->d;
236 struct regmap *regmap = h->clkr.regmap;