Lines Matching refs:transfer
1278 status_t I3C_MasterTransferBlocking(I3C_Type *base, i3c_master_transfer_t *transfer) in I3C_MasterTransferBlocking() argument
1280 assert(NULL != transfer); in I3C_MasterTransferBlocking()
1281 assert(transfer->subaddressSize <= sizeof(transfer->subaddress)); in I3C_MasterTransferBlocking()
1284 i3c_direction_t direction = transfer->direction; in I3C_MasterTransferBlocking()
1289 …checkDdrState = (transfer->busType == kI3C_TypeI3CDdr) ? (masterState != kI3C_MasterStateDdr) : tr… in I3C_MasterTransferBlocking()
1304 if (transfer->busType != kI3C_TypeI3CDdr) in I3C_MasterTransferBlocking()
1306 direction = (0UL != transfer->subaddressSize) ? kI3C_Write : transfer->direction; in I3C_MasterTransferBlocking()
1309 if (0UL == (transfer->flags & (uint32_t)kI3C_TransferNoStartFlag)) in I3C_MasterTransferBlocking()
1311 result = I3C_MasterStart(base, transfer->busType, transfer->slaveAddress, direction); in I3C_MasterTransferBlocking()
1332 if (0U != transfer->subaddressSize) in I3C_MasterTransferBlocking()
1334 uint32_t subaddressRemaining = transfer->subaddressSize; in I3C_MasterTransferBlocking()
1337 …uint8_t subaddressByte = (uint8_t)((transfer->subaddress >> (8UL * subaddressRemaining)) & 0xFFUL); in I3C_MasterTransferBlocking()
1341 …if ((0UL == subaddressRemaining) && ((transfer->direction == kI3C_Read) || (0UL == transfer->dataS… in I3C_MasterTransferBlocking()
1342 (transfer->busType != kI3C_TypeI3CDdr)) in I3C_MasterTransferBlocking()
1365 …if ((transfer->busType != kI3C_TypeI3CDdr) && (0UL != transfer->dataSize) && (transfer->direction … in I3C_MasterTransferBlocking()
1367 … result = I3C_MasterRepeatedStart(base, transfer->busType, transfer->slaveAddress, kI3C_Read); in I3C_MasterTransferBlocking()
1380 if ((transfer->direction == kI3C_Write) && (transfer->dataSize > 0UL)) in I3C_MasterTransferBlocking()
1383 result = I3C_MasterSend(base, transfer->data, transfer->dataSize, transfer->flags); in I3C_MasterTransferBlocking()
1386 else if ((transfer->direction == kI3C_Read) && (transfer->dataSize > 0UL)) in I3C_MasterTransferBlocking()
1388 result = I3C_MasterReceive(base, transfer->data, transfer->dataSize, transfer->flags); in I3C_MasterTransferBlocking()
1392 if ((transfer->flags & (uint32_t)kI3C_TransferNoStopFlag) == 0UL) in I3C_MasterTransferBlocking()
1499 …if ((0UL != (status & (uint32_t)kI3C_MasterSlaveStartFlag)) && (handle->transfer.busType != kI3C_T… in I3C_RunTransferStateMachine()
1515 xfer = &handle->transfer; in I3C_RunTransferStateMachine()
1738 i3c_master_transfer_t *xfer = &handle->transfer; in I3C_InitTransferStateMachine()
1808 …erTransferNonBlocking(I3C_Type *base, i3c_master_handle_t *handle, i3c_master_transfer_t *transfer) in I3C_MasterTransferNonBlocking() argument
1811 assert(NULL != transfer); in I3C_MasterTransferNonBlocking()
1812 assert(transfer->subaddressSize <= sizeof(transfer->subaddress)); in I3C_MasterTransferNonBlocking()
1823 …checkDdrState = (transfer->busType == kI3C_TypeI3CDdr) ? (masterState != kI3C_MasterStateDdr) : tr… in I3C_MasterTransferNonBlocking()
1833 handle->transfer = *transfer; in I3C_MasterTransferNonBlocking()
1834 handle->remainingBytes = transfer->dataSize; in I3C_MasterTransferNonBlocking()
1838 base->MCTRL |= I3C_MCTRL_IBIRESP(transfer->ibiResponse); in I3C_MasterTransferNonBlocking()
1852 if (transfer->direction == kI3C_Write) in I3C_MasterTransferNonBlocking()
1894 dataSize = handle->transfer.dataSize; in I3C_MasterTransferGetCount()
2369 (void)memset(&handle->transfer, 0, sizeof(handle->transfer)); in I3C_SlaveTransferNonBlocking()
2433 (void)memset(&handle->transfer, 0, sizeof(handle->transfer)); in I3C_SlaveTransferAbort()
2465 xfer = &handle->transfer; in I3C_SlaveTransferHandleIRQ()
2557 (void)memset(&handle->transfer, 0, sizeof(handle->transfer)); in I3C_SlaveTransferHandleIRQ()