Searched refs:txCount (Results 1 – 2 of 2) sorted by relevance
267 size_t txCount; in LPI2C_MasterWaitForTxReady() local274 LPI2C_MasterGetFifoCounts(base, NULL, &txCount); in LPI2C_MasterWaitForTxReady()275 txCount = txFifoSize - txCount; in LPI2C_MasterWaitForTxReady()284 } while (!txCount); in LPI2C_MasterWaitForTxReady()699 size_t txCount; in LPI2C_RunTransferStateMachine() local719 LPI2C_MasterGetFifoCounts(base, &rxCount, &txCount); in LPI2C_RunTransferStateMachine()720 txCount = txFifoSize - txCount; in LPI2C_RunTransferStateMachine()730 if (!txCount--) in LPI2C_RunTransferStateMachine()767 if (!txCount--) in LPI2C_RunTransferStateMachine()788 if (!txCount--) in LPI2C_RunTransferStateMachine()[all …]
660 static inline void LPI2C_MasterGetFifoCounts(LPI2C_Type *base, size_t *rxCount, size_t *txCount) in LPI2C_MasterGetFifoCounts() argument662 if (txCount) in LPI2C_MasterGetFifoCounts()664 *txCount = (base->MFSR & LPI2C_MFSR_TXCOUNT_MASK) >> LPI2C_MFSR_TXCOUNT_SHIFT; in LPI2C_MasterGetFifoCounts()