static void s5pv210_start_ehc(void) { usb_host_phy_init(); #ifdef CONFIG_SAMSUNG_PHONE_SVNET /*mc_control_active_state(1);*/ #endif }
static void s5pv210_start_ohc(void) { #if defined(CONFIG_SAMSUNG_PHONE_SVNET) || defined(CONFIG_SAMSUNG_LTE) || defined(CONFIG_UMTS_LINK_HSIC) /* only ehci controls phy on/off */ #else usb_host_phy_init(); #endif }
static int ohci_hcd_s5pv210_runtime_resume(struct device *dev) { struct platform_device *pdev = to_platform_device(dev); struct usb_hcd *hcd = platform_get_drvdata(pdev); int rc = 0; if (dev->power.status == DPM_RESUMING) return 0; #if defined(CONFIG_SAMSUNG_PHONE_SVNET) || defined(CONFIG_SAMSUNG_LTE) || defined(CONFIG_UMTS_LINK_HSIC) #else printk("USB_PM ohci rt resume\n"); usb_host_phy_init(); #endif /* Mark hardware accessible again as we are out of D3 state by now */ set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags); ohci_finish_controller_resume(hcd); return rc; }
static void s5pv210_start_ehc(void) { clk_enable(usb_clk); usb_host_phy_init(); }