Searched refs:device_index (Results 1 – 16 of 16) sorted by relevance
/freebsd/sys/dev/usb/ |
H A D | usb_hub.h | 37 uint8_t device_index; /* zero means not valid */ member 70 struct usb_device *udev, uint8_t device_index);
|
H A D | usb_hub.c | 1463 up->device_index = 0; in uhub_attach() 1675 res.udev->parent_hub->device_index : 0 in uhub_child_location() 1676 , res.portno, res.udev->device_index, res.iface_index in uhub_child_location() 2211 if (up->device_index == 0) { in usb_bus_port_get_device() 2215 return (bus->devices[up->device_index]); in usb_bus_port_get_device() 2225 struct usb_device *udev, uint8_t device_index) in usb_bus_port_set_device() argument 2237 up->device_index = device_index; in usb_bus_port_set_device() 2239 device_index = up->device_index; in usb_bus_port_set_device() 2240 up->device_index = 0; in usb_bus_port_set_device() 2246 if (device_index != 0) { in usb_bus_port_set_device() [all …]
|
H A D | usb_device.c | 1761 uint8_t device_index; in usb_alloc_device() local 1778 for (device_index = USB_ROOT_HUB_ADDR; in usb_alloc_device() 1779 (device_index != bus->devices_max) && in usb_alloc_device() 1780 (bus->devices[device_index] != NULL); in usb_alloc_device() 1781 device_index++) /* nop */; in usb_alloc_device() 1783 if (device_index == bus->devices_max) { in usb_alloc_device() 1877 udev->device_index = device_index; in usb_alloc_device() 1883 device_index); in usb_alloc_device() 1899 "(%s, ignored)\n", device_index, in usb_alloc_device() 1908 err = usbd_req_set_address(udev, NULL, device_index); in usb_alloc_device() [all …]
|
H A D | usb_device.h | 243 uint8_t device_index; /* device index in "bus->devices" */ member
|
H A D | usb_pf.c | 434 up->up_address = xfer->xroot->udev->device_index; in usbpf_xfertap()
|
H A D | usb_generic.c | 843 di->udi_index = udev->device_index; in ugen_fill_deviceinfo() 866 di->udi_hubindex = hub->device_index; in ugen_fill_deviceinfo() 1999 dpp->udp_index = udev->device_index; in ugen_get_port_path()
|
/freebsd/stand/i386/libi386/ |
H A D | biospci.c | 260 int device_index, err; in biospci_enumerate() local 274 for (device_index = 0; ; device_index++) { in biospci_enumerate() 278 device_index, &locator); in biospci_enumerate()
|
/freebsd/sys/dev/isci/ |
H A D | isci_remote_device.c | 68 uint32_t device_index = isci_remote_device->index; in scif_cb_remote_device_ready() local 70 if (isci_controller->remote_device[device_index] == NULL) { in scif_cb_remote_device_ready() 74 isci_controller->remote_device[device_index] = in scif_cb_remote_device_ready()
|
/freebsd/sys/dev/usb/controller/ |
H A D | dwc_otg.c | 4846 td->tt_index = parm->udev->device_index; in dwc_otg_xfer_setup() 4848 td->tt_index = parm->udev->parent_hs_hub->device_index; in dwc_otg_xfer_setup() 4850 td->tt_index = parm->udev->device_index; in dwc_otg_xfer_setup() 4886 sc->sc_rt_addr, udev->device_index); in dwc_otg_ep_init() 4888 if (udev->device_index != sc->sc_rt_addr) { in dwc_otg_ep_init()
|
H A D | atmegadci.c | 2045 sc->sc_rt_addr, udev->device_index); in atmegadci_ep_init() 2047 if (udev->device_index != sc->sc_rt_addr) { in atmegadci_ep_init()
|
H A D | avr32dci.c | 2006 sc->sc_rt_addr, udev->device_index); in avr32dci_ep_init() 2008 if (udev->device_index != sc->sc_rt_addr) { in avr32dci_ep_init()
|
H A D | uss820dci.c | 2323 if (udev->device_index != sc->sc_rt_addr) { in uss820dci_ep_init()
|
H A D | ohci.c | 2512 if (udev->device_index != sc->sc_addr) { in ohci_ep_init()
|
H A D | uhci.c | 2971 if (udev->device_index != sc->sc_addr) { in uhci_ep_init()
|
H A D | musb_otg.c | 4134 if (udev->device_index != sc->sc_rt_addr) { in musbotg_ep_init()
|
H A D | ehci.c | 3655 if (udev->device_index != sc->sc_addr) { in ehci_ep_init()
|