| /utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/ |
| H A D | drvHCD.c | 647 || (hcd = (struct usb_hcd*) urb->dev->bus->hcpriv) == 0) { in rh_report_status() 969 struct usb_bus *usb_bus_get (struct usb_bus *bus) in usb_bus_get() argument 972 return bus; in usb_bus_get() 978 void usb_bus_put (struct usb_bus *bus) in usb_bus_put() argument 1001 void usb_bus_init (struct usb_bus *bus) in usb_bus_init() argument 1003 memset (&bus->devmap, 0, sizeof(struct usb_devmap)); in usb_bus_init() 1005 bus->devnum_next = 1; in usb_bus_init() 1007 bus->root_hub = NULL; in usb_bus_init() 1008 bus->hcpriv = NULL; in usb_bus_init() 1009 bus->otgpriv = NULL; in usb_bus_init() [all …]
|
| H A D | drvUSB.c | 497 new_driver->driver.bus = &usb_bus_type; in usb_register() 2098 if ((*pudev)->bus->hcpriv == hcd) in usb_find_dev_for_driver() 2269 if (!usb_dev->bus) { in usb_hotplug() 2318 usb_dev->bus->busnum, usb_dev->devnum); in usb_hotplug() 2544 if (udev->bus && udev->bus->op && udev->bus->op->deallocate) in usb_release_dev() 2545 udev->bus->op->deallocate(udev); in usb_release_dev() 2547 usb_bus_put(udev->bus); in usb_release_dev() 2584 struct usb_device *usb_alloc_dev(struct usb_device *parent, struct usb_bus *bus) in usb_alloc_dev() argument 2611 bus = usb_bus_get(bus); in usb_alloc_dev() 2612 if (!bus) { in usb_alloc_dev() [all …]
|
| H A D | drvBus.c | 102 if (dev->bus->match(dev,drv)) { in bus_match() 121 struct bus_type * bus = dev->bus; in device_attach() local 131 if (bus->match) { in device_attach() 132 list_for_each(entry,&bus->drivers_list) { in device_attach() 147 struct bus_type * bus = drv->bus; in driver_attach() local 152 if (!bus->match) in driver_attach() 155 list_for_each(entry,&bus->devices_list) { in driver_attach() 200 if (dev->bus) { in bus_add_device() 201 pr_debug("bus %s: add device %s\n",dev->bus->name,dev->bus_id); in bus_add_device() 202 list_add_tail(&dev->bus_list,&dev->bus->devices_list); in bus_add_device() [all …]
|
| H A D | drvHCD.h | 177 struct usb_bus *bus; member 218 void *(*buffer_alloc)(struct usb_bus *bus, size_t size, 221 void (*buffer_free)(struct usb_bus *bus, size_t size, 301 extern void usb_bus_init (struct usb_bus *bus); 348 void *hcd_buffer_alloc (struct usb_bus *bus, size_t size, 350 void hcd_buffer_free (struct usb_bus *bus, size_t size, 559 extern struct usb_bus *usb_bus_get (struct usb_bus *bus); 560 extern void usb_bus_put (struct usb_bus *bus); 580 extern void usbfs_add_bus(struct usb_bus *bus); 581 extern void usbfs_remove_bus(struct usb_bus *bus); [all …]
|
| H A D | drvURB.c | 160 (!dev->bus) || (dev->devnum <= 0)) in usb_submit_urb() 162 if (!(op = dev->bus->op) || !op->submit_urb) in usb_submit_urb() 228 dev->bus->bus_name, dev->devpath, in usb_submit_urb() 383 if (m_urb && m_urb->dev && m_urb->dev->bus && m_urb->dev->bus->op) in usb_unlink_urb() 384 return m_urb->dev->bus->op->unlink_urb(m_urb); in usb_unlink_urb()
|
| H A D | drvHcdBuf.c | 147 struct usb_bus *bus, in hcd_buffer_alloc() argument 153 struct usb_hcd *hcd = (struct usb_hcd*) bus->hcpriv; in hcd_buffer_alloc() 164 struct usb_bus *bus, in hcd_buffer_free() argument 170 struct usb_hcd *hcd = (struct usb_hcd*) bus->hcpriv; in hcd_buffer_free()
|
| H A D | drvHub.c | 844 struct usb_hcd *hcd = (struct usb_hcd*) urb->dev->bus->hcpriv; in hub_irq() 1263 dev->bus->bus_name, dev->devpath, in hub_tt_kevent() 1314 dev->bus->bus_name, utt->hub->devpath); in usb_hub_tt_clear_buffer() 4866 struct usb_hcd *hcd = (struct usb_hcd*) hub->bus->hcpriv; in hub_port_connect_change() 5342 dev = usb_alloc_dev(hub, hub->bus); in hub_port_connect_change() 5801 dev->bus->busnum, dev->devnum, dev->devpath); in hub_port_connect_change() 8385 clear_bit(dev->devnum, dev->bus->devmap.devicemap,U32); in usb_physical_reset_device() 8394 clear_bit(dev->devnum, dev->bus->devmap.devicemap,U32); in usb_physical_reset_device() 8644 struct usb_hcd *hcd = (struct usb_hcd*) udev->bus->hcpriv; in usb_reset_device()
|
| H A D | drvEHCIDBG.cpp | 648 static ssize_t show_async (struct usb_bus *bus, char *buf) in show_async() argument 657 hcd = bus->hcpriv; in show_async() 698 static ssize_t show_periodic (struct usb_bus *bus, char *buf) in show_periodic() argument 713 hcd = bus->hcpriv; in show_periodic() 934 show_registers (struct usb_bus *bus, char *buf) in show_registers() argument 944 hcd = bus->hcpriv; in show_registers()
|
| H A D | drvMsg.c | 199 struct usb_hcd * hcd = urb->dev->bus->hcpriv; in usb_start_wait_urb() 362 if (dev && dev->bus && dev->bus->op && dev->bus->op->disable) in usb_disable_endpoint() 363 dev->bus->op->disable(dev, epaddr); in usb_disable_endpoint()
|
| H A D | drvUSBEntry.c | 962 (HID_us[ii][jj]->pusb_dev->bus->hcpriv == cpe_ehci_dev.dev.driver_data) ) in UsbTask() 1032 (CDC_us[ii]->pusb_dev->bus->hcpriv == cpe_ehci_dev.dev.driver_data) ) in UsbTask() 1146 if (HID_us[ii][jj]->pusb_dev->bus->hcpriv == cpe_ehci_dev.dev.driver_data) in UsbTask() 1162 if (CDC_us[ii]->pusb_dev->bus->hcpriv == cpe_ehci_dev.dev.driver_data) in UsbTask() 1899 (HID_us[ii][jj]->pusb_dev->bus->hcpriv == cpe_ehci_dev_Port2.dev.driver_data) ) in UsbTask_EX() 2026 if (HID_us[ii][jj]->pusb_dev->bus->hcpriv == cpe_ehci_dev_Port2.dev.driver_data) in UsbTask_EX()
|
| H A D | drvEhciHcd.c | 6849 struct usb_bus *bus; in ehci_start() local 7259 bus = hcd_to_bus (hcd); in ehci_start() 7260 bus->root_hub = udev = usb_alloc_dev (NULL, bus); in ehci_start() 7437 bus->root_hub = 0; in ehci_start() 9574 ehci_hcd_cpe_driver.drv.bus = &CPE_AMBA_bus_type; in ehci_hcd_cpe_ehci_init() 9596 cpe_ehci_dev.dev.bus = &CPE_AMBA_bus_type; in ehci_cpe_dev_init() 9818 ehci_hcd_cpe_driver.drv.bus = &CPE_AMBA_bus_type_EX; in ehci_hcd_cpe_driver_init_EX() 9840 dev->dev.bus = &CPE_AMBA_bus_type_EX; in ehci_cpe_dev_init_EX()
|
| H A D | drvEhciHcd_2.c | 349 ehci_hcd_cpe_driver_Port2.drv.bus = &CPE_AMBA_bus_type_Port2; in ehci_hcd_cpe_ehci_init_Port2() 371 cpe_ehci_dev_Port2.dev.bus = &CPE_AMBA_bus_type_Port2; in ehci_cpe_dev_init_Port2()
|
| H A D | drvUSBEntry_2.c | 333 (HID_us[ii][jj]->pusb_dev->bus->hcpriv == cpe_ehci_dev_Port2.dev.driver_data) ) in UsbTask_Port2() 469 if (HID_us[ii][jj]->pusb_dev->bus->hcpriv == cpe_ehci_dev_Port2.dev.driver_data) in UsbTask_Port2()
|
| H A D | drvTransport.c | 179 struct usb_hcd *hcd = (struct usb_hcd*) us->current_urb->dev->bus->hcpriv; in timeout_handler() 304 struct usb_hcd *hcd = us->pusb_dev->bus->hcpriv; in usb_stor_msg_common() 1680 struct usb_hcd *hcd = (struct usb_hcd*) current_urb->dev->bus->hcpriv; in usb_default_timeout_handler()
|
| /utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/ |
| H A D | drvUSB.c | 267 n_driver->driver.bus = &usb_bus_type; in ms_usb_register() 318 if ((*pudev)->bus->hcpriv == hcd) 396 struct usb_device *ms_usb_alloc_dev(struct usb_device *parent, struct usb_bus *bus) in ms_usb_alloc_dev() argument 414 pUdev->bus = bus; in ms_usb_alloc_dev() 457 struct usb_hcd *pHcd = (struct usb_hcd*) pUdev->bus->hcpriv; in ms_usb_disconnect() 529 ms_devmap_clear_bit(pUdev->u32DevNum, pUdev->bus->devmap.usb_devicemap); in ms_usb_disconnect() 550 s32Devnum = find_next_zero_bit(pUdev->bus->devmap.usb_devicemap, 128, pUdev->bus->devnum_next); in ms_usb_choose_address() 552 s32Devnum = find_next_zero_bit(pUdev->bus->devmap.usb_devicemap, 128, 1); in ms_usb_choose_address() 554 pUdev->bus->devnum_next = ( s32Devnum >= 127 ? 1 : s32Devnum + 1); in ms_usb_choose_address() 559 ms_devmap_set_bit(s32Devnum, pUdev->bus->devmap.usb_devicemap); in ms_usb_choose_address() [all …]
|
| H A D | drvUsbd.c | 786 void ms_usb_bus_init (struct usb_bus *bus) in ms_usb_bus_init() argument 789 memset (&bus->devmap, 0, sizeof(struct ms_usb_devmap)); in ms_usb_bus_init() 791 bus->devnum_next = 1; in ms_usb_bus_init() 792 bus->root_hub = NULL; in ms_usb_bus_init() 793 bus->hcpriv = NULL; in ms_usb_bus_init() 794 bus->busnum = -1; in ms_usb_bus_init() 796 ms_list_init (&bus->bus_list); in ms_usb_bus_init() 853 pUsb_dev->bus->devnum_next = iDevnum + 1; in ms_register_root_hub() 855 ms_devmap_set_bit (iDevnum, pUsb_dev->bus->devmap.usb_devicemap); in ms_register_root_hub() 936 if (!iUdev->bus || !iUdev->bus->hcpriv) in ms_hcd_alloc_dev() [all …]
|
| H A D | drvHub.c | 153 struct usb_hcd *hcd = (struct usb_hcd*) urb->dev->bus->hcpriv; in ms_hub_irq() 741 struct usb_hcd *hcd = (struct usb_hcd*) hub->bus->hcpriv; in ms_hub_port_reset() 900 struct usb_hcd *pHcd = (struct usb_hcd*) pHub->bus->hcpriv; in ms_hub_port_connect_change() 959 pUdev = ms_usb_alloc_dev(pHub, pHub->bus); in ms_hub_port_connect_change() 1026 (int)pUdev->bus->busnum, (int)pUdev->u32DevNum, pUdev->devpath); in ms_hub_port_connect_change() 1205 ms_devmap_clear_bit(ms_dev->u32DevNum, ms_dev->bus->devmap.usb_devicemap); in ms_usb_physical_reset_device() 1216 ms_devmap_clear_bit(ms_dev->u32DevNum, ms_dev->bus->devmap.usb_devicemap); in ms_usb_physical_reset_device() 1470 struct usb_hcd *hcd = (struct usb_hcd*) ms_dev->bus->hcpriv; in ms_usb_hub_tt_clear_buffer() 1476 ms_dev->bus->bus_name, utt->hub->devpath); in ms_usb_hub_tt_clear_buffer()
|
| H A D | drvHcdBuf.c | 168 struct usb_bus *bus, in ms_hcd_buffer_alloc() argument 174 struct usb_hcd *hcd = (struct usb_hcd*) bus->hcpriv; in ms_hcd_buffer_alloc() 196 struct usb_bus *bus, in ms_hcd_buffer_free() argument 202 struct usb_hcd *hcd = (struct usb_hcd*) bus->hcpriv; in ms_hcd_buffer_free()
|
| H A D | drvBus.c | 176 struct ms_bus_type * ms_bus = ms_drv->bus; in ms_driver_attach() 283 struct ms_bus_type * ms_bus = ms_drv->bus; in ms_bus_add_driver() 306 if (ms_drv->bus) in ms_bus_remove_driver()
|
| H A D | drvUsbd.h | 188 extern void ms_usb_bus_init (struct usb_bus *bus); 194 void *ms_hcd_buffer_alloc (struct usb_bus *bus, size_t size, 196 void ms_hcd_buffer_free (struct usb_bus *bus, size_t size,
|
| H A D | drvPipe.c | 167 (!pUdev->bus) || (pUdev->u32DevNum <= 0)) in ms_usb_submit_urb() 192 pUdev->bus->bus_name, pUdev->devpath, in ms_usb_submit_urb()
|
| H A D | drvBulktran.c | 253 … struct usb_hcd *host_controller_device = (struct usb_hcd*) ptr->current_urb->dev->bus->hcpriv; in ms_usb_timeout_handler() 307 struct usb_hcd *hcd = urb->dev->bus->hcpriv; in ms_usb_wait_for_completion_timeout() 390 struct usb_hcd *hcd = ptr->pusb_dev->bus->hcpriv; in ms_usb_msg_common()
|
| /utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/include/ |
| H A D | drvDevice.h | 100 struct bus_type * bus; member 128 struct bus_type * bus; /* type of bus device is on */ member 246 extern int bus_register(struct bus_type * bus); 250 extern void bus_unregister(struct bus_type * bus);
|
| H A D | drvUSB.h | 188 void (*release)(struct usb_bus *bus); 222 struct usb_bus *bus; member 268 extern struct usb_device *usb_alloc_dev(struct usb_device *parent, struct usb_bus *bus); 301 actual = LIB_StringPrintFormatN(buf, size, "usb-%s-%s", dev->bus->bus_name, dev->devpath);
|
| /utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/include/ |
| H A D | drvUSBHost.h | 160 void (*release)(struct usb_bus *bus); 183 struct usb_bus *bus; member 225 extern struct usb_device *ms_usb_alloc_dev(struct usb_device *parent, struct usb_bus *bus);
|