Lines Matching refs:txData

61 static uint32_t LPSPI_CombineWriteData(uint8_t *txData, uint8_t bytesEachWrite, bool isByteSwap);
746 if ((NULL == (transfer->txData)) && (NULL == (transfer->rxData))) in LPSPI_CheckTransferArgument()
785 if ((transfer->txData != NULL) && (transfer->rxData != NULL)) in LPSPI_CheckTransferArgument()
789 if (NULL == transfer->txData) in LPSPI_CheckTransferArgument()
843 uint8_t *txData = transfer->txData; in LPSPI_MasterTransferBlocking() local
867 (txData == NULL)) in LPSPI_MasterTransferBlocking()
950 if (txData != NULL) in LPSPI_MasterTransferBlocking()
952 wordToSend = LPSPI_CombineWriteData(txData, bytesEachWrite, isByteSwap); in LPSPI_MasterTransferBlocking()
953 txData += bytesEachWrite; in LPSPI_MasterTransferBlocking()
1122 handle->txData = transfer->txData; in LPSPI_MasterTransferNonBlocking()
1176 (handle->txData == NULL)) in LPSPI_MasterTransferNonBlocking()
1291 if (handle->txData != NULL) in LPSPI_MasterTransferFillUpTxFifo()
1293 wordToSend = LPSPI_CombineWriteData(handle->txData, bytesEachWrite, isByteSwap); in LPSPI_MasterTransferFillUpTxFifo()
1294 handle->txData += bytesEachWrite; in LPSPI_MasterTransferFillUpTxFifo()
1621 handle->txData = transfer->txData; in LPSPI_SlaveTransferNonBlocking()
1663 if (handle->txData == NULL) in LPSPI_SlaveTransferNonBlocking()
1688 if (handle->txData != NULL) in LPSPI_SlaveTransferNonBlocking()
1715 if (handle->txData != NULL) in LPSPI_SlaveTransferNonBlocking()
1740 wordToSend = LPSPI_CombineWriteData(handle->txData, bytesEachWrite, isByteSwap); in LPSPI_SlaveTransferFillUpTxFifo()
1741 handle->txData += bytesEachWrite; in LPSPI_SlaveTransferFillUpTxFifo()
1887 if ((handle->txRemainingByteCount > 0U) && (handle->txData != NULL)) in LPSPI_SlaveTransferHandleIRQ()
1909 … if ((handle->rxData == NULL) && (handle->txRemainingByteCount != 0U) && (handle->txData != NULL)) in LPSPI_SlaveTransferHandleIRQ()
1946 if (handle->txData != NULL) in LPSPI_SlaveTransferHandleIRQ()
1958 if (handle->txData != NULL) in LPSPI_SlaveTransferHandleIRQ()
1966 static uint32_t LPSPI_CombineWriteData(uint8_t *txData, uint8_t bytesEachWrite, bool isByteSwap) in LPSPI_CombineWriteData() argument
1968 assert(txData != NULL); in LPSPI_CombineWriteData()
1975 wordToSend = *txData; in LPSPI_CombineWriteData()
1976 ++txData; in LPSPI_CombineWriteData()
1982 wordToSend = *txData; in LPSPI_CombineWriteData()
1983 ++txData; in LPSPI_CombineWriteData()
1984 wordToSend |= (unsigned)(*txData) << 8U; in LPSPI_CombineWriteData()
1985 ++txData; in LPSPI_CombineWriteData()
1989 wordToSend = (unsigned)(*txData) << 8U; in LPSPI_CombineWriteData()
1990 ++txData; in LPSPI_CombineWriteData()
1991 wordToSend |= *txData; in LPSPI_CombineWriteData()
1992 ++txData; in LPSPI_CombineWriteData()
2000 wordToSend = *txData; in LPSPI_CombineWriteData()
2001 ++txData; in LPSPI_CombineWriteData()
2002 wordToSend |= (unsigned)(*txData) << 8U; in LPSPI_CombineWriteData()
2003 ++txData; in LPSPI_CombineWriteData()
2004 wordToSend |= (unsigned)(*txData) << 16U; in LPSPI_CombineWriteData()
2005 ++txData; in LPSPI_CombineWriteData()
2009 wordToSend = (unsigned)(*txData) << 16U; in LPSPI_CombineWriteData()
2010 ++txData; in LPSPI_CombineWriteData()
2011 wordToSend |= (unsigned)(*txData) << 8U; in LPSPI_CombineWriteData()
2012 ++txData; in LPSPI_CombineWriteData()
2013 wordToSend |= *txData; in LPSPI_CombineWriteData()
2014 ++txData; in LPSPI_CombineWriteData()
2021 wordToSend = *txData; in LPSPI_CombineWriteData()
2022 ++txData; in LPSPI_CombineWriteData()
2023 wordToSend |= (unsigned)(*txData) << 8U; in LPSPI_CombineWriteData()
2024 ++txData; in LPSPI_CombineWriteData()
2025 wordToSend |= (unsigned)(*txData) << 16U; in LPSPI_CombineWriteData()
2026 ++txData; in LPSPI_CombineWriteData()
2027 wordToSend |= (unsigned)(*txData) << 24U; in LPSPI_CombineWriteData()
2028 ++txData; in LPSPI_CombineWriteData()
2032 wordToSend = (unsigned)(*txData) << 24U; in LPSPI_CombineWriteData()
2033 ++txData; in LPSPI_CombineWriteData()
2034 wordToSend |= (unsigned)(*txData) << 16U; in LPSPI_CombineWriteData()
2035 ++txData; in LPSPI_CombineWriteData()
2036 wordToSend |= (unsigned)(*txData) << 8U; in LPSPI_CombineWriteData()
2037 ++txData; in LPSPI_CombineWriteData()
2038 wordToSend |= *txData; in LPSPI_CombineWriteData()
2039 ++txData; in LPSPI_CombineWriteData()