Searched refs:txCount (Results 1 – 8 of 8) sorted by relevance
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/ |
D | fsl_i3c.c | 287 size_t txCount; in I3C_MasterWaitForTxReady() local 297 I3C_MasterGetFifoCounts(base, NULL, &txCount); in I3C_MasterWaitForTxReady() 298 txCount = txFifoSize - txCount; in I3C_MasterWaitForTxReady() 308 } while ((txCount < byteCounts) && (--waitTimes)); in I3C_MasterWaitForTxReady() 315 } while (txCount < byteCounts); in I3C_MasterWaitForTxReady() 454 size_t txCount; in I3C_SlaveWaitForTxReady() local 464 I3C_SlaveGetFifoCounts(base, NULL, &txCount); in I3C_SlaveWaitForTxReady() 465 txCount = txFifoSize - txCount; in I3C_SlaveWaitForTxReady() 475 } while ((txCount == 0UL) && (--waitTimes)); in I3C_SlaveWaitForTxReady() 482 } while (txCount == 0UL); in I3C_SlaveWaitForTxReady() [all …]
|
D | fsl_i3c.h | 992 static inline void I3C_MasterGetFifoCounts(I3C_Type *base, size_t *rxCount, size_t *txCount) in I3C_MasterGetFifoCounts() argument 994 if (NULL != txCount) in I3C_MasterGetFifoCounts() 996 *txCount = (base->MDATACTRL & I3C_MDATACTRL_TXCOUNT_MASK) >> I3C_MDATACTRL_TXCOUNT_SHIFT; in I3C_MasterGetFifoCounts() 1566 static inline void I3C_SlaveGetFifoCounts(I3C_Type *base, size_t *rxCount, size_t *txCount) in I3C_SlaveGetFifoCounts() argument 1568 if (NULL != txCount) in I3C_SlaveGetFifoCounts() 1570 *txCount = (base->SDATACTRL & I3C_SDATACTRL_TXCOUNT_MASK) >> I3C_SDATACTRL_TXCOUNT_SHIFT; in I3C_SlaveGetFifoCounts()
|
D | fsl_flexspi.h | 564 static inline void FLEXSPI_GetFifoCounts(FLEXSPI_Type *base, size_t *txCount, size_t *rxCount) in FLEXSPI_GetFifoCounts() argument 566 if (NULL != txCount) in FLEXSPI_GetFifoCounts() 568 … *txCount = (((base->IPTXFSTS) & FLEXSPI_IPTXFSTS_FILL_MASK) >> FLEXSPI_IPTXFSTS_FILL_SHIFT) * 8U; in FLEXSPI_GetFifoCounts()
|
/hal_nxp-2.7.6/mcux/drivers/kinetis/ |
D | fsl_lpi2c.c | 274 size_t txCount; in LPI2C_MasterWaitForTxReady() local 285 LPI2C_MasterGetFifoCounts(base, NULL, &txCount); in LPI2C_MasterWaitForTxReady() 286 txCount = txFifoSize - txCount; in LPI2C_MasterWaitForTxReady() 296 } while ((0U == txCount) && (0U != --waitTimes)); in LPI2C_MasterWaitForTxReady() 303 } while (0U == txCount); in LPI2C_MasterWaitForTxReady() 1014 size_t txCount; in LPI2C_RunTransferStateMachine() local 1042 LPI2C_MasterGetFifoCounts(base, &rxCount, &txCount); in LPI2C_RunTransferStateMachine() 1043 txCount = txFifoSize - txCount; in LPI2C_RunTransferStateMachine() 1052 if (0U == txCount--) in LPI2C_RunTransferStateMachine() 1090 if (0U == txCount--) in LPI2C_RunTransferStateMachine() [all …]
|
D | fsl_lpi2c.h | 671 static inline void LPI2C_MasterGetFifoCounts(LPI2C_Type *base, size_t *rxCount, size_t *txCount) in LPI2C_MasterGetFifoCounts() argument 673 if (NULL != txCount) in LPI2C_MasterGetFifoCounts() 675 *txCount = (base->MFSR & LPI2C_MFSR_TXCOUNT_MASK) >> LPI2C_MFSR_TXCOUNT_SHIFT; in LPI2C_MasterGetFifoCounts()
|
/hal_nxp-2.7.6/mcux/drivers/imx/ |
D | fsl_lpi2c.c | 248 size_t txCount; in LPI2C_MasterWaitForTxReady() local 257 LPI2C_MasterGetFifoCounts(base, NULL, &txCount); in LPI2C_MasterWaitForTxReady() 258 txCount = txFifoSize - txCount; in LPI2C_MasterWaitForTxReady() 269 } while ((0U == txCount) && (0U != waitTimes)); in LPI2C_MasterWaitForTxReady() 276 } while (0U == txCount); in LPI2C_MasterWaitForTxReady() 1057 size_t txCount; in LPI2C_RunTransferStateMachine() local 1082 LPI2C_MasterGetFifoCounts(base, &rxCount, &txCount); in LPI2C_RunTransferStateMachine() 1083 txCount = txFifoSize - txCount; in LPI2C_RunTransferStateMachine() 1092 if (0U == txCount--) in LPI2C_RunTransferStateMachine() 1147 if (0U == txCount--) in LPI2C_RunTransferStateMachine() [all …]
|
D | fsl_flexspi.h | 564 static inline void FLEXSPI_GetFifoCounts(FLEXSPI_Type *base, size_t *txCount, size_t *rxCount) in FLEXSPI_GetFifoCounts() argument 566 if (NULL != txCount) in FLEXSPI_GetFifoCounts() 568 … *txCount = (((base->IPTXFSTS) & FLEXSPI_IPTXFSTS_FILL_MASK) >> FLEXSPI_IPTXFSTS_FILL_SHIFT) * 8U; in FLEXSPI_GetFifoCounts()
|
D | fsl_lpi2c.h | 723 static inline void LPI2C_MasterGetFifoCounts(LPI2C_Type *base, size_t *rxCount, size_t *txCount) in LPI2C_MasterGetFifoCounts() argument 725 if (NULL != txCount) in LPI2C_MasterGetFifoCounts() 727 *txCount = (base->MFSR & LPI2C_MFSR_TXCOUNT_MASK) >> LPI2C_MFSR_TXCOUNT_SHIFT; in LPI2C_MasterGetFifoCounts()
|