Lines Matching refs:ep
255 static void f_hidg_req_complete(struct usb_ep *ep, struct usb_request *req) in f_hidg_req_complete() argument
257 struct f_hidg *hidg = (struct f_hidg *)ep->driver_data; in f_hidg_req_complete()
365 static inline struct usb_request *hidg_alloc_ep_req(struct usb_ep *ep, in hidg_alloc_ep_req() argument
368 return alloc_ep_req(ep, length, length); in hidg_alloc_ep_req()
371 static void hidg_set_report_complete(struct usb_ep *ep, struct usb_request *req) in hidg_set_report_complete() argument
592 struct usb_ep *ep; in hidg_bind() local
614 ep = usb_ep_autoconfig(c->cdev->gadget, &hidg_fs_in_ep_desc); in hidg_bind()
615 if (!ep) in hidg_bind()
617 ep->driver_data = c->cdev; /* claim */ in hidg_bind()
618 hidg->in_ep = ep; in hidg_bind()
620 ep = usb_ep_autoconfig(c->cdev->gadget, &hidg_fs_out_ep_desc); in hidg_bind()
621 if (!ep) in hidg_bind()
623 ep->driver_data = c->cdev; /* claim */ in hidg_bind()
624 hidg->out_ep = ep; in hidg_bind()