'\" t .\" Title: usb_buffer_unmap_sg .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: USB Core APIs .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "USB_BUFFER_UNMAP_SG" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "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_buffer_unmap_sg \- free DMA mapping(s) for a scatterlist .SH "SYNOPSIS" .HP \w'void\ usb_buffer_unmap_sg('u .BI "void usb_buffer_unmap_sg(const\ struct\ usb_device\ *\ " "dev" ", int\ " "is_in" ", struct\ scatterlist\ *\ " "sg" ", int\ " "n_hw_ents" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 device to which the scatterlist will be mapped .RE .PP \fIis_in\fR .RS 4 mapping transfer direction .RE .PP \fIsg\fR .RS 4 the scatterlist to unmap .RE .PP \fIn_hw_ents\fR .RS 4 the positive return value from usb_buffer_map_sg .RE .SH "DESCRIPTION" .PP Reverses the effect of \fBusb_buffer_map_sg\fR\&. .SH "COPYRIGHT" .br