Lines Matching refs:_ep
150 struct usb_ep *_ep, in config_ep_by_speed_and_alt() argument
162 if (!g || !f || !_ep) in config_ep_by_speed_and_alt()
206 if (chosen_desc->bEndpointAddress == _ep->address) in config_ep_by_speed_and_alt()
213 _ep->maxpacket = usb_endpoint_maxp(chosen_desc); in config_ep_by_speed_and_alt()
214 _ep->desc = chosen_desc; in config_ep_by_speed_and_alt()
215 _ep->comp_desc = NULL; in config_ep_by_speed_and_alt()
216 _ep->maxburst = 0; in config_ep_by_speed_and_alt()
217 _ep->mult = 1; in config_ep_by_speed_and_alt()
219 if (g->speed == USB_SPEED_HIGH && (usb_endpoint_xfer_isoc(_ep->desc) || in config_ep_by_speed_and_alt()
220 usb_endpoint_xfer_int(_ep->desc))) in config_ep_by_speed_and_alt()
221 _ep->mult = usb_endpoint_maxp_mult(_ep->desc); in config_ep_by_speed_and_alt()
234 _ep->comp_desc = comp_desc; in config_ep_by_speed_and_alt()
236 switch (usb_endpoint_type(_ep->desc)) { in config_ep_by_speed_and_alt()
239 _ep->mult = (comp_desc->bmAttributes & 0x3) + 1; in config_ep_by_speed_and_alt()
243 _ep->maxburst = comp_desc->bMaxBurst + 1; in config_ep_by_speed_and_alt()
252 _ep->maxburst = 1; in config_ep_by_speed_and_alt()
280 struct usb_ep *_ep) in config_ep_by_speed() argument
282 return config_ep_by_speed_and_alt(g, f, _ep, 0); in config_ep_by_speed()