table of contents
other versions
- stretch 4.9.168-1
USB_FREE_COHERENT(9) | USB Core APIs | USB_FREE_COHERENT(9) |
NAME¶
usb_free_coherent - free memory allocated with usb_alloc_coherentSYNOPSIS¶
void usb_free_coherent(struct usb_device * dev, size_t size, void * addr, dma_addr_t dma);
ARGUMENTS¶
devdevice the buffer was used with
size
requested buffer size
addr
CPU address of buffer
dma
DMA address of buffer
DESCRIPTION¶
This reclaims an I/O buffer, letting it be reused. The memory must have been allocated using usb_alloc_coherent, and the parameters must match those provided in that allocation request.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |