| /netbsd-src/sys/dev/usb/ |
| H A D | usb_subr.c | 222 cp += snprintf(cp, ep - cp, ", addr %d", dev->ud_addr); in usbd_devinfo() 821 dev->ud_addr, cdp->bConfigurationValue, cdp->bmAttributes, in usbd_set_config_index() 831 device_xname(dev->ud_bus->bdev), dev->ud_addr, in usbd_set_config_index() 852 device_xname(dev->ud_bus->ub_usbctl), dev->ud_addr, in usbd_set_config_index() 935 (uintptr_t)dev, dev->ud_addr, (uintptr_t)iface, (uintptr_t)ep); in usbd_setup_pipe_flags() 1086 prop_dictionary_set_uint8(dict, "address", dev->ud_addr); in usbd_properties() 1095 prop_dictionary_set_uint8(dict, "hub-address", hdev->ud_addr); in usbd_properties() 1369 return usbd_probe_and_attach(parent, dev, port, dev->ud_addr); in usbd_reattach_device() 1447 dev->ud_addr = USB_START_ADDR; in usbd_new_device() 1568 dev->ud_addr = addr; /* new device address now */ in usbd_new_device() [all …]
|
| H A D | motg.c | 530 pipe->up_dev->ud_addr, ed->bEndpointAddress, rhaddr); in motg_open() 538 if (pipe->up_dev->ud_addr == rhaddr) { in motg_open() 1174 UWRITE1(sc, MUSB2_REG_TXFADDR(epnumber), dev->ud_addr); in motg_setup_endpoint_tx() 1177 dev->ud_myhsport->up_parent->ud_addr); in motg_setup_endpoint_tx() 1223 UWRITE1(sc, MUSB2_REG_RXFADDR(epnumber), dev->ud_addr); in motg_setup_endpoint_rx() 1226 dev->ud_myhsport->up_parent->ud_addr); in motg_setup_endpoint_rx() 1354 xfer->ux_pipe->up_dev->ud_addr, 0); in motg_device_ctrl_start1() 1796 xfer->ux_pipe->up_dev->ud_addr, 0, 0); in motg_device_data_start1()
|
| H A D | ukyopon.c | 207 arg_id->ui_address = sc->sc_umodem.sc_udev->ud_addr; in ukyopon_ioctl()
|
| H A D | ehci.c | 1311 xfer->ux_pipe->up_dev->ud_addr, in ehci_idone() 1964 uint8_t addr = dev->ud_addr; in ehci_open() 1984 || (dev->ud_myhsport->up_parent->ud_addr != rhaddr)) { in ehci_open() 1985 hshubaddr = dev->ud_myhsport->up_parent->ud_addr; in ehci_open() 3731 len, epipe->pipe.up_dev->ud_addr, in ehci_device_ctrl_start() 3736 KASSERTMSG(EHCI_QH_GET_ADDR(le32toh(sqh->qh->qh_endp)) == epipe->pipe.up_dev->ud_addr, in ehci_device_ctrl_start() 3739 epipe->pipe.up_dev->ud_addr); in ehci_device_ctrl_start() 4342 huba = dev->ud_myhsport->up_parent->ud_addr; in ehci_device_fs_isoc_init() 4356 EHCI_SITD_SET_DADDR(dev->ud_addr) | in ehci_device_fs_isoc_fini() 4469 u_int huba __diagused = dev->ud_myhsport->up_parent->ud_addr; in ehci_device_fs_isoc_transfer() [all...] |
| H A D | usbdivar.h | 201 uint8_t ud_addr; /* device address */ member
|
| H A D | xhci.c | 2035 XHCIHIST_CALLARGS("addr %jd depth %jd port %jd speed %jd", dev->ud_addr, in xhci_open() 2826 dev->ud_addr = 0; in xhci_new_device() 2945 dev->ud_addr = addr; in xhci_new_device() 2947 KASSERTMSG(bus->ub_devices[usb_addr2dindex(dev->ud_addr)] == NULL, in xhci_new_device() 2948 "addr %d already allocated", dev->ud_addr); in xhci_new_device() 2952 bus->ub_devices[usb_addr2dindex(dev->ud_addr)] = dev; in xhci_new_device() 2990 dev->ud_addr, UGETW(dd->bcdUSB), 0, 0); in xhci_new_device() 3008 err = usbd_probe_and_attach(parent, dev, port, dev->ud_addr); in xhci_new_device() 3746 myhsport->up_parent->ud_addr != rhaddr && in xhci_setup_tthub() 3749 tthubslot = myhsport->up_parent->ud_addr; in xhci_setup_tthub() [all...] |
| H A D | uhci.c | 971 dev->ud_addr, pipe, in uhci_dump_ii() 1720 xfer->ux_pipe->up_dev->ud_addr, in uhci_idone() 2091 int addr = xfer->ux_pipe->up_dev->ud_addr; in uhci_reset_std_chain() 2427 (uintptr_t)xfer, xfer->ux_bufsize, dev->ud_addr, in uhci_device_ctrl_init() 2478 int addr = dev->ud_addr; in uhci_device_ctrl_start() 2499 UGETW(req->wLength), dev->ud_addr, endpt, 0); in uhci_device_ctrl_start() 3062 int addr = upipe->pipe.up_dev->ud_addr; in uhci_setup_isoc() 3392 (uintptr_t)pipe, pipe->up_dev->ud_addr, ed->bEndpointAddress, in uhci_open() 3402 if (pipe->up_dev->ud_addr == bus->ub_rhaddr) { in uhci_open()
|
| H A D | uhub.c | 543 device_unit(sc->sc_dev), (uintptr_t)dev, dev->ud_addr, in uhub_explore() 709 device_unit(sc->sc_dev), up->up_dev->ud_addr, port, in uhub_explore()
|
| H A D | usbdi.c | 172 dev->ud_addr, dev->ud_config, dev->ud_depth, 0); in usbd_dump_device() 349 pipe->up_dev->ud_addr); in usbd_close_pipe() 1318 dev->ud_addr, xfer->ux_request.bmRequestType, 0, 0); in usbd_do_request_len()
|
| H A D | ohci.c | 547 xfer->ux_pipe->up_dev->ud_addr, in ohci_alloc_std_chain() 616 xfer->ux_pipe->up_dev->ud_addr, in ohci_reset_std_chain() 2084 uint8_t addr = dev->ud_addr; in ohci_open() 2813 dev->ud_addr, opipe->pipe.up_endpoint->ue_edesc->bEndpointAddress); in ohci_device_ctrl_start() 2840 KASSERTMSG(OHCI_ED_GET_FA(O32TOH(sed->ed->ed_flags)) == dev->ud_addr, in ohci_device_ctrl_start() 2842 OHCI_ED_GET_FA(O32TOH(sed->ed->ed_flags)), dev->ud_addr); in ohci_device_ctrl_start()
|
| H A D | vhci.c | 392 uint8_t addr = dev->ud_addr; in vhci_open()
|
| /netbsd-src/sys/compat/common/ |
| H A D | usb_subr_30.c | 138 di->udi_addr = dev->ud_addr; in usbd_fill_deviceinfo30() 180 err = p->up_dev->ud_addr; in usbd_fill_deviceinfo30()
|
| /netbsd-src/sys/arch/mips/adm5120/dev/ |
| H A D | ahci.c | 363 dev->ud_addr, ed->bEndpointAddress, rhaddr)); in ahci_open() 367 if (dev->ud_addr == rhaddr) { in ahci_open() 869 ep->control = pipe->up_dev->ud_addr | \ in ahci_device_ctrl_start() 1188 ep->control = pipe->up_dev->ud_addr | ((endpt & 0xf) << ADMHCD_ED_EPSHIFT)|\ in ahci_device_bulk_start() 1343 uint8_t devaddr = pipe->up_dev->ud_addr; in ahci_transaction()
|
| /netbsd-src/sys/external/bsd/dwc2/ |
| H A D | dwc2.c | 376 uint8_t addr = dev->ud_addr; in dwc2_open() 899 uint8_t addr = dev->ud_addr; in dwc2_device_start() 934 UGETW(req->wIndex), UGETW(req->wLength), dev->ud_addr, in dwc2_device_start() 1369 *hub_addr = dev->ud_myhsport->up_parent->ud_addr; in dwc2_host_hub_info()
|
| /netbsd-src/sys/rump/dev/lib/libugenhc/ |
| H A D | ugenhc.c | 772 uint8_t addr = dev->ud_addr; in ugenhc_open()
|
| /netbsd-src/sys/dev/ic/ |
| H A D | sl811hs.c | 885 spipe->tregs[DEV] = pipe->up_dev->ud_addr; in slhci_start() 1038 dev->ud_addr, ed->bEndpointAddress, rhaddr, 0); in slhci_open() 1060 if (dev->ud_myhub->ud_addr != rhaddr) { in slhci_open() 1076 if (dev->ud_addr == rhaddr) { in slhci_open()
|