Home
last modified time | relevance | path

Searched refs:ch_info_id (Results 1 – 1 of 1) sorted by relevance

/bsp/xuantie/libraries/xuantie_libraries/chip_riscv_dummy/src/sys/
A Dtarget_get.c127 uint32_t spt_id, ch_info_id, ctrl_id, ch_id; in target_get_optimal_dma_channel() local
166 for (ch_info_id = 0U;; ch_info_id++) { in target_get_optimal_dma_channel()
167 if (dma_spt_list[spt_id].ch_list[ch_info_id].ctrl_idx == 0xFFU) { in target_get_optimal_dma_channel()
173 if ((ctrl_id == dma_spt_list[spt_id].ch_list[ch_info_id].ctrl_idx) && in target_get_optimal_dma_channel()
174 …(list[ctrl_id]->alloc_status & ((uint32_t)1 << dma_spt_list[spt_id].ch_list[ch_info_id].ch_idx))) { in target_get_optimal_dma_channel()
175 dma_ch_info->ch_idx = dma_spt_list[spt_id].ch_list[ch_info_id].ch_idx; in target_get_optimal_dma_channel()
176 dma_ch_info->ctrl_idx = dma_spt_list[spt_id].ch_list[ch_info_id].ctrl_idx; in target_get_optimal_dma_channel()

Completed in 6 milliseconds