Home
last modified time | relevance | path

Searched refs:pHcd (Results 1 – 7 of 7) sorted by relevance

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvUsbd.c106 extern void ms_ehci_disable_ep (struct usb_hcd *pHcd, struct s_hcd_dev *pDev, int iEp);
107 extern int ms_hub_status_data (struct usb_hcd *pHcd, char *pBuf);
108 extern int ms_hub_control ( struct usb_hcd *pHcd, U16 typeReq, U16 u16Value, U16 u16I…
267 struct usb_hcd *pHcd, in ms_rh_string() argument
283 strncpy(pu8Buf, pHcd->self.bus_name, sizeof(pu8Buf)-1); in ms_rh_string()
288 strncpy(pu8Buf, pHcd->product_desc, sizeof(pu8Buf)); in ms_rh_string()
311 static int ms_rh_call_control (struct usb_hcd *pHcd, struct urb *pUrb) in ms_rh_call_control() argument
320 pUrb->hcpriv = pHcd; in ms_rh_call_control()
349 if (pHcd->hcd_flags & HCD_HS) in ms_rh_call_control()
351 else if (pHcd->hcd_flags & HCD_FS) in ms_rh_call_control()
[all …]
H A DdrvEhciHcd.c340 int ms_hub_status_data (struct usb_hcd *pHcd, char *pBuf) in ms_hub_status_data() argument
342 struct ehci_hcd *pEhci = hcd_to_ehci (pHcd); in ms_hub_status_data()
348 if (!HCD_IS_RUNNING(pHcd->state)) // patch from 2.6.28 in ms_hub_status_data()
483 struct usb_hcd *pHcd, in ms_hub_control() argument
490 struct ehci_hcd *pEhci = hcd_to_ehci (pHcd); in ms_hub_control()
497 const struct device_s *__mptr = pHcd->controller; in ms_hub_control()
689 pHcd->isRootHubPortReset = FALSE; in ms_hub_control()
760 pHcd->isRootHubPortReset = TRUE; in ms_hub_control()
2313 int ms_ehci_init (struct usb_hcd *pHcd) in ms_ehci_init() argument
2315 struct ehci_hcd *ehci = hcd_to_ehci (pHcd); in ms_ehci_init()
[all …]
H A DdrvHub.c900 struct usb_hcd *pHcd = (struct usb_hcd*) pHub->bus->hcpriv; in ms_hub_port_connect_change() local
915 const struct device_s *__mptr = pHcd->controller; in ms_hub_port_connect_change()
937 ms_roothub_disconn_reinit(pHcd); in ms_hub_port_connect_change()
969 ms_usbhost_debug("pHcd->product_desc: (%s)\n", pHcd->product_desc); in ms_hub_port_connect_change()
970 if ( (pHub->parent == NULL) && (pHcd->isBadDevice) ) in ms_hub_port_connect_change()
972 if (pHcd->badDeviceCnt == 3) in ms_hub_port_connect_change()
973 ms_RH_force_FSmode(pHcd, 1); //force enter FSmode in ms_hub_port_connect_change()
975 pHcd->isBadDevice = FALSE; in ms_hub_port_connect_change()
977 if (pHub->parent == NULL && (pHcd->isBadDeviceRH == TRUE)) in ms_hub_port_connect_change()
980 pHcd->isBadDeviceRH = FALSE; in ms_hub_port_connect_change()
[all …]
H A DdrvUSBEntry.c125 void ms_ehci_irq (struct usb_hcd *pHcd, struct stPtRegs *pRegs);
1423 extern void ms_usb_hcd_cpe_ehci_remove (struct usb_hcd *pHcd);
1495 struct usb_hcd *pHcd = pRootHub->p_UsbHcd; in MDrv_USB_Port_Close() local
1499 if(!pHcd) in MDrv_USB_Port_Close()
1506 pHcd->state = HCD_STATE_HALT; // speed up port close flow in MDrv_USB_Port_Close()
1507 ms_usb_set_device_state(pHcd->self.root_hub, USB_STATE_NOTATTACHED); in MDrv_USB_Port_Close()
1509 ms_UnInitUSBIntr_EX(pHcd); in MDrv_USB_Port_Close()
1526 ms_usb_hcd_cpe_ehci_remove(pHcd); in MDrv_USB_Port_Close()
H A DdrvUSBHwCtl.c310 void ms_roothub_disconn_reinit(struct usb_hcd *pHcd) in ms_roothub_disconn_reinit() argument
312 struct ehci_hcd *pEhci = hcd_to_ehci (pHcd); in ms_roothub_disconn_reinit()
319 ms_qh_ehci_reinit(pHcd, 1); // check again in ms_roothub_disconn_reinit()
327 ms_ResetMstarUsb(pHcd); // reset ehci in ms_roothub_disconn_reinit()
H A DdrvUSB.c457 struct usb_hcd *pHcd = (struct usb_hcd*) pUdev->bus->hcpriv; in ms_usb_disconnect() local
487 ms_forceHcdRun(pHcd); in ms_usb_disconnect()
540 ms_roothub_disconn_reinit(pHcd); in ms_usb_disconnect()
H A DdrvUsbd.h189 extern void ms_rh_status_dequeue (struct usb_hcd *pHcd, struct urb *pUrb);