Lines Matching defs:wIndex
135 static int cdnsp_w_index_to_ep_index(u16 wIndex)
137 if (!(wIndex & USB_ENDPOINT_NUMBER_MASK))
140 return ((wIndex & USB_ENDPOINT_NUMBER_MASK) * 2) +
141 (wIndex & USB_ENDPOINT_DIR_MASK ? 1 : 0) - 1;
172 ep_sts = cdnsp_w_index_to_ep_index(le16_to_cpu(ctrl->wIndex));
238 tmode = le16_to_cpu(ctrl->wIndex);
267 u16 wValue, wIndex;
271 wIndex = le16_to_cpu(ctrl->wIndex);
283 if (wIndex & USB_INTRF_FUNC_SUSPEND_RW)
305 pep = &pdev->eps[cdnsp_w_index_to_ep_index(le16_to_cpu(ctrl->wIndex))];
371 if (le16_to_cpu(ctrl->wIndex) || le16_to_cpu(ctrl->wLength))