Lines Matching refs:bytesPerFrame
828 uint32_t bytesPerFrame = (bitsPerFrame + 7U) / 8U; local
847 if (bytesPerFrame <= 4U)
849 if ((transfer->dataSize % bytesPerFrame) != 0U)
856 if ((bytesPerFrame % 4U) != 0U)
858 if (transfer->dataSize != bytesPerFrame)
865 if ((transfer->dataSize % bytesPerFrame) != 0U)
886 if (isEdma && ((bytesPerFrame % 4U) == 3U))
944 …uint32_t bytesPerFrame = ((base->TCR & LPSPI_TCR_FRAMESZ_MASK) >> LPSPI_TCR_FRAMESZ_SHIFT) / 8U + … local
947 (bytesPerFrame < transfer->dataSize));
948 uint32_t rxFifoMaxBytes = MIN(bytesPerFrame, 4U) * fifoSize;
987 if (bytesPerFrame <= 4U)
989 bytesEachWrite = (uint8_t)bytesPerFrame;
990 bytesEachRead = (uint8_t)bytesPerFrame;
1031 if (isPcsContinuous && (txRemainingByteCount == bytesPerFrame))
1038 txRemainingByteCount -= bytesPerFrame;
1219 …handle->bytesPerFrame = (uint16_t)((base->TCR & LPSPI_TCR_FRAMESZ_MASK) >> LPSPI_TCR_FRAMESZ_SHIFT…
1222 (transfer->dataSize > handle->bytesPerFrame));
1224 …(transfer->dataSize / (uint32_t)handle->bytesPerFrame) * (((uint32_t)handle->bytesPerFrame + 3U) /…
1233 if (handle->bytesPerFrame <= 4U)
1235 handle->bytesEachWrite = (uint8_t)handle->bytesPerFrame;
1236 handle->bytesEachRead = (uint8_t)handle->bytesPerFrame;
1310 handle->txRemainingByteCount -= (uint32_t)handle->bytesPerFrame;
1328 if ((handle->bytesPerFrame / 4U) < (uint16_t)handle->rxWatermark)
1331 … (uint8_t)(handle->bytesPerFrame / 4U) > 0U ? (uint8_t)(handle->bytesPerFrame / 4U - 1U) : 0U;
1582 …if ((handle->txRemainingByteCount == (uint32_t)handle->bytesPerFrame) && (handle->isPcsContinuous))
1589 handle->txRemainingByteCount -= (uint32_t)handle->bytesPerFrame;
1723 …uint32_t bytesPerFrame = ((base->TCR & LPSPI_TCR_FRAMESZ_MASK) >> LPSPI_TCR_FRAMESZ_SHIFT) / 8U + … local
1732 …handle->writeRegRemainingTimes = (transfer->dataSize / bytesPerFrame) * ((bytesPerFrame + 3U) / 4U…
1738 if (bytesPerFrame <= 4U)
1740 handle->bytesEachWrite = (uint8_t)bytesPerFrame;
1741 handle->bytesEachRead = (uint8_t)bytesPerFrame;