Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 25 of 47) sorted by relevance

12

/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_flexspi_dma.c181 handle->nbytes = (uint8_t)dataSize; in FLEXSPI_WriteDataDMA()
186 handle->nbytes = handle->count; in FLEXSPI_WriteDataDMA()
197 desCount = (uint8_t)(dataSize / (uint32_t)handle->nbytes); in FLEXSPI_WriteDataDMA()
198 bytesPerDes = handle->nbytes; in FLEXSPI_WriteDataDMA()
199 remains = (uint8_t)(dataSize - (uint32_t)desCount * (uint32_t)handle->nbytes); in FLEXSPI_WriteDataDMA()
218 handle->nbytes = (uint8_t)(dataSize / (uint32_t)handle->nsize); in FLEXSPI_WriteDataDMA()
222 if (((handle->nbytes) & (handle->nbytes - 1U)) != 0U) in FLEXSPI_WriteDataDMA()
224 handle->nbytes = 2U * ((handle->nbytes) & (handle->nbytes - 1U)); in FLEXSPI_WriteDataDMA()
255 handle->nbytes = handle->count / (uint8_t)handle->nsize; in FLEXSPI_WriteDataDMA()
270 … DMA_CHANNEL_CFG_TRIGBURST(1) | DMA_CHANNEL_CFG_BURSTPOWER(FLEXSPI_CalculatePower(handle->nbytes)); in FLEXSPI_WriteDataDMA()
[all …]
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_flexspi_edma.c213 handle->nbytes = (uint8_t)xfer->dataSize; in FLEXSPI_TransferEDMA()
223 handle->nbytes = (8U * handle->count); in FLEXSPI_TransferEDMA()
231 (uint32_t)handle->nbytes, xfer->dataSize, kEDMA_MemoryToMemory); in FLEXSPI_TransferEDMA()
252 handle->nbytes = (uint8_t)xfer->dataSize; in FLEXSPI_TransferEDMA()
262 handle->nbytes = (8U * handle->count); in FLEXSPI_TransferEDMA()
269 … xfer->data, (uint32_t)handle->nsize, (uint32_t)handle->nbytes, xfer->dataSize, in FLEXSPI_TransferEDMA()
348 (uint32_t)handle->nbytes * in FLEXSPI_TransferGetTransferCountEDMA()
354 (uint32_t)handle->nbytes * in FLEXSPI_TransferGetTransferCountEDMA()
Dfsl_flexio_uart_edma.c235 handle->nbytes = sizeof(uint8_t); in FLEXIO_UART_TransferSendEDMA()
292 handle->nbytes = sizeof(uint8_t); in FLEXIO_UART_TransferReceiveEDMA()
374 (uint32_t)handle->nbytes * in FLEXIO_UART_TransferGetReceiveCountEDMA()
403 (uint32_t)handle->nbytes * in FLEXIO_UART_TransferGetSendCountEDMA()
Dfsl_lpuart_edma.c273 handle->nbytes = (uint8_t)sizeof(uint8_t); in LPUART_SendEDMA()
331 handle->nbytes = (uint8_t)sizeof(uint8_t); in LPUART_ReceiveEDMA()
418 ((uint32_t)handle->nbytes * in LPUART_TransferGetReceiveCountEDMA()
449 ((uint32_t)handle->nbytes * in LPUART_TransferGetSendCountEDMA()
Dfsl_flexio_i2s_edma.c269 handle->nbytes = handle->bytesPerFrame; in FLEXIO_I2S_TransferSendEDMA()
333 handle->nbytes = handle->bytesPerFrame; in FLEXIO_I2S_TransferReceiveEDMA()
411 (uint32_t)handle->nbytes * in FLEXIO_I2S_TransferGetSendCountEDMA()
440 (uint32_t)handle->nbytes * in FLEXIO_I2S_TransferGetReceiveCountEDMA()
Dfsl_lpi2c_edma.c319 handle->nbytes = (uint8_t)transferConfig.minorLoopBytes; in LPI2C_MasterTransferEDMA()
350 handle->nbytes = (uint8_t)transferConfig.minorLoopBytes; in LPI2C_MasterTransferEDMA()
460 … (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount(handle->tx->base, handle->tx->channel); in LPI2C_MasterTransferGetCountEDMA()
465 … (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount(handle->rx->base, handle->rx->channel); in LPI2C_MasterTransferGetCountEDMA()
Dfsl_spdif_edma.c390 handle->nbytes = handle->count * 8U; in SPDIF_TransferSendEDMA()
461 handle->nbytes = handle->count * 8U; in SPDIF_TransferReceiveEDMA()
564 (uint32_t)handle->nbytes * in SPDIF_TransferGetSendCountEDMA()
593 (uint32_t)handle->nbytes * in SPDIF_TransferGetReceiveCountEDMA()
Dfsl_sai_edma.c437 handle->nbytes = handle->count * handle->bytesPerFrame; in SAI_TransferSendEDMA()
504 handle->nbytes = handle->count * handle->bytesPerFrame; in SAI_TransferReceiveEDMA()
678 (uint32_t)handle->nbytes * in SAI_TransferGetSendCountEDMA()
707 (uint32_t)handle->nbytes * in SAI_TransferGetReceiveCountEDMA()
Dfsl_flexio_spi_edma.c198 handle->nbytes = (uint8_t)xferConfig.minorLoopBytes; in FLEXIO_SPI_EDMAConfig()
385 (handle->transferSize - (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount( in FLEXIO_SPI_MasterTransferGetCountEDMA()
391 (handle->transferSize - (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount( in FLEXIO_SPI_MasterTransferGetCountEDMA()
Dfsl_lpspi_edma.h97 uint8_t nbytes; /*!< eDMA minor byte transfer count initially configured. */ member
123 uint8_t nbytes; /*!< eDMA minor byte transfer count initially configured. */ member
Dfsl_flexio_camera_edma.c180 handle->nbytes = 32; in FLEXIO_CAMERA_TransferReceiveEDMA()
239 (uint32_t)handle->nbytes * in FLEXIO_CAMERA_TransferGetReceiveCountEDMA()
Dfsl_lpspi_edma.c356 handle->nbytes = (uint8_t)transferConfigRx.minorLoopBytes; in LPSPI_MasterTransferEDMA()
613 … (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount(handle->edmaRxRegToRxDataHandle->base, in LPSPI_MasterTransferGetCountEDMA()
840 handle->nbytes = (uint8_t)transferConfigRx.minorLoopBytes; in LPSPI_SlaveTransferEDMA()
1046 … (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount(handle->edmaRxRegToRxDataHandle->base, in LPSPI_SlaveTransferGetCountEDMA()
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_flexio_uart_edma.c235 handle->nbytes = sizeof(uint8_t); in FLEXIO_UART_TransferSendEDMA()
292 handle->nbytes = sizeof(uint8_t); in FLEXIO_UART_TransferReceiveEDMA()
374 (uint32_t)handle->nbytes * in FLEXIO_UART_TransferGetReceiveCountEDMA()
403 (uint32_t)handle->nbytes * in FLEXIO_UART_TransferGetSendCountEDMA()
Dfsl_qspi_edma.c226 handle->nbytes = (sizeof(uint32_t) * handle->count); in QSPI_TransferSendEDMA()
279 handle->nbytes = (sizeof(uint32_t) * handle->count); in QSPI_TransferReceiveEDMA()
362 (uint32_t)handle->nbytes * in QSPI_TransferGetSendCountEDMA()
391 (uint32_t)handle->nbytes * in QSPI_TransferGetReceiveCountEDMA()
Dfsl_uart_edma.c254 handle->nbytes = sizeof(uint8_t); in UART_SendEDMA()
308 handle->nbytes = sizeof(uint8_t); in UART_ReceiveEDMA()
391 (uint32_t)handle->nbytes * in UART_TransferGetReceiveCountEDMA()
422 (uint32_t)handle->nbytes * in UART_TransferGetSendCountEDMA()
Dfsl_lpuart_edma.c273 handle->nbytes = (uint8_t)sizeof(uint8_t); in LPUART_SendEDMA()
331 handle->nbytes = (uint8_t)sizeof(uint8_t); in LPUART_ReceiveEDMA()
418 ((uint32_t)handle->nbytes * in LPUART_TransferGetReceiveCountEDMA()
449 ((uint32_t)handle->nbytes * in LPUART_TransferGetSendCountEDMA()
Dfsl_flexio_i2s_edma.c271 handle->nbytes = handle->bytesPerFrame; in FLEXIO_I2S_TransferSendEDMA()
335 handle->nbytes = handle->bytesPerFrame; in FLEXIO_I2S_TransferReceiveEDMA()
413 (uint32_t)handle->nbytes * in FLEXIO_I2S_TransferGetSendCountEDMA()
442 (uint32_t)handle->nbytes * in FLEXIO_I2S_TransferGetReceiveCountEDMA()
Dfsl_lpi2c_edma.c296 handle->nbytes = (uint8_t)transferConfig.minorLoopBytes; in LPI2C_MasterTransferEDMA()
327 handle->nbytes = (uint8_t)transferConfig.minorLoopBytes; in LPI2C_MasterTransferEDMA()
432 … (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount(handle->tx->base, handle->tx->channel); in LPI2C_MasterTransferGetCountEDMA()
437 … (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount(handle->rx->base, handle->rx->channel); in LPI2C_MasterTransferGetCountEDMA()
Dfsl_sai_edma.c437 handle->nbytes = handle->count * handle->bytesPerFrame; in SAI_TransferSendEDMA()
504 handle->nbytes = handle->count * handle->bytesPerFrame; in SAI_TransferReceiveEDMA()
678 (uint32_t)handle->nbytes * in SAI_TransferGetSendCountEDMA()
707 (uint32_t)handle->nbytes * in SAI_TransferGetReceiveCountEDMA()
Dfsl_flexio_spi_edma.c198 handle->nbytes = (uint8_t)xferConfig.minorLoopBytes; in FLEXIO_SPI_EDMAConfig()
385 (handle->transferSize - (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount( in FLEXIO_SPI_MasterTransferGetCountEDMA()
391 (handle->transferSize - (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount( in FLEXIO_SPI_MasterTransferGetCountEDMA()
Dfsl_dspi_edma.h83 uint8_t nbytes; /*!< eDMA minor byte transfer count initially configured. */ member
120 uint8_t nbytes; /*!< eDMA minor byte transfer count initially configured. */ member
Dfsl_lpspi_edma.h97 uint8_t nbytes; /*!< eDMA minor byte transfer count initially configured. */ member
123 uint8_t nbytes; /*!< eDMA minor byte transfer count initially configured. */ member
Dfsl_flexio_camera_edma.c180 handle->nbytes = 32; in FLEXIO_CAMERA_TransferReceiveEDMA()
239 (uint32_t)handle->nbytes * in FLEXIO_CAMERA_TransferGetReceiveCountEDMA()
Dfsl_lpspi_edma.c393 handle->nbytes = (uint8_t)transferConfigRx.minorLoopBytes; in LPSPI_MasterTransferEDMA()
651 … (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount(handle->edmaRxRegToRxDataHandle->base, in LPSPI_MasterTransferGetCountEDMA()
920 handle->nbytes = (uint8_t)transferConfigRx.minorLoopBytes; in LPSPI_SlaveTransferEDMA()
1148 … (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount(handle->edmaRxRegToRxDataHandle->base, in LPSPI_SlaveTransferGetCountEDMA()
Dfsl_dspi_edma.c457 handle->nbytes = (uint8_t)(transferConfigA.minorLoopBytes); in DSPI_MasterTransferEDMA()
1080 …bytes = (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount(handle->edmaRxRegToRxDataHandle… in DSPI_MasterTransferGetCountEDMA()
1335 handle->nbytes = (uint8_t)(transferConfigA.minorLoopBytes); in DSPI_SlaveTransferEDMA()
1524 …bytes = (uint32_t)handle->nbytes * EDMA_GetRemainingMajorLoopCount(handle->edmaRxRegToRxDataHandle… in DSPI_SlaveTransferGetCountEDMA()

12