Home
last modified time | relevance | path

Searched refs:VHCI_HC_PORTS (Results 1 – 3 of 3) sorted by relevance

/drivers/usb/usbip/
Dvhci.h77 #define VHCI_HC_PORTS CONFIG_USBIP_VHCI_HC_PORTS macro
79 #define VHCI_HC_PORTS 8 macro
83 #define VHCI_PORTS (VHCI_HC_PORTS*2)
106 u32 port_status[VHCI_HC_PORTS];
118 struct vhci_device vdev[VHCI_HC_PORTS];
141 return port % VHCI_HC_PORTS; in port_to_rhport()
Dvhci_sysfs.c84 for (i = 0; i < VHCI_HC_PORTS; i++) { in status_show_vhci()
93 for (i = 0; i < VHCI_HC_PORTS; i++) { in status_show_vhci()
98 pdev_nr * VHCI_PORTS + VHCI_HC_PORTS + i, vdev); in status_show_vhci()
112 for (i = 0; i < VHCI_HC_PORTS; i++) { in status_show_not_ready()
120 for (i = 0; i < VHCI_HC_PORTS; i++) { in status_show_not_ready()
122 (pdev_nr * VHCI_PORTS) + VHCI_HC_PORTS + i, in status_show_not_ready()
224 if (*rhport >= VHCI_HC_PORTS) { in valid_port()
228 *rhport = array_index_nospec(*rhport, VHCI_HC_PORTS); in valid_port()
258 if ((port / VHCI_HC_PORTS) % 2) in detach_store()
Dvhci_hcd.c232 int retval = DIV_ROUND_UP(VHCI_HC_PORTS + 1, 8); in vhci_hub_status()
246 for (rhport = 0; rhport < VHCI_HC_PORTS; rhport++) { in vhci_hub_status()
293 desc->bNbrPorts = VHCI_HC_PORTS; in ss_hub_descriptor()
307 desc->bNbrPorts = VHCI_HC_PORTS; in hub_descriptor()
308 BUILD_BUG_ON(VHCI_HC_PORTS > USB_MAXCHILDREN); in hub_descriptor()
325 u32 prev_port_status[VHCI_HC_PORTS]; in vhci_hub_control()
345 if (wIndex < 1 || wIndex > VHCI_HC_PORTS) { in vhci_hub_control()
347 if (wIndex > VHCI_HC_PORTS) in vhci_hub_control()
703 if (portnum > VHCI_HC_PORTS) { in vhci_urb_enqueue()
1187 for (rhport = 0; rhport < VHCI_HC_PORTS; rhport++) { in vhci_start()
[all …]