/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/ |
D | fsl_dma.c | 220 assert((xfercfg->srcInc <= (uint8_t)kDMA_AddressInterleave4xWidth) && in DMA_SetupXferCFG() 245 …(xfercfg->srcInc == (uint8_t)kDMA_AddressInterleave4xWidth) ? (xfercfg->srcInc - 1UL) : xfercfg->s… in DMA_SetupXferCFG() 276 uint32_t width = 0, srcInc = 0, dstInc = 0, transferCount = 0; in DMA_SetupDescriptor() local 279 srcInc = (xfercfg & DMA_CHANNEL_XFERCFG_SRCINC_MASK) >> DMA_CHANNEL_XFERCFG_SRCINC_SHIFT; in DMA_SetupDescriptor() 301 if (srcInc == 3U) in DMA_SetupDescriptor() 303 srcInc = kDMA_AddressInterleave4xWidth; in DMA_SetupDescriptor() 312 …desc->srcEndAddr = DMA_DESCRIPTOR_END_ADDRESS((uint32_t *)srcStartAddr, srcInc, transferCount * wi… in DMA_SetupDescriptor() 352 uint32_t width = 0, srcInc = 0, dstInc = 0, transferCount = 0; in DMA_SetupChannelDescriptor() local 355 srcInc = (xfercfg & DMA_CHANNEL_XFERCFG_SRCINC_MASK) >> DMA_CHANNEL_XFERCFG_SRCINC_SHIFT; in DMA_SetupChannelDescriptor() 377 if (srcInc == 3U) in DMA_SetupChannelDescriptor() [all …]
|
D | fsl_flexspi_dma.c | 154 uint32_t srcInc; in FLEXSPI_WriteDataDMA() local 158 srcInc = kDMA_AddressInterleave1xWidth; in FLEXSPI_WriteDataDMA() 204 … DMA_CHANNEL_XFER(false, true, true, false, width, srcInc, dstInc, remains), in FLEXSPI_WriteDataDMA() 279 … false, (uint32_t)handle->nsize, srcInc, dstInc, remains), in FLEXSPI_WriteDataDMA() 287 (uint32_t)handle->nsize, srcInc, dstInc, bytesPerDes), in FLEXSPI_WriteDataDMA() 313 uint32_t srcInc; in FLEXSPI_ReadDataDMA() local 317 srcInc = kDMA_AddressInterleave1xWidth; in FLEXSPI_ReadDataDMA() 357 … DMA_CHANNEL_XFER(false, true, true, false, width, srcInc, dstInc, remains), rxFifoBase, in FLEXSPI_ReadDataDMA() 424 … false, (uint32_t)handle->nsize, srcInc, dstInc, remains), in FLEXSPI_ReadDataDMA() 432 (uint32_t)handle->nsize, srcInc, dstInc, bytesPerDes), in FLEXSPI_ReadDataDMA()
|
D | fsl_i2s_dma.c | 452 uint32_t *srcAddr = NULL, *destAddr = NULL, srcInc = 4UL, destInc = 4UL; in I2S_StartTransferDMA() local 458 srcInc = 1U; in I2S_StartTransferDMA() 465 srcInc = 0U; in I2S_StartTransferDMA() 473 …xferConfig = DMA_CHANNEL_XFER(1UL, 0UL, 0UL, 1UL, handle->bytesPerFrame, srcInc, destInc, (uint32_… in I2S_StartTransferDMA() 534 uint32_t *srcAddr = NULL, *destAddr = NULL, srcInc = 4UL, destInc = 4UL; in I2S_AddTransferDMA() local 553 srcInc = 1U; in I2S_AddTransferDMA() 560 srcInc = 0U; in I2S_AddTransferDMA() 574 …DMA_CHANNEL_XFER(1UL, 0UL, !intA, intA, handle->bytesPerFrame, srcInc, destInc, (uint32_t)transfer… in I2S_AddTransferDMA()
|
D | fsl_dma.h | 109 #define DMA_CHANNEL_XFER(reload, clrTrig, intA, intB, width, srcInc, dstInc, bytes) … argument 113 …DMA_CHANNEL_XFERCFG_SRCINC(srcInc == (uint32_t)kDMA_AddressInterleave4xWidth ? (srcInc - 1UL) : sr… 162 uint8_t srcInc; /*!< Increment source address by 'srcInc' x 'byteWidth' */ member
|
D | fsl_spi_dma.c | 296 tmp_xfercfg.srcInc = 0; in SPI_MasterTransferDMA() 341 tmp_xfercfg.srcInc = 0; in SPI_MasterTransferDMA()
|
/hal_nxp-2.7.6/mcux/drivers/lpc/ |
D | fsl_dma.c | 220 assert((xfercfg->srcInc <= (uint8_t)kDMA_AddressInterleave4xWidth) && in DMA_SetupXferCFG() 245 …(xfercfg->srcInc == (uint8_t)kDMA_AddressInterleave4xWidth) ? (xfercfg->srcInc - 1UL) : xfercfg->s… in DMA_SetupXferCFG() 276 uint32_t width = 0, srcInc = 0, dstInc = 0, transferCount = 0; in DMA_SetupDescriptor() local 279 srcInc = (xfercfg & DMA_CHANNEL_XFERCFG_SRCINC_MASK) >> DMA_CHANNEL_XFERCFG_SRCINC_SHIFT; in DMA_SetupDescriptor() 301 if (srcInc == 3U) in DMA_SetupDescriptor() 303 srcInc = kDMA_AddressInterleave4xWidth; in DMA_SetupDescriptor() 312 …desc->srcEndAddr = DMA_DESCRIPTOR_END_ADDRESS((uint32_t *)srcStartAddr, srcInc, transferCount * wi… in DMA_SetupDescriptor() 352 uint32_t width = 0, srcInc = 0, dstInc = 0, transferCount = 0; in DMA_SetupChannelDescriptor() local 355 srcInc = (xfercfg & DMA_CHANNEL_XFERCFG_SRCINC_MASK) >> DMA_CHANNEL_XFERCFG_SRCINC_SHIFT; in DMA_SetupChannelDescriptor() 377 if (srcInc == 3U) in DMA_SetupChannelDescriptor() [all …]
|
D | fsl_i2s_dma.c | 452 uint32_t *srcAddr = NULL, *destAddr = NULL, srcInc = 4UL, destInc = 4UL; in I2S_StartTransferDMA() local 458 srcInc = 1U; in I2S_StartTransferDMA() 465 srcInc = 0U; in I2S_StartTransferDMA() 473 …xferConfig = DMA_CHANNEL_XFER(1UL, 0UL, 0UL, 1UL, handle->bytesPerFrame, srcInc, destInc, (uint32_… in I2S_StartTransferDMA() 534 uint32_t *srcAddr = NULL, *destAddr = NULL, srcInc = 4UL, destInc = 4UL; in I2S_AddTransferDMA() local 553 srcInc = 1U; in I2S_AddTransferDMA() 560 srcInc = 0U; in I2S_AddTransferDMA() 574 …DMA_CHANNEL_XFER(1UL, 0UL, !intA, intA, handle->bytesPerFrame, srcInc, destInc, (uint32_t)transfer… in I2S_AddTransferDMA()
|
D | fsl_dma.h | 109 #define DMA_CHANNEL_XFER(reload, clrTrig, intA, intB, width, srcInc, dstInc, bytes) … argument 113 …DMA_CHANNEL_XFERCFG_SRCINC(srcInc == (uint32_t)kDMA_AddressInterleave4xWidth ? (srcInc - 1UL) : sr… 162 uint8_t srcInc; /*!< Increment source address by 'srcInc' x 'byteWidth' */ member
|
D | fsl_spi_dma.c | 296 tmp_xfercfg.srcInc = 0; in SPI_MasterTransferDMA() 341 tmp_xfercfg.srcInc = 0; in SPI_MasterTransferDMA()
|