Lines Matching refs:nbytes

181         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()
334 handle->nbytes = (uint8_t)dataSize; in FLEXSPI_ReadDataDMA()
339 handle->nbytes = handle->count; in FLEXSPI_ReadDataDMA()
349 desCount = (uint8_t)(dataSize / (uint32_t)handle->nbytes); in FLEXSPI_ReadDataDMA()
350 bytesPerDes = handle->nbytes; in FLEXSPI_ReadDataDMA()
351 remains = (uint8_t)(dataSize - (uint32_t)desCount * (uint32_t)handle->nbytes); in FLEXSPI_ReadDataDMA()
371 handle->nbytes = (uint8_t)(dataSize / (uint32_t)handle->nsize); in FLEXSPI_ReadDataDMA()
374 if (((handle->nbytes) & (handle->nbytes - 1U)) != 0U) in FLEXSPI_ReadDataDMA()
376 handle->nbytes = 2U * ((handle->nbytes) & (handle->nbytes - 1U)); in FLEXSPI_ReadDataDMA()
406 handle->nbytes = handle->count / (uint8_t)handle->nsize; in FLEXSPI_ReadDataDMA()
416 …DMA_CHANNEL_CFG_TRIGBURST(1U) | DMA_CHANNEL_CFG_BURSTPOWER(FLEXSPI_CalculatePower(handle->nbytes)); in FLEXSPI_ReadDataDMA()