Home
last modified time | relevance | path

Searched refs:clk_hw (Results 1 - 25 of 1282) sorted by relevance

12345678910>>...52

/kernel/linux/linux-6.6/drivers/clk/at91/
H 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[];
129 struct clk_hw *of_clk_hw_pmc_get(struct of_phandle_args *clkspec, void *data);
131 struct clk_hw * __init
135 struct clk_hw * __init
139 struct clk_hw * __ini
[all...]
H 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()
110 static unsigned long clk_utmi_recalc_rate(struct clk_hw *hw, in clk_utmi_recalc_rate()
117 static int clk_utmi_save_context(struct clk_hw *hw) in clk_utmi_save_context()
126 static void clk_utmi_restore_context(struct clk_hw *hw) in clk_utmi_restore_context()
143 static struct clk_hw * __init
147 struct clk_hw *parent_h in at91_clk_register_utmi_internal()
[all...]
H A Dclk-main.c29 struct clk_hw hw;
37 struct clk_hw hw;
47 struct clk_hw hw;
54 struct clk_hw hw;
71 static int clk_main_osc_prepare(struct clk_hw *hw) in clk_main_osc_prepare()
94 static void clk_main_osc_unprepare(struct clk_hw *hw) in clk_main_osc_unprepare()
111 static int clk_main_osc_is_prepared(struct clk_hw *hw) in clk_main_osc_is_prepared()
126 static int clk_main_osc_save_context(struct clk_hw *hw) in clk_main_osc_save_context()
135 static void clk_main_osc_restore_context(struct clk_hw *hw) in clk_main_osc_restore_context()
151 struct clk_hw * __ini
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dclk-provider.h37 struct clk_hw;
64 struct clk_hw *best_parent_hw;
67 void clk_hw_init_rate_request(const struct clk_hw *hw,
70 void clk_hw_forward_rate_request(const struct clk_hw *core,
72 const struct clk_hw *parent,
235 int (*prepare)(struct clk_hw *hw);
236 void (*unprepare)(struct clk_hw *hw);
237 int (*is_prepared)(struct clk_hw *hw);
238 void (*unprepare_unused)(struct clk_hw *hw);
239 int (*enable)(struct clk_hw *h
326 struct clk_hw { global() struct
[all...]
/kernel/linux/linux-6.6/drivers/clk/
H A Dclk-composite.c11 static u8 clk_composite_get_parent(struct clk_hw *hw) in clk_composite_get_parent()
15 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_get_parent()
22 static int clk_composite_set_parent(struct clk_hw *hw, u8 index) in clk_composite_set_parent()
26 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent()
33 static unsigned long clk_composite_recalc_rate(struct clk_hw *hw, in clk_composite_recalc_rate()
38 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate()
45 static int clk_composite_determine_rate_for_parent(struct clk_hw *rate_hw, in clk_composite_determine_rate_for_parent()
47 struct clk_hw *parent_hw, in clk_composite_determine_rate_for_parent()
68 static int clk_composite_determine_rate(struct clk_hw *hw, in clk_composite_determine_rate()
74 struct clk_hw *rate_h in clk_composite_determine_rate()
[all...]
H A Dclk-gate_test.c13 struct clk_hw *ret; in clk_gate_register_test_dev()
31 struct clk_hw *parent; in clk_gate_register_test_parent_names()
32 struct clk_hw *ret; in clk_gate_register_test_parent_names()
49 struct clk_hw *parent; in clk_gate_register_test_parent_data()
50 struct clk_hw *ret; in clk_gate_register_test_parent_data()
69 struct clk_hw *parent; in clk_gate_register_test_parent_data_legacy()
70 struct clk_hw *ret; in clk_gate_register_test_parent_data_legacy()
89 struct clk_hw *parent; in clk_gate_register_test_parent_hw()
90 struct clk_hw *ret; in clk_gate_register_test_parent_hw()
107 struct clk_hw *re in clk_gate_register_test_hiword_invalid()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dclk-provider.h37 struct clk_hw;
60 struct clk_hw *best_parent_hw;
221 int (*prepare)(struct clk_hw *hw);
222 void (*unprepare)(struct clk_hw *hw);
223 int (*is_prepared)(struct clk_hw *hw);
224 void (*unprepare_unused)(struct clk_hw *hw);
225 int (*enable)(struct clk_hw *hw);
226 void (*disable)(struct clk_hw *hw);
227 int (*is_enabled)(struct clk_hw *hw);
228 void (*disable_unused)(struct clk_hw *h
312 struct clk_hw { global() struct
[all...]
/kernel/linux/linux-5.10/drivers/clk/at91/
H A Dpmc.h20 struct clk_hw **chws;
22 struct clk_hw **shws;
24 struct clk_hw **phws;
26 struct clk_hw **ghws;
28 struct clk_hw **pchws;
30 struct clk_hw *hwtable[];
113 struct clk_hw *of_clk_hw_pmc_get(struct of_phandle_args *clkspec, void *data);
115 struct clk_hw * __init
119 struct clk_hw * __init
123 struct clk_hw * __ini
[all...]
H A Dclk-usb.c25 struct clk_hw hw;
35 struct clk_hw hw;
43 static unsigned long at91sam9x5_clk_usb_recalc_rate(struct clk_hw *hw, in at91sam9x5_clk_usb_recalc_rate()
56 static int at91sam9x5_clk_usb_determine_rate(struct clk_hw *hw, in at91sam9x5_clk_usb_determine_rate()
59 struct clk_hw *parent; in at91sam9x5_clk_usb_determine_rate()
110 static int at91sam9x5_clk_usb_set_parent(struct clk_hw *hw, u8 index) in at91sam9x5_clk_usb_set_parent()
122 static u8 at91sam9x5_clk_usb_get_parent(struct clk_hw *hw) in at91sam9x5_clk_usb_get_parent()
132 static int at91sam9x5_clk_usb_set_rate(struct clk_hw *hw, unsigned long rate, in at91sam9x5_clk_usb_set_rate()
159 static int at91sam9n12_clk_usb_enable(struct clk_hw *hw) in at91sam9n12_clk_usb_enable()
169 static void at91sam9n12_clk_usb_disable(struct clk_hw *h
[all...]
H A Dclk-utmi.c23 struct clk_hw hw;
39 static int clk_utmi_prepare(struct clk_hw *hw) in clk_utmi_prepare()
41 struct clk_hw *hw_parent; in clk_utmi_prepare()
94 static int clk_utmi_is_prepared(struct clk_hw *hw) in clk_utmi_is_prepared()
101 static void clk_utmi_unprepare(struct clk_hw *hw) in clk_utmi_unprepare()
109 static unsigned long clk_utmi_recalc_rate(struct clk_hw *hw, in clk_utmi_recalc_rate()
123 static struct clk_hw * __init
130 struct clk_hw *hw; in at91_clk_register_utmi_internal()
158 struct clk_hw * __init
166 static int clk_utmi_sama7g5_prepare(struct clk_hw *h
[all...]
/kernel/linux/linux-5.10/drivers/clk/ti/
H A Dclock.h20 struct clk_hw hw;
35 struct clk_hw hw;
213 struct clk *of_ti_clk_register(struct device_node *node, struct clk_hw *hw,
216 struct clk_hw *hw, const char *con);
223 struct clk_hw *ti_clk_build_component_mux(struct ti_clk_mux *setup);
233 int ti_clk_add_component(struct device_node *node, struct clk_hw *hw, int type);
257 int omap2_init_clk_clkdm(struct clk_hw *hw);
258 int omap2_clkops_enable_clkdm(struct clk_hw *hw);
259 void omap2_clkops_disable_clkdm(struct clk_hw *hw);
261 int omap2_dflt_clk_enable(struct clk_hw *h
[all...]
H A Dapll.c40 static int dra7_apll_enable(struct clk_hw *hw) in dra7_apll_enable()
91 static void dra7_apll_disable(struct clk_hw *hw) in dra7_apll_disable()
108 static int dra7_apll_is_enabled(struct clk_hw *hw) in dra7_apll_is_enabled()
124 static u8 dra7_init_apll_parent(struct clk_hw *hw) in dra7_init_apll_parent()
139 struct clk_hw *hw = user; in omap_clk_register_apll()
140 struct clk_hw_omap *clk_hw = to_clk_hw_omap(hw); in omap_clk_register_apll() local
141 struct dpll_data *ad = clk_hw->dpll_data; in omap_clk_register_apll()
144 const struct clk_init_data *init = clk_hw->hw.init; in omap_clk_register_apll()
171 clk = of_ti_clk_register_omap_hw(node, &clk_hw->hw, name); in omap_clk_register_apll()
180 kfree(clk_hw in omap_clk_register_apll()
189 struct clk_hw_omap *clk_hw = NULL; of_dra7_apll_setup() local
350 struct clk_hw_omap *clk_hw = NULL; of_omap2_apll_setup() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/ti/
H A Dclock.h12 struct clk_hw hw;
27 struct clk_hw hw;
202 struct clk *of_ti_clk_register(struct device_node *node, struct clk_hw *hw,
205 struct clk_hw *hw, const char *con);
212 struct clk_hw *ti_clk_build_component_mux(struct ti_clk_mux *setup);
222 int ti_clk_add_component(struct device_node *node, struct clk_hw *hw, int type);
246 int omap2_init_clk_clkdm(struct clk_hw *hw);
247 int omap2_clkops_enable_clkdm(struct clk_hw *hw);
248 void omap2_clkops_disable_clkdm(struct clk_hw *hw);
250 int omap2_dflt_clk_enable(struct clk_hw *h
[all...]
H A Dapll.c32 static int dra7_apll_enable(struct clk_hw *hw) in dra7_apll_enable()
83 static void dra7_apll_disable(struct clk_hw *hw) in dra7_apll_disable()
100 static int dra7_apll_is_enabled(struct clk_hw *hw) in dra7_apll_is_enabled()
116 static u8 dra7_init_apll_parent(struct clk_hw *hw) in dra7_init_apll_parent()
131 struct clk_hw *hw = user; in omap_clk_register_apll()
132 struct clk_hw_omap *clk_hw = to_clk_hw_omap(hw); in omap_clk_register_apll() local
133 struct dpll_data *ad = clk_hw->dpll_data; in omap_clk_register_apll()
136 const struct clk_init_data *init = clk_hw->hw.init; in omap_clk_register_apll()
163 clk = of_ti_clk_register_omap_hw(node, &clk_hw->hw, name); in omap_clk_register_apll()
172 kfree(clk_hw in omap_clk_register_apll()
181 struct clk_hw_omap *clk_hw = NULL; of_dra7_apll_setup() local
342 struct clk_hw_omap *clk_hw = NULL; of_omap2_apll_setup() local
[all...]
/kernel/linux/linux-5.10/drivers/clk/
H A Dclk-composite.c10 static u8 clk_composite_get_parent(struct clk_hw *hw) in clk_composite_get_parent()
14 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_get_parent()
21 static int clk_composite_set_parent(struct clk_hw *hw, u8 index) in clk_composite_set_parent()
25 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent()
32 static unsigned long clk_composite_recalc_rate(struct clk_hw *hw, in clk_composite_recalc_rate()
37 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate()
44 static int clk_composite_determine_rate(struct clk_hw *hw, in clk_composite_determine_rate()
50 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_determine_rate()
51 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate()
52 struct clk_hw *paren in clk_composite_determine_rate()
[all...]
H 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()
139 static struct clk_hw *clk_register_gpi
[all...]
/kernel/linux/linux-6.6/drivers/clk/mediatek/
H A Dclk-gate.c18 struct clk_hw hw;
26 static inline struct mtk_clk_gate *to_mtk_clk_gate(struct clk_hw *hw) in to_mtk_clk_gate()
31 static u32 mtk_get_clockgating(struct clk_hw *hw) in mtk_get_clockgating()
41 static int mtk_cg_bit_is_cleared(struct clk_hw *hw) in mtk_cg_bit_is_cleared()
46 static int mtk_cg_bit_is_set(struct clk_hw *hw) in mtk_cg_bit_is_set()
51 static void mtk_cg_set_bit(struct clk_hw *hw) in mtk_cg_set_bit()
58 static void mtk_cg_clr_bit(struct clk_hw *hw) in mtk_cg_clr_bit()
65 static void mtk_cg_set_bit_no_setclr(struct clk_hw *hw) in mtk_cg_set_bit_no_setclr()
72 static void mtk_cg_clr_bit_no_setclr(struct clk_hw *hw) in mtk_cg_clr_bit_no_setclr()
79 static int mtk_cg_enable(struct clk_hw *h
[all...]
/kernel/linux/linux-5.10/drivers/clk/samsung/
H A Dclk.c89 struct clk_hw *clk_hw, unsigned int id) in samsung_clk_add_lookup()
92 ctx->clk_data.hws[id] = clk_hw; in samsung_clk_add_lookup()
100 struct clk_hw *clk_hw; in samsung_clk_register_alias() local
110 clk_hw = ctx->clk_data.hws[list->id]; in samsung_clk_register_alias()
111 if (!clk_hw) { in samsung_clk_register_alias()
117 ret = clk_hw_register_clkdev(clk_hw, list->alias, in samsung_clk_register_alias()
130 struct clk_hw *clk_hw; in samsung_clk_register_fixed_rate() local
88 samsung_clk_add_lookup(struct samsung_clk_provider *ctx, struct clk_hw *clk_hw, unsigned int id) samsung_clk_add_lookup() argument
159 struct clk_hw *clk_hw; samsung_clk_register_fixed_factor() local
180 struct clk_hw *clk_hw; samsung_clk_register_mux() local
203 struct clk_hw *clk_hw; samsung_clk_register_div() local
233 struct clk_hw *clk_hw; samsung_clk_register_gate() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/samsung/
H A Dclk.c100 struct clk_hw *clk_hw, unsigned int id) in samsung_clk_add_lookup()
103 ctx->clk_data.hws[id] = clk_hw; in samsung_clk_add_lookup()
111 struct clk_hw *clk_hw; in samsung_clk_register_alias() local
121 clk_hw = ctx->clk_data.hws[list->id]; in samsung_clk_register_alias()
122 if (!clk_hw) { in samsung_clk_register_alias()
128 ret = clk_hw_register_clkdev(clk_hw, list->alias, in samsung_clk_register_alias()
141 struct clk_hw *clk_hw; in samsung_clk_register_fixed_rate() local
99 samsung_clk_add_lookup(struct samsung_clk_provider *ctx, struct clk_hw *clk_hw, unsigned int id) samsung_clk_add_lookup() argument
170 struct clk_hw *clk_hw; samsung_clk_register_fixed_factor() local
191 struct clk_hw *clk_hw; samsung_clk_register_mux() local
214 struct clk_hw *clk_hw; samsung_clk_register_div() local
244 struct clk_hw *clk_hw; samsung_clk_register_gate() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/ux500/
H A Dclk-prcmu.c20 struct clk_hw hw;
26 struct clk_hw hw;
34 static int clk_prcmu_prepare(struct clk_hw *hw) in clk_prcmu_prepare()
41 static void clk_prcmu_unprepare(struct clk_hw *hw) in clk_prcmu_unprepare()
49 static unsigned long clk_prcmu_recalc_rate(struct clk_hw *hw, in clk_prcmu_recalc_rate()
56 static long clk_prcmu_round_rate(struct clk_hw *hw, unsigned long rate, in clk_prcmu_round_rate()
63 static int clk_prcmu_set_rate(struct clk_hw *hw, unsigned long rate, in clk_prcmu_set_rate()
70 static int clk_prcmu_opp_prepare(struct clk_hw *hw) in clk_prcmu_opp_prepare()
98 static void clk_prcmu_opp_unprepare(struct clk_hw *hw) in clk_prcmu_opp_unprepare()
115 static int clk_prcmu_opp_volt_prepare(struct clk_hw *h
[all...]
/kernel/linux/linux-6.6/drivers/clk/imx/
H A Dclk-scu.h30 struct clk_hw *imx_scu_of_clk_src_get(struct of_phandle_args *clkspec,
32 struct clk_hw *imx_clk_scu_alloc_dev(const char *name,
36 struct clk_hw *__imx_clk_scu(struct device *dev, const char *name,
42 struct clk_hw *__imx_clk_lpcg_scu(struct device *dev, const char *name,
45 void imx_clk_lpcg_scu_unregister(struct clk_hw *hw);
47 struct clk_hw *__imx_clk_gpr_scu(const char *name, const char * const *parent_name,
51 static inline struct clk_hw *imx_clk_scu(const char *name, u32 rsrc_id, in imx_clk_scu()
57 static inline struct clk_hw *imx_clk_scu2(const char *name, const char * const *parents, in imx_clk_scu2()
63 static inline struct clk_hw *imx_clk_lpcg_scu_dev(struct device *dev, const char *name, in imx_clk_lpcg_scu_dev()
71 static inline struct clk_hw *imx_clk_lpcg_sc
[all...]
H A Dclk.h13 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);
95 struct clk_hw *imx_clk_fracn_gppll(const char *name, const char *parent_name, void __iomem *base,
97 struct clk_hw *imx_clk_fracn_gppll_integer(const char *name, const char *parent_name,
227 struct clk_hw *imx_dev_clk_hw_pll14xx(struct device *dev, const char *name,
231 struct clk_hw *imx_clk_hw_pllv1(enum imx_pllv1_type type, const char *name,
234 struct clk_hw *imx_clk_hw_pllv2(const char *name, const char *parent,
237 struct clk_hw *imx_clk_hw_frac_pll(const char *name, const char *parent_name,
240 struct clk_hw *imx_clk_hw_sscg_pll(const char *name,
260 struct clk_hw *imx_clk_hw_pllv
[all...]
/kernel/linux/linux-5.10/drivers/clk/imx/
H A Dclk.h14 void imx_check_clk_hws(struct clk_hw *clks[], unsigned int count);
24 void imx_unregister_hw_clocks(struct clk_hw *hws[], unsigned int count);
143 struct clk_hw *imx_dev_clk_hw_pll14xx(struct device *dev, const char *name,
147 struct clk_hw *imx_clk_hw_pllv1(enum imx_pllv1_type type, const char *name,
150 struct clk_hw *imx_clk_hw_pllv2(const char *name, const char *parent,
153 struct clk_hw *imx_clk_hw_frac_pll(const char *name, const char *parent_name,
156 struct clk_hw *imx_clk_hw_sscg_pll(const char *name,
176 struct clk_hw *imx_clk_hw_pllv3(enum imx_pllv3_type type, const char *name,
196 struct clk_hw *imx_clk_hw_pllv4(const char *name, const char *parent_name,
199 struct clk_hw *clk_hw_register_gate
[all...]
/kernel/linux/linux-5.10/drivers/clk/actions/
H 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()
83 static long owl_comp_fact_round_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_fact_round_rate()
93 static unsigned long owl_comp_fact_recalc_rate(struct clk_hw *h
[all...]
/kernel/linux/linux-5.10/drivers/clk/mediatek/
H A Dclk-gate.c18 static int mtk_cg_bit_is_cleared(struct clk_hw *hw) in mtk_cg_bit_is_cleared()
30 static int mtk_cg_bit_is_set(struct clk_hw *hw) in mtk_cg_bit_is_set()
42 static void mtk_cg_set_bit(struct clk_hw *hw) in mtk_cg_set_bit()
49 static void mtk_cg_clr_bit(struct clk_hw *hw) in mtk_cg_clr_bit()
56 static void mtk_cg_set_bit_no_setclr(struct clk_hw *hw) in mtk_cg_set_bit_no_setclr()
64 static void mtk_cg_clr_bit_no_setclr(struct clk_hw *hw) in mtk_cg_clr_bit_no_setclr()
72 static int mtk_cg_enable(struct clk_hw *hw) in mtk_cg_enable()
79 static void mtk_cg_disable(struct clk_hw *hw) in mtk_cg_disable()
84 static int mtk_cg_enable_inv(struct clk_hw *hw) in mtk_cg_enable_inv()
91 static void mtk_cg_disable_inv(struct clk_hw *h
[all...]

Completed in 15 milliseconds

12345678910>>...52