Lines Matching refs:wIndex
280 u16 wIndex, char *buf, u16 wLength) in ohci_at91_hub_control() argument
289 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control()
291 wIndex--; in ohci_at91_hub_control()
297 if (valid_port(wIndex)) { in ohci_at91_hub_control()
298 ohci_at91_usb_set_power(pdata, wIndex, 1); in ohci_at91_hub_control()
312 if (valid_port(wIndex)) { in ohci_at91_hub_control()
313 pdata->overcurrent_changed[wIndex] = 0; in ohci_at91_hub_control()
314 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
323 if (valid_port(wIndex)) in ohci_at91_hub_control()
324 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
332 if (valid_port(wIndex)) { in ohci_at91_hub_control()
333 ohci_at91_usb_set_power(pdata, wIndex, 0); in ohci_at91_hub_control()
340 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength); in ohci_at91_hub_control()
376 dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex); in ohci_at91_hub_control()
378 if (valid_port(wIndex)) { in ohci_at91_hub_control()
379 if (!ohci_at91_usb_get_power(pdata, wIndex)) in ohci_at91_hub_control()
382 if (pdata->overcurrent_changed[wIndex]) in ohci_at91_hub_control()
385 if (pdata->overcurrent_status[wIndex]) in ohci_at91_hub_control()