Home
last modified time | relevance | path

Searched refs:_ep (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/usb/usbip/
H A Dvudc_dev.c229 static int vep_enable(struct usb_ep *_ep, in vep_enable() argument
237 ep = to_vep(_ep); in vep_enable()
240 if (!_ep || !desc || ep->desc || _ep->caps.type_control in vep_enable()
250 _ep->maxpacket = maxp; in vep_enable()
260 static int vep_disable(struct usb_ep *_ep) in vep_disable() argument
266 ep = to_vep(_ep); in vep_disable()
268 if (!_ep || !ep->desc || _ep->caps.type_control) in vep_disable()
279 static struct usb_request *vep_alloc_request(struct usb_ep *_ep, in vep_alloc_request() argument
284 if (!_ep) in vep_alloc_request()
296 static void vep_free_request(struct usb_ep *_ep, struct usb_request *_req) in vep_free_request() argument
[all …]
H A Dvudc.h122 static inline struct vep *to_vep(struct usb_ep *_ep) in to_vep() argument
124 return container_of(_ep, struct vep, ep); in to_vep()
H A Dvudc_transfer.c308 struct usb_ep *_ep; in v_timer() local
332 list_for_each_entry(_ep, &udc->gadget.ep_list, ep_list) { in v_timer()
333 ep = to_vep(_ep); in v_timer()
/linux/drivers/scsi/libfc/
H A Dfc_libfc.h59 struct fc_exch *_ep = NULL; \
60 _ep = fc_seq_exch((pkt)->seq_ptr); \
65 (_ep)->oxid, (_ep)->rxid, ##args); \
/linux/drivers/usb/gadget/udc/
H A Dgoku_udc.c91 goku_ep_enable(struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc) in goku_ep_enable() argument
99 ep = container_of(_ep, struct goku_ep, ep); in goku_ep_enable()
100 if (!_ep || !desc in goku_ep_enable()
244 static int goku_ep_disable(struct usb_ep *_ep) in goku_ep_disable() argument
250 ep = container_of(_ep, struct goku_ep, ep); in goku_ep_disable()
251 if (!_ep || !ep->ep.desc) in goku_ep_disable()
257 VDBG(dev, "disable %s\n", _ep->name); in goku_ep_disable()
270 goku_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in goku_alloc_request() argument
274 if (!_ep) in goku_alloc_request()
285 goku_free_request(struct usb_ep *_ep, struct usb_request *_req) in goku_free_request() argument
[all …]
H A Dnet2280.c182 net2280_enable(struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc) in net2280_enable() argument
193 ep = container_of(_ep, struct net2280_ep, ep); in net2280_enable()
194 if (!_ep || !desc || ep->desc || _ep->name == ep0name || in net2280_enable()
231 _ep->maxpacket = max; in net2280_enable()
348 _ep->name, tmp & 0x0f, DIR_STRING(tmp), in net2280_enable()
512 static int net2280_disable(struct usb_ep *_ep) in net2280_disable() argument
517 ep = container_of(_ep, struct net2280_ep, ep); in net2280_disable()
518 if (!_ep || _ep->name == ep0name) { in net2280_disable()
519 pr_err("%s: Invalid ep=%p\n", __func__, _ep); in net2280_disable()
531 ep->dma ? "dma" : "pio", _ep->name); in net2280_disable()
[all …]
H A Dmax3420_udc.c903 static int max3420_ep_set_halt(struct usb_ep *_ep, int stall) in max3420_ep_set_halt() argument
905 struct max3420_ep *ep = to_max3420_ep(_ep); in max3420_ep_set_halt()
942 static int max3420_ep_enable(struct usb_ep *_ep, in max3420_ep_enable() argument
945 struct max3420_ep *ep = to_max3420_ep(_ep); in max3420_ep_enable()
990 static int max3420_ep_disable(struct usb_ep *_ep) in max3420_ep_disable() argument
992 struct max3420_ep *ep = to_max3420_ep(_ep); in max3420_ep_disable()
1004 static struct usb_request *max3420_alloc_request(struct usb_ep *_ep, in max3420_alloc_request() argument
1007 struct max3420_ep *ep = to_max3420_ep(_ep); in max3420_alloc_request()
1019 static void max3420_free_request(struct usb_ep *_ep, struct usb_request *_req) in max3420_free_request() argument
1024 static int max3420_ep_queue(struct usb_ep *_ep, struct usb_request *_req, in max3420_ep_queue() argument
[all …]
/linux/drivers/usb/fotg210/
H A Dfotg210-udc.c169 static int fotg210_ep_enable(struct usb_ep *_ep, in fotg210_ep_enable() argument
174 ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_enable()
221 static int fotg210_ep_disable(struct usb_ep *_ep) in fotg210_ep_disable() argument
227 BUG_ON(!_ep); in fotg210_ep_disable()
229 ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_disable()
242 static struct usb_request *fotg210_ep_alloc_request(struct usb_ep *_ep, in fotg210_ep_alloc_request() argument
256 static void fotg210_ep_free_request(struct usb_ep *_ep, in fotg210_ep_free_request() argument
404 static int fotg210_ep_queue(struct usb_ep *_ep, struct usb_request *_req, in fotg210_ep_queue() argument
412 ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_queue()
438 static int fotg210_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in fotg210_ep_dequeue() argument
[all …]
/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_ep.c1379 static void ep0_set_sel_cmpl(struct usb_ep *_ep, struct usb_request *_req) in ep0_set_sel_cmpl() argument
1710 static int bdc_gadget_ep_queue(struct usb_ep *_ep, in bdc_gadget_ep_queue() argument
1719 if (!_ep || !_ep->desc) in bdc_gadget_ep_queue()
1725 ep = to_bdc_ep(_ep); in bdc_gadget_ep_queue()
1756 static int bdc_gadget_ep_dequeue(struct usb_ep *_ep, in bdc_gadget_ep_dequeue() argument
1766 if (!_ep || !_req) in bdc_gadget_ep_dequeue()
1769 ep = to_bdc_ep(_ep); in bdc_gadget_ep_dequeue()
1803 static int bdc_gadget_ep_set_halt(struct usb_ep *_ep, int value) in bdc_gadget_ep_set_halt() argument
1810 ep = to_bdc_ep(_ep); in bdc_gadget_ep_set_halt()
1826 static struct usb_request *bdc_gadget_alloc_request(struct usb_ep *_ep, in bdc_gadget_alloc_request() argument
[all …]
/linux/drivers/usb/gadget/
H A Dcomposite.c153 struct usb_ep *_ep, in config_ep_by_speed_and_alt() argument
167 if (!g || !f || !_ep) in config_ep_by_speed_and_alt()
220 if (chosen_desc->bEndpointAddress == _ep->address) in config_ep_by_speed_and_alt()
227 _ep->maxpacket = usb_endpoint_maxp(chosen_desc); in config_ep_by_speed_and_alt()
228 _ep->desc = chosen_desc; in config_ep_by_speed_and_alt()
229 _ep->comp_desc = NULL; in config_ep_by_speed_and_alt()
230 _ep->maxburst = 0; in config_ep_by_speed_and_alt()
231 _ep->mult = 1; in config_ep_by_speed_and_alt()
233 if (g->speed == USB_SPEED_HIGH && (usb_endpoint_xfer_isoc(_ep->desc) || in config_ep_by_speed_and_alt()
234 usb_endpoint_xfer_int(_ep->desc))) in config_ep_by_speed_and_alt()
[all …]
/linux/include/linux/usb/
H A Dcomposite.h253 struct usb_ep *_ep, u8 alt);
256 struct usb_ep *_ep);
/linux/drivers/usb/gadget/function/
H A Df_uac1.c423 static void audio_notify_complete(struct usb_ep *_ep, struct usb_request *req) in audio_notify_complete() argument
430 usb_ep_free_request(_ep, req); in audio_notify_complete()
H A Df_uac2.c1358 afunc_notify_complete(struct usb_ep *_ep, struct usb_request *req) in afunc_notify_complete() argument
1365 usb_ep_free_request(_ep, req); in afunc_notify_complete()
H A Df_fs.c737 static void ffs_epfile_io_complete(struct usb_ep *_ep, struct usb_request *req) in ffs_epfile_io_complete() argument
881 static void ffs_epfile_async_io_complete(struct usb_ep *_ep, in ffs_epfile_async_io_complete() argument