Lines Matching refs:nbytes
187 handle->nbytes = (uint8_t)dataSize; in FLEXSPI_WriteDataDMA()
192 handle->nbytes = handle->count; in FLEXSPI_WriteDataDMA()
203 desCount = (uint8_t)(dataSize / (uint32_t)handle->nbytes); in FLEXSPI_WriteDataDMA()
204 bytesPerDes = handle->nbytes; in FLEXSPI_WriteDataDMA()
205 remains = (uint8_t)(dataSize - (uint32_t)desCount * (uint32_t)handle->nbytes); in FLEXSPI_WriteDataDMA()
224 handle->nbytes = (uint8_t)(dataSize / (uint32_t)handle->nsize); in FLEXSPI_WriteDataDMA()
228 if (((handle->nbytes) & (handle->nbytes - 1U)) != 0U) in FLEXSPI_WriteDataDMA()
230 handle->nbytes = 2U * ((handle->nbytes) & (handle->nbytes - 1U)); in FLEXSPI_WriteDataDMA()
261 handle->nbytes = handle->count / (uint8_t)handle->nsize; in FLEXSPI_WriteDataDMA()
276 … DMA_CHANNEL_CFG_TRIGBURST(1) | DMA_CHANNEL_CFG_BURSTPOWER(FLEXSPI_CalculatePower(handle->nbytes)); in FLEXSPI_WriteDataDMA()
340 handle->nbytes = (uint8_t)dataSize; in FLEXSPI_ReadDataDMA()
345 handle->nbytes = handle->count; in FLEXSPI_ReadDataDMA()
355 desCount = (uint8_t)(dataSize / (uint32_t)handle->nbytes); in FLEXSPI_ReadDataDMA()
356 bytesPerDes = handle->nbytes; in FLEXSPI_ReadDataDMA()
357 remains = (uint8_t)(dataSize - (uint32_t)desCount * (uint32_t)handle->nbytes); in FLEXSPI_ReadDataDMA()
377 handle->nbytes = (uint8_t)(dataSize / (uint32_t)handle->nsize); in FLEXSPI_ReadDataDMA()
380 if (((handle->nbytes) & (handle->nbytes - 1U)) != 0U) in FLEXSPI_ReadDataDMA()
382 handle->nbytes = 2U * ((handle->nbytes) & (handle->nbytes - 1U)); in FLEXSPI_ReadDataDMA()
412 handle->nbytes = handle->count / (uint8_t)handle->nsize; in FLEXSPI_ReadDataDMA()
422 …DMA_CHANNEL_CFG_TRIGBURST(1U) | DMA_CHANNEL_CFG_BURSTPOWER(FLEXSPI_CalculatePower(handle->nbytes)); in FLEXSPI_ReadDataDMA()