FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gap8/pmsis/include/pmsis/implem/hal/udma/udma_cpi.h File Reference

Functions

static void cpi_udma_channel_set (uint32_t device_id, udma_channel_e channel, uint32_t l2buf, uint32_t size, uint32_t cfg)
 
static void cpi_cfg_glob_set (uint32_t device_id, uint32_t cfg_glob)
 
static uint32_t cpi_cfg_glob_get (uint32_t device_id)
 
static void cpi_cfg_ll_set (uint32_t device_id, uint32_t cfg_ll)
 
static uint32_t cpi_cfg_ll_get (uint32_t device_id)
 
static void cpi_cfg_ur_set (uint32_t device_id, uint32_t cfg_ur)
 
static uint32_t cpi_cfg_ur_get (uint32_t device_id)
 
static void cpi_cfg_size_set (uint32_t device_id, uint32_t cfg_size)
 
static uint32_t cpi_cfg_size_get (uint32_t device_id)
 
static void cpi_cfg_filter_set (uint32_t device_id, uint32_t cfg_filter)
 
static uint32_t cpi_cfg_filter_get (uint32_t device_id)
 
static void cpi_framedrop_en_set (uint32_t device_id, uint8_t value)
 
static void cpi_framedrop_val_set (uint32_t device_id, uint8_t value)
 
static void cpi_frameslice_en_set (uint32_t device_id, uint8_t value)
 
static void cpi_format_set (uint32_t device_id, uint8_t value)
 
static void cpi_shift_set (uint32_t device_id, uint8_t value)
 
static void cpi_glob_en_set (uint32_t device_id, uint8_t value)
 
static void cpi_frameslice_llx_set (uint32_t device_id, uint16_t value)
 
static void cpi_frameslice_lly_set (uint32_t device_id, uint16_t value)
 
static void hal_cpi_frameslice_ll_set (uint32_t device_id, uint16_t x, uint16_t y)
 
static void cpi_frameslice_urx_set (uint32_t device_id, uint16_t value)
 
static void cpi_frameslice_ury_set (uint32_t device_id, uint16_t value)
 
static void hal_cpi_frameslice_ur_set (uint32_t device_id, uint16_t x, uint16_t y)
 
static void cpi_rowlen_set (uint32_t device_id, uint16_t value)
 
static void cpi_filter_b_coeff_set (uint32_t device_id, uint8_t value)
 
static void cpi_filter_g_coeff_set (uint32_t device_id, uint8_t value)
 
static void cpi_filter_r_coeff_set (uint32_t device_id, uint8_t value)
 
static void hal_cpi_filter_rgb_coeff_set (uint32_t device_id, uint8_t r, uint8_t g, uint8_t b)
 
static void hal_cpi_enqueue (uint32_t device_id, uint32_t channel, uint32_t l2buf, uint32_t size, uint32_t cfg)
 

Function Documentation

static uint32_t cpi_cfg_filter_get ( uint32_t  device_id)
inlinestatic
static void cpi_cfg_filter_set ( uint32_t  device_id,
uint32_t  cfg_filter 
)
inlinestatic
static uint32_t cpi_cfg_glob_get ( uint32_t  device_id)
inlinestatic
static void cpi_cfg_glob_set ( uint32_t  device_id,
uint32_t  cfg_glob 
)
inlinestatic
static uint32_t cpi_cfg_ll_get ( uint32_t  device_id)
inlinestatic

References cpi, and hal_read32().

Referenced by cpi_frameslice_llx_set(), and cpi_frameslice_lly_set().

static void cpi_cfg_ll_set ( uint32_t  device_id,
uint32_t  cfg_ll 
)
inlinestatic
static uint32_t cpi_cfg_size_get ( uint32_t  device_id)
inlinestatic

References cpi, and hal_read32().

Referenced by cpi_rowlen_set().

static void cpi_cfg_size_set ( uint32_t  device_id,
uint32_t  cfg_size 
)
inlinestatic

References cpi, and hal_write32().

Referenced by cpi_rowlen_set().

static uint32_t cpi_cfg_ur_get ( uint32_t  device_id)
inlinestatic

References cpi, and hal_read32().

Referenced by cpi_frameslice_urx_set(), and cpi_frameslice_ury_set().

static void cpi_cfg_ur_set ( uint32_t  device_id,
uint32_t  cfg_ur 
)
inlinestatic
static void cpi_filter_b_coeff_set ( uint32_t  device_id,
uint8_t  value 
)
inlinestatic
static void cpi_filter_g_coeff_set ( uint32_t  device_id,
uint8_t  value 
)
inlinestatic
static void cpi_filter_r_coeff_set ( uint32_t  device_id,
uint8_t  value 
)
inlinestatic
static void cpi_format_set ( uint32_t  device_id,
uint8_t  value 
)
inlinestatic
static void cpi_framedrop_en_set ( uint32_t  device_id,
uint8_t  value 
)
inlinestatic
static void cpi_framedrop_val_set ( uint32_t  device_id,
uint8_t  value 
)
inlinestatic
static void cpi_frameslice_en_set ( uint32_t  device_id,
uint8_t  value 
)
inlinestatic
static void cpi_frameslice_llx_set ( uint32_t  device_id,
uint16_t  value 
)
inlinestatic
static void cpi_frameslice_lly_set ( uint32_t  device_id,
uint16_t  value 
)
inlinestatic
static void cpi_frameslice_urx_set ( uint32_t  device_id,
uint16_t  value 
)
inlinestatic
static void cpi_frameslice_ury_set ( uint32_t  device_id,
uint16_t  value 
)
inlinestatic
static void cpi_glob_en_set ( uint32_t  device_id,
uint8_t  value 
)
inlinestatic
static void cpi_rowlen_set ( uint32_t  device_id,
uint16_t  value 
)
inlinestatic
static void cpi_shift_set ( uint32_t  device_id,
uint8_t  value 
)
inlinestatic
static void cpi_udma_channel_set ( uint32_t  device_id,
udma_channel_e  channel,
uint32_t  l2buf,
uint32_t  size,
uint32_t  cfg 
)
inlinestatic

References cpi, and udma_enqueue_channel().

Referenced by hal_cpi_enqueue().

static void hal_cpi_enqueue ( uint32_t  device_id,
uint32_t  channel,
uint32_t  l2buf,
uint32_t  size,
uint32_t  cfg 
)
inlinestatic

UDMA.

References cpi_udma_channel_set().

Referenced by __pi_cpi_copy_exec(), and __pi_cpi_handler().

static void hal_cpi_filter_rgb_coeff_set ( uint32_t  device_id,
uint8_t  r,
uint8_t  g,
uint8_t  b 
)
inlinestatic
static void hal_cpi_frameslice_ll_set ( uint32_t  device_id,
uint16_t  x,
uint16_t  y 
)
inlinestatic
static void hal_cpi_frameslice_ur_set ( uint32_t  device_id,
uint16_t  x,
uint16_t  y 
)
inlinestatic