'\" t .\" Title: usb_free_coherent .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: USB Core APIs .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "USB_FREE_COHERENT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "USB Core APIs" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" usb_free_coherent \- free memory allocated with \fBusb_alloc_coherent\fR .SH "SYNOPSIS" .HP \w'void\ usb_free_coherent('u .BI "void usb_free_coherent(struct\ usb_device\ *\ " "dev" ", size_t\ " "size" ", void\ *\ " "addr" ", dma_addr_t\ " "dma" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 device the buffer was used with .RE .PP \fIsize\fR .RS 4 requested buffer size .RE .PP \fIaddr\fR .RS 4 CPU address of buffer .RE .PP \fIdma\fR .RS 4 DMA address of buffer .RE .SH "DESCRIPTION" .PP This reclaims an I/O buffer, letting it be reused\&. The memory must have been allocated using \fBusb_alloc_coherent\fR, and the parameters must match those provided in that allocation request\&. .SH "COPYRIGHT" .br