/*
*******************************************************************************
*                     sw_start_ohc
*
* Description:
*    void
*
* Parameters:
*    void
*
* Return value:
*    void
*
* note:
*    void
*
*******************************************************************************
*/
static void sw_start_ohc(struct sw_hci_hcd *sw_ohci)
{
  	open_ohci_clock(sw_ohci);

    sw_ohci->port_configure(sw_ohci, 1);
    sw_ohci->usb_passby(sw_ohci, 1);
    sw_ohci->set_power(sw_ohci, 1);

	return;
}
示例#2
0
static void sunxi_start_ohci(struct sunxi_hci_hcd *sunxi_ohci)
{
	open_ohci_clock(sunxi_ohci);
	if(sunxi_ohci->usbc_no == 3){
		sunxi_setup_gpio();
	}
	sunxi_ohci->port_configure(sunxi_ohci, 1);
	sunxi_ohci->usb_passby(sunxi_ohci, 1);
	sunxi_ohci->set_power(sunxi_ohci, 1);

	return;
}
示例#3
0
static void sunxi_start_ohci(struct sunxi_hci_hcd *sunxi_ohci)
{
#if defined (CONFIG_ARCH_SUN8IW6) || defined (CONFIG_ARCH_SUN9IW1)
	sunxi_ohci->hci_phy_ctrl(sunxi_ohci, 1);
#endif
	open_ohci_clock(sunxi_ohci);

	sunxi_ohci->port_configure(sunxi_ohci, 1);
	sunxi_ohci->usb_passby(sunxi_ohci, 1);
	sunxi_ohci->set_power(sunxi_ohci, 1);

	return;
}