Home
last modified time | relevance | path

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

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvHub.c149 struct usb_hub *pHub = (struct usb_hub *)urb->pContext; in ms_hub_irq() local
166 if ((++pHub->nerrors < 10) || pHub->error) in ms_hub_irq()
168 pHub->error = urb->s32Status; in ms_hub_irq()
174 pHub->nerrors = 0; in ms_hub_irq()
177 if (!pHub->disconnected && ms_is_empty_list(&pHub->event_list)) in ms_hub_irq()
180 ms_insert_list_after(&pHub->event_list, hcd->phub_event); // new, link to the right hcd in ms_hub_irq()
182 …ms_usbhost_debug("%s:%s >>> Add HUB EVENT!\n", hcd->product_desc, interface_to_usbdev(pHub->intf)-… in ms_hub_irq()
187 if ((status = ms_usb_submit_urb (pHub->urb, GFP_ATOMIC)) != 0 in ms_hub_irq()
444 struct usb_hub *pHub = (struct usb_hub*) ms_usb_get_intfdata (intf); in ms_hub_disconnect() local
447 if (!pHub) in ms_hub_disconnect()
[all …]
H A DdrvUsbd.c583 struct usb_device *pHub; in ms_usb_hcd_cpe_ehci_remove() local
587 pHub = pHcd->self.root_hub; in ms_usb_hcd_cpe_ehci_remove()
588 ms_usb_get_dev(pHub); // patch from Linux 2.6.28 in ms_usb_hcd_cpe_ehci_remove()
598 ms_usb_disconnect (&pHub); in ms_usb_hcd_cpe_ehci_remove()
610 ms_usb_put_dev(pHub); // patch from Linux 2.6.28 in ms_usb_hcd_cpe_ehci_remove()