Home
last modified time | relevance | path

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

/device/soc/hpmicro/sdk/hpm_sdk/components/dma_manager/
Dhpm_dma_manager.c67 #define HPM_DMA_MGR (&s_dma_mngr_ctx) macro
84 hpm_dma_channel_context_t *chn_ctx = &HPM_DMA_MGR->channels[instance][channel]; in handle_dma_isr()
120 (void) memset(HPM_DMA_MGR, 0, sizeof(*HPM_DMA_MGR)); in dma_manager_init()
121 HPM_DMA_MGR->dma_instance[0].base = HPM_HDMA, in dma_manager_init()
122 HPM_DMA_MGR->dma_instance[0].irq_num = IRQn_HDMA; in dma_manager_init()
124 HPM_DMA_MGR->dma_instance[1].base = HPM_XDMA; in dma_manager_init()
125 HPM_DMA_MGR->dma_instance[1].irq_num = IRQn_XDMA; in dma_manager_init()
143 if (!HPM_DMA_MGR->channels[instance][channel].is_allocated) { in dma_manager_request_resource()
154 HPM_DMA_MGR->channels[instance][channel].is_allocated = true; in dma_manager_request_resource()
155 resource->base = HPM_DMA_MGR->dma_instance[instance].base; in dma_manager_request_resource()
[all …]