Home
last modified time | relevance | path

Searched refs:clk_phy (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/phy/amlogic/
Dphy-meson-gxl-usb3.c86 struct clk *clk_phy; member
160 ret = clk_prepare_enable(priv->clk_phy); in phy_meson_gxl_usb3_init()
181 clk_disable_unprepare(priv->clk_phy); in phy_meson_gxl_usb3_init()
191 clk_disable_unprepare(priv->clk_phy); in phy_meson_gxl_usb3_exit()
230 priv->clk_phy = devm_clk_get(dev, "phy"); in phy_meson_gxl_usb3_probe()
231 if (IS_ERR(priv->clk_phy)) in phy_meson_gxl_usb3_probe()
232 return PTR_ERR(priv->clk_phy); in phy_meson_gxl_usb3_probe()
/Linux-v5.4/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.c359 clk_set_rate(phy->clk_phy, mode->crtc_clock * 1000); in sun8i_hdmi_phy_config()
711 clk_prepare_enable(phy->clk_phy); in sun8i_hdmi_phy_probe()
744 clk_disable_unprepare(phy->clk_phy); in sun8i_hdmi_phy_remove()
Dsun8i_dw_hdmi.h169 struct clk *clk_phy; member
/Linux-v5.4/drivers/gpu/drm/sti/
Dsti_hdmi.h80 struct clk *clk_phy; member
Dsti_hdmi.c772 clk_disable_unprepare(hdmi->clk_phy); in sti_hdmi_disable()
887 if (clk_prepare_enable(hdmi->clk_phy)) in sti_hdmi_pre_enable()
945 ret = clk_set_rate(hdmi->clk_phy, mode->clock * 1000); in sti_hdmi_set_mode()
1407 hdmi->clk_phy = devm_clk_get(dev, "phy"); in sti_hdmi_probe()
1408 if (IS_ERR(hdmi->clk_phy)) { in sti_hdmi_probe()
1410 ret = PTR_ERR(hdmi->clk_phy); in sti_hdmi_probe()
/Linux-v5.4/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()