Home
last modified time | relevance | path

Searched refs:clk480m (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/phy/rockchip/
Dphy-rockchip-usb.c72 struct clk *clk480m; member
146 clk_disable_unprepare(phy->clk480m); in rockchip_usb_phy_power_off()
166 return clk_prepare_enable(phy->clk480m); in rockchip_usb_phy_power_on()
195 clk_unregister(rk_phy->clk480m); in rockchip_usb_phy_action()
267 rk_phy->clk480m = clk_register(base->dev, &rk_phy->clk480m_hw); in rockchip_usb_phy_init()
268 if (IS_ERR(rk_phy->clk480m)) { in rockchip_usb_phy_init()
269 err = PTR_ERR(rk_phy->clk480m); in rockchip_usb_phy_init()
274 rk_phy->clk480m); in rockchip_usb_phy_init()
309 clk_unregister(rk_phy->clk480m); in rockchip_usb_phy_init()
Dphy-rockchip-inno-usb2.c215 struct clk *clk480m; member
315 clk_unregister(rphy->clk480m); in rockchip_usb2phy_clk480m_unregister()
345 rphy->clk480m = clk_register(rphy->dev, &rphy->clk480m_hw); in rockchip_usb2phy_clk480m_register()
346 if (IS_ERR(rphy->clk480m)) { in rockchip_usb2phy_clk480m_register()
347 ret = PTR_ERR(rphy->clk480m); in rockchip_usb2phy_clk480m_register()
351 ret = of_clk_add_provider(node, of_clk_src_simple_get, rphy->clk480m); in rockchip_usb2phy_clk480m_register()
365 clk_unregister(rphy->clk480m); in rockchip_usb2phy_clk480m_register()
465 ret = clk_prepare_enable(rphy->clk480m); in rockchip_usb2phy_power_on()
497 clk_disable_unprepare(rphy->clk480m); in rockchip_usb2phy_power_off()