VHCI_HC_PORTS
u32 port_status[VHCI_HC_PORTS];
struct vhci_device vdev[VHCI_HC_PORTS];
return port % VHCI_HC_PORTS;
#define VHCI_PORTS (VHCI_HC_PORTS*2)
for (rhport = 0; rhport < VHCI_HC_PORTS; rhport++) {
for (rhport = 0; rhport < VHCI_HC_PORTS; rhport++) {
for (rhport = 0; rhport < VHCI_HC_PORTS; rhport++) {
int retval = DIV_ROUND_UP(VHCI_HC_PORTS + 1, 8);
for (rhport = 0; rhport < VHCI_HC_PORTS; rhport++) {
desc->bNbrPorts = VHCI_HC_PORTS;
desc->bNbrPorts = VHCI_HC_PORTS;
BUILD_BUG_ON(VHCI_HC_PORTS > USB_MAXCHILDREN);
u32 prev_port_status[VHCI_HC_PORTS];
if (wIndex < 1 || wIndex > VHCI_HC_PORTS) {
if (wIndex > VHCI_HC_PORTS)
if (portnum > VHCI_HC_PORTS) {
for (i = 0; i < VHCI_HC_PORTS; i++) {
for (i = 0; i < VHCI_HC_PORTS; i++) {
(pdev_nr * VHCI_PORTS) + VHCI_HC_PORTS + i,
if (*rhport >= VHCI_HC_PORTS) {
*rhport = array_index_nospec(*rhport, VHCI_HC_PORTS);
if ((port / VHCI_HC_PORTS) % 2)
for (i = 0; i < VHCI_HC_PORTS; i++) {
for (i = 0; i < VHCI_HC_PORTS; i++) {
pdev_nr * VHCI_PORTS + VHCI_HC_PORTS + i, vdev);