Lines Matching refs:wIndex

1486 		u16 wIndex, char *buf, u16 wLength)  in fotg210_hub_control()  argument
1516 if (!wIndex || wIndex > ports) in fotg210_hub_control()
1518 wIndex--; in fotg210_hub_control()
1546 fotg210->reset_done[wIndex] = jiffies in fotg210_hub_control()
1550 clear_bit(wIndex, &fotg210->port_c_suspend); in fotg210_hub_control()
1577 if (!wIndex || wIndex > ports) in fotg210_hub_control()
1579 wIndex--; in fotg210_hub_control()
1597 if (!fotg210->reset_done[wIndex]) { in fotg210_hub_control()
1599 fotg210->reset_done[wIndex] = jiffies in fotg210_hub_control()
1603 fotg210->reset_done[wIndex]); in fotg210_hub_control()
1608 fotg210->reset_done[wIndex])) { in fotg210_hub_control()
1609 clear_bit(wIndex, &fotg210->suspended_ports); in fotg210_hub_control()
1610 set_bit(wIndex, &fotg210->port_c_suspend); in fotg210_hub_control()
1611 fotg210->reset_done[wIndex] = 0; in fotg210_hub_control()
1618 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1624 wIndex + 1, retval); in fotg210_hub_control()
1633 fotg210->reset_done[wIndex])) { in fotg210_hub_control()
1635 fotg210->reset_done[wIndex] = 0; in fotg210_hub_control()
1636 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1649 wIndex + 1, retval); in fotg210_hub_control()
1654 temp = check_reset_complete(fotg210, wIndex, status_reg, in fotg210_hub_control()
1659 fotg210->reset_done[wIndex] = 0; in fotg210_hub_control()
1660 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1665 test_bit(wIndex, &fotg210->companion_ports)) { in fotg210_hub_control()
1669 wIndex + 1); in fotg210_hub_control()
1689 } else if (test_bit(wIndex, &fotg210->suspended_ports)) { in fotg210_hub_control()
1690 clear_bit(wIndex, &fotg210->suspended_ports); in fotg210_hub_control()
1691 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1692 fotg210->reset_done[wIndex] = 0; in fotg210_hub_control()
1694 set_bit(wIndex, &fotg210->port_c_suspend); in fotg210_hub_control()
1702 if (test_bit(wIndex, &fotg210->port_c_suspend)) in fotg210_hub_control()
1706 dbg_port(fotg210, "GetStatus", wIndex + 1, temp); in fotg210_hub_control()
1720 selector = wIndex >> 8; in fotg210_hub_control()
1721 wIndex &= 0xff; in fotg210_hub_control()
1723 if (!wIndex || wIndex > ports) in fotg210_hub_control()
1725 wIndex--; in fotg210_hub_control()
1740 set_bit(wIndex, &fotg210->suspended_ports); in fotg210_hub_control()
1749 fotg210_dbg(fotg210, "port %d reset\n", wIndex + 1); in fotg210_hub_control()
1757 fotg210->reset_done[wIndex] = jiffies in fotg210_hub_control()