Lines Matching refs:ep
61 static void bot_status_complete(struct usb_ep *ep, struct usb_request *req) in bot_status_complete() argument
100 static void bot_err_compl(struct usb_ep *ep, struct usb_request *req) in bot_err_compl() argument
109 if (cmd->data_len > ep->maxpacket) { in bot_err_compl()
110 req->length = ep->maxpacket; in bot_err_compl()
111 cmd->data_len -= ep->maxpacket; in bot_err_compl()
117 usb_ep_queue(ep, req, GFP_ATOMIC); in bot_err_compl()
128 struct usb_ep *ep; in bot_send_bad_status() local
134 ep = fu->ep_in; in bot_send_bad_status()
137 ep = fu->ep_out; in bot_send_bad_status()
142 req->length = ep->maxpacket; in bot_send_bad_status()
143 cmd->data_len -= ep->maxpacket; in bot_send_bad_status()
151 usb_ep_queue(ep, req, GFP_KERNEL); in bot_send_bad_status()
203 static void bot_read_compl(struct usb_ep *ep, struct usb_request *req) in bot_read_compl() argument
301 static void bot_cmd_complete(struct usb_ep *ep, struct usb_request *req) in bot_cmd_complete() argument
521 static void uasp_status_data_cmpl(struct usb_ep *ep, struct usb_request *req);
576 static void uasp_status_data_cmpl(struct usb_ep *ep, struct usb_request *req) in uasp_status_data_cmpl() argument
732 static void uasp_cmd_complete(struct usb_ep *ep, struct usb_request *req) in uasp_cmd_complete() argument
964 static void usbg_data_write_cmpl(struct usb_ep *ep, struct usb_request *req) in usbg_data_write_cmpl() argument
2192 struct usb_ep *ep = *pep; in give_back_ep() local
2193 if (!ep) in give_back_ep()
2195 ep->driver_data = NULL; in give_back_ep()
2202 struct usb_ep *ep; in usbg_bind() local
2213 ep = usb_ep_autoconfig_ss(gadget, &uasp_ss_bi_desc, in usbg_bind()
2215 if (!ep) in usbg_bind()
2218 ep->driver_data = fu; in usbg_bind()
2219 fu->ep_in = ep; in usbg_bind()
2221 ep = usb_ep_autoconfig_ss(gadget, &uasp_ss_bo_desc, in usbg_bind()
2223 if (!ep) in usbg_bind()
2225 ep->driver_data = fu; in usbg_bind()
2226 fu->ep_out = ep; in usbg_bind()
2228 ep = usb_ep_autoconfig_ss(gadget, &uasp_ss_status_desc, in usbg_bind()
2230 if (!ep) in usbg_bind()
2232 ep->driver_data = fu; in usbg_bind()
2233 fu->ep_status = ep; in usbg_bind()
2235 ep = usb_ep_autoconfig_ss(gadget, &uasp_ss_cmd_desc, in usbg_bind()
2237 if (!ep) in usbg_bind()
2239 ep->driver_data = fu; in usbg_bind()
2240 fu->ep_cmd = ep; in usbg_bind()