Lines Matching refs:remains
153 uint8_t remains; in FLEXSPI_WriteDataDMA() local
199 remains = (uint8_t)(dataSize - (uint32_t)desCount * (uint32_t)handle->nbytes); in FLEXSPI_WriteDataDMA()
200 if (remains > 0U) in FLEXSPI_WriteDataDMA()
204 … DMA_CHANNEL_XFER(false, true, true, false, width, srcInc, dstInc, remains), in FLEXSPI_WriteDataDMA()
209 remains = (uint8_t)bytesPerDes; in FLEXSPI_WriteDataDMA()
232 remains = (uint8_t)(dataSize % (uint32_t)handle->count); in FLEXSPI_WriteDataDMA()
233 if (remains == 0U) in FLEXSPI_WriteDataDMA()
240 bytesPerDes = dataSize - remains; in FLEXSPI_WriteDataDMA()
241 if ((remains & 3U) == 0U) in FLEXSPI_WriteDataDMA()
245 else if ((remains & 1U) == 0U) in FLEXSPI_WriteDataDMA()
279 … false, (uint32_t)handle->nsize, srcInc, dstInc, remains), in FLEXSPI_WriteDataDMA()
311 uint8_t remains; in FLEXSPI_ReadDataDMA() local
351 remains = (uint8_t)(dataSize - (uint32_t)desCount * (uint32_t)handle->nbytes); in FLEXSPI_ReadDataDMA()
353 if (remains > 0U) in FLEXSPI_ReadDataDMA()
357 … DMA_CHANNEL_XFER(false, true, true, false, width, srcInc, dstInc, remains), rxFifoBase, in FLEXSPI_ReadDataDMA()
361 remains = (uint8_t)bytesPerDes; in FLEXSPI_ReadDataDMA()
383 remains = (uint8_t)(dataSize % (uint32_t)handle->count); in FLEXSPI_ReadDataDMA()
384 if (remains == 0U) in FLEXSPI_ReadDataDMA()
391 bytesPerDes = dataSize - remains; in FLEXSPI_ReadDataDMA()
392 if ((remains & 3U) == 0U) in FLEXSPI_ReadDataDMA()
396 else if ((remains & 1U) == 0U) in FLEXSPI_ReadDataDMA()
424 … false, (uint32_t)handle->nsize, srcInc, dstInc, remains), in FLEXSPI_ReadDataDMA()