Home
last modified time | relevance | path

Searched full:parents (Results 1 – 25 of 1000) sorted by relevance

12345678910>>...40

/linux/drivers/clk/ingenic/
H A Djz4755-cgu.c53 .parents = { JZ4755_CLK_EXT, },
78 .parents = { JZ4755_CLK_PLL, },
87 .parents = { JZ4755_CLK_EXT, },
96 .parents = { JZ4755_CLK_PLL, },
105 .parents = { JZ4755_CLK_PLL, },
114 .parents = { JZ4755_CLK_PLL, },
123 .parents = { JZ4755_CLK_PLL, },
132 .parents = { JZ4755_CLK_PLL, },
141 .parents = { JZ4755_CLK_EXT_HALF, JZ4755_CLK_PLL_HALF, },
149 .parents = { JZ4755_CLK_PLL_HALF, },
[all …]
H A 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 …]
H A Djz4760-cgu.c94 .parents = { JZ4760_CLK_EXT },
119 .parents = { JZ4760_CLK_EXT },
149 .parents = { JZ4760_CLK_PLL0, },
157 .parents = { JZ4760_CLK_PLL0, },
165 .parents = { JZ4760_CLK_PLL0, },
173 .parents = { JZ4760_CLK_PLL0, },
182 * Disabling MCLK or its parents will render DRAM
186 .parents = { JZ4760_CLK_PLL0, },
194 .parents = { JZ4760_CLK_PLL0, },
205 .parents = { JZ4760_CLK_PLL0 },
[all …]
H A 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 …]
H A Dx1000-cgu.c219 .parents = { X1000_CLK_EXCLK },
242 .parents = { X1000_CLK_EXCLK },
267 .parents = { -1, -1, X1000_CLK_EXCLK, -1 },
275 .parents = { -1, X1000_CLK_EXCLK, X1000_CLK_APLL, -1 },
281 .parents = { -1, X1000_CLK_SCLKA, X1000_CLK_MPLL, -1 },
292 .parents = { X1000_CLK_CPUMUX },
304 .parents = { X1000_CLK_CPUMUX },
310 .parents = { -1, X1000_CLK_SCLKA, X1000_CLK_MPLL, -1 },
317 .parents = { -1, X1000_CLK_SCLKA, X1000_CLK_MPLL, -1 },
323 .parents = { X1000_CLK_AHB2PMUX },
[all …]
H A 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 …]
H A 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 },
123 * Disabling MCLK or its parents will render DRAM
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 },
[all …]
H A 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 },
138 * Disabling MCLK or its parents will render DRAM
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 },
[all …]
/linux/drivers/clk/zynqmp/
H A Dclkc.c25 /* Flags for parents */
68 * @num_parents: Number of parents of clock
99 u32 parents[CLK_GET_PARENTS_RESP_WORDS]; member
123 const char * const *parents,
304 * @parents: Name of this clock's parents
305 * @num_parents: Number of parents
311 const char * const *parents, in zynqmp_clk_register_fixed_factor() argument
335 parents[0], in zynqmp_clk_register_fixed_factor()
343 * zynqmp_pm_clock_get_parents() - Get the first 3 parents of clock for given id
346 * @response: Parents of the given clock
[all …]
H A Dclk-mux-zynqmp.c16 * prepare - clk_prepare only ensures that parents are prepared
17 * enable - clk_enable only ensures that parents are enabled
41 * Return: Parent index on success or number of parents in case of error
125 * @parents: Name of this clock's parents
126 * @num_parents: Number of parents
132 const char * const *parents, in zynqmp_clk_register_mux() argument
153 init.parent_names = parents; in zynqmp_clk_register_mux()
H A 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/drivers/clk/st/
H A 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()
78 pr_err("%s: Failed to get parents (%ld)\n", in st_of_clkgen_mux_setup()
79 __func__, PTR_ERR(parents)); in st_of_clkgen_mux_setup()
[all …]
/linux/drivers/clk/starfive/
H A Dclk-starfive-jh71x0.h29 u8 parents[4]; member
37 .parents = { [0] = _parent }, \
45 .parents = { [0] = _parent }, \
53 .parents = { [0] = _parent }, \
61 .parents = { [0] = _parent }, \
69 .parents = { __VA_ARGS__ }, \
78 .parents = { __VA_ARGS__ }, \
86 .parents = { __VA_ARGS__ }, \
95 .parents = { __VA_ARGS__ }, \
103 .parents = { [0] = _parent }, \
H A Dclk-starfive-jh7110-aon.c88 struct clk_parent_data parents[4] = {}; in jh7110_aoncrg_probe() local
92 .parent_data = parents, in jh7110_aoncrg_probe()
101 unsigned int pidx = jh7110_aonclk_data[idx].parents[i]; in jh7110_aoncrg_probe()
104 parents[i].hw = &priv->reg[pidx].hw; in jh7110_aoncrg_probe()
106 parents[i].fw_name = "osc"; in jh7110_aoncrg_probe()
108 parents[i].fw_name = "gmac0_rmii_refin"; in jh7110_aoncrg_probe()
110 parents[i].fw_name = "gmac0_rgmii_rxin"; in jh7110_aoncrg_probe()
112 parents[i].fw_name = "stg_axiahb"; in jh7110_aoncrg_probe()
114 parents[i].fw_name = "apb_bus"; in jh7110_aoncrg_probe()
116 parents[i].fw_name = "gmac0_gtxclk"; in jh7110_aoncrg_probe()
[all …]
H A Dclk-starfive-jh7100-audio.c116 struct clk_parent_data parents[4] = {}; in jh7100_audclk_probe() local
120 .parent_data = parents, in jh7100_audclk_probe()
128 unsigned int pidx = jh7100_audclk_data[idx].parents[i]; in jh7100_audclk_probe()
131 parents[i].hw = &priv->reg[pidx].hw; in jh7100_audclk_probe()
133 parents[i].fw_name = "audio_src"; in jh7100_audclk_probe()
135 parents[i].fw_name = "audio_12288"; in jh7100_audclk_probe()
137 parents[i].fw_name = "dom7ahb_bus"; in jh7100_audclk_probe()
H A Dclk-starfive-jh7110-sys.c475 struct clk_parent_data parents[4] = {}; in jh7110_syscrg_probe() local
479 .parent_data = parents, in jh7110_syscrg_probe()
488 unsigned int pidx = jh7110_sysclk_data[idx].parents[i]; in jh7110_syscrg_probe()
491 parents[i].hw = &priv->reg[pidx].hw; in jh7110_syscrg_probe()
493 parents[i].fw_name = "osc"; in jh7110_syscrg_probe()
495 parents[i].fw_name = "gmac1_rmii_refin"; in jh7110_syscrg_probe()
497 parents[i].fw_name = "gmac1_rgmii_rxin"; in jh7110_syscrg_probe()
499 parents[i].fw_name = "i2stx_bclk_ext"; in jh7110_syscrg_probe()
501 parents[i].fw_name = "i2stx_lrck_ext"; in jh7110_syscrg_probe()
503 parents[i].fw_name = "i2srx_bclk_ext"; in jh7110_syscrg_probe()
[all …]
/linux/drivers/clk/sunxi/
H A 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()
H A 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()
125 pr_err("%s: Could not retrieve the parents\n", clk_name); in sun4i_a10_display_init()
158 parents, data->parents, in sun4i_a10_display_init()
224 .parents = 4,
242 .parents = 3,
/linux/drivers/clk/tegra/
H A 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()
374 info->parents[i] = response.parents[i]; in tegra_bpmp_clk_get_info()
415 dev_printk(level, bpmp->dev, " parents: %u\n", info->num_parents); in tegra_bpmp_clk_info_dump()
418 dev_printk(level, bpmp->dev, " %03u\n", info->parents[i]); in tegra_bpmp_clk_info_dump()
450 "clock %u has too many parents (%u, max: %u)\n", in tegra_bpmp_probe_clocks()
509 const char **parents; in tegra_bpmp_clk_register() local
520 clk->parents = devm_kcalloc(bpmp->dev, info->num_parents, in tegra_bpmp_clk_register()
[all …]
/linux/drivers/clk/imx/
H A Dclk.h148 #define imx_clk_mux(name, reg, shift, width, parents, num_parents) \ argument
149 to_clk(imx_clk_hw_mux(name, reg, shift, width, parents, num_parents))
151 #define imx_clk_mux_flags(name, reg, shift, width, parents, num_parents, flags) \ argument
152 to_clk(imx_clk_hw_mux_flags(name, reg, shift, width, parents, num_parents, flags))
154 #define imx_clk_mux2_flags(name, reg, shift, width, parents, num_parents, flags) \ argument
155 to_clk(imx_clk_hw_mux2_flags(name, reg, shift, width, parents, num_parents, flags))
199 #define imx_clk_hw_mux2(name, reg, shift, width, parents, num_parents) \ argument
200 imx_clk_hw_mux2_flags(name, reg, shift, width, parents, num_parents, 0)
202 #define imx_clk_hw_mux(name, reg, shift, width, parents, num_parents) \ argument
203 __imx_clk_hw_mux(name, reg, shift, width, parents, num_parents, 0, 0)
[all …]
/linux/drivers/clk/pxa/
H A Dclk-pxa27x.c110 #define PXA27X_CKEN(dev_id, con_id, parents, mult_hp, div_hp, \ argument
112 PXA_CKEN(dev_id, con_id, bit, parents, 1, 1, mult_hp, div_hp, \
118 PARENTS(pxa27x_pbus) = { "osc_13mhz", "ppll_312mhz" };
119 PARENTS(pxa27x_sbus) = { "system_bus", "system_bus" };
120 PARENTS(pxa27x_32Mhz_bus) = { "osc_32_768khz", "osc_32_768khz" };
121 PARENTS(pxa27x_lcd_bus) = { "lcd_base", "lcd_base" };
122 PARENTS(pxa27x_membus) = { "lcd_base", "lcd_base" };
124 #define PXA27X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ argument
125 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
127 #define PXA27X_CKEN_1RATE_AO(dev_id, con_id, bit, parents, delay) \ argument
[all …]
H A Dclk-pxa25x.c108 PARENTS(clk_pxa25x_memory) = { "run" };
111 PARENTS(pxa25x_pbus95) = { "ppll_95_85mhz", "ppll_95_85mhz" };
112 PARENTS(pxa25x_pbus147) = { "ppll_147_46mhz", "ppll_147_46mhz" };
113 PARENTS(pxa25x_osc3) = { "osc_3_6864mhz", "osc_3_6864mhz" };
115 #define PXA25X_CKEN(dev_id, con_id, parents, mult, div, \ argument
117 PXA_CKEN(dev_id, con_id, bit, parents, mult, div, mult, div, \
129 #define PXA25X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ argument
130 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
132 #define PXA25X_CKEN_1RATE_AO(dev_id, con_id, bit, parents, delay) \ argument
133 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
[all …]
H A Dclk-pxa3xx.c191 PARENTS(clk_pxa3xx_ac97) = { "spll_624mhz" };
203 PARENTS(clk_pxa3xx_smemc) = { "spll_624mhz" };
213 PARENTS(pxa3xx_pbus) = { "ring_osc_60mhz", "spll_624mhz" };
214 PARENTS(pxa3xx_32Khz_bus) = { "osc_32_768khz", "osc_32_768khz" };
215 PARENTS(pxa3xx_13MHz_bus) = { "osc_13mhz", "osc_13mhz" };
216 PARENTS(pxa3xx_ac97_bus) = { "ring_osc_60mhz", "ac97" };
217 PARENTS(pxa3xx_sbus) = { "ring_osc_60mhz", "system_bus" };
218 PARENTS(pxa3xx_smemcbus) = { "ring_osc_60mhz", "smemc" };
221 #define PXA3XX_CKEN(dev_id, con_id, parents, mult_lp, div_lp, mult_hp, \ argument
223 PXA_CKEN(dev_id, con_id, bit, parents, mult_lp, div_lp, \
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dti,phy-j721e-wiz.yaml98 assigned-clock-parents:
105 - assigned-clock-parents
134 assigned-clock-parents:
141 - assigned-clock-parents
211 assigned-clock-parents = <&k3_clks 292 15>, <&k3_clks 292 4>;
220 assigned-clock-parents = <&k3_clks 293 13>;
227 assigned-clock-parents = <&k3_clks 293 0>;
245 assigned-clock-parents = <&k3_clks 292 11>;
/linux/drivers/gpu/drm/sun4i/
H A 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()

12345678910>>...40