Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/usb/musb/
Dmusb_gadget.c33 struct musb *musb, struct musb_ep *musb_ep) in map_dma_buffer() argument
40 if (!is_dma_capable() || !musb_ep->dma) in map_dma_buffer()
48 compatible = dma->is_compatible(musb_ep->dma, in map_dma_buffer()
49 musb_ep->packet_sz, request->request.buf, in map_dma_buffer()
86 struct musb_ep *musb_ep = request->ep; in unmap_dma_buffer() local
88 if (!is_buffer_mapped(request) || !musb_ep->dma) in unmap_dma_buffer()
123 struct musb_ep *ep, in musb_g_giveback()
158 static void nuke(struct musb_ep *ep, const int status) in nuke()
208 static inline int max_ep_writesize(struct musb *musb, struct musb_ep *ep) in max_ep_writesize()
226 struct musb_ep *musb_ep; in txstate() local
[all …]
Dmusb_gadget.h56 struct musb_ep *ep;
73 struct musb_ep { struct
99 #define to_musb_ep(ep) container_of((ep), struct musb_ep, end_point) argument
101 static inline struct musb_request *next_request(struct musb_ep *ep) in next_request()
112 extern void musb_g_giveback(struct musb_ep *, struct usb_request *, int);
Dmusb_gadget_ep0.c81 struct musb_ep *ep; in service_tx_status_request()
238 struct musb_ep *musb_ep; in service_zero_data_request() local
253 musb_ep = &ep->ep_in; in service_zero_data_request()
255 musb_ep = &ep->ep_out; in service_zero_data_request()
256 if (!musb_ep->desc) in service_zero_data_request()
261 if (musb_ep->wedged) in service_zero_data_request()
283 request = next_request(musb_ep); in service_zero_data_request()
284 if (!musb_ep->busy && request) { in service_zero_data_request()
399 struct musb_ep *musb_ep; in service_zero_data_request() local
413 musb_ep = &ep->ep_in; in service_zero_data_request()
[all …]
Dmusb_core.h29 struct musb_ep;
237 struct musb_ep ep_in; /* TX */
238 struct musb_ep ep_out; /* RX */