Lines Matching refs:wIndex
171 u16 wIndex, char *buf, u16 wLength) in ohci_da8xx_hub_control() argument
180 if (wIndex != 1) in ohci_da8xx_hub_control()
183 dev_dbg(dev, "GetPortStatus(%u)\n", wIndex); in ohci_da8xx_hub_control()
185 temp = roothub_portstatus(hcd_to_ohci(hcd), wIndex - 1); in ohci_da8xx_hub_control()
188 if (hub->get_power && hub->get_power(wIndex) == 0) in ohci_da8xx_hub_control()
192 if (hub->get_oci && hub->get_oci(wIndex) > 0) in ohci_da8xx_hub_control()
196 if (ocic_mask & (1 << wIndex)) in ohci_da8xx_hub_control()
209 if (wIndex != 1) in ohci_da8xx_hub_control()
215 temp ? "Set" : "Clear", wIndex, "POWER"); in ohci_da8xx_hub_control()
220 return hub->set_power(wIndex, temp) ? -EPIPE : 0; in ohci_da8xx_hub_control()
223 temp ? "Set" : "Clear", wIndex, in ohci_da8xx_hub_control()
227 ocic_mask |= 1 << wIndex; in ohci_da8xx_hub_control()
229 ocic_mask &= ~(1 << wIndex); in ohci_da8xx_hub_control()
234 return ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_da8xx_hub_control()