Lines Matching refs:bytesPerFrame
885 uint32_t bytesPerFrame = (bitsPerFrame + 7U) / 8U; local
904 if (bytesPerFrame <= 4U)
906 if ((transfer->dataSize % bytesPerFrame) != 0U)
913 if ((bytesPerFrame % 4U) != 0U)
915 if (transfer->dataSize != bytesPerFrame)
922 if ((transfer->dataSize % bytesPerFrame) != 0U)
939 if (isEdma && ((bytesPerFrame % 4U) == 3U))
952 …uint32_t bytesPerFrame = ((base->TCR & LPSPI_TCR_FRAMESZ_MASK) >> LPSPI_TCR_FRAMESZ_SHIFT) … local
957 uint32_t rxFifoMaxBytes = MIN(bytesPerFrame, 4U) * LPSPI_GetRxFifoSize(base);
994 if (stateParams->isPcsContinuous && (txRemainingByteCount == bytesPerFrame))
1008 txRemainingByteCount -= bytesPerFrame;
1209 …uint32_t bytesPerFrame = ((base->TCR & LPSPI_TCR_FRAMESZ_MASK) >> LPSPI_TCR_FRAMESZ_SHIFT) / 8U + … local
1212 (bytesPerFrame < transfer->dataSize));
1255 if (bytesPerFrame <= 4U)
1257 stateParams.bytesEachWrite = (uint8_t)bytesPerFrame;
1258 stateParams.bytesEachRead = (uint8_t)bytesPerFrame;
1375 …handle->bytesPerFrame = (uint16_t)((base->TCR & LPSPI_TCR_FRAMESZ_MASK) >> LPSPI_TCR_FRAMESZ_SHIFT…
1378 (transfer->dataSize > handle->bytesPerFrame));
1380 …(transfer->dataSize / (uint32_t)handle->bytesPerFrame) * (((uint32_t)handle->bytesPerFrame + 3U) /…
1389 if (handle->bytesPerFrame <= 4U)
1391 handle->bytesEachWrite = (uint8_t)handle->bytesPerFrame;
1392 handle->bytesEachRead = (uint8_t)handle->bytesPerFrame;
1478 handle->txRemainingByteCount -= (uint32_t)handle->bytesPerFrame;
1500 if ((handle->bytesPerFrame / 4U) < (uint16_t)handle->rxWatermark)
1503 … (uint8_t)(handle->bytesPerFrame / 4U) > 0U ? (uint8_t)(handle->bytesPerFrame / 4U - 1U) : 0U;
1758 …if ((handle->txRemainingByteCount == (uint32_t)handle->bytesPerFrame) && (handle->isPcsContinuous))
1772 handle->txRemainingByteCount -= (uint32_t)handle->bytesPerFrame;
1892 …uint32_t bytesPerFrame = ((base->TCR & LPSPI_TCR_FRAMESZ_MASK) >> LPSPI_TCR_FRAMESZ_SHIFT) / 8U + … local
1901 …handle->writeRegRemainingTimes = (transfer->dataSize / bytesPerFrame) * ((bytesPerFrame + 3U) / 4U…
1907 if (bytesPerFrame <= 4U)
1909 handle->bytesEachWrite = (uint8_t)bytesPerFrame;
1910 handle->bytesEachRead = (uint8_t)bytesPerFrame;