Home
last modified time | relevance | path

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

/linux/drivers/phy/rockchip/
H A Dphy-rockchip-usb.c71 struct clk *clk480m; member
145 clk_disable_unprepare(phy->clk480m); in rockchip_usb_phy_power_off()
165 return clk_prepare_enable(phy->clk480m); in rockchip_usb_phy_power_on()
194 clk_unregister(rk_phy->clk480m); in rockchip_usb_phy_action()
266 rk_phy->clk480m = clk_register(base->dev, &rk_phy->clk480m_hw); in rockchip_usb_phy_init()
267 if (IS_ERR(rk_phy->clk480m)) { in rockchip_usb_phy_init()
268 err = PTR_ERR(rk_phy->clk480m); in rockchip_usb_phy_init()
273 rk_phy->clk480m); in rockchip_usb_phy_init()
308 clk_unregister(rk_phy->clk480m); in rockchip_usb_phy_init()
H A Dphy-rockchip-inno-usb2.c250 struct clk *clk480m; member
371 clk_unregister(rphy->clk480m); in rockchip_usb2phy_clk480m_unregister()
401 rphy->clk480m = clk_register(rphy->dev, &rphy->clk480m_hw); in rockchip_usb2phy_clk480m_register()
402 if (IS_ERR(rphy->clk480m)) { in rockchip_usb2phy_clk480m_register()
403 ret = PTR_ERR(rphy->clk480m); in rockchip_usb2phy_clk480m_register()
407 ret = of_clk_add_provider(node, of_clk_src_simple_get, rphy->clk480m); in rockchip_usb2phy_clk480m_register()
414 clk_unregister(rphy->clk480m); in rockchip_usb2phy_clk480m_register()
569 ret = clk_prepare_enable(rphy->clk480m); in rockchip_usb2phy_power_on()
575 clk_disable_unprepare(rphy->clk480m); in rockchip_usb2phy_power_on()
615 clk_disable_unprepare(rphy->clk480m); in rockchip_usb2phy_power_off()