Home
last modified time | relevance | path

Searched full:clk_phy (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun8i_hdmi_phy_clk.c173 phy->clk_phy = devm_clk_register(dev, &priv->hw); in sun8i_phy_clk_create()
174 if (IS_ERR(phy->clk_phy)) in sun8i_phy_clk_create()
175 return PTR_ERR(phy->clk_phy); in sun8i_phy_clk_create()
Dsun8i_hdmi_phy.c353 clk_set_rate(phy->clk_phy, mode->crtc_clock * 1000); in sun8i_hdmi_phy_config()
539 clk_prepare_enable(phy->clk_phy); in sun8i_hdmi_phy_init()
560 clk_disable_unprepare(phy->clk_phy); in sun8i_hdmi_phy_deinit()
Dsun8i_dw_hdmi.h169 struct clk *clk_phy; member
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/
Dsun8i_hdmi_phy_clk.c173 phy->clk_phy = devm_clk_register(dev, &priv->hw); in sun8i_phy_clk_create()
174 if (IS_ERR(phy->clk_phy)) in sun8i_phy_clk_create()
175 return PTR_ERR(phy->clk_phy); in sun8i_phy_clk_create()
Dsun8i_hdmi_phy.c243 clk_set_rate(phy->clk_phy, clk_rate); in sun8i_h3_hdmi_phy_config()
548 clk_prepare_enable(phy->clk_phy); in sun8i_hdmi_phy_init()
569 clk_disable_unprepare(phy->clk_phy); in sun8i_hdmi_phy_deinit()
Dsun8i_dw_hdmi.h163 struct clk *clk_phy; member
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
Dsti_hdmi.h54 * @clk_phy: hdmi phy clock
80 struct clk *clk_phy; member
Dsti_hdmi.c773 clk_disable_unprepare(hdmi->clk_phy); in sti_hdmi_disable()
888 if (clk_prepare_enable(hdmi->clk_phy)) in sti_hdmi_pre_enable()
946 ret = clk_set_rate(hdmi->clk_phy, mode->clock * 1000); in sti_hdmi_set_mode()
1420 hdmi->clk_phy = devm_clk_get(dev, "phy"); in sti_hdmi_probe()
1421 if (IS_ERR(hdmi->clk_phy)) { in sti_hdmi_probe()
1423 ret = PTR_ERR(hdmi->clk_phy); in sti_hdmi_probe()
/kernel/linux/linux-6.6/drivers/gpu/drm/sti/
Dsti_hdmi.h48 * @clk_phy: hdmi phy clock
73 struct clk *clk_phy; member
Dsti_hdmi.c781 clk_disable_unprepare(hdmi->clk_phy); in sti_hdmi_disable()
896 if (clk_prepare_enable(hdmi->clk_phy)) in sti_hdmi_pre_enable()
954 ret = clk_set_rate(hdmi->clk_phy, mode->clock * 1000); in sti_hdmi_set_mode()
1430 hdmi->clk_phy = devm_clk_get(dev, "phy"); in sti_hdmi_probe()
1431 if (IS_ERR(hdmi->clk_phy)) { in sti_hdmi_probe()
1433 ret = PTR_ERR(hdmi->clk_phy); in sti_hdmi_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c58 struct clk *clk_phy; member
1107 bsp_priv->clk_phy = of_clk_get(plat->phy_node, 0); in rk_gmac_clk_init()
1108 if (IS_ERR(bsp_priv->clk_phy)) { in rk_gmac_clk_init()
1109 ret = PTR_ERR(bsp_priv->clk_phy); in rk_gmac_clk_init()
1113 clk_set_rate(bsp_priv->clk_phy, 50000000); in rk_gmac_clk_init()
1139 if (!IS_ERR(bsp_priv->clk_phy)) in gmac_clk_enable()
1140 clk_prepare_enable(bsp_priv->clk_phy); in gmac_clk_enable()
1171 clk_disable_unprepare(bsp_priv->clk_phy); in gmac_clk_enable()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pci/
Damlogic,axg-pcie.yaml118 clocks = <&pclk>, <&clk_port>, <&clk_phy>;
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c75 struct clk *clk_phy; member
1534 bsp_priv->clk_phy = of_clk_get(plat->phy_node, 0); in rk_gmac_clk_init()
1535 ret = PTR_ERR_OR_ZERO(bsp_priv->clk_phy); in rk_gmac_clk_init()
1538 clk_set_rate(bsp_priv->clk_phy, 50000000); in rk_gmac_clk_init()
1555 ret = clk_prepare_enable(bsp_priv->clk_phy); in gmac_clk_enable()
1570 clk_disable_unprepare(bsp_priv->clk_phy); in gmac_clk_enable()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch43929 struct clk *clk_phy;
44781 bsp_priv->clk_phy = of_clk_get(plat->phy_node, 0);
44782 - if (IS_ERR(bsp_priv->clk_phy)) {
44783 - ret = PTR_ERR(bsp_priv->clk_phy);
44786 + /* If it is not integrated_phy, clk_phy is optional */
44788 + if (IS_ERR(bsp_priv->clk_phy)) {
44789 + ret = PTR_ERR(bsp_priv->clk_phy);
44793 + clk_set_rate(bsp_priv->clk_phy, 50000000);
44795 - clk_set_rate(bsp_priv->clk_phy, 50000000);