Home
last modified time | relevance | path

Searched refs:clk_hw (Results 1 – 25 of 602) sorted by relevance

12345678910>>...25

/linux/include/linux/
A Dclk-provider.h37 struct clk_hw;
312 struct clk_hw { struct
339 struct clk_hw hw;
472 struct clk_hw hw;
597 struct clk_hw hw;
866 struct clk_hw hw;
964 struct clk_hw hw;
1012 struct clk_hw hw;
1068 struct clk_hw hw;
1096 struct clk_hw hw;
[all …]
/linux/drivers/clk/
A Dclk-composite.c15 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_get_parent()
26 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent()
38 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate()
47 struct clk_hw *parent_hw, in clk_composite_determine_rate_for_parent()
75 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate()
76 struct clk_hw *parent; in clk_composite_determine_rate()
240 struct clk_hw *hw; in __clk_hw_register_composite()
385 struct clk_hw *hw; in clk_register_composite()
404 struct clk_hw *hw; in clk_register_composite_pdata()
417 struct clk_hw *hw; in clk_unregister_composite()
[all …]
A Dclk-hi655x.c22 struct clk_hw clk_hw; member
25 static unsigned long hi655x_clk_recalc_rate(struct clk_hw *hw, in hi655x_clk_recalc_rate()
31 static int hi655x_clk_enable(struct clk_hw *hw, bool enable) in hi655x_clk_enable()
34 container_of(hw, struct hi655x_clk, clk_hw); in hi655x_clk_enable()
42 static int hi655x_clk_prepare(struct clk_hw *hw) in hi655x_clk_prepare()
47 static void hi655x_clk_unprepare(struct clk_hw *hw) in hi655x_clk_unprepare()
52 static int hi655x_clk_is_prepared(struct clk_hw *hw) in hi655x_clk_is_prepared()
55 container_of(hw, struct hi655x_clk, clk_hw); in hi655x_clk_is_prepared()
93 hi655x_clk->clk_hw.init = &init; in hi655x_clk_probe()
98 ret = devm_clk_hw_register(&pdev->dev, &hi655x_clk->clk_hw); in hi655x_clk_probe()
[all …]
A Dclk-axi-clkgen.c58 struct clk_hw clk_hw; member
315 static struct axi_clkgen *clk_hw_to_axi_clkgen(struct clk_hw *clk_hw) in clk_hw_to_axi_clkgen() argument
317 return container_of(clk_hw, struct axi_clkgen, clk_hw); in clk_hw_to_axi_clkgen()
336 static int axi_clkgen_set_rate(struct clk_hw *clk_hw, in axi_clkgen_set_rate() argument
433 static unsigned long axi_clkgen_recalc_rate(struct clk_hw *clk_hw, in axi_clkgen_recalc_rate() argument
461 static int axi_clkgen_enable(struct clk_hw *clk_hw) in axi_clkgen_enable() argument
470 static void axi_clkgen_disable(struct clk_hw *clk_hw) in axi_clkgen_disable() argument
477 static int axi_clkgen_set_parent(struct clk_hw *clk_hw, u8 index) in axi_clkgen_set_parent() argument
486 static u8 axi_clkgen_get_parent(struct clk_hw *clk_hw) in axi_clkgen_get_parent() argument
551 axi_clkgen->clk_hw.init = &init; in axi_clkgen_probe()
[all …]
A Dclk-gpio.c45 struct clk_hw hw;
51 static int clk_gpio_gate_enable(struct clk_hw *hw) in clk_gpio_gate_enable()
60 static void clk_gpio_gate_disable(struct clk_hw *hw) in clk_gpio_gate_disable()
67 static int clk_gpio_gate_is_enabled(struct clk_hw *hw) in clk_gpio_gate_is_enabled()
80 static int clk_sleeping_gpio_gate_prepare(struct clk_hw *hw) in clk_sleeping_gpio_gate_prepare()
89 static void clk_sleeping_gpio_gate_unprepare(struct clk_hw *hw) in clk_sleeping_gpio_gate_unprepare()
96 static int clk_sleeping_gpio_gate_is_prepared(struct clk_hw *hw) in clk_sleeping_gpio_gate_is_prepared()
117 static u8 clk_gpio_mux_get_parent(struct clk_hw *hw) in clk_gpio_mux_get_parent()
124 static int clk_gpio_mux_set_parent(struct clk_hw *hw, u8 index) in clk_gpio_mux_set_parent()
144 struct clk_hw *hw; in clk_register_gpio()
[all …]
A Dclk-max9485.c71 struct clk_hw hw;
110 static int max9485_clk_prepare(struct clk_hw *hw) in max9485_clk_prepare()
112 struct max9485_clk_hw *clk_hw = to_max9485_clk(hw); in max9485_clk_prepare() local
114 return max9485_update_bits(clk_hw->drvdata, in max9485_clk_prepare()
115 clk_hw->enable_bit, in max9485_clk_prepare()
116 clk_hw->enable_bit); in max9485_clk_prepare()
119 static void max9485_clk_unprepare(struct clk_hw *hw) in max9485_clk_unprepare()
121 struct max9485_clk_hw *clk_hw = to_max9485_clk(hw); in max9485_clk_unprepare() local
123 max9485_update_bits(clk_hw->drvdata, clk_hw->enable_bit, 0); in max9485_clk_unprepare()
142 return max9485_update_bits(clk_hw->drvdata, in max9485_clkout_set_rate()
[all …]
/linux/drivers/clk/at91/
A Dpmc.h22 struct clk_hw **chws;
24 struct clk_hw **shws;
26 struct clk_hw **phws;
28 struct clk_hw **ghws;
30 struct clk_hw **pchws;
32 struct clk_hw *hwtable[];
131 struct clk_hw * __init
135 struct clk_hw * __init
139 struct clk_hw * __init
143 struct clk_hw * __init
[all …]
A Dclk-utmi.c23 struct clk_hw hw;
40 static int clk_utmi_prepare(struct clk_hw *hw) in clk_utmi_prepare()
42 struct clk_hw *hw_parent; in clk_utmi_prepare()
95 static int clk_utmi_is_prepared(struct clk_hw *hw) in clk_utmi_is_prepared()
102 static void clk_utmi_unprepare(struct clk_hw *hw) in clk_utmi_unprepare()
143 static struct clk_hw * __init
150 struct clk_hw *hw; in at91_clk_register_utmi_internal()
178 struct clk_hw * __init
189 struct clk_hw *hw_parent; in clk_utmi_sama7g5_prepare()
223 struct clk_hw *hw_parent; in clk_utmi_sama7g5_is_prepared()
[all …]
A Dclk-main.c29 struct clk_hw hw;
37 struct clk_hw hw;
47 struct clk_hw hw;
54 struct clk_hw hw;
151 struct clk_hw * __init
159 struct clk_hw *hw; in at91_clk_register_main_osc()
292 struct clk_hw * __init
299 struct clk_hw *hw; in at91_clk_register_main_rc_osc()
397 struct clk_hw * __init
404 struct clk_hw *hw; in at91_clk_register_rm9200_main()
[all …]
A Dclk-usb.c25 struct clk_hw hw;
36 struct clk_hw hw;
60 struct clk_hw *parent; in at91sam9x5_clk_usb_determine_rate()
222 static struct clk_hw * __init
228 struct clk_hw *hw; in _at91sam9x5_clk_register_usb()
258 struct clk_hw * __init
266 struct clk_hw * __init
274 struct clk_hw * __init
279 struct clk_hw *hw; in at91sam9n12_clk_register_usb()
391 struct clk_hw * __init
[all …]
A Dsckc.c30 struct clk_hw hw;
39 struct clk_hw hw;
49 struct clk_hw hw;
60 struct clk_hw hw;
117 static struct clk_hw * __init
126 struct clk_hw *hw; in at91_clk_register_slow_osc()
224 static struct clk_hw * __init
233 struct clk_hw *hw; in at91_clk_register_slow_rc_osc()
317 static struct clk_hw * __init
325 struct clk_hw *hw; in at91_clk_register_sam9x5_slow()
[all …]
A Dclk-audio-pll.c59 struct clk_hw hw;
66 struct clk_hw hw;
73 struct clk_hw hw;
82 static int clk_audio_pll_frac_enable(struct clk_hw *hw) in clk_audio_pll_frac_enable()
107 static int clk_audio_pll_pad_enable(struct clk_hw *hw) in clk_audio_pll_pad_enable()
120 static int clk_audio_pll_pmc_enable(struct clk_hw *hw) in clk_audio_pll_pmc_enable()
276 struct clk_hw *pclk = clk_hw_get_parent(hw); in clk_audio_pll_pad_round_rate()
327 struct clk_hw *pclk = clk_hw_get_parent(hw); in clk_audio_pll_pmc_round_rate()
451 struct clk_hw * __init
481 struct clk_hw * __init
[all …]
/linux/drivers/clk/samsung/
A Dclk.c89 struct clk_hw *clk_hw, unsigned int id) in samsung_clk_add_lookup() argument
100 struct clk_hw *clk_hw; in samsung_clk_register_alias() local
111 if (!clk_hw) { in samsung_clk_register_alias()
130 struct clk_hw *clk_hw; in samsung_clk_register_fixed_rate() local
136 if (IS_ERR(clk_hw)) { in samsung_clk_register_fixed_rate()
159 struct clk_hw *clk_hw; in samsung_clk_register_fixed_factor() local
165 if (IS_ERR(clk_hw)) { in samsung_clk_register_fixed_factor()
180 struct clk_hw *clk_hw; in samsung_clk_register_mux() local
188 if (IS_ERR(clk_hw)) { in samsung_clk_register_mux()
203 struct clk_hw *clk_hw; in samsung_clk_register_div() local
[all …]
/linux/drivers/clk/ti/
A Dclock.h20 struct clk_hw hw;
35 struct clk_hw hw;
256 int omap2_init_clk_clkdm(struct clk_hw *hw);
257 int omap2_clkops_enable_clkdm(struct clk_hw *hw);
258 void omap2_clkops_disable_clkdm(struct clk_hw *hw);
260 int omap2_dflt_clk_enable(struct clk_hw *hw);
261 void omap2_dflt_clk_disable(struct clk_hw *hw);
262 int omap2_dflt_clk_is_enabled(struct clk_hw *hw);
273 u8 omap2_init_dpll_parent(struct clk_hw *hw);
274 int omap3_noncore_dpll_enable(struct clk_hw *hw);
[all …]
A Dapll.c139 struct clk_hw *hw = user; in omap_clk_register_apll()
178 kfree(clk_hw->dpll_data); in omap_clk_register_apll()
181 kfree(clk_hw); in omap_clk_register_apll()
193 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in of_dra7_apll_setup()
198 clk_hw->dpll_data = ad; in of_dra7_apll_setup()
199 clk_hw->hw.init = init; in of_dra7_apll_setup()
233 kfree(clk_hw); in of_dra7_apll_setup()
356 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in of_omap2_apll_setup()
362 clk_hw->dpll_data = ad; in of_omap2_apll_setup()
363 clk_hw->hw.init = init; in of_omap2_apll_setup()
[all …]
A Ddpll.c209 kfree(clk_hw); in _register_dpll()
239 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in _register_dpll_x2()
240 if (!clk_hw) in _register_dpll_x2()
243 clk_hw->ops = hw_ops; in _register_dpll_x2()
259 clk_hw->ops = NULL; in _register_dpll_x2()
261 kfree(clk_hw); in _register_dpll_x2()
271 kfree(clk_hw); in _register_dpll_x2()
298 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in of_ti_dpll_setup()
303 clk_hw->dpll_data = dd; in of_ti_dpll_setup()
305 clk_hw->hw.init = init; in of_ti_dpll_setup()
[all …]
/linux/drivers/clk/imx/
A Dclk-scu.h29 struct clk_hw *imx_scu_of_clk_src_get(struct of_phandle_args *clkspec,
31 struct clk_hw *imx_clk_scu_alloc_dev(const char *name,
35 struct clk_hw *__imx_clk_scu(struct device *dev, const char *name,
41 struct clk_hw *__imx_clk_lpcg_scu(struct device *dev, const char *name,
44 void imx_clk_lpcg_scu_unregister(struct clk_hw *hw);
46 struct clk_hw *__imx_clk_gpr_scu(const char *name, const char * const *parent_name,
50 static inline struct clk_hw *imx_clk_scu(const char *name, u32 rsrc_id, in imx_clk_scu()
56 static inline struct clk_hw *imx_clk_scu2(const char *name, const char * const *parents, in imx_clk_scu2()
62 static inline struct clk_hw *imx_clk_lpcg_scu_dev(struct device *dev, const char *name, in imx_clk_lpcg_scu_dev()
70 static inline struct clk_hw *imx_clk_lpcg_scu(const char *name, const char *parent_name, in imx_clk_lpcg_scu()
[all …]
A Dclk.h12 void imx_check_clk_hws(struct clk_hw *clks[], unsigned int count);
22 void imx_unregister_hw_clocks(struct clk_hw *hws[], unsigned int count);
208 struct clk_hw *imx_clk_hw_pllv2(const char *name, const char *parent,
214 struct clk_hw *imx_clk_hw_sscg_pll(const char *name,
266 struct clk_hw *imx_obtain_fixed_clock_hw(
269 struct clk_hw *imx_obtain_fixed_clk_hw(struct device_node *np,
289 struct clk_hw *imx7ulp_clk_hw_composite(const char *name,
295 struct clk_hw *imx8ulp_clk_hw_composite(const char *name,
309 static inline struct clk *to_clk(struct clk_hw *hw) in to_clk()
328 static inline struct clk_hw *__imx_clk_hw_divider(const char *name, in __imx_clk_hw_divider()
[all …]
/linux/drivers/clk/tegra/
A Dclk-periph.c14 static u8 clk_periph_get_parent(struct clk_hw *hw) in clk_periph_get_parent()
18 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_get_parent()
29 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_set_parent()
41 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_recalc_rate()
53 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_round_rate()
65 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_set_rate()
76 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_is_enabled()
87 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_enable()
98 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_disable()
107 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_disable_unused()
[all …]
/linux/drivers/clk/actions/
A Dowl-composite.c16 static u8 owl_comp_get_parent(struct clk_hw *hw) in owl_comp_get_parent()
23 static int owl_comp_set_parent(struct clk_hw *hw, u8 index) in owl_comp_set_parent()
30 static void owl_comp_disable(struct clk_hw *hw) in owl_comp_disable()
38 static int owl_comp_enable(struct clk_hw *hw) in owl_comp_enable()
48 static int owl_comp_is_enabled(struct clk_hw *hw) in owl_comp_is_enabled()
56 static long owl_comp_div_round_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_div_round_rate()
65 static unsigned long owl_comp_div_recalc_rate(struct clk_hw *hw, in owl_comp_div_recalc_rate()
74 static int owl_comp_div_set_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_div_set_rate()
93 static unsigned long owl_comp_fact_recalc_rate(struct clk_hw *hw, in owl_comp_fact_recalc_rate()
103 static int owl_comp_fact_set_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_fact_set_rate()
[all …]
/linux/drivers/clk/mediatek/
A Dclk-gate.c19 static int mtk_cg_bit_is_cleared(struct clk_hw *hw) in mtk_cg_bit_is_cleared()
31 static int mtk_cg_bit_is_set(struct clk_hw *hw) in mtk_cg_bit_is_set()
43 static void mtk_cg_set_bit(struct clk_hw *hw) in mtk_cg_set_bit()
50 static void mtk_cg_clr_bit(struct clk_hw *hw) in mtk_cg_clr_bit()
57 static void mtk_cg_set_bit_no_setclr(struct clk_hw *hw) in mtk_cg_set_bit_no_setclr()
65 static void mtk_cg_clr_bit_no_setclr(struct clk_hw *hw) in mtk_cg_clr_bit_no_setclr()
73 static int mtk_cg_enable(struct clk_hw *hw) in mtk_cg_enable()
80 static void mtk_cg_disable(struct clk_hw *hw) in mtk_cg_disable()
85 static int mtk_cg_enable_inv(struct clk_hw *hw) in mtk_cg_enable_inv()
92 static void mtk_cg_disable_inv(struct clk_hw *hw) in mtk_cg_disable_inv()
[all …]
/linux/drivers/clk/meson/
A Daxg.c79 .parent_hws = (const struct clk_hw *[]) {
138 .parent_hws = (const struct clk_hw *[]) {
243 .parent_hws = (const struct clk_hw *[]) {
316 .parent_hws = (const struct clk_hw *[]) {
343 .parent_hws = (const struct clk_hw *[]) {
370 .parent_hws = (const struct clk_hw *[]) {
408 .parent_hws = (const struct clk_hw *[]) {
434 .parent_hws = (const struct clk_hw *[]) {
447 .parent_hws = (const struct clk_hw *[]) {
462 .parent_hws = (const struct clk_hw *[]) {
[all …]
A Dg12a.c938 struct clk_hw *xtal;
939 struct clk_hw *cpu_clk_dyn;
940 struct clk_hw *cpu_clk_postmux0;
941 struct clk_hw *cpu_clk_postmux1;
942 struct clk_hw *cpu_clk_premux1;
1043 struct clk_hw *sys_pll;
1044 struct clk_hw *cpu_clk;
1045 struct clk_hw *cpu_clk_dyn;
5243 struct clk_hw **hws) in meson_g12a_dvfs_setup_common()
5246 struct clk_hw *xtal; in meson_g12a_dvfs_setup_common()
[all …]
/linux/drivers/clk/qcom/
A Dgcc-ipq6018.c74 .parent_hws = (const struct clk_hw *[]){
88 .parent_hws = (const struct clk_hw *[]){
132 .parent_hws = (const struct clk_hw *[]){
163 .parent_hws = (const struct clk_hw *[]){
194 .parent_hws = (const struct clk_hw *[]){
245 .parent_hws = (const struct clk_hw *[]){
276 .parent_hws = (const struct clk_hw *[]){
325 .parent_hws = (const struct clk_hw *[]){
356 .parent_hws = (const struct clk_hw *[]){
696 .parent_hws = (const struct clk_hw *[]){
[all …]
A Dmmcc-msm8998.c97 .parent_hws = (const struct clk_hw *[]){ &mmpll0.clkr.hw },
129 .parent_hws = (const struct clk_hw *[]){ &mmpll1.clkr.hw },
157 .parent_hws = (const struct clk_hw *[]){ &mmpll3.clkr.hw },
185 .parent_hws = (const struct clk_hw *[]){ &mmpll4.clkr.hw },
213 .parent_hws = (const struct clk_hw *[]){ &mmpll5.clkr.hw },
241 .parent_hws = (const struct clk_hw *[]){ &mmpll6.clkr.hw },
269 .parent_hws = (const struct clk_hw *[]){ &mmpll7.clkr.hw },
297 .parent_hws = (const struct clk_hw *[]){ &mmpll10.clkr.hw },
1212 .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
1244 .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
[all …]

Completed in 97 milliseconds

12345678910>>...25