Searched refs:usb_otg_clk (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/usb/host/
H A Dohci-nxp.c80 static struct clk *usb_otg_clk; variable in typeref:struct:clk
233 usb_otg_clk = devm_clk_get(&pdev->dev, "ck_usb_otg"); ohci_hcd_nxp_probe()
234 if (IS_ERR(usb_otg_clk)) { ohci_hcd_nxp_probe()
236 ret = PTR_ERR(usb_otg_clk); ohci_hcd_nxp_probe()
242 ret = clk_prepare_enable(usb_otg_clk); ohci_hcd_nxp_probe()
286 clk_disable_unprepare(usb_otg_clk); ohci_hcd_nxp_probe()
303 clk_disable_unprepare(usb_otg_clk); ohci_hcd_nxp_remove()
/linux-4.4.14/drivers/usb/gadget/udc/
H A Dlpc32xx_udc.c165 struct clk *usb_otg_clk; member in struct:lpc32xx_udc
1004 clk_enable(udc->usb_otg_clk); udc_clk_set()
1020 clk_disable(udc->usb_otg_clk); udc_clk_set()
3157 udc->usb_otg_clk = clk_get(&pdev->dev, "ck_usb_otg"); lpc32xx_udc_probe()
3158 if (IS_ERR(udc->usb_otg_clk)) { lpc32xx_udc_probe()
3160 retval = PTR_ERR(udc->usb_otg_clk); lpc32xx_udc_probe()
3187 retval = clk_enable(udc->usb_otg_clk); lpc32xx_udc_probe()
3303 clk_disable(udc->usb_otg_clk); lpc32xx_udc_probe()
3310 clk_put(udc->usb_otg_clk); lpc32xx_udc_probe()
3352 clk_disable(udc->usb_otg_clk); lpc32xx_udc_remove()
3353 clk_put(udc->usb_otg_clk); lpc32xx_udc_remove()

Completed in 105 milliseconds