Lines Matching refs:wIndex

1460 		u16 wIndex, char *buf, u16 wLength)  in fotg210_hub_control()  argument
1490 if (!wIndex || wIndex > ports) in fotg210_hub_control()
1492 wIndex--; in fotg210_hub_control()
1520 fotg210->reset_done[wIndex] = jiffies in fotg210_hub_control()
1524 clear_bit(wIndex, &fotg210->port_c_suspend); in fotg210_hub_control()
1551 if (!wIndex || wIndex > ports) in fotg210_hub_control()
1553 wIndex--; in fotg210_hub_control()
1571 if (!fotg210->reset_done[wIndex]) { in fotg210_hub_control()
1573 fotg210->reset_done[wIndex] = jiffies in fotg210_hub_control()
1577 fotg210->reset_done[wIndex]); in fotg210_hub_control()
1582 fotg210->reset_done[wIndex])) { in fotg210_hub_control()
1583 clear_bit(wIndex, &fotg210->suspended_ports); in fotg210_hub_control()
1584 set_bit(wIndex, &fotg210->port_c_suspend); in fotg210_hub_control()
1585 fotg210->reset_done[wIndex] = 0; in fotg210_hub_control()
1592 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1598 wIndex + 1, retval); in fotg210_hub_control()
1607 fotg210->reset_done[wIndex])) { in fotg210_hub_control()
1609 fotg210->reset_done[wIndex] = 0; in fotg210_hub_control()
1610 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1623 wIndex + 1, retval); in fotg210_hub_control()
1628 temp = check_reset_complete(fotg210, wIndex, status_reg, in fotg210_hub_control()
1637 fotg210->reset_done[wIndex] = 0; in fotg210_hub_control()
1638 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1643 test_bit(wIndex, &fotg210->companion_ports)) { in fotg210_hub_control()
1647 wIndex + 1); in fotg210_hub_control()
1667 } else if (test_bit(wIndex, &fotg210->suspended_ports)) { in fotg210_hub_control()
1668 clear_bit(wIndex, &fotg210->suspended_ports); in fotg210_hub_control()
1669 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1670 fotg210->reset_done[wIndex] = 0; in fotg210_hub_control()
1672 set_bit(wIndex, &fotg210->port_c_suspend); in fotg210_hub_control()
1680 if (test_bit(wIndex, &fotg210->port_c_suspend)) in fotg210_hub_control()
1684 dbg_port(fotg210, "GetStatus", wIndex + 1, temp); in fotg210_hub_control()
1698 selector = wIndex >> 8; in fotg210_hub_control()
1699 wIndex &= 0xff; in fotg210_hub_control()
1701 if (!wIndex || wIndex > ports) in fotg210_hub_control()
1703 wIndex--; in fotg210_hub_control()
1718 set_bit(wIndex, &fotg210->suspended_ports); in fotg210_hub_control()
1727 fotg210_dbg(fotg210, "port %d reset\n", wIndex + 1); in fotg210_hub_control()
1735 fotg210->reset_done[wIndex] = jiffies in fotg210_hub_control()