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