FreeRTOS port on GAP8/RISC-V
|
Macros | |
#define | DMA_FIX |
#define | DMA_INC |
#define | DMA_IS_1D |
#define | DMA_IS_2D |
#define | DMA_ELE_DIS |
#define | DMA_ELE_ENA |
#define | DMA_ILE_DIS |
#define | DMA_ILE_ENA |
#define | DMA_BLE_DIS |
#define | DMA_BLE_ENA |
Functions | |
static uint32_t | hal_cl_dma_cmd_make (uint16_t len, uint8_t dir, uint8_t inc, uint8_t is2d, uint8_t ele, uint8_t ile, uint8_t ble) |
static void | cl_dma_cmd_set (uint32_t cmd) |
static uint32_t | cl_dma_cmd_get () |
static void | cl_dma_status_set (uint32_t status) |
static uint32_t | cl_dma_status_get () |
static uint16_t | hal_cl_dma_tid_get () |
static void | hal_cl_dma_1d_transfer_push (uint32_t cmd, uint32_t loc, uint32_t ext) |
static void | hal_cl_dma_2d_transfer_push (uint32_t cmd, uint32_t loc, uint32_t ext, uint32_t stride, uint32_t length) |
static void | hal_cl_dma_tid_free (uint8_t tid) |
static void | hal_cl_dma_flush () |
static void | hal_cl_dma_wait (uint8_t tid) |
#define DMA_BLE_DIS |
#define DMA_BLE_ENA |
#define DMA_ELE_DIS |
#define DMA_ELE_ENA |
#define DMA_FIX |
#define DMA_ILE_DIS |
#define DMA_ILE_ENA |
#define DMA_INC |
#define DMA_IS_1D |
#define DMA_IS_2D |
|
inlinestatic |
References DMAMCHAN, and hal_read32().
Referenced by hal_cl_dma_cmd_get(), and hal_cl_dma_tid_get().
|
inlinestatic |
References DMAMCHAN, hal_compiler_barrier(), and hal_write32().
Referenced by hal_cl_dma_1d_transfer_push(), hal_cl_dma_2d_transfer_push(), and hal_cl_dma_cmd_set().
|
inlinestatic |
References DMAMCHAN, and hal_read32().
Referenced by hal_cl_dma_flush(), hal_cl_dma_status_get(), and hal_cl_dma_wait().
|
inlinestatic |
References DMAMCHAN, hal_compiler_barrier(), and hal_write32().
Referenced by hal_cl_dma_flush(), hal_cl_dma_status_set(), and hal_cl_dma_tid_free().
|
inlinestatic |
References cl_dma_cmd_set().
|
inlinestatic |
References cl_dma_cmd_set(), DMAMCHAN_CMD_2D_COUNT_Pos, and DMAMCHAN_CMD_2D_STRIDE_Pos.
|
inlinestatic |
|
inlinestatic |
References cl_dma_status_get(), cl_dma_status_set(), CL_IRQ_DMA0, and hal_eu_evt_mask_wait().
|
inlinestatic |
|
inlinestatic |
CMD.
References cl_dma_cmd_get().
|
inlinestatic |
References cl_dma_status_get(), CL_IRQ_DMA0, hal_cl_dma_tid_free(), and hal_eu_evt_mask_wait().