Lines Matching refs:descriptor
718 void DMA_LoadChannelDescriptor(DMA_Type *base, uint32_t channel, dma_descriptor_t *descriptor) in DMA_LoadChannelDescriptor() argument
720 assert(NULL != descriptor); in DMA_LoadChannelDescriptor()
727 channelDescriptor->xfercfg = descriptor->xfercfg; in DMA_LoadChannelDescriptor()
728 channelDescriptor->srcEndAddr = descriptor->srcEndAddr; in DMA_LoadChannelDescriptor()
729 channelDescriptor->dstEndAddr = descriptor->dstEndAddr; in DMA_LoadChannelDescriptor()
730 channelDescriptor->linkToNextDesc = descriptor->linkToNextDesc; in DMA_LoadChannelDescriptor()
733 base->CHANNEL[channel].XFERCFG = descriptor->xfercfg; in DMA_LoadChannelDescriptor()
810 …dma_descriptor_t *descriptor = (dma_descriptor_t *)(&s_dma_descriptor_table[instance][handle->chan… in DMA_SubmitChannelTransferParameter() local
812 DMA_SetupDescriptor(descriptor, xferCfg, srcStartAddr, dstStartAddr, nextDesc); in DMA_SubmitChannelTransferParameter()
844 void DMA_SubmitChannelDescriptor(dma_handle_t *handle, dma_descriptor_t *descriptor) in DMA_SubmitChannelDescriptor() argument
846 assert((NULL != handle) && (NULL != descriptor)); in DMA_SubmitChannelDescriptor()
848 DMA_LoadChannelDescriptor(handle->base, handle->channel, descriptor); in DMA_SubmitChannelDescriptor()
914 …dma_descriptor_t *descriptor = (dma_descriptor_t *)(&s_dma_descriptor_table[instance][handle->chan… in DMA_SubmitChannelTransfer() local
926 descriptor, config->xferCfg, config->srcStartAddr, config->dstStartAddr, config->nextDesc, in DMA_SubmitChannelTransfer()
959 …dma_descriptor_t *descriptor = (dma_descriptor_t *)(&s_dma_descriptor_table[instance][handle->chan… in DMA_SubmitTransfer() local
977 …DMA_CreateDescriptor(descriptor, &config->xfercfg, config->srcAddr, config->dstAddr, config->nextD… in DMA_SubmitTransfer()
979 handle->base->CHANNEL[handle->channel].XFERCFG = descriptor->xfercfg; in DMA_SubmitTransfer()