Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_lpi2c_edma.c197 size_t tmpRxSize = xfer->dataSize; in LPI2C_GenerateCommands() local
198 while (tmpRxSize != 0U) in LPI2C_GenerateCommands()
200 if (tmpRxSize > 256U) in LPI2C_GenerateCommands()
203 tmpRxSize -= 256U; in LPI2C_GenerateCommands()
207 … cmd[cmdCount++] = (uint16_t)kRxDataCmd | (uint16_t)LPI2C_MTDR_DATA(tmpRxSize - 1U); in LPI2C_GenerateCommands()
208 tmpRxSize = 0U; in LPI2C_GenerateCommands()
Dfsl_lpi2c.c756 size_t tmpRxSize = rxSize; in LPI2C_MasterStop() local
777 while (tmpRxSize != 0U) in LPI2C_MasterStop()
779 if (tmpRxSize > 256U) in LPI2C_MasterStop()
782 tmpRxSize -= 256U; in LPI2C_MasterStop()
786 base->MTDR = (uint32_t)(kRxDataCmd) | (uint32_t)LPI2C_MTDR_DATA(tmpRxSize - 1U); in LPI2C_MasterStop()
787 tmpRxSize = 0U; in LPI2C_MasterStop()
1121 size_t tmpRxSize = xfer->dataSize; in LPI2C_RunTransferStateMachine() local
1122 while (tmpRxSize != 0U) in LPI2C_RunTransferStateMachine()
1124 if (tmpRxSize > 256U) in LPI2C_RunTransferStateMachine()
1127 tmpRxSize -= 256U; in LPI2C_RunTransferStateMachine()
[all …]