Home
last modified time | relevance | path

Searched refs:device_index (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/dev/usb/
H A Dusb_hub.h37 uint8_t device_index; /* zero means not valid */ member
70 struct usb_device *udev, uint8_t device_index);
H A Dusb_hub.c1463 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 Dusb_device.c1761 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 Dusb_device.h243 uint8_t device_index; /* device index in "bus->devices" */ member
H A Dusb_pf.c434 up->up_address = xfer->xroot->udev->device_index; in usbpf_xfertap()
H A Dusb_generic.c843 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 Dbiospci.c260 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 Disci_remote_device.c68 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 Ddwc_otg.c4846 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 Datmegadci.c2045 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 Davr32dci.c2006 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 Duss820dci.c2323 if (udev->device_index != sc->sc_rt_addr) { in uss820dci_ep_init()
H A Dohci.c2512 if (udev->device_index != sc->sc_addr) { in ohci_ep_init()
H A Duhci.c2971 if (udev->device_index != sc->sc_addr) { in uhci_ep_init()
H A Dmusb_otg.c4134 if (udev->device_index != sc->sc_rt_addr) { in musbotg_ep_init()
H A Dehci.c3655 if (udev->device_index != sc->sc_addr) { in ehci_ep_init()