Home
last modified time | relevance | path

Searched refs:musb_ep (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/usb/musb-new/
Dmusb_gadget.c81 struct musb *musb, struct musb_ep *musb_ep) in map_dma_buffer() argument
88 if (!is_dma_capable() || !musb_ep->dma) in map_dma_buffer()
96 compatible = dma->is_compatible(musb_ep->dma, in map_dma_buffer()
97 musb_ep->packet_sz, request->request.buf, in map_dma_buffer()
154 struct musb *musb, struct musb_ep *musb_ep) in map_dma_buffer() argument
172 struct musb_ep *ep, in musb_g_giveback()
212 static void nuke(struct musb_ep *ep, const int status) in nuke()
263 static inline int max_ep_writesize(struct musb *musb, struct musb_ep *ep) in max_ep_writesize()
316 struct musb_ep *musb_ep; in txstate() local
322 musb_ep = req->ep; in txstate()
[all …]
Dmusb_gadget.h30 struct musb_ep *ep;
50 struct musb_ep { struct
76 static inline struct musb_ep *to_musb_ep(struct usb_ep *ep) in to_musb_ep() argument
78 return ep ? container_of(ep, struct musb_ep, end_point) : NULL; in to_musb_ep()
81 static inline struct musb_request *next_request(struct musb_ep *ep) in next_request()
98 extern void musb_g_giveback(struct musb_ep *, struct usb_request *, int);
Dmusb_gadget_ep0.c87 struct musb_ep *ep; in service_tx_status_request()
240 struct musb_ep *musb_ep; in service_zero_data_request() local
255 musb_ep = &ep->ep_in; in service_zero_data_request()
257 musb_ep = &ep->ep_out; in service_zero_data_request()
258 if (!musb_ep->desc) in service_zero_data_request()
263 if (musb_ep->wedged) in service_zero_data_request()
285 request = next_request(musb_ep); in service_zero_data_request()
286 if (!musb_ep->busy && request) { in service_zero_data_request()
405 struct musb_ep *musb_ep; in service_zero_data_request() local
419 musb_ep = &ep->ep_in; in service_zero_data_request()
[all …]
Dmusb_core.h31 struct musb_ep;
276 struct musb_ep ep_in; /* TX */
277 struct musb_ep ep_out; /* RX */