Home
last modified time | relevance | path

Searched refs:parents (Results 1 – 25 of 565) sorted by relevance

12345678910>>...23

/Linux-v6.1/drivers/clk/ingenic/
Djz4780-cgu.c294 .parents = { JZ4780_CLK_EXCLK, -1, -1, -1 },
300 .parents = { JZ4780_CLK_EXCLK, -1, -1, -1 },
306 .parents = { JZ4780_CLK_EXCLK, -1, -1, -1 },
312 .parents = { JZ4780_CLK_EXCLK, -1, -1, -1 },
322 .parents = { -1, -1, JZ4780_CLK_EXCLK, -1 },
330 .parents = { -1, JZ4780_CLK_APLL, JZ4780_CLK_EXCLK,
337 .parents = { -1, JZ4780_CLK_SCLKA, JZ4780_CLK_MPLL,
349 .parents = { JZ4780_CLK_CPUMUX, -1, -1, -1 },
360 .parents = { JZ4780_CLK_CPUMUX, -1, -1, -1 },
366 .parents = { -1, JZ4780_CLK_SCLKA, JZ4780_CLK_MPLL,
[all …]
Djz4760-cgu.c96 .parents = { JZ4760_CLK_EXT },
121 .parents = { JZ4760_CLK_EXT },
151 .parents = { JZ4760_CLK_PLL0, },
159 .parents = { JZ4760_CLK_PLL0, },
167 .parents = { JZ4760_CLK_PLL0, },
175 .parents = { JZ4760_CLK_PLL0, },
188 .parents = { JZ4760_CLK_PLL0, },
196 .parents = { JZ4760_CLK_PLL0, },
207 .parents = { JZ4760_CLK_PLL0 },
218 .parents = { JZ4760_CLK_PLL0_HALF, JZ4760_CLK_PLL1, },
[all …]
Djz4770-cgu.c104 .parents = { JZ4770_CLK_EXT },
128 .parents = { JZ4770_CLK_EXT },
157 .parents = { JZ4770_CLK_PLL0, },
165 .parents = { JZ4770_CLK_PLL0, },
173 .parents = { JZ4770_CLK_PLL0, },
182 .parents = { JZ4770_CLK_PLL0, },
190 .parents = { JZ4770_CLK_PLL0, },
199 .parents = { JZ4770_CLK_PLL0, },
210 .parents = { JZ4770_CLK_PLL0, JZ4770_CLK_PLL1, },
217 .parents = { JZ4770_CLK_PLL0, JZ4770_CLK_PLL1, },
[all …]
Dx1830-cgu.c114 .parents = { X1830_CLK_EXCLK, -1, -1, -1 },
137 .parents = { X1830_CLK_EXCLK, -1, -1, -1 },
160 .parents = { X1830_CLK_EXCLK, -1, -1, -1 },
183 .parents = { X1830_CLK_EXCLK, -1, -1, -1 },
208 .parents = { X1830_CLK_EXCLK, -1, -1, -1 },
216 .parents = { -1, X1830_CLK_EXCLK, X1830_CLK_APLL, -1 },
222 .parents = { -1, X1830_CLK_SCLKA, X1830_CLK_MPLL, -1 },
229 .parents = { X1830_CLK_CPUMUX, -1, -1, -1 },
241 .parents = { X1830_CLK_CPUMUX, -1, -1, -1 },
247 .parents = { -1, X1830_CLK_SCLKA, X1830_CLK_MPLL, -1 },
[all …]
Djz4725b-cgu.c56 .parents = { JZ4725B_CLK_EXT, -1, -1, -1 },
81 .parents = { JZ4725B_CLK_PLL, -1, -1, -1 },
95 .parents = { JZ4725B_CLK_PLL, -1, -1, -1 },
104 .parents = { JZ4725B_CLK_PLL, -1, -1, -1 },
113 .parents = { JZ4725B_CLK_PLL, -1, -1, -1 },
127 .parents = { JZ4725B_CLK_PLL, -1, -1, -1 },
136 .parents = { JZ4725B_CLK_PLL, -1, -1, -1 },
146 .parents = { JZ4725B_CLK_PLL_HALF, -1, -1, -1 },
153 .parents = { JZ4725B_CLK_EXT, JZ4725B_CLK_PLL_HALF, -1, -1 },
160 .parents = { JZ4725B_CLK_EXT, JZ4725B_CLK_PLL, -1, -1 },
[all …]
Dx1000-cgu.c186 .parents = { X1000_CLK_EXCLK, -1, -1, -1 },
209 .parents = { X1000_CLK_EXCLK, -1, -1, -1 },
234 .parents = { -1, -1, X1000_CLK_EXCLK, -1 },
242 .parents = { -1, X1000_CLK_EXCLK, X1000_CLK_APLL, -1 },
248 .parents = { -1, X1000_CLK_SCLKA, X1000_CLK_MPLL, -1 },
259 .parents = { X1000_CLK_CPUMUX, -1, -1, -1 },
271 .parents = { X1000_CLK_CPUMUX, -1, -1, -1 },
277 .parents = { -1, X1000_CLK_SCLKA, X1000_CLK_MPLL, -1 },
284 .parents = { -1, X1000_CLK_SCLKA, X1000_CLK_MPLL, -1 },
290 .parents = { X1000_CLK_AHB2PMUX, -1, -1, -1 },
[all …]
Djz4740-cgu.c71 .parents = { JZ4740_CLK_EXT, -1, -1, -1 },
96 .parents = { JZ4740_CLK_PLL, -1, -1, -1 },
110 .parents = { JZ4740_CLK_PLL, -1, -1, -1 },
119 .parents = { JZ4740_CLK_PLL, -1, -1, -1 },
128 .parents = { JZ4740_CLK_PLL, -1, -1, -1 },
142 .parents = { JZ4740_CLK_PLL, -1, -1, -1 },
151 .parents = { JZ4740_CLK_PLL_HALF, -1, -1, -1 },
161 .parents = { JZ4740_CLK_PLL_HALF, -1, -1, -1 },
167 .parents = { JZ4740_CLK_EXT, JZ4740_CLK_PLL_HALF, -1, -1 },
175 .parents = { JZ4740_CLK_EXT, JZ4740_CLK_PLL, -1, -1 },
[all …]
/Linux-v6.1/drivers/clk/st/
Dclkgen-mux.c21 const char **parents; in clkgen_mux_get_parents() local
28 parents = kcalloc(nparents, sizeof(const char *), GFP_KERNEL); in clkgen_mux_get_parents()
29 if (!parents) in clkgen_mux_get_parents()
32 *num_parents = of_clk_parent_fill(np, parents, nparents); in clkgen_mux_get_parents()
33 return parents; in clkgen_mux_get_parents()
57 const char **parents; in st_of_clkgen_mux_setup() local
76 parents = clkgen_mux_get_parents(np, &num_parents); in st_of_clkgen_mux_setup()
77 if (IS_ERR(parents)) { in st_of_clkgen_mux_setup()
79 __func__, PTR_ERR(parents)); in st_of_clkgen_mux_setup()
83 clk = clk_register_mux(NULL, np->name, parents, num_parents, in st_of_clkgen_mux_setup()
[all …]
/Linux-v6.1/drivers/clk/starfive/
Dclk-starfive-jh7100.h27 u8 parents[4]; member
34 .parents = { [0] = _parent }, \
41 .parents = { [0] = _parent }, \
48 .parents = { [0] = _parent }, \
55 .parents = { [0] = _parent }, \
62 .parents = { __VA_ARGS__ }, \
70 .parents = { __VA_ARGS__ }, \
77 .parents = { __VA_ARGS__ }, \
85 .parents = { __VA_ARGS__ }, \
92 .parents = { [0] = _parent }, \
Dclk-starfive-jh7100-audio.c117 struct clk_parent_data parents[4] = {}; in jh7100_audclk_probe() local
121 .parent_data = parents, in jh7100_audclk_probe()
129 unsigned int pidx = jh7100_audclk_data[idx].parents[i]; in jh7100_audclk_probe()
132 parents[i].hw = &priv->reg[pidx].hw; in jh7100_audclk_probe()
134 parents[i].fw_name = "audio_src"; in jh7100_audclk_probe()
136 parents[i].fw_name = "audio_12288"; in jh7100_audclk_probe()
138 parents[i].fw_name = "dom7ahb_bus"; in jh7100_audclk_probe()
/Linux-v6.1/drivers/clk/zynqmp/
Dclkc.c98 u32 parents[CLK_GET_PARENTS_RESP_WORDS]; member
122 const char * const *parents,
310 const char * const *parents, in zynqmp_clk_register_fixed_factor() argument
334 parents[0], in zynqmp_clk_register_fixed_factor()
475 static int __zynqmp_clock_get_parents(struct clock_parent *parents, in __zynqmp_clock_get_parents() argument
482 for (i = 0; i < ARRAY_SIZE(response->parents); i++) { in __zynqmp_clock_get_parents()
483 if (response->parents[i] == NA_PARENT) in __zynqmp_clock_get_parents()
486 parent = &parents[i]; in __zynqmp_clock_get_parents()
487 parent->id = FIELD_GET(CLK_PARENTS_ID, response->parents[i]); in __zynqmp_clock_get_parents()
488 if (response->parents[i] == DUMMY_PARENT) { in __zynqmp_clock_get_parents()
[all …]
Dclk-zynqmp.h71 const char * const *parents,
76 const char * const *parents,
82 const char * const *parents,
87 const char * const *parents,
93 const char * const *parents,
/Linux-v6.1/drivers/clk/sunxi/
Dclk-sun8i-mbus.c27 const char **parents; in sun8i_a23_mbus_setup() local
37 parents = kcalloc(num_parents, sizeof(*parents), GFP_KERNEL); in sun8i_a23_mbus_setup()
38 if (!parents) in sun8i_a23_mbus_setup()
60 of_clk_parent_fill(node, parents, num_parents); in sun8i_a23_mbus_setup()
77 clk = clk_register_composite(NULL, clk_name, parents, num_parents, in sun8i_a23_mbus_setup()
89 kfree(parents); /* parents is deep copied */ in sun8i_a23_mbus_setup()
107 kfree(parents); in sun8i_a23_mbus_setup()
Dclk-sun4i-display.c19 u8 parents; member
104 const char *parents[4]; in sun4i_a10_display_init() local
123 ret = of_clk_parent_fill(node, parents, data->parents); in sun4i_a10_display_init()
124 if (ret != data->parents) { in sun4i_a10_display_init()
158 parents, data->parents, in sun4i_a10_display_init()
224 .parents = 4,
242 .parents = 3,
Dclk-a20-gmac.c58 const char *parents[SUN7I_A20_GMAC_PARENTS]; in sun7i_a20_gmac_clk_setup() local
74 if (of_clk_parent_fill(node, parents, 2) != 2) in sun7i_a20_gmac_clk_setup()
91 parents, SUN7I_A20_GMAC_PARENTS, in sun7i_a20_gmac_clk_setup()
Dclk-a10-mod1.c26 const char *parents[4]; in sun4i_mod1_clk_setup() local
44 i = of_clk_parent_fill(node, parents, SUN4I_MOD1_MAX_PARENTS); in sun4i_mod1_clk_setup()
54 clk = clk_register_composite(NULL, clk_name, parents, i, in sun4i_mod1_clk_setup()
/Linux-v6.1/drivers/clk/tegra/
Dclk-bpmp.c23 unsigned int parents[MRQ_CLK_MAX_PARENTS]; member
35 unsigned int *parents; member
208 request.parent_id = clk->parents[index]; in tegra_bpmp_clk_set_parent()
249 if (clk->parents[i] == response.parent_id) in tegra_bpmp_clk_get_parent()
356 info->parents[i] = response.parents[i]; in tegra_bpmp_clk_get_info()
400 dev_printk(level, bpmp->dev, " %03u\n", info->parents[i]); in tegra_bpmp_clk_info_dump()
491 const char **parents; in tegra_bpmp_clk_register() local
502 clk->parents = devm_kcalloc(bpmp->dev, info->num_parents, in tegra_bpmp_clk_register()
503 sizeof(*clk->parents), GFP_KERNEL); in tegra_bpmp_clk_register()
504 if (!clk->parents) in tegra_bpmp_clk_register()
[all …]
/Linux-v6.1/drivers/clk/imx/
Dclk.h141 #define imx_clk_mux(name, reg, shift, width, parents, num_parents) \ argument
142 to_clk(imx_clk_hw_mux(name, reg, shift, width, parents, num_parents))
144 #define imx_clk_mux_flags(name, reg, shift, width, parents, num_parents, flags) \ argument
145 to_clk(imx_clk_hw_mux_flags(name, reg, shift, width, parents, num_parents, flags))
147 #define imx_clk_mux2_flags(name, reg, shift, width, parents, num_parents, flags) \ argument
148 to_clk(imx_clk_hw_mux2_flags(name, reg, shift, width, parents, num_parents, flags))
156 #define imx_clk_mux_flags(name, reg, shift, width, parents, num_parents, flags) \ argument
157 to_clk(imx_clk_hw_mux_flags(name, reg, shift, width, parents, num_parents, flags))
195 #define imx_clk_hw_mux2(name, reg, shift, width, parents, num_parents) \ argument
196 imx_clk_hw_mux2_flags(name, reg, shift, width, parents, num_parents, 0)
[all …]
Dclk-scu.h33 const char * const *parents,
37 const char * const *parents, int num_parents,
57 static inline struct clk_hw *imx_clk_scu2(const char *name, const char * const *parents, in imx_clk_scu2() argument
60 return imx_clk_scu_alloc_dev(name, parents, num_parents, rsrc_id, clk_type); in imx_clk_scu2()
/Linux-v6.1/drivers/gpu/drm/sun4i/
Dsun8i_hdmi_phy_clk.c148 const char *parents[2]; in sun8i_phy_clk_create() local
150 parents[0] = __clk_get_name(phy->clk_pll0); in sun8i_phy_clk_create()
151 if (!parents[0]) in sun8i_phy_clk_create()
155 parents[1] = __clk_get_name(phy->clk_pll1); in sun8i_phy_clk_create()
156 if (!parents[1]) in sun8i_phy_clk_create()
166 init.parent_names = parents; in sun8i_phy_clk_create()
Dsun4i_hdmi_tmds_clk.c207 const char *parents[2]; in sun4i_tmds_create() local
209 parents[0] = __clk_get_name(hdmi->pll0_clk); in sun4i_tmds_create()
210 if (!parents[0]) in sun4i_tmds_create()
213 parents[1] = __clk_get_name(hdmi->pll1_clk); in sun4i_tmds_create()
214 if (!parents[1]) in sun4i_tmds_create()
223 init.parent_names = parents; in sun4i_tmds_create()
/Linux-v6.1/drivers/clk/samsung/
Dclk-exynos-clkout.c106 struct clk *parents[EXYNOS_CLKOUT_PARENTS]; in exynos_clkout_probe() local
139 parents[i] = of_clk_get_by_name(clkout->np, name); in exynos_clkout_probe()
140 if (IS_ERR(parents[i])) { in exynos_clkout_probe()
145 parent_names[i] = __clk_get_name(parents[i]); in exynos_clkout_probe()
191 if (!IS_ERR(parents[i])) in exynos_clkout_probe()
192 clk_put(parents[i]); in exynos_clkout_probe()
/Linux-v6.1/drivers/clk/x86/
Dclk-pmc-atom.c47 struct clk_plt_fixed **parents; member
248 plt_clk_unregister_fixed_rate(data->parents[i]); in plt_clk_unregister_fixed_rate_loop()
279 data->parents = devm_kcalloc(&pdev->dev, nparents, in plt_clk_register_parents()
280 sizeof(*data->parents), GFP_KERNEL); in plt_clk_register_parents()
281 if (!data->parents) in plt_clk_register_parents()
290 data->parents[i] = in plt_clk_register_parents()
294 if (IS_ERR(data->parents[i])) { in plt_clk_register_parents()
295 err = PTR_ERR(data->parents[i]); in plt_clk_register_parents()
/Linux-v6.1/drivers/clk/nxp/
Dclk-lpc18xx-cgu.c535 const char *parents[CLK_SRC_MAX]; in lpc18xx_cgu_register_div() local
541 lpc18xx_fill_parent_names(parents, clk->mux.table, clk->n_parents); in lpc18xx_cgu_register_div()
543 return clk_register_composite(NULL, name, parents, clk->n_parents, in lpc18xx_cgu_register_div()
555 const char *parents[CLK_SRC_MAX]; in lpc18xx_register_base_clk() local
563 lpc18xx_fill_parent_names(parents, clk->mux.table, clk->n_parents); in lpc18xx_register_base_clk()
567 return clk_register_composite(NULL, name, parents, clk->n_parents, in lpc18xx_register_base_clk()
571 return clk_register_composite(NULL, name, parents, clk->n_parents, in lpc18xx_register_base_clk()
582 const char *parents[CLK_SRC_MAX]; in lpc18xx_cgu_register_pll() local
588 lpc18xx_fill_parent_names(parents, clk->mux.table, clk->n_parents); in lpc18xx_cgu_register_pll()
590 return clk_register_composite(NULL, name, parents, clk->n_parents, in lpc18xx_cgu_register_pll()
[all …]
/Linux-v6.1/drivers/clk/keystone/
Dpll.c302 const char *parents[2]; in of_pll_mux_clk_init() local
312 of_clk_parent_fill(node, parents, 2); in of_pll_mux_clk_init()
313 if (!parents[0] || !parents[1]) { in of_pll_mux_clk_init()
328 clk = clk_register_mux(NULL, clk_name, (const char **)&parents, in of_pll_mux_clk_init()
329 ARRAY_SIZE(parents) , 0, reg, shift, mask, in of_pll_mux_clk_init()

12345678910>>...23