Home
last modified time | relevance | path

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

/drivers/phy/ti/
Dphy-omap-usb2.c60 struct clk *wkupclk; member
190 clk_disable_unprepare(phy->wkupclk); in omap_usb2_disable_clocks()
201 ret = clk_prepare_enable(phy->wkupclk); in omap_usb2_enable_clocks()
218 clk_disable_unprepare(phy->wkupclk); in omap_usb2_enable_clocks()
441 phy->wkupclk = devm_clk_get(phy->dev, "wkupclk"); in omap_usb2_probe()
442 if (IS_ERR(phy->wkupclk)) { in omap_usb2_probe()
443 if (PTR_ERR(phy->wkupclk) == -EPROBE_DEFER) in omap_usb2_probe()
447 PTR_ERR(phy->wkupclk)); in omap_usb2_probe()
448 phy->wkupclk = devm_clk_get(phy->dev, "usb_phy_cm_clk32k"); in omap_usb2_probe()
450 if (IS_ERR(phy->wkupclk)) { in omap_usb2_probe()
[all …]
Dphy-ti-pipe3.c169 struct clk *wkupclk; member
618 phy->wkupclk = devm_clk_get(dev, "wkupclk"); in ti_pipe3_get_clk()
619 if (IS_ERR(phy->wkupclk)) { in ti_pipe3_get_clk()
621 return PTR_ERR(phy->wkupclk); in ti_pipe3_get_clk()
624 phy->wkupclk = ERR_PTR(-ENODEV); in ti_pipe3_get_clk()
875 if (!IS_ERR(phy->wkupclk)) { in ti_pipe3_enable_clocks()
876 ret = clk_prepare_enable(phy->wkupclk); in ti_pipe3_enable_clocks()
894 if (!IS_ERR(phy->wkupclk)) in ti_pipe3_enable_clocks()
895 clk_disable_unprepare(phy->wkupclk); in ti_pipe3_enable_clocks()
906 if (!IS_ERR(phy->wkupclk)) in ti_pipe3_disable_clocks()
[all …]