Lines Matching refs:wIndex

1535 	u16		wIndex,  in fotg210_hub_control()  argument
1567 if (!wIndex || wIndex > ports) in fotg210_hub_control()
1569 wIndex--; in fotg210_hub_control()
1597 fotg210->reset_done[wIndex] = jiffies in fotg210_hub_control()
1601 clear_bit(wIndex, &fotg210->port_c_suspend); in fotg210_hub_control()
1628 if (!wIndex || wIndex > ports) in fotg210_hub_control()
1630 wIndex--; in fotg210_hub_control()
1648 if (!fotg210->reset_done[wIndex]) { in fotg210_hub_control()
1650 fotg210->reset_done[wIndex] = jiffies in fotg210_hub_control()
1654 fotg210->reset_done[wIndex]); in fotg210_hub_control()
1659 fotg210->reset_done[wIndex])) { in fotg210_hub_control()
1660 clear_bit(wIndex, &fotg210->suspended_ports); in fotg210_hub_control()
1661 set_bit(wIndex, &fotg210->port_c_suspend); in fotg210_hub_control()
1662 fotg210->reset_done[wIndex] = 0; in fotg210_hub_control()
1669 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1675 wIndex + 1, retval); in fotg210_hub_control()
1685 fotg210->reset_done[wIndex])) { in fotg210_hub_control()
1687 fotg210->reset_done[wIndex] = 0; in fotg210_hub_control()
1688 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1701 wIndex + 1, retval); in fotg210_hub_control()
1706 temp = check_reset_complete(fotg210, wIndex, status_reg, in fotg210_hub_control()
1711 fotg210->reset_done[wIndex] = 0; in fotg210_hub_control()
1712 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1717 test_bit(wIndex, &fotg210->companion_ports)) { in fotg210_hub_control()
1721 wIndex + 1); in fotg210_hub_control()
1741 } else if (test_bit(wIndex, &fotg210->suspended_ports)) { in fotg210_hub_control()
1742 clear_bit(wIndex, &fotg210->suspended_ports); in fotg210_hub_control()
1743 clear_bit(wIndex, &fotg210->resuming_ports); in fotg210_hub_control()
1744 fotg210->reset_done[wIndex] = 0; in fotg210_hub_control()
1746 set_bit(wIndex, &fotg210->port_c_suspend); in fotg210_hub_control()
1754 if (test_bit(wIndex, &fotg210->port_c_suspend)) in fotg210_hub_control()
1758 dbg_port(fotg210, "GetStatus", wIndex + 1, temp); in fotg210_hub_control()
1772 selector = wIndex >> 8; in fotg210_hub_control()
1773 wIndex &= 0xff; in fotg210_hub_control()
1775 if (!wIndex || wIndex > ports) in fotg210_hub_control()
1777 wIndex--; in fotg210_hub_control()
1792 set_bit(wIndex, &fotg210->suspended_ports); in fotg210_hub_control()
1801 fotg210_dbg(fotg210, "port %d reset\n", wIndex + 1); in fotg210_hub_control()
1809 fotg210->reset_done[wIndex] = jiffies in fotg210_hub_control()