Home
last modified time | relevance | path

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

123456789

/Linux-v4.19/drivers/clk/ingenic/
Djz4780-cgu.c248 .parents = { JZ4780_CLK_EXCLK, -1, -1, -1 },
254 .parents = { JZ4780_CLK_EXCLK, -1, -1, -1 },
260 .parents = { JZ4780_CLK_EXCLK, -1, -1, -1 },
266 .parents = { JZ4780_CLK_EXCLK, -1, -1, -1 },
276 .parents = { -1, -1, JZ4780_CLK_EXCLK, -1 },
284 .parents = { -1, JZ4780_CLK_APLL, JZ4780_CLK_EXCLK,
291 .parents = { -1, JZ4780_CLK_SCLKA, JZ4780_CLK_MPLL,
298 .parents = { JZ4780_CLK_CPUMUX, -1, -1, -1 },
304 .parents = { JZ4780_CLK_CPUMUX, -1, -1, -1 },
310 .parents = { -1, JZ4780_CLK_SCLKA, JZ4780_CLK_MPLL,
[all …]
Djz4770-cgu.c100 .parents = { JZ4770_CLK_EXT },
122 .parents = { JZ4770_CLK_EXT },
145 .parents = { JZ4770_CLK_PLL0, },
150 .parents = { JZ4770_CLK_PLL0, },
155 .parents = { JZ4770_CLK_PLL0, },
161 .parents = { JZ4770_CLK_PLL0, },
166 .parents = { JZ4770_CLK_PLL0, },
172 .parents = { JZ4770_CLK_PLL0, },
180 .parents = { JZ4770_CLK_PLL0, JZ4770_CLK_PLL1, },
187 .parents = { JZ4770_CLK_PLL0, JZ4770_CLK_PLL1, },
[all …]
Djz4740-cgu.c69 .parents = { JZ4740_CLK_EXT, -1, -1, -1 },
92 .parents = { JZ4740_CLK_PLL, -1, -1, -1 },
98 .parents = { JZ4740_CLK_PLL, -1, -1, -1 },
104 .parents = { JZ4740_CLK_PLL, -1, -1, -1 },
110 .parents = { JZ4740_CLK_PLL, -1, -1, -1 },
116 .parents = { JZ4740_CLK_PLL, -1, -1, -1 },
122 .parents = { JZ4740_CLK_PLL_HALF, -1, -1, -1 },
129 .parents = { JZ4740_CLK_PLL_HALF, -1, -1, -1 },
135 .parents = { JZ4740_CLK_EXT, JZ4740_CLK_PLL_HALF, -1, -1 },
143 .parents = { JZ4740_CLK_EXT, JZ4740_CLK_PLL, -1, -1 },
[all …]
/Linux-v4.19/drivers/clk/st/
Dclkgen-mux.c25 const char **parents; in clkgen_mux_get_parents() local
32 parents = kcalloc(nparents, sizeof(const char *), GFP_KERNEL); in clkgen_mux_get_parents()
33 if (!parents) in clkgen_mux_get_parents()
36 *num_parents = of_clk_parent_fill(np, parents, nparents); in clkgen_mux_get_parents()
37 return parents; in clkgen_mux_get_parents()
61 const char **parents; in st_of_clkgen_mux_setup() local
70 parents = clkgen_mux_get_parents(np, &num_parents); in st_of_clkgen_mux_setup()
71 if (IS_ERR(parents)) { in st_of_clkgen_mux_setup()
73 __func__, PTR_ERR(parents)); in st_of_clkgen_mux_setup()
77 clk = clk_register_mux(NULL, np->name, parents, num_parents, in st_of_clkgen_mux_setup()
[all …]
Dclk-flexgen.c272 const char **parents; in flexgen_get_parents() local
279 parents = kcalloc(nparents, sizeof(const char *), GFP_KERNEL); in flexgen_get_parents()
280 if (!parents) in flexgen_get_parents()
283 *num_parents = of_clk_parent_fill(np, parents, nparents); in flexgen_get_parents()
285 return parents; in flexgen_get_parents()
314 const char **parents; in st_of_flexgen_setup() local
331 parents = flexgen_get_parents(np, &num_parents); in st_of_flexgen_setup()
332 if (!parents) { in st_of_flexgen_setup()
384 clk = clk_register_flexgen(clk_name, parents, num_parents, in st_of_flexgen_setup()
393 kfree(parents); in st_of_flexgen_setup()
[all …]
/Linux-v4.19/drivers/clk/sunxi/
Dclk-sun8i-mbus.c35 const char **parents; in sun8i_a23_mbus_setup() local
45 parents = kcalloc(num_parents, sizeof(*parents), GFP_KERNEL); in sun8i_a23_mbus_setup()
46 if (!parents) in sun8i_a23_mbus_setup()
68 of_clk_parent_fill(node, parents, num_parents); in sun8i_a23_mbus_setup()
85 clk = clk_register_composite(NULL, clk_name, parents, num_parents, in sun8i_a23_mbus_setup()
97 kfree(parents); /* parents is deep copied */ in sun8i_a23_mbus_setup()
115 kfree(parents); in sun8i_a23_mbus_setup()
Dclk-sun4i-display.c27 u8 parents; member
112 const char *parents[4]; in sun4i_a10_display_init() local
131 ret = of_clk_parent_fill(node, parents, data->parents); in sun4i_a10_display_init()
132 if (ret != data->parents) { in sun4i_a10_display_init()
166 parents, data->parents, in sun4i_a10_display_init()
232 .parents = 4,
250 .parents = 3,
Dclk-a20-gmac.c66 const char *parents[SUN7I_A20_GMAC_PARENTS]; in sun7i_a20_gmac_clk_setup() local
82 if (of_clk_parent_fill(node, parents, 2) != 2) in sun7i_a20_gmac_clk_setup()
99 parents, SUN7I_A20_GMAC_PARENTS, in sun7i_a20_gmac_clk_setup()
Dclk-a10-mod1.c34 const char *parents[4]; in sun4i_mod1_clk_setup() local
52 i = of_clk_parent_fill(node, parents, SUN4I_MOD1_MAX_PARENTS); in sun4i_mod1_clk_setup()
62 clk = clk_register_composite(NULL, clk_name, parents, i, in sun4i_mod1_clk_setup()
Dclk-sun8i-bus-gates.c32 const char *parents[PARENT_MAX]; in sun8i_h3_bus_gates_init() local
54 parents[i] = of_clk_get_parent_name(node, idx); in sun8i_h3_bus_gates_init()
90 parents[clk_parent], in sun8i_h3_bus_gates_init()
/Linux-v4.19/drivers/clk/tegra/
Dclk-bpmp.c26 unsigned int parents[MRQ_CLK_MAX_PARENTS]; member
38 unsigned int *parents; member
206 request.parent_id = clk->parents[index]; in tegra_bpmp_clk_set_parent()
247 if (clk->parents[i] == response.parent_id) in tegra_bpmp_clk_get_parent()
354 info->parents[i] = response.parents[i]; in tegra_bpmp_clk_get_info()
398 dev_printk(level, bpmp->dev, " %03u\n", info->parents[i]); in tegra_bpmp_clk_info_dump()
475 const char **parents; in tegra_bpmp_clk_register() local
486 clk->parents = devm_kcalloc(bpmp->dev, info->num_parents, in tegra_bpmp_clk_register()
487 sizeof(*clk->parents), GFP_KERNEL); in tegra_bpmp_clk_register()
488 if (!clk->parents) in tegra_bpmp_clk_register()
[all …]
Dclk-tegra-pmc.c39 const char **parents; member
52 .parents = clk_out ##_num ##_parents,\
97 clk = clk_register_mux(NULL, data->mux_name, data->parents, in tegra_pmc_clk_init()
/Linux-v4.19/drivers/clk/samsung/
Dclk-exynos-clkout.c59 struct clk *parents[EXYNOS_CLKOUT_PARENTS]; in exynos_clkout_init() local
76 parents[i] = of_clk_get_by_name(node, name); in exynos_clkout_init()
77 if (IS_ERR(parents[i])) { in exynos_clkout_init()
82 parent_names[i] = __clk_get_name(parents[i]); in exynos_clkout_init()
126 if (!IS_ERR(parents[i])) in exynos_clkout_init()
127 clk_put(parents[i]); in exynos_clkout_init()
/Linux-v4.19/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.c210 const char *parents[2]; in sun4i_tmds_create() local
212 parents[0] = __clk_get_name(hdmi->pll0_clk); in sun4i_tmds_create()
213 if (!parents[0]) in sun4i_tmds_create()
216 parents[1] = __clk_get_name(hdmi->pll1_clk); in sun4i_tmds_create()
217 if (!parents[1]) in sun4i_tmds_create()
226 init.parent_names = parents; in sun4i_tmds_create()
/Linux-v4.19/drivers/clk/imx/
Dclk.h73 u8 shift, u8 width, const char **parents,
82 u8 shift, u8 width, const char **parents, int num_parents) in imx_clk_mux_ldb() argument
84 return clk_register_mux(NULL, name, parents, num_parents, in imx_clk_mux_ldb()
195 u8 shift, u8 width, const char **parents, int num_parents) in imx_clk_mux() argument
197 return clk_register_mux(NULL, name, parents, num_parents, in imx_clk_mux()
203 u8 shift, u8 width, const char **parents, int num_parents) in imx_clk_mux2() argument
205 return clk_register_mux(NULL, name, parents, num_parents, in imx_clk_mux2()
211 void __iomem *reg, u8 shift, u8 width, const char **parents, in imx_clk_mux_flags() argument
214 return clk_register_mux(NULL, name, parents, num_parents, in imx_clk_mux_flags()
/Linux-v4.19/drivers/clk/renesas/
Dclk-div6.c45 u8 *parents; member
145 if (clock->parents[i] == hw_index) in cpg_div6_clock_get_parent()
164 hw_index = clock->parents[index]; in cpg_div6_clock_set_parent()
231 clock->parents = kmalloc_array(num_parents, sizeof(*clock->parents), in cpg_div6_register()
233 if (!clock->parents) { in cpg_div6_register()
272 clock->parents[valid_parents] = i; in cpg_div6_register()
298 kfree(clock->parents); in cpg_div6_register()
/Linux-v4.19/drivers/clk/x86/
Dclk-pmc-atom.c54 struct clk_plt_fixed **parents; member
247 plt_clk_unregister_fixed_rate(data->parents[i]); in plt_clk_unregister_fixed_rate_loop()
278 data->parents = devm_kcalloc(&pdev->dev, nparents, in plt_clk_register_parents()
279 sizeof(*data->parents), GFP_KERNEL); in plt_clk_register_parents()
280 if (!data->parents) in plt_clk_register_parents()
289 data->parents[i] = in plt_clk_register_parents()
293 if (IS_ERR(data->parents[i])) { in plt_clk_register_parents()
294 err = PTR_ERR(data->parents[i]); in plt_clk_register_parents()
/Linux-v4.19/drivers/clk/nxp/
Dclk-lpc18xx-cgu.c538 const char *parents[CLK_SRC_MAX]; in lpc18xx_cgu_register_div() local
544 lpc18xx_fill_parent_names(parents, clk->mux.table, clk->n_parents); in lpc18xx_cgu_register_div()
546 return clk_register_composite(NULL, name, parents, clk->n_parents, in lpc18xx_cgu_register_div()
558 const char *parents[CLK_SRC_MAX]; in lpc18xx_register_base_clk() local
566 lpc18xx_fill_parent_names(parents, clk->mux.table, clk->n_parents); in lpc18xx_register_base_clk()
570 return clk_register_composite(NULL, name, parents, clk->n_parents, in lpc18xx_register_base_clk()
574 return clk_register_composite(NULL, name, parents, clk->n_parents, in lpc18xx_register_base_clk()
585 const char *parents[CLK_SRC_MAX]; in lpc18xx_cgu_register_pll() local
591 lpc18xx_fill_parent_names(parents, clk->mux.table, clk->n_parents); in lpc18xx_cgu_register_pll()
593 return clk_register_composite(NULL, name, parents, clk->n_parents, in lpc18xx_cgu_register_pll()
[all …]
/Linux-v4.19/drivers/clk/keystone/
Dpll.c306 const char *parents[2]; in of_pll_mux_clk_init() local
316 of_clk_parent_fill(node, parents, 2); in of_pll_mux_clk_init()
317 if (!parents[0] || !parents[1]) { in of_pll_mux_clk_init()
332 clk = clk_register_mux(NULL, clk_name, (const char **)&parents, in of_pll_mux_clk_init()
333 ARRAY_SIZE(parents) , 0, reg, shift, mask, in of_pll_mux_clk_init()
/Linux-v4.19/drivers/clk/pxa/
Dclk-pxa25x.c139 #define PXA25X_CKEN(dev_id, con_id, parents, mult, div, \ argument
141 PXA_CKEN(dev_id, con_id, bit, parents, mult, div, mult, div, \
153 #define PXA25X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ argument
154 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
156 #define PXA25X_CKEN_1RATE_AO(dev_id, con_id, bit, parents, delay) \ argument
157 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
Dclk-pxa.h123 #define PXA_CKEN(_dev_id, _con_id, _name, parents, _mult_lp, _div_lp, \ argument
126 .dev_id = _dev_id, .con_id = _con_id, .parent_names = parents,\
133 #define PXA_CKEN_1RATE(dev_id, con_id, name, parents, cken_reg, \ argument
135 PXA_CKEN(dev_id, con_id, name, parents, 1, 1, 1, 1, \
Dclk-pxa27x.c136 #define PXA27X_CKEN(dev_id, con_id, parents, mult_hp, div_hp, \ argument
138 PXA_CKEN(dev_id, con_id, bit, parents, 1, 1, mult_hp, div_hp, \
150 #define PXA27X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ argument
151 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
153 #define PXA27X_CKEN_1RATE_AO(dev_id, con_id, bit, parents, delay) \ argument
154 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
/Linux-v4.19/Documentation/devicetree/bindings/clock/
Dsprd.txt27 parents are in, since each clk node would represent many clocks
29 relationship (i.e. how many parents and which are the parents)
/Linux-v4.19/Documentation/devicetree/bindings/rtc/
Dst,stm32-rtc.txt26 - assigned-clock-parents: phandle of the new parent clock of rtc_ck.
35 assigned-clock-parents = <&rcc 1 CLK_LSE>;
47 assigned-clock-parents = <&rcc LSE_CK>;

123456789