Searched refs:VHCI_HC_PORTS (Results 1 – 3 of 3) sorted by relevance
77 #define VHCI_HC_PORTS CONFIG_USBIP_VHCI_HC_PORTS macro79 #define VHCI_HC_PORTS 8 macro83 #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()
84 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()
232 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 …]