Home
last modified time | relevance | path

Searched refs:txCount (Results 1 – 2 of 2) sorted by relevance

/hal_openisa-latest/vega_sdk_riscv/devices/RV32M1/drivers/
Dfsl_lpi2c.c267 size_t txCount; in LPI2C_MasterWaitForTxReady() local
274 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() local
719 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 …]
Dfsl_lpi2c.h660 static inline void LPI2C_MasterGetFifoCounts(LPI2C_Type *base, size_t *rxCount, size_t *txCount) in LPI2C_MasterGetFifoCounts() argument
662 if (txCount) in LPI2C_MasterGetFifoCounts()
664 *txCount = (base->MFSR & LPI2C_MFSR_TXCOUNT_MASK) >> LPI2C_MFSR_TXCOUNT_SHIFT; in LPI2C_MasterGetFifoCounts()