'\" t .\" Title: usb_buffer_dmasync_sg .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: USB Core APIs .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "USB_BUFFER_DMASYNC_S" "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_buffer_dmasync_sg \- synchronize DMA and CPU view of scatterlist buffer(s) .SH "SYNOPSIS" .HP \w'void\ usb_buffer_dmasync_sg('u .BI "void usb_buffer_dmasync_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 synchronize .RE .PP \fIn_hw_ents\fR .RS 4 the positive return value from usb_buffer_map_sg .RE .SH "DESCRIPTION" .PP Use this when you are re\-using a scatterlist\*(Aqs data buffers for another USB request\&. .SH "COPYRIGHT" .br