Lines Matching refs:_ep
153 struct usb_ep *_ep, in config_ep_by_speed_and_alt() argument
167 if (!g || !f || !_ep) in config_ep_by_speed_and_alt()
220 if (chosen_desc->bEndpointAddress == _ep->address) in config_ep_by_speed_and_alt()
227 _ep->maxpacket = usb_endpoint_maxp(chosen_desc); in config_ep_by_speed_and_alt()
228 _ep->desc = chosen_desc; in config_ep_by_speed_and_alt()
229 _ep->comp_desc = NULL; in config_ep_by_speed_and_alt()
230 _ep->maxburst = 0; in config_ep_by_speed_and_alt()
231 _ep->mult = 1; in config_ep_by_speed_and_alt()
233 if (g->speed == USB_SPEED_HIGH && (usb_endpoint_xfer_isoc(_ep->desc) || in config_ep_by_speed_and_alt()
234 usb_endpoint_xfer_int(_ep->desc))) in config_ep_by_speed_and_alt()
235 _ep->mult = usb_endpoint_maxp_mult(_ep->desc); in config_ep_by_speed_and_alt()
248 _ep->comp_desc = comp_desc; in config_ep_by_speed_and_alt()
250 switch (usb_endpoint_type(_ep->desc)) { in config_ep_by_speed_and_alt()
253 _ep->mult = (comp_desc->bmAttributes & 0x3) + 1; in config_ep_by_speed_and_alt()
257 _ep->maxburst = comp_desc->bMaxBurst + 1; in config_ep_by_speed_and_alt()
262 _ep->maxburst = 1; in config_ep_by_speed_and_alt()
290 struct usb_ep *_ep) in config_ep_by_speed() argument
292 return config_ep_by_speed_and_alt(g, f, _ep, 0); in config_ep_by_speed()