Lines Matching refs:desCount
152 uint8_t desCount; in FLEXSPI_WriteDataDMA() local
197 desCount = (uint8_t)(dataSize / (uint32_t)handle->nbytes); in FLEXSPI_WriteDataDMA()
199 remains = (uint8_t)(dataSize - (uint32_t)desCount * (uint32_t)handle->nbytes); in FLEXSPI_WriteDataDMA()
203 DMA_SetupDescriptor(&s_flexspiDes[desCount - 1U], in FLEXSPI_WriteDataDMA()
205 … (void *)(uint64_t *)((uint32_t)data + desCount * bytesPerDes), txFifoBase, NULL); in FLEXSPI_WriteDataDMA()
206 nextDesc = &s_flexspiDes[desCount - 1U]; in FLEXSPI_WriteDataDMA()
227 desCount = 1U; in FLEXSPI_WriteDataDMA()
235 desCount = 1U; in FLEXSPI_WriteDataDMA()
239 desCount = 2U; in FLEXSPI_WriteDataDMA()
275 for (uint8_t i = desCount - 1U; i > 0U; i--) in FLEXSPI_WriteDataDMA()
312 uint8_t desCount; in FLEXSPI_ReadDataDMA() local
349 desCount = (uint8_t)(dataSize / (uint32_t)handle->nbytes); in FLEXSPI_ReadDataDMA()
351 remains = (uint8_t)(dataSize - (uint32_t)desCount * (uint32_t)handle->nbytes); in FLEXSPI_ReadDataDMA()
356 DMA_SetupDescriptor(&s_flexspiDes[desCount - 1U], in FLEXSPI_ReadDataDMA()
358 (void *)(uint64_t *)((uint32_t)data + desCount * bytesPerDes), NULL); in FLEXSPI_ReadDataDMA()
359 nextDesc = &s_flexspiDes[desCount - 1U]; in FLEXSPI_ReadDataDMA()
378 desCount = 1U; in FLEXSPI_ReadDataDMA()
386 desCount = 1U; in FLEXSPI_ReadDataDMA()
390 desCount = 2U; in FLEXSPI_ReadDataDMA()
420 for (uint8_t i = desCount - 1U; i > 0U; i--) in FLEXSPI_ReadDataDMA()