PMSIS API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cl_dma.h File Reference

Typedefs

typedef struct pi_cl_dma_cmd_s pi_cl_dma_cmd_t
 Structure for DMA commands. More...
 
typedef struct pi_cl_dma_copy_s pi_cl_dma_copy_t
 Structure for 1D DMA copy structure. More...
 
typedef pi_cl_dma_copy_t pi_cl_dma_copy_2d_t
 Structure for 2D DMA copy structure. More...
 

Enumerations

enum  pi_cl_dma_dir_e
 DMA transfer direction. More...
 

Functions

static void pi_cl_dma_cmd (uint32_t ext, uint32_t loc, uint32_t size, pi_cl_dma_dir_e dir, pi_cl_dma_cmd_t *cmd)
 1D DMA memory transfer. More...
 
static void pi_cl_dma_cmd_2d (uint32_t ext, uint32_t loc, uint32_t size, uint32_t stride, uint32_t length, pi_cl_dma_dir_e dir, pi_cl_dma_cmd_t *cmd)
 2D DMA memory transfer. More...
 
static void pi_cl_dma_cmd_wait (pi_cl_dma_cmd_t *cmd)
 Simple DMA transfer completion wait. More...
 
static void pi_cl_dma_flush ()
 Simple DMA transfer completion flush. More...
 
static void pi_cl_dma_memcpy (pi_cl_dma_copy_t *copy)
 1D DMA memory transfer. More...
 
static void pi_cl_dma_memcpy_2d (pi_cl_dma_copy_2d_t *copy)
 2D DMA memory transfer. More...
 
static void pi_cl_dma_wait (void *copy)
 Simple DMA transfer completion wait. More...