Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/components/audio/
Dfsl_adapter_sai.c239 EDMA_Type *dmaBases[] = EDMA_BASE_PTRS; in HAL_AudioCommonInit() local
241 DMA_Type *dmaBases[] = DMA_BASE_PTRS; in HAL_AudioCommonInit() local
280 assert(config->dmaConfig->instance < ARRAY_SIZE(dmaBases)); in HAL_AudioCommonInit()
485 EDMA_Init(dmaBases[dmaConfig->instance], &audioDmaConfig); in HAL_AudioCommonInit()
493 … EDMA_InitChannel(dmaBases[dmaConfig->instance], dmaConfig->channel, dmaConfig->dmaChannelConfig); in HAL_AudioCommonInit()
498 EDMA_CreateHandle(&audioHandle->dmaHandle, dmaBases[dmaConfig->instance], dmaConfig->channel); in HAL_AudioCommonInit()
502 EDMA_SetChannelMux(dmaBases[dmaConfig->instance], dmaConfig->channel, in HAL_AudioCommonInit()
512 …EDMA_SetChannelPreemptionConfig(dmaBases[dmaConfig->instance], dmaConfig->channel, &preemptionConf… in HAL_AudioCommonInit()
532 DMA_Init(dmaBases[dmaConfig->instance]); in HAL_AudioCommonInit()
538 DMA_CreateHandle(&audioHandle->dmaHandle, dmaBases[dmaConfig->instance], dmaConfig->channel); in HAL_AudioCommonInit()
[all …]
Dfsl_adapter_flexcomm_i2s.c102 DMA_Type *dmaBases[] = DMA_BASE_PTRS; in HAL_AudioCommonInit() local
116 assert(config->dmaConfig->instance < ARRAY_SIZE(dmaBases)); in HAL_AudioCommonInit()
302 DMA_Init(dmaBases[dmaConfig->instance]); in HAL_AudioCommonInit()
307 DMA_EnableChannel(dmaBases[dmaConfig->instance], dmaConfig->channel); in HAL_AudioCommonInit()
313 …DMA_SetChannelPriority(dmaBases[dmaConfig->instance], dmaConfig->channel, (dma_priority_t)dmaConfi… in HAL_AudioCommonInit()
317 DMA_CreateHandle(&audioHandle->dmaHandle, dmaBases[dmaConfig->instance], dmaConfig->channel); in HAL_AudioCommonInit()
341 DMA_Type *dmaBases[] = DMA_BASE_PTRS; in HAL_AudioCommonDeinit() local
378 DMA_Deinit(dmaBases[audioHandle->dmaInstance]); in HAL_AudioCommonDeinit()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/spi/
Dfsl_adapter_lpspi.c617 DMA_Type *dmaBases[] = DMA_BASE_PTRS; in HAL_SpiSlaveDMAInit() local
621 EDMA_Init(dmaBases[dmaConfig->dma_instance], &config); in HAL_SpiSlaveDMAInit()
624 …EDMA_CreateHandle(&spi_slaveDmaHandle->txEdmaHandle, dmaBases[dmaConfig->dma_instance], dmaConfig-… in HAL_SpiSlaveDMAInit()
625 …EDMA_CreateHandle(&spi_slaveDmaHandle->rxEdmaHandle, dmaBases[dmaConfig->dma_instance], dmaConfig-… in HAL_SpiSlaveDMAInit()
628 EDMA_SetChannelMux(dmaBases[dmaConfig->dma_instance], dmaConfig->tx_channel, in HAL_SpiSlaveDMAInit()
630 EDMA_SetChannelMux(dmaBases[dmaConfig->dma_instance], dmaConfig->rx_channel, in HAL_SpiSlaveDMAInit()
706 DMA_Type *dmaBases[] = DMA_BASE_PTRS; in HAL_SpiMasterDMAInit() local
710 EDMA_Init(dmaBases[dmaConfig->dma_instance], &config); in HAL_SpiMasterDMAInit()
712 …EDMA_CreateHandle(&spi_masterDmaHandle->txEdmaHandle, dmaBases[dmaConfig->dma_instance], dmaConfig… in HAL_SpiMasterDMAInit()
713 …EDMA_CreateHandle(&spi_masterDmaHandle->rxEdmaHandle, dmaBases[dmaConfig->dma_instance], dmaConfig… in HAL_SpiMasterDMAInit()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/components/uart/
Dfsl_adapter_usart.c830 DMA_Type *dmaBases[] = DMA_BASE_PTRS; in HAL_UartDMAInit() local
831 DMA_EnableChannel(dmaBases[dmaConfig->dma_instance], dmaConfig->tx_channel); in HAL_UartDMAInit()
832 DMA_EnableChannel(dmaBases[dmaConfig->dma_instance], dmaConfig->rx_channel); in HAL_UartDMAInit()
834 …DMA_CreateHandle(&uartDmaHandle->txDmaHandle, dmaBases[dmaConfig->dma_instance], dmaConfig->tx_cha… in HAL_UartDMAInit()
835 …DMA_CreateHandle(&uartDmaHandle->rxDmaHandle, dmaBases[dmaConfig->dma_instance], dmaConfig->rx_cha… in HAL_UartDMAInit()
Dfsl_adapter_lpuart.c1873 EDMA_Type *dmaBases[] = EDMA_BASE_PTRS; in HAL_UartDMAInit() local
1876 DMA_Type *dmaBases[] = DMA_BASE_PTRS; in HAL_UartDMAInit() local
1879 DMA_Type *dmaBases[] = DMA_BASE_PTRS; in HAL_UartDMAInit() local
1896 EDMA_Init(dmaBases[dmaConfig->dma_instance], &config); in HAL_UartDMAInit()
1898 …EDMA_CreateHandle(&uartDmaHandle->txEdmaHandle, dmaBases[dmaConfig->dma_instance], dmaConfig->tx_c… in HAL_UartDMAInit()
1899 …EDMA_CreateHandle(&uartDmaHandle->rxEdmaHandle, dmaBases[dmaConfig->dma_instance], dmaConfig->rx_c… in HAL_UartDMAInit()
1902 EDMA_SetChannelMux(dmaBases[dmaConfig->dma_instance], dmaConfig->tx_channel, in HAL_UartDMAInit()
1904 EDMA_SetChannelMux(dmaBases[dmaConfig->dma_instance], dmaConfig->rx_channel, in HAL_UartDMAInit()