Home
last modified time | relevance | path

Searched refs:clk_parent (Results 1 - 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/clk/sunxi/
H A Dclk-sun8i-bus-gates.c23 enum { AHB1, AHB2, APB1, APB2, PARENT_MAX } clk_parent; in sun8i_h3_bus_gates_init() local
66 clk_parent = AHB2; in sun8i_h3_bus_gates_init()
68 clk_parent = AHB1; in sun8i_h3_bus_gates_init()
70 clk_parent = APB1; in sun8i_h3_bus_gates_init()
72 clk_parent = APB2; in sun8i_h3_bus_gates_init()
82 parents[clk_parent], in sun8i_h3_bus_gates_init()
H A Dclk-sun6i-apb0.c34 const char *clk_parent; in sun6i_a31_apb0_clk_probe() local
44 clk_parent = of_clk_get_parent_name(np, 0); in sun6i_a31_apb0_clk_probe()
45 if (!clk_parent) in sun6i_a31_apb0_clk_probe()
50 clk = clk_register_divider_table(&pdev->dev, clk_name, clk_parent, in sun6i_a31_apb0_clk_probe()
H A Dclk-sun8i-apb0.c26 const char *clk_parent; in sun8i_a23_apb0_register() local
30 clk_parent = of_clk_get_parent_name(node, 0); in sun8i_a23_apb0_register()
31 if (!clk_parent) in sun8i_a23_apb0_register()
37 clk = clk_register_divider(NULL, clk_name, clk_parent, 0, reg, in sun8i_a23_apb0_register()
H A Dclk-sun6i-apb0-gates.c41 const char *clk_parent; in sun6i_a31_apb0_gates_clk_probe() local
61 clk_parent = of_clk_get_parent_name(np, 0); in sun6i_a31_apb0_gates_clk_probe()
62 if (!clk_parent) in sun6i_a31_apb0_gates_clk_probe()
82 clk_parent, 0, reg, i, in sun6i_a31_apb0_gates_clk_probe()
H A Dclk-usb.c94 const char *clk_parent; in sunxi_usb_clk_setup() local
105 clk_parent = of_clk_get_parent_name(node, 0); in sunxi_usb_clk_setup()
106 if (!clk_parent) in sunxi_usb_clk_setup()
128 clk_parent, 0, in sunxi_usb_clk_setup()
H A Dclk-simple-gates.c23 const char *clk_parent, *clk_name; in sunxi_simple_gates_setup() local
37 clk_parent = of_clk_get_parent_name(node, 0); in sunxi_simple_gates_setup()
58 clk_parent, 0, in sunxi_simple_gates_setup()
/kernel/linux/linux-6.6/drivers/clk/sunxi/
H A Dclk-sun8i-bus-gates.c23 enum { AHB1, AHB2, APB1, APB2, PARENT_MAX } clk_parent; in sun8i_h3_bus_gates_init() local
66 clk_parent = AHB2; in sun8i_h3_bus_gates_init()
68 clk_parent = AHB1; in sun8i_h3_bus_gates_init()
70 clk_parent = APB1; in sun8i_h3_bus_gates_init()
72 clk_parent = APB2; in sun8i_h3_bus_gates_init()
82 parents[clk_parent], in sun8i_h3_bus_gates_init()
H A Dclk-sun6i-apb0.c34 const char *clk_parent; in sun6i_a31_apb0_clk_probe() local
42 clk_parent = of_clk_get_parent_name(np, 0); in sun6i_a31_apb0_clk_probe()
43 if (!clk_parent) in sun6i_a31_apb0_clk_probe()
48 clk = clk_register_divider_table(&pdev->dev, clk_name, clk_parent, in sun6i_a31_apb0_clk_probe()
H A Dclk-sun8i-apb0.c26 const char *clk_parent; in sun8i_a23_apb0_register() local
30 clk_parent = of_clk_get_parent_name(node, 0); in sun8i_a23_apb0_register()
31 if (!clk_parent) in sun8i_a23_apb0_register()
37 clk = clk_register_divider(NULL, clk_name, clk_parent, 0, reg, in sun8i_a23_apb0_register()
H A Dclk-sun6i-apb0-gates.c40 const char *clk_parent; in sun6i_a31_apb0_gates_clk_probe() local
58 clk_parent = of_clk_get_parent_name(np, 0); in sun6i_a31_apb0_gates_clk_probe()
59 if (!clk_parent) in sun6i_a31_apb0_gates_clk_probe()
79 clk_parent, 0, reg, i, in sun6i_a31_apb0_gates_clk_probe()
H A Dclk-usb.c94 const char *clk_parent; in sunxi_usb_clk_setup() local
105 clk_parent = of_clk_get_parent_name(node, 0); in sunxi_usb_clk_setup()
106 if (!clk_parent) in sunxi_usb_clk_setup()
128 clk_parent, 0, in sunxi_usb_clk_setup()
H A Dclk-simple-gates.c23 const char *clk_parent, *clk_name; in sunxi_simple_gates_setup() local
37 clk_parent = of_clk_get_parent_name(node, 0); in sunxi_simple_gates_setup()
58 clk_parent, 0, in sunxi_simple_gates_setup()
/kernel/linux/linux-6.6/drivers/clk/
H A Dclk-fsl-flexspi.c52 const char *clk_parent; in fsl_flexspi_clk_probe() local
74 clk_parent = of_clk_get_parent_name(np, 0); in fsl_flexspi_clk_probe()
75 if (!clk_parent) in fsl_flexspi_clk_probe()
80 hw = devm_clk_hw_register_divider_table(dev, clk_name, clk_parent, 0, in fsl_flexspi_clk_probe()
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
H A Drgb.c23 struct clk *clk_parent; member
130 if (!clk_is_match(rgb->clk_parent, rgb->pll_d_out0) && in tegra_rgb_pll_rate_change_allowed()
131 !clk_is_match(rgb->clk_parent, rgb->pll_d2_out0)) in tegra_rgb_pll_rate_change_allowed()
177 err = tegra_dc_state_setup_clock(dc, crtc_state, rgb->clk_parent, in tegra_rgb_encoder_atomic_check()
222 rgb->clk_parent = devm_clk_get(dc->dev, "parent"); in tegra_dc_rgb_probe()
223 if (IS_ERR(rgb->clk_parent)) { in tegra_dc_rgb_probe()
225 err = PTR_ERR(rgb->clk_parent); in tegra_dc_rgb_probe()
229 err = clk_set_parent(rgb->clk, rgb->clk_parent); in tegra_dc_rgb_probe()
H A Ddpaux.c51 struct clk *clk_parent; member
488 dpaux->clk_parent = devm_clk_get(&pdev->dev, "parent"); in tegra_dpaux_probe()
489 if (IS_ERR(dpaux->clk_parent)) { in tegra_dpaux_probe()
491 PTR_ERR(dpaux->clk_parent)); in tegra_dpaux_probe()
492 return PTR_ERR(dpaux->clk_parent); in tegra_dpaux_probe()
495 err = clk_set_rate(dpaux->clk_parent, 270000000); in tegra_dpaux_probe()
618 clk_disable_unprepare(dpaux->clk_parent); in tegra_dpaux_suspend()
635 err = clk_prepare_enable(dpaux->clk_parent); in tegra_dpaux_resume()
656 clk_disable_unprepare(dpaux->clk_parent); in tegra_dpaux_resume()
/kernel/linux/linux-5.10/drivers/phy/socionext/
H A Dphy-uniphier-ahci.c22 struct clk *clk, *clk_parent; member
145 ret = clk_prepare_enable(priv->clk_parent); in uniphier_ahciphy_init()
164 clk_disable_unprepare(priv->clk_parent); in uniphier_ahciphy_init()
174 clk_disable_unprepare(priv->clk_parent); in uniphier_ahciphy_exit()
250 priv->clk_parent = devm_clk_get(dev, "link"); in uniphier_ahciphy_probe()
251 if (IS_ERR(priv->clk_parent)) in uniphier_ahciphy_probe()
252 return PTR_ERR(priv->clk_parent); in uniphier_ahciphy_probe()
H A Dphy-uniphier-usb3ss.c57 struct clk *clk, *clk_ext, *clk_parent, *clk_parent_gio; member
161 ret = clk_prepare_enable(priv->clk_parent); in uniphier_u3ssphy_init()
190 clk_disable_unprepare(priv->clk_parent); in uniphier_u3ssphy_init()
202 clk_disable_unprepare(priv->clk_parent); in uniphier_u3ssphy_exit()
259 priv->clk_parent = devm_clk_get(dev, "link"); in uniphier_u3ssphy_probe()
260 if (IS_ERR(priv->clk_parent)) in uniphier_u3ssphy_probe()
261 return PTR_ERR(priv->clk_parent); in uniphier_u3ssphy_probe()
H A Dphy-uniphier-usb3hs.c71 struct clk *clk, *clk_parent, *clk_ext, *clk_parent_gio; member
258 ret = clk_prepare_enable(priv->clk_parent); in uniphier_u3hsphy_init()
298 clk_disable_unprepare(priv->clk_parent); in uniphier_u3hsphy_init()
310 clk_disable_unprepare(priv->clk_parent); in uniphier_u3hsphy_exit()
368 priv->clk_parent = devm_clk_get(dev, "link"); in uniphier_u3hsphy_probe()
369 if (IS_ERR(priv->clk_parent)) in uniphier_u3hsphy_probe()
370 return PTR_ERR(priv->clk_parent); in uniphier_u3hsphy_probe()
/kernel/linux/linux-6.6/drivers/phy/socionext/
H A Dphy-uniphier-usb3ss.c57 struct clk *clk, *clk_ext, *clk_parent, *clk_parent_gio; member
161 ret = clk_prepare_enable(priv->clk_parent); in uniphier_u3ssphy_init()
190 clk_disable_unprepare(priv->clk_parent); in uniphier_u3ssphy_init()
202 clk_disable_unprepare(priv->clk_parent); in uniphier_u3ssphy_exit()
259 priv->clk_parent = devm_clk_get(dev, "link"); in uniphier_u3ssphy_probe()
260 if (IS_ERR(priv->clk_parent)) in uniphier_u3ssphy_probe()
261 return PTR_ERR(priv->clk_parent); in uniphier_u3ssphy_probe()
H A Dphy-uniphier-ahci.c22 struct clk *clk, *clk_parent, *clk_parent_gio; member
292 ret = clk_prepare_enable(priv->clk_parent); in uniphier_ahciphy_init()
317 clk_disable_unprepare(priv->clk_parent); in uniphier_ahciphy_init()
330 clk_disable_unprepare(priv->clk_parent); in uniphier_ahciphy_exit()
407 priv->clk_parent = devm_clk_get(dev, "link"); in uniphier_ahciphy_probe()
408 if (IS_ERR(priv->clk_parent)) in uniphier_ahciphy_probe()
409 return PTR_ERR(priv->clk_parent); in uniphier_ahciphy_probe()
H A Dphy-uniphier-usb3hs.c71 struct clk *clk, *clk_parent, *clk_ext, *clk_parent_gio; member
258 ret = clk_prepare_enable(priv->clk_parent); in uniphier_u3hsphy_init()
298 clk_disable_unprepare(priv->clk_parent); in uniphier_u3hsphy_init()
310 clk_disable_unprepare(priv->clk_parent); in uniphier_u3hsphy_exit()
368 priv->clk_parent = devm_clk_get(dev, "link"); in uniphier_u3hsphy_probe()
369 if (IS_ERR(priv->clk_parent)) in uniphier_u3hsphy_probe()
370 return PTR_ERR(priv->clk_parent); in uniphier_u3hsphy_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
H A Drgb.c20 struct clk *clk_parent; member
157 err = tegra_dc_state_setup_clock(dc, crtc_state, rgb->clk_parent, in tegra_rgb_encoder_atomic_check()
201 rgb->clk_parent = devm_clk_get(dc->dev, "parent"); in tegra_dc_rgb_probe()
202 if (IS_ERR(rgb->clk_parent)) { in tegra_dc_rgb_probe()
204 return PTR_ERR(rgb->clk_parent); in tegra_dc_rgb_probe()
207 err = clk_set_parent(rgb->clk, rgb->clk_parent); in tegra_dc_rgb_probe()
H A Ddpaux.c50 struct clk *clk_parent; member
490 dpaux->clk_parent = devm_clk_get(&pdev->dev, "parent"); in tegra_dpaux_probe()
491 if (IS_ERR(dpaux->clk_parent)) { in tegra_dpaux_probe()
493 PTR_ERR(dpaux->clk_parent)); in tegra_dpaux_probe()
494 return PTR_ERR(dpaux->clk_parent); in tegra_dpaux_probe()
497 err = clk_set_rate(dpaux->clk_parent, 270000000); in tegra_dpaux_probe()
615 clk_disable_unprepare(dpaux->clk_parent); in tegra_dpaux_suspend()
632 err = clk_prepare_enable(dpaux->clk_parent); in tegra_dpaux_resume()
653 clk_disable_unprepare(dpaux->clk_parent); in tegra_dpaux_resume()
/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-meson.c93 struct clk *clk_parent; member
133 if (channel->clk_parent) { in meson_pwm_request()
134 err = clk_set_parent(channel->clk, channel->clk_parent); in meson_pwm_request()
137 __clk_get_name(channel->clk_parent), in meson_pwm_request()
537 channel->clk_parent = devm_clk_get_optional(dev, name); in meson_pwm_init_channels()
538 if (IS_ERR(channel->clk_parent)) in meson_pwm_init_channels()
539 return PTR_ERR(channel->clk_parent); in meson_pwm_init_channels()
/kernel/linux/linux-5.10/include/trace/events/
H A Dclk.h121 DECLARE_EVENT_CLASS(clk_parent,
140 DEFINE_EVENT(clk_parent, clk_set_parent,
147 DEFINE_EVENT(clk_parent, clk_set_parent_complete,

Completed in 11 milliseconds

12