Lines Matching refs:ep
55 static void bot_status_complete(struct usb_ep *ep, struct usb_request *req) in bot_status_complete() argument
94 static void bot_err_compl(struct usb_ep *ep, struct usb_request *req) in bot_err_compl() argument
103 if (cmd->data_len > ep->maxpacket) { in bot_err_compl()
104 req->length = ep->maxpacket; in bot_err_compl()
105 cmd->data_len -= ep->maxpacket; in bot_err_compl()
111 usb_ep_queue(ep, req, GFP_ATOMIC); in bot_err_compl()
122 struct usb_ep *ep; in bot_send_bad_status() local
128 ep = fu->ep_in; in bot_send_bad_status()
131 ep = fu->ep_out; in bot_send_bad_status()
136 req->length = ep->maxpacket; in bot_send_bad_status()
137 cmd->data_len -= ep->maxpacket; in bot_send_bad_status()
145 usb_ep_queue(ep, req, GFP_KERNEL); in bot_send_bad_status()
197 static void bot_read_compl(struct usb_ep *ep, struct usb_request *req) in bot_read_compl() argument
295 static void bot_cmd_complete(struct usb_ep *ep, struct usb_request *req) in bot_cmd_complete() argument
515 static void uasp_status_data_cmpl(struct usb_ep *ep, struct usb_request *req);
570 static void uasp_status_data_cmpl(struct usb_ep *ep, struct usb_request *req) in uasp_status_data_cmpl() argument
726 static void uasp_cmd_complete(struct usb_ep *ep, struct usb_request *req) in uasp_cmd_complete() argument
958 static void usbg_data_write_cmpl(struct usb_ep *ep, struct usb_request *req) in usbg_data_write_cmpl() argument
2019 struct usb_ep *ep; in usbg_bind() local
2030 ep = usb_ep_autoconfig_ss(gadget, &uasp_ss_bi_desc, in usbg_bind()
2032 if (!ep) in usbg_bind()
2034 fu->ep_in = ep; in usbg_bind()
2036 ep = usb_ep_autoconfig_ss(gadget, &uasp_ss_bo_desc, in usbg_bind()
2038 if (!ep) in usbg_bind()
2040 fu->ep_out = ep; in usbg_bind()
2042 ep = usb_ep_autoconfig_ss(gadget, &uasp_ss_status_desc, in usbg_bind()
2044 if (!ep) in usbg_bind()
2046 fu->ep_status = ep; in usbg_bind()
2048 ep = usb_ep_autoconfig_ss(gadget, &uasp_ss_cmd_desc, in usbg_bind()
2050 if (!ep) in usbg_bind()
2052 fu->ep_cmd = ep; in usbg_bind()