FreeRTOS port on GAP8/RISC-V
|
Macros | |
#define | UDMA_DATA_MAX_SIZE |
Functions | |
static void | __pi_cpi_handle_end_of_task (struct pi_task *task) |
static void | __pi_cpi_handler (void *arg) |
static int32_t | __pi_cpi_hw_fifo_empty (struct cpi_itf_data_s *driver_data) |
static void | __pi_cpi_hw_fifo_task_enqueue (struct cpi_itf_data_s *driver_data, struct pi_task *task, uint8_t hw_buff_idx) |
static void | __pi_cpi_hw_fifo_task_switch (struct cpi_itf_data_s *driver_data) |
static struct pi_task * | __pi_cpi_hw_fifo_task_pop (struct cpi_itf_data_s *driver_data) |
static void | __pi_cpi_sw_fifo_task_enqueue (struct cpi_itf_data_s *driver_data, struct pi_task *task) |
static struct pi_task * | __pi_cpi_sw_fifo_task_pop (struct cpi_itf_data_s *driver_data) |
static void | __pi_cpi_copy_exec (struct cpi_itf_data_s *driver_data, struct pi_task *task, uint8_t hw_buff_idx) |
void | __pi_cpi_conf_init (struct pi_cpi_conf *conf) |
int32_t | __pi_cpi_open (struct pi_cpi_conf *conf, struct cpi_itf_data_s **device_data) |
void | __pi_cpi_close (struct cpi_itf_data_s *device_data) |
void | __pi_cpi_copy (struct cpi_itf_data_s *device_data, void *l2_buf, uint32_t size, struct pi_task *task) |
Variables | |
struct cpi_itf_data_s * | g_cpi_itf_data [UDMA_NB_CPI] |
#define UDMA_DATA_MAX_SIZE |
Referenced by __pi_cpi_copy_exec(), and __pi_cpi_handler().
void __pi_cpi_close | ( | struct cpi_itf_data_s * | device_data | ) |
Referenced by pi_cpi_close().
void __pi_cpi_conf_init | ( | struct pi_cpi_conf * | conf | ) |
Referenced by pi_cpi_conf_init().
void __pi_cpi_copy | ( | struct cpi_itf_data_s * | device_data, |
void * | l2_buf, | ||
uint32_t | size, | ||
struct pi_task * | task | ||
) |
Referenced by pi_cpi_capture_async().
|
static |
References __pi_cpi_hw_fifo_task_enqueue(), CPI_TRACE, cpi_itf_data_s::device_id, hal_cpi_enqueue(), max_size, RX_CHANNEL, and UDMA_DATA_MAX_SIZE.
Referenced by __pi_cpi_copy(), and __pi_cpi_handler().
|
static |
|
static |
References __pi_cpi_copy_exec(), __pi_cpi_hw_fifo_empty(), __pi_cpi_hw_fifo_task_enqueue(), __pi_cpi_hw_fifo_task_pop(), __pi_cpi_hw_fifo_task_switch(), __pi_cpi_sw_fifo_task_pop(), __pi_irq_handle_end_of_task(), CPI_TRACE, cpi_itf_data_s::device_id, hal_cpi_enqueue(), cpi_itf_data_s::hw_buffer, max_size, RX_CHANNEL, UDMA_CHANNEL_NB_EVENTS_LOG2, UDMA_CPI_ID, and UDMA_DATA_MAX_SIZE.
Referenced by __pi_cpi_open().
|
static |
References cpi_itf_data_s::hw_buffer.
Referenced by __pi_cpi_copy(), and __pi_cpi_handler().
|
static |
References cpi_itf_data_s::hw_buffer.
Referenced by __pi_cpi_copy_exec(), and __pi_cpi_handler().
|
static |
References cpi_itf_data_s::hw_buffer.
Referenced by __pi_cpi_handler().
|
static |
References cpi_itf_data_s::hw_buffer.
Referenced by __pi_cpi_handler().
int32_t __pi_cpi_open | ( | struct pi_cpi_conf * | conf, |
struct cpi_itf_data_s ** | device_data | ||
) |
Referenced by pi_cpi_open().
|
static |
References cpi_itf_data_s::fifo_head, and cpi_itf_data_s::fifo_tail.
Referenced by __pi_cpi_copy().
|
static |
References cpi_itf_data_s::fifo_head, and cpi_itf_data_s::fifo_tail.
Referenced by __pi_cpi_handler().
struct cpi_itf_data_s* g_cpi_itf_data[UDMA_NB_CPI] |