Lines Matching refs:wIndex
355 u16 wIndex, char *buf, u16 wLength) in ohci_at91_hub_control() argument
365 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control()
367 wIndex--; in ohci_at91_hub_control()
374 if (valid_port(wIndex)) { in ohci_at91_hub_control()
375 ohci_at91_usb_set_power(pdata, wIndex, 1); in ohci_at91_hub_control()
383 if (valid_port(wIndex)) { in ohci_at91_hub_control()
397 if (valid_port(wIndex)) { in ohci_at91_hub_control()
398 pdata->overcurrent_changed[wIndex] = 0; in ohci_at91_hub_control()
399 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
408 if (valid_port(wIndex)) in ohci_at91_hub_control()
409 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
417 if (valid_port(wIndex)) { in ohci_at91_hub_control()
418 ohci_at91_usb_set_power(pdata, wIndex, 0); in ohci_at91_hub_control()
425 if (valid_port(wIndex)) { in ohci_at91_hub_control()
434 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength); in ohci_at91_hub_control()
470 dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex); in ohci_at91_hub_control()
472 if (valid_port(wIndex)) { in ohci_at91_hub_control()
473 if (!ohci_at91_usb_get_power(pdata, wIndex)) in ohci_at91_hub_control()
476 if (pdata->overcurrent_changed[wIndex]) in ohci_at91_hub_control()
479 if (pdata->overcurrent_status[wIndex]) in ohci_at91_hub_control()