1RIO_DMA_PREP_SLAVE_S(9)    RapidIO driver interface    RIO_DMA_PREP_SLAVE_S(9)
2
3
4

NAME

6       rio_dma_prep_slave_sg - RapidIO specific wrapper for
7       device_prep_slave_sg callback defined by DMAENGINE.
8

SYNOPSIS

10       struct dma_async_tx_descriptor *
11                                                              rio_dma_prep_slave_sg(struct rio_dev * rdev,
12                                                              struct dma_chan * dchan,
13                                                              struct rio_dma_data * data,
14                                                              enum dma_transfer_direction direction,
15                                                              unsigned long flags);
16

ARGUMENTS

18       rdev
19           RIO device control structure
20
21       dchan
22           DMA channel to configure
23
24       data
25           RIO specific data descriptor
26
27       direction
28           DMA data transfer direction (TO or FROM the device)
29
30       flags
31           dmaengine defined flags
32

DESCRIPTION

34       Initializes RapidIO capable DMA channel for the specified data
35       transfer. Uses DMA channel private extension to pass information
36       related to remote target RIO device. Returns pointer to DMA transaction
37       descriptor or NULL if failed.
38

AUTHOR

40       Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
41           Author.
42
44Kernel Hackers Manual 3.10         June 2019           RIO_DMA_PREP_SLAVE_S(9)
Impressum