1DMA_BUF_MAP_ATTACHME(9)  Device drivers infrastructure DMA_BUF_MAP_ATTACHME(9)
2
3
4

NAME

6       dma_buf_map_attachment - Returns the scatterlist table of the
7       attachment; mapped into _device_ address space. Is a wrapper for
8       map_dma_buf of the dma_buf_ops.
9

SYNOPSIS

11       struct sg_table *
12                                                dma_buf_map_attachment(struct dma_buf_attachment * attach,
13                                                enum dma_data_direction direction);
14

ARGUMENTS

16       attach
17           [in] attachment whose scatterlist is to be returned
18
19       direction
20           [in] direction of DMA transfer
21

DESCRIPTION

23       Returns sg_table containing the scatterlist to be returned; returns
24       ERR_PTR on error.
25
27Kernel Hackers Manual 2.6.         June 2019           DMA_BUF_MAP_ATTACHME(9)
Impressum