Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/drivers/lpi2c/
Dfsl_lpi2c_edma.c208 size_t tmpRxSize = xfer->dataSize; in LPI2C_GenerateCommands() local
209 while (tmpRxSize != 0U) in LPI2C_GenerateCommands()
211 if (tmpRxSize > 256U) in LPI2C_GenerateCommands()
214 tmpRxSize -= 256U; in LPI2C_GenerateCommands()
218 … cmd[cmdCount++] = (uint16_t)kRxDataCmd | (uint16_t)LPI2C_MTDR_DATA(tmpRxSize - 1U); in LPI2C_GenerateCommands()
219 tmpRxSize = 0U; in LPI2C_GenerateCommands()
Dfsl_lpi2c.c883 size_t tmpRxSize = rxSize; in LPI2C_MasterStop() local
904 while (tmpRxSize != 0U) in LPI2C_MasterStop()
906 if (tmpRxSize > 256U) in LPI2C_MasterStop()
909 tmpRxSize -= 256U; in LPI2C_MasterStop()
913 base->MTDR = (uint32_t)(kRxDataCmd) | (uint32_t)LPI2C_MTDR_DATA(tmpRxSize - 1U); in LPI2C_MasterStop()
914 tmpRxSize = 0U; in LPI2C_MasterStop()
1227 size_t tmpRxSize = handle->transfer.dataSize; in LPI2C_TransferStateMachineSendCommand() local
1228 while (tmpRxSize != 0U) in LPI2C_TransferStateMachineSendCommand()
1240 if (tmpRxSize > 256U) in LPI2C_TransferStateMachineSendCommand()
1243 tmpRxSize -= 256U; in LPI2C_TransferStateMachineSendCommand()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/lpflexcomm/lpi2c/
Dfsl_lpi2c_edma.c215 size_t tmpRxSize = xfer->dataSize; in LPI2C_GenerateCommands() local
216 while (tmpRxSize != 0U) in LPI2C_GenerateCommands()
218 if (tmpRxSize > 256U) in LPI2C_GenerateCommands()
221 tmpRxSize -= 256U; in LPI2C_GenerateCommands()
225 … cmd[cmdCount++] = (uint16_t)kRxDataCmd | (uint16_t)LPI2C_MTDR_DATA(tmpRxSize - 1U); in LPI2C_GenerateCommands()
226 tmpRxSize = 0U; in LPI2C_GenerateCommands()
Dfsl_lpi2c.c790 size_t tmpRxSize = rxSize; in LPI2C_MasterStop() local
811 while (tmpRxSize != 0U) in LPI2C_MasterStop()
813 if (tmpRxSize > 256U) in LPI2C_MasterStop()
816 tmpRxSize -= 256U; in LPI2C_MasterStop()
820 base->MTDR = (uint32_t)(kRxDataCmd) | (uint32_t)LPI2C_MTDR_DATA(tmpRxSize - 1U); in LPI2C_MasterStop()
821 tmpRxSize = 0U; in LPI2C_MasterStop()
1193 size_t tmpRxSize = xfer->dataSize; in LPI2C_RunTransferStateMachine() local
1194 while (tmpRxSize != 0U) in LPI2C_RunTransferStateMachine()
1202 if (tmpRxSize > 256U) in LPI2C_RunTransferStateMachine()
1205 tmpRxSize -= 256U; in LPI2C_RunTransferStateMachine()
[all …]