mars/dma.h File Reference

[MPU] MARS DMA API More...


Defines

#define MARS_DMA_TAG   31
#define MARS_DMA_TAG_MAX   31
#define MARS_DMA_ALIGN_MASK   0xf
#define MARS_DMA_SIZE_MASK   0xf
#define MARS_DMA_SIZE_MAX   16384

Functions

static void mars_dma_wait (uint32_t tag)
 [MPU] Waits for a dma transfer to complete.
static void mars_dma_sync (uint32_t tag)
 [MPU] Syncs all dma requests with specified tag.
static void mars_dma_get (void *ls, uint64_t ea, uint32_t size, uint32_t tag)
 [MPU] Starts dma transfer from host storage to MPU storage.
static void mars_dma_get_and_wait (void *ls, uint64_t ea, uint32_t size, uint32_t tag)
 [MPU] Starts dma get operation and waits for completion.
static void mars_dma_put (const void *ls, uint64_t ea, uint32_t size, uint32_t tag)
 [MPU] Starts dma transfer from MPU storage to host storage.
static void mars_dma_put_and_wait (const void *ls, uint64_t ea, uint32_t size, uint32_t tag)
 [MPU] Starts dma put operation and waits for completion.


Detailed Description

[MPU] MARS DMA API


Define Documentation

#define MARS_DMA_TAG   31

dma tag reserved for MARS

#define MARS_DMA_TAG_MAX   31

dma tag 0~31

#define MARS_DMA_ALIGN_MASK   0xf

dma 16 byte alignment mask

#define MARS_DMA_SIZE_MASK   0xf

dma 16 byte size mask

#define MARS_DMA_SIZE_MAX   16384

dma single tranfer size max 16KB


Generated on Fri Dec 19 21:36:43 2008 for MARS by  doxygen 1.5.6