dma_buf_map_attachment
Prev | Device Drivers DMA Management | Next

## Name

dma_buf_map_attachment — Returns the scatterlist table of the attachment; mapped into _device_ address space. Is a wrapper for `map_dma_buf` of the dma_buf_ops.

## Synopsis

`struct sg_table * dma_buf_map_attachment (` | struct dma_buf_attachment * attach,
| enum dma_data_direction direction`)`;

## Arguments

`attach`

  [in] attachment whose scatterlist is to be returned

`direction`

  [in] direction of DMA transfer

## Description

Returns sg_table containing the scatterlist to be returned; may return NULL or ERR_PTR.

Prev | Up | Next
dma_buf_detach | Home | dma_buf_unmap_attachment