/linux-5.19.10/drivers/clk/sunxi/ |
D | clk-sun8i-bus-gates.c | 23 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()
|
D | clk-sun6i-apb0.c | 34 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()
|
D | clk-sun6i-apb0-gates.c | 41 const char *clk_parent; in sun6i_a31_apb0_gates_clk_probe() local 59 clk_parent = of_clk_get_parent_name(np, 0); in sun6i_a31_apb0_gates_clk_probe() 60 if (!clk_parent) in sun6i_a31_apb0_gates_clk_probe() 80 clk_parent, 0, reg, i, in sun6i_a31_apb0_gates_clk_probe()
|
D | clk-sun8i-apb0.c | 26 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()
|
D | clk-usb.c | 94 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()
|
D | clk-simple-gates.c | 23 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()
|
D | clk-sun9i-mmc.c | 101 const char *clk_parent; in sun9i_a80_mmc_config_clk_probe() local 145 clk_parent = __clk_get_name(data->clk); in sun9i_a80_mmc_config_clk_probe() 151 clk_parent, 0, in sun9i_a80_mmc_config_clk_probe()
|
D | clk-sunxi.c | 780 const char *clk_parent; in sunxi_divider_clk_setup() local 789 clk_parent = of_clk_get_parent_name(node, 0); in sunxi_divider_clk_setup() 797 clk = clk_register_divider_table(NULL, clk_name, clk_parent, 0, in sunxi_divider_clk_setup()
|
/linux-5.19.10/drivers/gpu/drm/tegra/ |
D | rgb.c | 22 struct clk *clk_parent; member 129 if (!clk_is_match(rgb->clk_parent, rgb->pll_d_out0) && in tegra_rgb_pll_rate_change_allowed() 130 !clk_is_match(rgb->clk_parent, rgb->pll_d2_out0)) in tegra_rgb_pll_rate_change_allowed() 176 err = tegra_dc_state_setup_clock(dc, crtc_state, rgb->clk_parent, in tegra_rgb_encoder_atomic_check() 220 rgb->clk_parent = devm_clk_get(dc->dev, "parent"); in tegra_dc_rgb_probe() 221 if (IS_ERR(rgb->clk_parent)) { in tegra_dc_rgb_probe() 223 return PTR_ERR(rgb->clk_parent); in tegra_dc_rgb_probe() 226 err = clk_set_parent(rgb->clk, rgb->clk_parent); in tegra_dc_rgb_probe()
|
D | dpaux.c | 51 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() 617 clk_disable_unprepare(dpaux->clk_parent); in tegra_dpaux_suspend() 634 err = clk_prepare_enable(dpaux->clk_parent); in tegra_dpaux_resume() 655 clk_disable_unprepare(dpaux->clk_parent); in tegra_dpaux_resume()
|
D | dsi.c | 63 struct clk *clk_parent; member 1021 err = tegra_dc_state_setup_clock(dc, crtc_state, dsi->clk_parent, in tegra_dsi_encoder_atomic_check() 1177 err = clk_set_parent(parent, dsi->clk_parent); in tegra_dsi_setup_clocks() 1460 err = clk_set_parent(parent, dsi->clk_parent); in tegra_dsi_ganged_setup() 1603 dsi->clk_parent = devm_clk_get(&pdev->dev, "parent"); in tegra_dsi_probe() 1604 if (IS_ERR(dsi->clk_parent)) { in tegra_dsi_probe() 1606 return PTR_ERR(dsi->clk_parent); in tegra_dsi_probe()
|
D | hdmi.c | 71 struct clk *clk_parent; member 1151 parent = clk_get_parent(hdmi->clk_parent); in tegra_hdmi_connector_mode_valid() 1449 err = tegra_dc_state_setup_clock(dc, crtc_state, hdmi->clk_parent, in tegra_hdmi_encoder_atomic_check() 1807 hdmi->clk_parent = devm_clk_get(&pdev->dev, "parent"); in tegra_hdmi_probe() 1808 if (IS_ERR(hdmi->clk_parent)) in tegra_hdmi_probe() 1809 return PTR_ERR(hdmi->clk_parent); in tegra_hdmi_probe() 1811 err = clk_set_parent(hdmi->clk, hdmi->clk_parent); in tegra_hdmi_probe()
|
D | sor.c | 415 struct clk *clk_parent; member 1825 err = tegra_dc_state_setup_clock(dc, crtc_state, sor->clk_parent, in tegra_sor_encoder_atomic_check() 2416 err = clk_set_parent(sor->clk, sor->clk_parent); in tegra_sor_hdmi_enable() 2424 rate = clk_get_rate(sor->clk_parent); in tegra_sor_hdmi_enable() 2843 err = clk_set_parent(sor->clk_pad, sor->clk_parent); in tegra_sor_dp_enable() 2860 err = clk_set_parent(sor->clk, sor->clk_parent); in tegra_sor_dp_enable() 3868 sor->clk_parent = devm_clk_get(&pdev->dev, "parent"); in tegra_sor_probe() 3869 if (IS_ERR(sor->clk_parent)) { in tegra_sor_probe() 3870 err = PTR_ERR(sor->clk_parent); in tegra_sor_probe()
|
/linux-5.19.10/drivers/clk/ |
D | clk-fsl-flexspi.c | 52 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()
|
/linux-5.19.10/drivers/phy/socionext/ |
D | phy-uniphier-usb3ss.c | 57 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()
|
D | phy-uniphier-usb3hs.c | 71 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()
|
D | phy-uniphier-ahci.c | 22 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()
|
/linux-5.19.10/drivers/pwm/ |
D | pwm-meson.c | 93 struct clk *clk_parent; member 127 if (channel->clk_parent) { in meson_pwm_request() 128 err = clk_set_parent(channel->clk, channel->clk_parent); in meson_pwm_request() 131 __clk_get_name(channel->clk_parent), in meson_pwm_request() 520 channel->clk_parent = devm_clk_get_optional(dev, name); in meson_pwm_init_channels() 521 if (IS_ERR(channel->clk_parent)) in meson_pwm_init_channels() 522 return PTR_ERR(channel->clk_parent); in meson_pwm_init_channels()
|
/linux-5.19.10/include/trace/events/ |
D | clk.h | 165 DECLARE_EVENT_CLASS(clk_parent, 184 DEFINE_EVENT(clk_parent, clk_set_parent, 191 DEFINE_EVENT(clk_parent, clk_set_parent_complete,
|
/linux-5.19.10/drivers/i2c/busses/ |
D | i2c-sprd.c | 449 struct clk *clk_i2c, *clk_parent; in sprd_i2c_clk_init() local 458 clk_parent = devm_clk_get(i2c_dev->dev, "source"); in sprd_i2c_clk_init() 459 if (IS_ERR(clk_parent)) { in sprd_i2c_clk_init() 462 clk_parent = NULL; in sprd_i2c_clk_init() 465 if (clk_set_parent(clk_i2c, clk_parent)) in sprd_i2c_clk_init()
|
/linux-5.19.10/sound/soc/mediatek/mt8195/ |
D | mt8195-dai-adda.c | 334 struct clk *clk_parent; in mtk_audio_hires_event() local 341 clk_parent = afe_priv->clk[MT8195_CLK_TOP_APLL1]; in mtk_audio_hires_event() 344 clk_parent = afe_priv->clk[MT8195_CLK_XTAL_26M]; in mtk_audio_hires_event() 349 mt8195_afe_set_clk_parent(afe, clk, clk_parent); in mtk_audio_hires_event()
|
/linux-5.19.10/drivers/spi/ |
D | spi-sprd.c | 862 struct clk *clk_spi, *clk_parent; in sprd_spi_clk_init() local 870 clk_parent = devm_clk_get(&pdev->dev, "source"); in sprd_spi_clk_init() 871 if (IS_ERR(clk_parent)) { in sprd_spi_clk_init() 873 clk_parent = NULL; in sprd_spi_clk_init() 882 if (!clk_set_parent(clk_spi, clk_parent)) in sprd_spi_clk_init()
|
/linux-5.19.10/drivers/tty/serial/ |
D | sprd_serial.c | 1135 struct clk *clk_uart, *clk_parent; in sprd_clk_init() local 1145 clk_parent = devm_clk_get(uport->dev, "source"); in sprd_clk_init() 1146 if (IS_ERR(clk_parent)) { in sprd_clk_init() 1149 clk_parent = NULL; in sprd_clk_init() 1152 if (!clk_uart || clk_set_parent(clk_uart, clk_parent)) in sprd_clk_init()
|
/linux-5.19.10/drivers/gpu/drm/imx/ |
D | imx-ldb.c | 100 struct clk *clk_parent[4]; /* original parent of clk_sel */ member 352 ret = clk_set_parent(ldb->clk_sel[mux], ldb->clk_parent[mux]); in imx_ldb_encoder_disable() 665 imx_ldb->clk_parent[i] = clk_get_parent(imx_ldb->clk_sel[i]); in imx_ldb_probe()
|
/linux-5.19.10/drivers/mmc/host/ |
D | meson-gx-mmc.c | 425 const char *clk_parent[1]; in meson_mmc_clk_init() local 480 clk_parent[0] = __clk_get_name(host->mux_clk); in meson_mmc_clk_init() 481 init.parent_names = clk_parent; in meson_mmc_clk_init()
|