Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/phy/amlogic/
Dphy-meson-gxl-usb3.c86 struct clk *clk_phy; member
159 ret = clk_prepare_enable(priv->clk_phy); in phy_meson_gxl_usb3_init()
180 clk_disable_unprepare(priv->clk_phy); in phy_meson_gxl_usb3_init()
190 clk_disable_unprepare(priv->clk_phy); in phy_meson_gxl_usb3_exit()
229 priv->clk_phy = devm_clk_get(dev, "phy"); in phy_meson_gxl_usb3_probe()
230 if (IS_ERR(priv->clk_phy)) in phy_meson_gxl_usb3_probe()
231 return PTR_ERR(priv->clk_phy); in phy_meson_gxl_usb3_probe()
/Linux-v4.19/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.c242 clk_set_rate(phy->clk_phy, mode->crtc_clock * 1000); in sun8i_hdmi_phy_config()
512 clk_prepare_enable(phy->clk_phy); in sun8i_hdmi_phy_probe()
551 clk_disable_unprepare(phy->clk_phy); in sun8i_hdmi_phy_probe()
570 clk_disable_unprepare(phy->clk_phy); in sun8i_hdmi_phy_remove()
Dsun8i_dw_hdmi.h163 struct clk *clk_phy; member
/Linux-v4.19/drivers/gpu/drm/sti/
Dsti_hdmi.h78 struct clk *clk_phy; member
Dsti_hdmi.c768 clk_disable_unprepare(hdmi->clk_phy); in sti_hdmi_disable()
880 if (clk_prepare_enable(hdmi->clk_phy)) in sti_hdmi_pre_enable()
938 ret = clk_set_rate(hdmi->clk_phy, mode->clock * 1000); in sti_hdmi_set_mode()
1399 hdmi->clk_phy = devm_clk_get(dev, "phy"); in sti_hdmi_probe()
1400 if (IS_ERR(hdmi->clk_phy)) { in sti_hdmi_probe()
1402 ret = PTR_ERR(hdmi->clk_phy); in sti_hdmi_probe()
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c67 struct clk *clk_phy; member
1116 bsp_priv->clk_phy = of_clk_get(plat->phy_node, 0); in rk_gmac_clk_init()
1117 if (IS_ERR(bsp_priv->clk_phy)) { in rk_gmac_clk_init()
1118 ret = PTR_ERR(bsp_priv->clk_phy); in rk_gmac_clk_init()
1122 clk_set_rate(bsp_priv->clk_phy, 50000000); in rk_gmac_clk_init()
1148 if (!IS_ERR(bsp_priv->clk_phy)) in gmac_clk_enable()
1149 clk_prepare_enable(bsp_priv->clk_phy); in gmac_clk_enable()
1180 clk_disable_unprepare(bsp_priv->clk_phy); in gmac_clk_enable()