Lines Matching refs:wIndex
336 u16 wIndex, char *buf, u16 wLength) in ohci_at91_hub_control() argument
346 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control()
348 wIndex--; in ohci_at91_hub_control()
355 if (valid_port(wIndex)) { in ohci_at91_hub_control()
356 ohci_at91_usb_set_power(pdata, wIndex, 1); in ohci_at91_hub_control()
364 if (valid_port(wIndex) && ohci_at91->sfr_regmap) { in ohci_at91_hub_control()
379 if (valid_port(wIndex)) { in ohci_at91_hub_control()
380 pdata->overcurrent_changed[wIndex] = 0; in ohci_at91_hub_control()
381 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
390 if (valid_port(wIndex)) in ohci_at91_hub_control()
391 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
399 if (valid_port(wIndex)) { in ohci_at91_hub_control()
400 ohci_at91_usb_set_power(pdata, wIndex, 0); in ohci_at91_hub_control()
407 if (valid_port(wIndex) && ohci_at91->sfr_regmap) { in ohci_at91_hub_control()
417 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength); in ohci_at91_hub_control()
453 dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex); in ohci_at91_hub_control()
455 if (valid_port(wIndex)) { in ohci_at91_hub_control()
456 if (!ohci_at91_usb_get_power(pdata, wIndex)) in ohci_at91_hub_control()
459 if (pdata->overcurrent_changed[wIndex]) in ohci_at91_hub_control()
462 if (pdata->overcurrent_status[wIndex]) in ohci_at91_hub_control()