Lines Matching refs:wIndex
291 u16 wIndex, char *buf, u16 wLength) in ohci_at91_hub_control() argument
300 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control()
302 wIndex--; in ohci_at91_hub_control()
308 if (valid_port(wIndex)) { in ohci_at91_hub_control()
309 ohci_at91_usb_set_power(pdata, wIndex, 1); in ohci_at91_hub_control()
323 if (valid_port(wIndex)) { in ohci_at91_hub_control()
324 pdata->overcurrent_changed[wIndex] = 0; in ohci_at91_hub_control()
325 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
334 if (valid_port(wIndex)) in ohci_at91_hub_control()
335 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
343 if (valid_port(wIndex)) { in ohci_at91_hub_control()
344 ohci_at91_usb_set_power(pdata, wIndex, 0); in ohci_at91_hub_control()
351 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength); in ohci_at91_hub_control()
387 dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex); in ohci_at91_hub_control()
389 if (valid_port(wIndex)) { in ohci_at91_hub_control()
390 if (!ohci_at91_usb_get_power(pdata, wIndex)) in ohci_at91_hub_control()
393 if (pdata->overcurrent_changed[wIndex]) in ohci_at91_hub_control()
396 if (pdata->overcurrent_status[wIndex]) in ohci_at91_hub_control()