Lines Matching refs:wIndex
332 u16 wIndex, char *buf, u16 wLength) in ohci_at91_hub_control() argument
342 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control()
344 wIndex--; in ohci_at91_hub_control()
351 if (valid_port(wIndex)) { in ohci_at91_hub_control()
352 ohci_at91_usb_set_power(pdata, wIndex, 1); in ohci_at91_hub_control()
360 if (valid_port(wIndex) && ohci_at91->sfr_regmap) { in ohci_at91_hub_control()
375 if (valid_port(wIndex)) { in ohci_at91_hub_control()
376 pdata->overcurrent_changed[wIndex] = 0; in ohci_at91_hub_control()
377 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
386 if (valid_port(wIndex)) in ohci_at91_hub_control()
387 pdata->overcurrent_status[wIndex] = 0; in ohci_at91_hub_control()
395 if (valid_port(wIndex)) { in ohci_at91_hub_control()
396 ohci_at91_usb_set_power(pdata, wIndex, 0); in ohci_at91_hub_control()
403 if (valid_port(wIndex) && ohci_at91->sfr_regmap) { in ohci_at91_hub_control()
413 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength); in ohci_at91_hub_control()
449 dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex); in ohci_at91_hub_control()
451 if (valid_port(wIndex)) { in ohci_at91_hub_control()
452 if (!ohci_at91_usb_get_power(pdata, wIndex)) in ohci_at91_hub_control()
455 if (pdata->overcurrent_changed[wIndex]) in ohci_at91_hub_control()
458 if (pdata->overcurrent_status[wIndex]) in ohci_at91_hub_control()