Lines Matching refs:wIndex
327 u16 wIndex, char *buf, u16 wLength) in ohci_at91_hub_control() argument
337 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control()
339 wIndex--; in ohci_at91_hub_control()
346 if (valid_port(wIndex)) { in ohci_at91_hub_control()
347 ohci_at91_usb_set_power(pdata, wIndex, 1); in ohci_at91_hub_control()
355 if (valid_port(wIndex) && ohci_at91->sfr_regmap) { in ohci_at91_hub_control()
370 if (valid_port(wIndex)) { in ohci_at91_hub_control()
371 pdata->overcurrent_changed[wIndex] = 0; in ohci_at91_hub_control()
372 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
381 if (valid_port(wIndex)) in ohci_at91_hub_control()
382 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
390 if (valid_port(wIndex)) { in ohci_at91_hub_control()
391 ohci_at91_usb_set_power(pdata, wIndex, 0); in ohci_at91_hub_control()
398 if (valid_port(wIndex) && ohci_at91->sfr_regmap) { in ohci_at91_hub_control()
408 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength); in ohci_at91_hub_control()
444 dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex); in ohci_at91_hub_control()
446 if (valid_port(wIndex)) { in ohci_at91_hub_control()
447 if (!ohci_at91_usb_get_power(pdata, wIndex)) in ohci_at91_hub_control()
450 if (pdata->overcurrent_changed[wIndex]) in ohci_at91_hub_control()
453 if (pdata->overcurrent_status[wIndex]) in ohci_at91_hub_control()