Searched refs:windex (Results 1 – 2 of 2) sorted by relevance
562 #define get_pipe_by_windex(windex) ((windex & USB_ENDPOINT_NUMBER_MASK) \ argument563 * 2 + ((windex & USB_DIR_IN) ? 1 : 0))
929 u32 windex) in ep_from_windex() argument931 struct s3c_hsotg_ep *ep = &hsotg->eps[windex & 0x7F]; in ep_from_windex()932 int dir = (windex & USB_DIR_IN) ? 1 : 0; in ep_from_windex()933 int idx = windex & 0x7F; in ep_from_windex()935 if (windex >= 0x100) in ep_from_windex()