Home
last modified time | relevance | path

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

/linux/drivers/usb/usbip/
H A 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()
H A Dvhci_hcd.c233 int retval = DIV_ROUND_UP(VHCI_HC_PORTS + 1, 8); in vhci_hub_status()
247 for (rhport = 0; rhport < VHCI_HC_PORTS; rhport++) { in vhci_hub_status()
294 desc->bNbrPorts = VHCI_HC_PORTS; in ss_hub_descriptor()
308 desc->bNbrPorts = VHCI_HC_PORTS; in hub_descriptor()
309 BUILD_BUG_ON(VHCI_HC_PORTS > USB_MAXCHILDREN); in hub_descriptor()
326 u32 prev_port_status[VHCI_HC_PORTS]; in vhci_hub_control()
346 if (wIndex < 1 || wIndex > VHCI_HC_PORTS) { in vhci_hub_control()
348 if (wIndex > VHCI_HC_PORTS) in vhci_hub_control()
707 if (portnum > VHCI_HC_PORTS) { in vhci_urb_enqueue()
1211 for (rhport = 0; rhport < VHCI_HC_PORTS; rhport++) { in vhci_start()
[all …]