FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
udma_dmacpy.h File Reference

Functions

static void dmacpy_udma_channel_set (uint32_t device_id, uint32_t l2_buf, uint32_t size, uint32_t cfg, udma_channel_e channel)
 
static void dmacpy_dst_addr_set (uint32_t device_id, uint32_t addr)
 
static uint32_t dmacpy_dst_addr_get (uint32_t device_id)
 
static void dmacpy_src_addr_set (uint32_t device_id, uint32_t addr)
 
static uint32_t dmacpy_src_addr_get (uint32_t device_id)
 
static void dmacpy_mem_sel_set (uint32_t device_id, uint32_t mem_sel)
 
static uint32_t dmacpy_mem_sel_get (uint32_t device_id)
 
static void hal_dmacpy_dst_addr_set (uint32_t device_id, uint32_t addr)
 
static uint32_t hal_dmacpy_dst_addr_get (uint32_t device_id)
 
static void hal_dmacpy_src_addr_set (uint32_t device_id, uint32_t addr)
 
static uint32_t hal_dmacpy_src_addr_get (uint32_t device_id)
 
static void hal_dmacpy_mem_sel_set (uint32_t device_id, uint32_t mem_sel)
 
static uint32_t hal_dmacpy_mem_sel_get (uint32_t device_id)
 
static void hal_dmacpy_enqueue (uint32_t device_id, uint32_t l2_buf, uint32_t size, uint32_t cfg, uint32_t src, uint32_t dst, uint32_t mem_sel, udma_channel_e channel)
 

Function Documentation

static uint32_t dmacpy_dst_addr_get ( uint32_t  device_id)
inlinestatic

References dmacpy, and hal_read32().

Referenced by hal_dmacpy_dst_addr_get().

static void dmacpy_dst_addr_set ( uint32_t  device_id,
uint32_t  addr 
)
inlinestatic
static uint32_t dmacpy_mem_sel_get ( uint32_t  device_id)
inlinestatic

References dmacpy, and hal_read32().

Referenced by hal_dmacpy_mem_sel_get().

static void dmacpy_mem_sel_set ( uint32_t  device_id,
uint32_t  mem_sel 
)
inlinestatic

References dmacpy, and hal_write32().

Referenced by hal_dmacpy_enqueue(), and hal_dmacpy_mem_sel_set().

static uint32_t dmacpy_src_addr_get ( uint32_t  device_id)
inlinestatic

References dmacpy, and hal_read32().

Referenced by hal_dmacpy_src_addr_get().

static void dmacpy_src_addr_set ( uint32_t  device_id,
uint32_t  addr 
)
inlinestatic
static void dmacpy_udma_channel_set ( uint32_t  device_id,
uint32_t  l2_buf,
uint32_t  size,
uint32_t  cfg,
udma_channel_e  channel 
)
inlinestatic

References dmacpy, and udma_enqueue_channel().

Referenced by hal_dmacpy_enqueue().

static uint32_t hal_dmacpy_dst_addr_get ( uint32_t  device_id)
inlinestatic

References dmacpy_dst_addr_get().

static void hal_dmacpy_dst_addr_set ( uint32_t  device_id,
uint32_t  addr 
)
inlinestatic

DST_ADDR.

References dmacpy_dst_addr_set().

static void hal_dmacpy_enqueue ( uint32_t  device_id,
uint32_t  l2_buf,
uint32_t  size,
uint32_t  cfg,
uint32_t  src,
uint32_t  dst,
uint32_t  mem_sel,
udma_channel_e  channel 
)
inlinestatic
static uint32_t hal_dmacpy_mem_sel_get ( uint32_t  device_id)
inlinestatic

References dmacpy_mem_sel_get().

static void hal_dmacpy_mem_sel_set ( uint32_t  device_id,
uint32_t  mem_sel 
)
inlinestatic

MEM_SEL.

References dmacpy_mem_sel_set().

static uint32_t hal_dmacpy_src_addr_get ( uint32_t  device_id)
inlinestatic

References dmacpy_src_addr_get().

static void hal_dmacpy_src_addr_set ( uint32_t  device_id,
uint32_t  addr 
)
inlinestatic

SRC_ADDR.

References dmacpy_src_addr_set().