Home
last modified time | relevance | path

Searched refs:hub (Results 1 – 8 of 8) sorted by relevance

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvHub.c840 struct usb_hub *hub = (struct usb_hub *)urb->context; in hub_irq() local
898 dev_dbg (&hub->intf->dev, "transfer --> %d\n", urb->status); in hub_irq()
900 if ((++hub->nerrors < 10) || hub->error) in hub_irq()
902 hub->error = urb->status; in hub_irq()
908 hub->nerrors = 0; in hub_irq()
948 if (list_empty(&hub->event_list)) { in hub_irq()
953 list_add(&hub->event_list, hcd->phub_event); // new in hub_irq()
1037 if ((status = usb_submit_urb (hub->urb, GFP_ATOMIC)) != 0 in hub_irq()
1040 dev_err (&hub->intf->dev, "previous urb status is %d, resubmit --> %d\n", tmp,status); in hub_irq()
1110 hub_clear_tt_buffer (struct usb_device *hub, U16 devinfo, U16 tt) in hub_clear_tt_buffer() argument
[all …]
H A DdrvHub_2.c101 extern int hub_reset(struct usb_hub *hub);
106 extern void hub_power_on(struct usb_hub *hub);
107 extern int hub_hub_status(struct usb_hub *hub,
121 struct usb_hub *hub; in has_hub_events_Port2() local
135 hub = list_entry(tmp, struct usb_hub, event_list); in has_hub_events_Port2()
136 dev = interface_to_usbdev(hub->intf); in has_hub_events_Port2()
160 struct usb_hub *hub; in hub_events_Port2() local
180 hub = list_entry(tmp, struct usb_hub, event_list); in hub_events_Port2()
182 dev = interface_to_usbdev(hub->intf); in hub_events_Port2()
193 if (hub->error) { in hub_events_Port2()
[all …]
H A DdrvHCD.c2185 struct usb_device *hub = (struct usb_device*) hcd->self.root_hub;
2189 hub->state = USB_STATE_NOTATTACHED;
2190 for (i = 0; i < (U32) hub->maxchild; i++) {
2191 if (hub->children [i])
2192 usb_disconnect (&hub->children [i]);
H A DdrvHUB.h183 struct usb_device *hub; member
206 struct usb_hub_status hub; member
H A DdrvEhciHcd.c247 extern int hub_port_disable(struct usb_device *hub, int port);
2595 struct usb_device *tt = urb->dev->tt->hub; in qtd_copy_status()
4839 if (urb->dev->tt->hub->devnum != 1) // Skip the Root Hub devnum == 1 in qh_make()
4842 info2 |= urb->dev->tt->hub->devnum << 16; in qh_make()
9347 struct usb_device *hub; in usb_hcd_cpe_ehci_remove() local
9350 hub = hcd->self.root_hub; in usb_hcd_cpe_ehci_remove()
9355 usb_disconnect (&hub); in usb_hcd_cpe_ehci_remove()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvHub.c203 void ms_hub_power_on(struct usb_hub *hub) in ms_hub_power_on() argument
208 ms_usbhost_debug("enabling power on all ports, delay %d\n", hub->descriptor.bPwrOn2PwrGood * 2); in ms_hub_power_on()
209 ms_dev = interface_to_usbdev(hub->intf); in ms_hub_power_on()
210 for (i = 0; i < hub->descriptor.bNbrPorts; i++) in ms_hub_power_on()
215 wait_ms(hub->descriptor.bPwrOn2PwrGood * 2); in ms_hub_power_on()
227 int ms_hub_hub_status(struct usb_hub *hub, U16 *status_r, U16 *change_r) in ms_hub_hub_status() argument
229 struct usb_device *ms_dev = interface_to_usbdev (hub->intf); in ms_hub_hub_status()
235 &hub->status.hub, sizeof(hub->status.hub), HZ * USB_CTRL_GET_TIMEOUT); in ms_hub_hub_status()
242 *status_r = hub->status.hub.wHubStatus; in ms_hub_hub_status()
243 *change_r = hub->status.hub.wHubChange; in ms_hub_hub_status()
[all …]
H A DdrvHub.h162 struct usb_device *hub; member
185 struct ms_usb_hub_status hub; member
H A DdrvEhciHcd.c1035 && (pUrb->dev->tt->hub != hcd->self.root_hub)) in ms_qtd_copy_status()
1638 if (pUrb->dev->tt && pUrb->dev->tt->hub->u32DevNum != 1) // Skip the Root Hub devnum == 1 in ms_qh_make()
1640 u32Info2 |= pUrb->dev->tt->hub->u32DevNum << 16; /* Hub Addr */ in ms_qh_make()
1641 …not root hub, (ttport, hubaddr) = (%d,%d)\n", pUrb->dev->u32TTPort, pUrb->dev->tt->hub->u32DevNum); in ms_qh_make()