/linux/drivers/clk/ingenic/ |
A D | jz4780-cgu.c | 294 .parents = { JZ4780_CLK_EXCLK, -1, -1, -1 }, 300 .parents = { JZ4780_CLK_EXCLK, -1, -1, -1 }, 306 .parents = { JZ4780_CLK_EXCLK, -1, -1, -1 }, 526 .parents = { JZ4780_CLK_EXCLK }, 552 .parents = { JZ4780_CLK_SSI, -1, -1, -1 }, 630 .parents = { JZ4780_CLK_SSI, -1, -1, -1 }, 636 .parents = { JZ4780_CLK_SSI, -1, -1, -1 }, 678 .parents = { JZ4780_CLK_LCD, -1, -1, -1 }, 690 .parents = { JZ4780_CLK_DDR, -1, -1, -1 }, 696 .parents = { JZ4780_CLK_DDR, -1, -1, -1 }, [all …]
|
A D | jz4770-cgu.c | 104 .parents = { JZ4770_CLK_EXT }, 128 .parents = { JZ4770_CLK_EXT }, 152 .parents = { JZ4770_CLK_PLL0, }, 160 .parents = { JZ4770_CLK_PLL0, }, 168 .parents = { JZ4770_CLK_PLL0, }, 177 .parents = { JZ4770_CLK_PLL0, }, 185 .parents = { JZ4770_CLK_PLL0, }, 194 .parents = { JZ4770_CLK_PLL0, }, 334 .parents = { JZ4770_CLK_EXT, }, 409 .parents = { JZ4770_CLK_OTG }, [all …]
|
A D | jz4760-cgu.c | 96 .parents = { JZ4760_CLK_EXT }, 121 .parents = { JZ4760_CLK_EXT }, 146 .parents = { JZ4760_CLK_PLL0, }, 154 .parents = { JZ4760_CLK_PLL0, }, 162 .parents = { JZ4760_CLK_PLL0, }, 170 .parents = { JZ4760_CLK_PLL0, }, 178 .parents = { JZ4760_CLK_PLL0, }, 186 .parents = { JZ4760_CLK_PLL0, }, 197 .parents = { JZ4760_CLK_PLL0 }, 388 .parents = { JZ4760_CLK_OTG }, [all …]
|
A D | x1830-cgu.c | 114 .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 }, 322 .parents = { X1830_CLK_SSIPLL }, 334 .parents = { X1830_CLK_EXCLK }, 349 .parents = { X1830_CLK_AHB2, -1, -1, -1 }, 355 .parents = { X1830_CLK_AHB2, -1, -1, -1 }, 373 .parents = { X1830_CLK_PCLK, -1, -1, -1 }, [all …]
|
A D | jz4725b-cgu.c | 56 .parents = { JZ4725B_CLK_EXT, -1, -1, -1 }, 81 .parents = { JZ4725B_CLK_PLL, -1, -1, -1 }, 90 .parents = { JZ4725B_CLK_PLL, -1, -1, -1 }, 99 .parents = { JZ4725B_CLK_PLL, -1, -1, -1 }, 108 .parents = { JZ4725B_CLK_PLL, -1, -1, -1 }, 117 .parents = { JZ4725B_CLK_PLL, -1, -1, -1 }, 126 .parents = { JZ4725B_CLK_PLL, -1, -1, -1 }, 174 .parents = { JZ4725B_CLK_EXT, -1, -1, -1 }, 186 .parents = { JZ4725B_CLK_EXT, -1, -1, -1 }, 192 .parents = { JZ4725B_CLK_EXT, -1, -1, -1 }, [all …]
|
A D | x1000-cgu.c | 186 .parents = { X1000_CLK_EXCLK, -1, -1, -1 }, 209 .parents = { X1000_CLK_EXCLK, -1, -1, -1 }, 234 .parents = { -1, -1, X1000_CLK_EXCLK, -1 }, 337 .parents = { X1000_CLK_EXCLK, -1, 353 .parents = { X1000_CLK_SSIPLL }, 365 .parents = { X1000_CLK_EXCLK }, 380 .parents = { X1000_CLK_AHB2, -1, -1, -1 }, 386 .parents = { X1000_CLK_AHB2, -1, -1, -1 }, 398 .parents = { X1000_CLK_PCLK, -1, -1, -1 }, 404 .parents = { X1000_CLK_PCLK, -1, -1, -1 }, [all …]
|
A D | jz4740-cgu.c | 71 .parents = { JZ4740_CLK_EXT, -1, -1, -1 }, 96 .parents = { JZ4740_CLK_PLL, -1, -1, -1 }, 105 .parents = { JZ4740_CLK_PLL, -1, -1, -1 }, 114 .parents = { JZ4740_CLK_PLL, -1, -1, -1 }, 123 .parents = { JZ4740_CLK_PLL, -1, -1, -1 }, 132 .parents = { JZ4740_CLK_PLL, -1, -1, -1 }, 197 .parents = { JZ4740_CLK_EXT, -1, -1, -1 }, 203 .parents = { JZ4740_CLK_EXT, -1, -1, -1 }, 221 .parents = { JZ4740_CLK_EXT, -1, -1, -1 }, 227 .parents = { JZ4740_CLK_EXT, -1, -1, -1 }, [all …]
|
/linux/drivers/clk/st/ |
A D | clkgen-mux.c | 21 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 66 parents = clkgen_mux_get_parents(np, &num_parents); in st_of_clkgen_mux_setup() 67 if (IS_ERR(parents)) { in st_of_clkgen_mux_setup() 69 __func__, PTR_ERR(parents)); in st_of_clkgen_mux_setup() 86 kfree(parents); in st_of_clkgen_mux_setup() [all …]
|
A D | clk-flexgen.c | 280 const char **parents; in flexgen_get_parents() local 287 parents = kcalloc(nparents, sizeof(const char *), GFP_KERNEL); in flexgen_get_parents() 288 if (!parents) in flexgen_get_parents() 291 *num_parents = of_clk_parent_fill(np, parents, nparents); in flexgen_get_parents() 293 return parents; in flexgen_get_parents() 646 const char **parents; in st_of_flexgen_setup() local 665 parents = flexgen_get_parents(np, &num_parents); in st_of_flexgen_setup() 666 if (!parents) { in st_of_flexgen_setup() 726 clk = clk_register_flexgen(clk_name, parents, num_parents, in st_of_flexgen_setup() 735 kfree(parents); in st_of_flexgen_setup() [all …]
|
/linux/drivers/clk/zynqmp/ |
A D | clkc.c | 122 const char * const *parents, 306 const char * const *parents, in zynqmp_clk_register_fixed_factor() argument 330 parents[0], in zynqmp_clk_register_fixed_factor() 482 parent = &parents[i]; in __zynqmp_clock_get_parents() 489 response->parents[i]); in __zynqmp_clock_get_parents() 525 j += ARRAY_SIZE(response.parents); in zynqmp_clock_get_parents() 546 struct clock_parent *parents; in zynqmp_get_parent_list() local 549 parents = clock[clk_id].parent; in zynqmp_get_parent_list() 552 if (!parents[i].flag) { in zynqmp_get_parent_list() 556 parents[i].name); in zynqmp_get_parent_list() [all …]
|
A D | clk-zynqmp.h | 71 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/sunxi/ |
A D | clk-sun8i-mbus.c | 27 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()
|
A D | clk-sun4i-display.c | 19 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,
|
/linux/drivers/clk/tegra/ |
A D | clk-bpmp.c | 35 unsigned int *parents; member 351 info->parents[i] = response.parents[i]; in tegra_bpmp_clk_get_info() 472 const char **parents; in tegra_bpmp_clk_register() local 485 if (!clk->parents) in tegra_bpmp_clk_register() 509 parents = kcalloc(info->num_parents, sizeof(*parents), GFP_KERNEL); in tegra_bpmp_clk_register() 510 if (!parents) in tegra_bpmp_clk_register() 517 clk->parents[i] = info->parents[i]; in tegra_bpmp_clk_register() 520 info->parents[i]); in tegra_bpmp_clk_register() 527 parents[i] = parent->name; in tegra_bpmp_clk_register() 530 init.parent_names = parents; in tegra_bpmp_clk_register() [all …]
|
/linux/drivers/clk/imx/ |
A D | clk.h | 119 #define imx_clk_mux(name, reg, shift, width, parents, num_parents) \ argument 120 to_clk(imx_clk_hw_mux(name, reg, shift, width, parents, num_parents)) 173 #define imx_clk_hw_mux2(name, reg, shift, width, parents, num_parents) \ argument 174 imx_clk_hw_mux2_flags(name, reg, shift, width, parents, num_parents, 0) 176 #define imx_clk_hw_mux(name, reg, shift, width, parents, num_parents) \ argument 177 __imx_clk_hw_mux(name, reg, shift, width, parents, num_parents, 0, 0) 180 __imx_clk_hw_mux(name, reg, shift, width, parents, num_parents, flags, 0) 182 #define imx_clk_hw_mux_ldb(name, reg, shift, width, parents, num_parents) \ argument 306 u8 shift, u8 width, const char * const *parents, 356 u8 shift, u8 width, const char * const *parents, in __imx_clk_hw_mux() argument [all …]
|
A D | clk-scu.h | 32 const char * const *parents, 36 const char * const *parents, int num_parents, 56 static inline struct clk_hw *imx_clk_scu2(const char *name, const char * const *parents, in imx_clk_scu2() argument 59 return imx_clk_scu_alloc_dev(name, parents, num_parents, rsrc_id, clk_type); in imx_clk_scu2()
|
/linux/drivers/gpu/drm/sun4i/ |
A D | sun8i_hdmi_phy_clk.c | 148 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()
|
A D | sun4i_hdmi_tmds_clk.c | 207 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/Documentation/devicetree/bindings/phy/ |
A D | ti,phy-j721e-wiz.yaml | 55 assigned-clock-parents: 99 assigned-clock-parents: 106 - assigned-clock-parents 125 assigned-clock-parents: 132 - assigned-clock-parents 187 assigned-clock-parents = <&k3_clks 292 15>, <&k3_clks 292 4>; 196 assigned-clock-parents = <&k3_clks 293 13>; 203 assigned-clock-parents = <&k3_clks 293 0>; 221 assigned-clock-parents = <&k3_clks 292 11>;
|
/linux/drivers/clk/nxp/ |
A D | clk-lpc18xx-cgu.c | 539 const char *parents[CLK_SRC_MAX]; in lpc18xx_cgu_register_div() local 545 lpc18xx_fill_parent_names(parents, clk->mux.table, clk->n_parents); in lpc18xx_cgu_register_div() 547 return clk_register_composite(NULL, name, parents, clk->n_parents, in lpc18xx_cgu_register_div() 559 const char *parents[CLK_SRC_MAX]; in lpc18xx_register_base_clk() local 567 lpc18xx_fill_parent_names(parents, clk->mux.table, clk->n_parents); in lpc18xx_register_base_clk() 571 return clk_register_composite(NULL, name, parents, clk->n_parents, in lpc18xx_register_base_clk() 575 return clk_register_composite(NULL, name, parents, clk->n_parents, in lpc18xx_register_base_clk() 586 const char *parents[CLK_SRC_MAX]; in lpc18xx_cgu_register_pll() local 594 return clk_register_composite(NULL, name, parents, clk->n_parents, in lpc18xx_cgu_register_pll() 603 const char *parents[CLK_SRC_MAX]; in lpc18xx_cgu_register_source_clks() local [all …]
|
/linux/drivers/clk/x86/ |
A D | clk-pmc-atom.c | 47 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/drivers/clk/samsung/ |
A D | clk-exynos-clkout.c | 106 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/drivers/clk/keystone/ |
A D | pll.c | 302 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()
|
/linux/Documentation/devicetree/bindings/sound/ |
A D | nvidia,tegra-audio-graph-card.yaml | 39 assigned-clock-parents: 54 - assigned-clock-parents 72 assigned-clock-parents = <0>, <0>, <&tegra_car TEGRA210_CLK_PLL_A_OUT0>; 92 assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_A_OUT0>; 162 assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_A_OUT0>;
|
/linux/drivers/gpio/ |
A D | gpio-ep93xx.c | 375 girq->parents = devm_kcalloc(dev, girq->num_parents, in ep93xx_gpio_add_bank() 376 sizeof(*girq->parents), in ep93xx_gpio_add_bank() 378 if (!girq->parents) in ep93xx_gpio_add_bank() 382 girq->parents[0] = ab_parent_irq; in ep93xx_gpio_add_bank() 397 girq->parents = devm_kcalloc(dev, girq->num_parents, in ep93xx_gpio_add_bank() 398 sizeof(*girq->parents), in ep93xx_gpio_add_bank() 400 if (!girq->parents) in ep93xx_gpio_add_bank() 404 girq->parents[i] = platform_get_irq(pdev, i + 1); in ep93xx_gpio_add_bank()
|