FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gap8/pmsis/drivers/udma/hyperbus/hyperbus_internal.c File Reference

Macros

#define __PI_HYPER_TEMP_BUFFER_SIZE
 
#define __PI_HYPER_NB_PADS
 
#define BURST_SIZE
 

Functions

static void __pi_hyper_handle_end_of_task (struct pi_task *task)
 
static void * l2_memcpy (void *dst0, const void *src0, size_t len0)
 
static uint8_t __pi_hyper_task_fifo_enqueue (struct hyper_driver_fifo *fifo, struct pi_task *task)
 
static struct pi_task * __pi_hyper_task_fifo_pop (struct hyper_driver_fifo *fifo)
 
static int32_t __pi_hyper_resume_emu_task (struct hyper_driver_fifo *fifo)
 
static int32_t __pi_hyper_resume_misaligned_write (struct hyper_driver_fifo *fifo, struct pi_task *task)
 
static int32_t __pi_hyper_resume_misaligned_read (struct hyper_driver_fifo *fifo, struct pi_task *task)
 
static int32_t __pi_hyper_copy_misaligned (struct hyper_driver_fifo *fifo, struct pi_task *task)
 
static void __attribute__ ((noinline))
 
void __pi_hyper_pin_settings ()
 
void __pi_hyper_pin_reset_settings ()
 
void hyper_handler (void *arg)
 
static void __pi_hyper_copy_exec (struct hyper_driver_fifo *fifo, struct pi_task *task)
 
void __pi_hyper_copy (int device, struct hyper_transfer_s *transfer, struct pi_task *task)
 
static void __pi_hyper_copy_2d_exec (struct hyper_driver_fifo *fifo, struct pi_task *task)
 
void __pi_hyper_copy_2d (int device, struct hyper_transfer_s *transfer, struct pi_task *task)
 

Variables

struct hyper_driver_fifo__global_hyper_driver_fifo [UDMA_NB_HYPER]
 
static uint8_t __pi_hyper_temp_buffer [__PI_HYPER_TEMP_BUFFER_SIZE]
 
static pi_pad_e __hyper_pad [__PI_HYPER_NB_PADS]
 

Macro Definition Documentation

#define __PI_HYPER_NB_PADS
#define __PI_HYPER_TEMP_BUFFER_SIZE
#define BURST_SIZE

Function Documentation

static void __pi_hyper_handle_end_of_task ( struct pi_task *  task)
static
void __pi_hyper_pin_reset_settings ( )
void __pi_hyper_pin_settings ( )
static int32_t __pi_hyper_resume_emu_task ( struct hyper_driver_fifo fifo)
static
static uint8_t __pi_hyper_task_fifo_enqueue ( struct hyper_driver_fifo fifo,
struct pi_task *  task 
)
static
static struct pi_task * __pi_hyper_task_fifo_pop ( struct hyper_driver_fifo fifo)
static
static void * l2_memcpy ( void *  dst0,
const void *  src0,
size_t  len0 
)
inlinestatic

Variable Documentation

struct hyper_driver_fifo* __global_hyper_driver_fifo[UDMA_NB_HYPER]
pi_pad_e __hyper_pad[__PI_HYPER_NB_PADS]
static