'\" t .\" Title: rio_dma_prep_xfer .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: RapidIO driver interface .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "RIO_DMA_PREP_XFER" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "RapidIO driver interface" .\" ----------------------------------------------------------------- .\" * 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" rio_dma_prep_xfer \- RapidIO specific wrapper for device_prep_slave_sg callback defined by DMAENGINE\&. .SH "SYNOPSIS" .HP \w'struct\ dma_async_tx_descriptor\ *\ rio_dma_prep_xfer('u .BI "struct dma_async_tx_descriptor * rio_dma_prep_xfer(struct\ dma_chan\ *\ " "dchan" ", u16\ " "destid" ", struct\ rio_dma_data\ *\ " "data" ", enum\ dma_transfer_direction\ " "direction" ", unsigned\ long\ " "flags" ");" .SH "ARGUMENTS" .PP \fIdchan\fR .RS 4 DMA channel to configure .RE .PP \fIdestid\fR .RS 4 target RapidIO device destination ID .RE .PP \fIdata\fR .RS 4 RIO specific data descriptor .RE .PP \fIdirection\fR .RS 4 DMA data transfer direction (TO or FROM the device) .RE .PP \fIflags\fR .RS 4 dmaengine defined flags .RE .SH "DESCRIPTION" .PP Initializes RapidIO capable DMA channel for the specified data transfer\&. Uses DMA channel private extension to pass information related to remote target RIO device\&. .SH "RETURN" .PP pointer to DMA transaction descriptor if successful, error\-valued pointer or NULL if failed\&. .SH "AUTHOR" .PP \fBMatt Porter\fR <\&mporter@kernel.crashing.org\&>, <\&mporter@mvista.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br