FreeRTOS port on GAP8/RISC-V
|
Data Structures | |
struct | dmacpy_itf_data_s |
Functions | |
void | __pi_dmacpy_conf_init (struct pi_dmacpy_conf *conf) |
int32_t | __pi_dmacpy_open (struct pi_dmacpy_conf *conf, struct dmacpy_itf_data_s **device_data) |
void | __pi_dmacpy_close (uint32_t device_id) |
int32_t | __pi_dmacpy_copy (uint32_t device_id, void *src, void *dst, uint32_t size, pi_dmacpy_dir_e dir, struct pi_task *task) |
void __pi_dmacpy_close | ( | uint32_t | device_id | ) |
void __pi_dmacpy_conf_init | ( | struct pi_dmacpy_conf * | conf | ) |
Referenced by pi_dmacpy_conf_init().
int32_t __pi_dmacpy_copy | ( | uint32_t | device_id, |
void * | src, | ||
void * | dst, | ||
uint32_t | size, | ||
pi_dmacpy_dir_e | dir, | ||
struct pi_task * | task | ||
) |
References __pi_dmacpy_copy_exec(), __pi_dmacpy_task_fifo_enqueue(), dmacpy_itf_data_s::device_id, disable_irq(), DMACPY_TRACE, DMACPY_TRACE_ERR, and restore_irq().
Referenced by pi_dmacpy_copy_async().
int32_t __pi_dmacpy_open | ( | struct pi_dmacpy_conf * | conf, |
struct dmacpy_itf_data_s ** | device_data | ||
) |
References __pi_dmacpy_handler(), dmacpy_itf_data_s::device_id, dmacpy, DMACPY_TRACE, DMACPY_TRACE_ERR, dmacpy_itf_data_s::fifo_head, dmacpy_itf_data_s::fifo_tail, hal_soc_eu_set_fc_mask(), dmacpy_itf_data_s::nb_open, pi_fc_event_handler_set(), pi_l2_malloc(), SOC_EVENT_UDMA_DMACPY_RX, SOC_EVENT_UDMA_DMACPY_TX, udma_ctrl_cg_disable(), UDMA_DMACPY_ID, and UDMA_GC.
Referenced by pi_dmacpy_open().