Name

usb_ep_free_buffer — frees an i/o buffer

Synopsis

void usb_ep_free_buffer (struct usb_ep * ep, void * buf, dma_addr_t dma, unsigned len);

Arguments

ep

the endpoint associated with the buffer

buf

CPU view address of the buffer

dma

the buffer's DMA address

len

length of the buffer

Description

reverses the effect of usb_ep_alloc_buffer. caller guarantees the buffer will no longer be accessed