Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/dma/
Ddma_mcux_lpc.c329 dma_handle_t *p_handle; in dma_mcux_lpc_configure() local
474 p_handle = DEV_DMA_HANDLE(dev, virtual_channel); in dma_mcux_lpc_configure()
477 DMA_CreateHandle(p_handle, DEV_BASE(dev), channel); in dma_mcux_lpc_configure()
478 DMA_SetCallback(p_handle, nxp_lpc_dma_callback, (void *)data); in dma_mcux_lpc_configure()
483 p_handle = DEV_DMA_HANDLE(dev, virtual_channel); in dma_mcux_lpc_configure()
495 DMA_AbortTransfer(p_handle); in dma_mcux_lpc_configure()
498 LOG_DBG("channel is %d", p_handle->channel); in dma_mcux_lpc_configure()
621 DMA_SubmitChannelTransferParameter(p_handle, in dma_mcux_lpc_configure()
711 p_handle->base->CHANNEL[p_handle->channel].CFG = cfg_reg; in dma_mcux_lpc_configure()
713 DMA_EnableChannelPeriphRq(p_handle->base, p_handle->channel); in dma_mcux_lpc_configure()
[all …]
Ddma_mcux_edma.c289 edma_handle_t *p_handle = DEV_EDMA_HANDLE(dev, channel); in dma_mcux_edma_configure() local
386 EDMA_AbortTransfer(p_handle); in dma_mcux_edma_configure()
389 EDMA_CreateHandle(p_handle, DEV_BASE(dev), hw_channel); in dma_mcux_edma_configure()
390 EDMA_SetCallback(p_handle, nxp_edma_callback, (void *)data); in dma_mcux_edma_configure()
462 EDMA_InstallTCD(p_handle->base, hw_channel, in dma_mcux_edma_configure()
467 EDMA_InstallTCDMemory(p_handle, DEV_CFG(dev)->tcdpool[channel], in dma_mcux_edma_configure()
480 EDMA_SubmitTransfer(p_handle, &(data->transferConfig)); in dma_mcux_edma_configure()
501 EDMA_SubmitTransfer(p_handle, &(data->transferConfig)); in dma_mcux_edma_configure()