iPXE
Data Fields
dma_mapping Struct Reference

A DMA mapping. More...

#include <dma.h>

Data Fields

physaddr_t offset
 Address offset. More...
 
struct dma_devicedma
 DMA device (if unmapping is required) More...
 
void * token
 Platform mapping token. More...
 

Detailed Description

A DMA mapping.

Definition at line 32 of file dma.h.

Field Documentation

◆ offset

physaddr_t dma_mapping::offset

Address offset.

This is the value that must be added to a physical address within the mapping in order to produce the corresponding device-side DMA address.

Definition at line 39 of file dma.h.

Referenced by efipci_dma_map(), and efipci_dma_unmap().

◆ dma

struct dma_device* dma_mapping::dma

DMA device (if unmapping is required)

Definition at line 41 of file dma.h.

Referenced by dma_mapped(), dma_op_free(), dma_op_ufree(), dma_op_unmap(), DMAAPI_INLINE(), efipci_dma_map(), efipci_dma_unmap(), and if().

◆ token

void* dma_mapping::token

Platform mapping token.

Definition at line 43 of file dma.h.

Referenced by efipci_dma_map(), and efipci_dma_unmap().


The documentation for this struct was generated from the following file: