Lines Matching full:clk2
124 struct clk *clk2; member
267 ret = clk_prepare_enable(phy->clk2); in sun4i_usb_phy_init()
275 clk_disable_unprepare(phy->clk2); in sun4i_usb_phy_init()
287 clk_disable_unprepare(phy->clk2); in sun4i_usb_phy_init()
296 clk_disable_unprepare(phy->clk2); in sun4i_usb_phy_init()
305 ret = clk_prepare_enable(phy2->clk2); in sun4i_usb_phy_init()
310 clk_disable_unprepare(phy->clk2); in sun4i_usb_phy_init()
321 clk_disable_unprepare(phy->clk2); in sun4i_usb_phy_init()
396 clk_disable_unprepare(phy->clk2); in sun4i_usb_phy_exit()
817 phy->clk2 = devm_clk_get(dev, name); in sun4i_usb_phy_probe()
818 if (IS_ERR(phy->clk2)) { in sun4i_usb_phy_probe()
820 return PTR_ERR(phy->clk2); in sun4i_usb_phy_probe()
824 phy->clk2 = devm_clk_get_optional(dev, name); in sun4i_usb_phy_probe()
825 if (IS_ERR(phy->clk2)) { in sun4i_usb_phy_probe()
827 return PTR_ERR(phy->clk2); in sun4i_usb_phy_probe()