Lines Matching refs:_ep
151 struct usb_ep *_ep, in config_ep_by_speed_and_alt() argument
163 if (!g || !f || !_ep) in config_ep_by_speed_and_alt()
207 if (chosen_desc->bEndpointAddress == _ep->address) in config_ep_by_speed_and_alt()
214 _ep->maxpacket = usb_endpoint_maxp(chosen_desc); in config_ep_by_speed_and_alt()
215 _ep->desc = chosen_desc; in config_ep_by_speed_and_alt()
216 _ep->comp_desc = NULL; in config_ep_by_speed_and_alt()
217 _ep->maxburst = 0; in config_ep_by_speed_and_alt()
218 _ep->mult = 1; in config_ep_by_speed_and_alt()
220 if (g->speed == USB_SPEED_HIGH && (usb_endpoint_xfer_isoc(_ep->desc) || in config_ep_by_speed_and_alt()
221 usb_endpoint_xfer_int(_ep->desc))) in config_ep_by_speed_and_alt()
222 _ep->mult = usb_endpoint_maxp_mult(_ep->desc); in config_ep_by_speed_and_alt()
235 _ep->comp_desc = comp_desc; in config_ep_by_speed_and_alt()
237 switch (usb_endpoint_type(_ep->desc)) { in config_ep_by_speed_and_alt()
240 _ep->mult = (comp_desc->bmAttributes & 0x3) + 1; in config_ep_by_speed_and_alt()
244 _ep->maxburst = comp_desc->bMaxBurst + 1; in config_ep_by_speed_and_alt()
253 _ep->maxburst = 1; in config_ep_by_speed_and_alt()
281 struct usb_ep *_ep) in config_ep_by_speed() argument
283 return config_ep_by_speed_and_alt(g, f, _ep, 0); in config_ep_by_speed()