Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/meson/
H A Dclk-phase.c39 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_phase_get_phase()
50 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_phase_set_phase()
83 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_triphase_sync()
97 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_triphase_get_phase()
109 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_triphase_set_phase()
142 struct clk_regmap *clk = to_clk_regmap(hw); in meson_sclk_ws_inv_sync()
155 struct clk_regmap *clk = to_clk_regmap(hw); in meson_sclk_ws_inv_get_phase()
166 struct clk_regmap *clk = to_clk_regmap(hw); in meson_sclk_ws_inv_set_phase()
H A Dclk-regmap.c12 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_gate_endisable()
34 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_gate_is_enabled()
62 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_div_recalc_rate()
81 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_div_determine_rate()
106 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_div_set_rate()
138 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_mux_get_parent()
154 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_mux_set_parent()
166 struct clk_regmap *clk = to_clk_regmap(hw); in clk_regmap_mux_determine_rate()
H A Dsclk-div.c102 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_determine_rate()
128 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_set_duty_cycle()
142 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_get_duty_cycle()
170 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_set_rate()
185 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_recalc_rate()
193 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_enable()
203 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_disable()
211 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_is_enabled()
222 struct clk_regmap *clk = to_clk_regmap(hw); in sclk_div_init()
H A Dclk-cpu-dyndiv.c22 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_cpu_dyndiv_recalc_rate()
33 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_cpu_dyndiv_determine_rate()
42 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_cpu_dyndiv_set_rate()
H A Dclk-pll.c74 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_pll_recalc_rate()
247 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_pll_determine_rate()
277 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_pll_wait_lock()
294 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_pll_init()
313 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_pll_is_enabled()
343 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_pll_enable()
388 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_pll_disable()
406 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_pll_set_rate()
H A Dclk-mpll.c78 struct clk_regmap *clk = to_clk_regmap(hw); in mpll_recalc_rate()
92 struct clk_regmap *clk = to_clk_regmap(hw); in mpll_determine_rate()
112 struct clk_regmap *clk = to_clk_regmap(hw); in mpll_set_rate()
140 struct clk_regmap *clk = to_clk_regmap(hw); in mpll_init()
H A Dclk-dualdiv.c50 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_dualdiv_recalc_rate()
92 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_dualdiv_determine_rate()
111 struct clk_regmap *clk = to_clk_regmap(hw); in meson_clk_dualdiv_set_rate()
H A Dvid-pll-div.c78 struct clk_regmap *clk = to_clk_regmap(hw); in meson_vid_pll_div_recalc_rate()
H A Dclk-regmap.h29 static inline struct clk_regmap *to_clk_regmap(struct clk_hw *hw) in to_clk_regmap() function
/openbmc/linux/drivers/clk/qcom/
H A Dclk-regmap-phy-mux.c25 struct clk_regmap *clkr = to_clk_regmap(hw); in phy_mux_is_enabled()
39 struct clk_regmap *clkr = to_clk_regmap(hw); in phy_mux_enable()
49 struct clk_regmap *clkr = to_clk_regmap(hw); in phy_mux_disable()
H A Dclk-regmap-mux.c15 return container_of(to_clk_regmap(hw), struct clk_regmap_mux, clkr); in to_clk_regmap_mux()
21 struct clk_regmap *clkr = to_clk_regmap(hw); in mux_get_parent()
39 struct clk_regmap *clkr = to_clk_regmap(hw); in mux_set_parent()
H A Dclk-regmap.c24 struct clk_regmap *rclk = to_clk_regmap(hw); in clk_is_enabled_regmap()
50 struct clk_regmap *rclk = to_clk_regmap(hw); in clk_enable_regmap()
74 struct clk_regmap *rclk = to_clk_regmap(hw); in clk_disable_regmap()
H A Dclk-rcg.h96 #define to_clk_rcg(_hw) container_of(to_clk_regmap(_hw), struct clk_rcg, clkr)
130 container_of(to_clk_regmap(_hw), struct clk_dyn_rcg, clkr)
159 #define to_clk_rcg2(_hw) container_of(to_clk_regmap(_hw), struct clk_rcg2, clkr)
H A Dclk-regmap.h28 static inline struct clk_regmap *to_clk_regmap(struct clk_hw *hw) in to_clk_regmap() function
H A Dclk-hfpll.h40 container_of(to_clk_regmap(_hw), struct clk_hfpll, clkr)
H A Dclk-pll.h59 #define to_clk_pll(_hw) container_of(to_clk_regmap(_hw), struct clk_pll, clkr)
H A Dclk-branch.h90 container_of(to_clk_regmap(_hw), struct clk_branch, clkr)
H A Dclk-cpu-8996.c271 return container_of(to_clk_regmap(hw), struct clk_cpu_8996_pmux, clkr); in to_clk_cpu_8996_pmux_hw()
276 struct clk_regmap *clkr = to_clk_regmap(hw); in clk_cpu_8996_pmux_get_parent()
287 struct clk_regmap *clkr = to_clk_regmap(hw); in clk_cpu_8996_pmux_set_parent()
H A Dclk-cbf-8996.c119 struct clk_regmap *clkr = to_clk_regmap(hw); in clk_cbf_8996_mux_get_parent()
130 struct clk_regmap *clkr = to_clk_regmap(hw); in clk_cbf_8996_mux_set_parent()
H A Dclk-regmap-divider.c15 return container_of(to_clk_regmap(hw), struct clk_regmap_div, clkr); in to_clk_regmap_div()
H A Dclk-regmap-mux-div.c21 container_of(to_clk_regmap(_hw), struct clk_regmap_mux_div, clkr)
H A Dclk-alpha-pll.c285 #define to_clk_alpha_pll(_hw) container_of(to_clk_regmap(_hw), \
288 #define to_clk_alpha_pll_postdiv(_hw) container_of(to_clk_regmap(_hw), \
H A Dgcc-ipq4019.c27 #define to_clk_regmap_div(_hw) container_of(to_clk_regmap(_hw),\
H A Dmmcc-msm8960.c546 container_of(to_clk_regmap(_hw), struct clk_pix_rdi, clkr)