Home
last modified time | relevance | path

Searched refs:transferSofar (Results 1 – 15 of 15) sorted by relevance

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_ip3516hs.c1626 trCurrent->transferSofar += s_UsbHostIp3516HsPtd[usbHostState->controllerId] in USB_HostIp3516HsCancelPipe()
1645 if (((trCurrent->transferSofar != trCurrent->transferLength) || in USB_HostIp3516HsCancelPipe()
1666 trCurrent->transferSofar += s_UsbHostIp3516HsPtd[usbHostState->controllerId] in USB_HostIp3516HsCancelPipe()
1686 if ((0U == trCurrent->transferSofar) && (kStatus_USB_Success == trStatus)) in USB_HostIp3516HsCancelPipe()
1705 trCurrent->transferSofar += s_UsbHostIp3516HsPtd[usbHostState->controllerId] in USB_HostIp3516HsCancelPipe()
1725 … if ((0U == trCurrent->transferSofar) && (kStatus_USB_Success == trStatus)) in USB_HostIp3516HsCancelPipe()
2047 transferLength = (tr->transferLength - tr->transferSofar); in USB_HostIp3516HsWriteControlPipe()
2057 bufferAddress[i] = tr->transferBuffer[tr->transferSofar + i]; in USB_HostIp3516HsWriteControlPipe()
2079 if (transferLength < (tr->transferLength - tr->transferSofar)) in USB_HostIp3516HsWriteControlPipe()
2151 transferLength = (tr->transferLength - tr->transferSofar); in USB_HostIp3516HsWriteBulkPipe()
[all …]
Dusb_host_khci.c1061 buf += transfer->transferSofar; in _USB_HostKhciStartTranfer()
1064 … transfer->transferPipe, buf, transfer->transferLength - transfer->transferSofar); in _USB_HostKhciStartTranfer()
1105 buf += transfer->transferSofar; in _USB_HostKhciStartTranfer()
1108 transfer->transferPipe, buf, transfer->transferLength - transfer->transferSofar); in _USB_HostKhciStartTranfer()
1156 transfer->transferSofar += (uint32_t)transferResult; in _USB_HostKhciFinishTranfer()
1157 if (((transfer->transferLength - transfer->transferSofar) <= 0U) || in _USB_HostKhciFinishTranfer()
1171 transfer->transferSofar += (uint32_t)transferResult; in _USB_HostKhciFinishTranfer()
1172 if (((transfer->transferLength - transfer->transferSofar) == 0U) || in _USB_HostKhciFinishTranfer()
1392 … tempTransfer->transferSofar += (uint32_t)tempTransfer->union1.transferResult; in _USB_HostKhciTransferStateMachine()
1929 transfer->transferSofar = 0U; in USB_HostKhciReadpipe()
Dusb_host_ehci.c2322 transfer->transferSofar = in USB_HostEhciQhQtdListDeinit()
2325 transfer->transferSofar = (transfer->transferLength < transfer->transferSofar) ? in USB_HostEhciQhQtdListDeinit()
2327 (transfer->transferLength - transfer->transferSofar); in USB_HostEhciQhQtdListDeinit()
2426 transfer->transferSofar = in USB_HostEhciTransferQtdListDeinit()
2429 transfer->transferSofar = (transfer->transferLength < transfer->transferSofar) ? in USB_HostEhciTransferQtdListDeinit()
2431 (transfer->transferLength - transfer->transferSofar); in USB_HostEhciTransferQtdListDeinit()
2969 transfer->transferSofar = in USB_HostEhciSitdArrayDeinit()
3323 transfer->transferSofar = doneLength; in USB_HostEhciItdArrayDeinit()
3863 transfer->transferSofar = in USB_HostEhciTransactionDone()
3866 … transfer->transferSofar = (transfer->transferLength < transfer->transferSofar) ? in USB_HostEhciTransactionDone()
[all …]
Dusb_host_hci.c396 transfer->transferSofar = 0; in USB_HostSend()
436 transfer->transferSofar = 0; in USB_HostSendSetup()
484 transfer->transferSofar = 0; in USB_HostRecv()
Dusb_host.h245 uint32_t transferSofar; /*!< Length transferred so far*/ member
Dusb_host_ohci.c1045 currentTr->transferSofar = 0U; in USB_HostOhciTdDoneHandle()
1048 …currentTr->transferSofar += ((uint32_t)itd->OffsetPSW[i] & (USB_HOST_OHCI_ITD_TRANSFER_SIZE_MASK)); in USB_HostOhciTdDoneHandle()
1071 currentTr->transferSofar = currentTr->transferLength - currentTr->transferSofar; in USB_HostOhciTdDoneHandle()
1115 currentTr->transferSofar = currentTr->transferLength; in USB_HostOhciTdDoneHandle()
Dusb_host_devices.c196 dataLength = transfer->transferSofar; in USB_HostEnumerationTransferCallback()
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_phdc.c138 phdcInstance->stallDataLength = stallTransfer->transferSofar; in USB_HostPhdcClearHalt()
197 transfer->transferSofar, status); in USB_HostPhdcControlPipeCallback()
253 transfer->transferSofar, status); in USB_HostPhdcSetClearFeatureEndpointHaltCallback()
285 …nce->inCallbackFn(phdcInstance->inCallbackParam, transfer->transferBuffer, transfer->transferSofar, in USB_HostPhdcInterruptPipeCallback()
392 …nce->inCallbackFn(phdcInstance->inCallbackParam, transfer->transferBuffer, transfer->transferSofar, in USB_HostPhdcBulkInPipeCallback()
425 …e->outCallbackFn(phdcInstance->outCallbackParam, transfer->transferBuffer, transfer->transferSofar, in USB_HostPhdcBulkOutPipeCallback()
Dusb_host_printer.c146 printerInstance->stallDataLength = stallTransfer->transferSofar; in USB_HostPrinterClearHalt()
194 transfer->transferSofar, status); in USB_HostPrinterInPipeCallback()
220 transfer->transferSofar, status); in USB_HostPrinterOutPipeCallback()
236 transfer->transferSofar, status); in USB_HostPrinterControlPipeCallback()
Dusb_host_hid.c149 hidInstance->stallDataLength = stallTransfer->transferSofar; in USB_HostHidClearHalt()
194 …ance->inCallbackFn(hidInstance->inCallbackParam, transfer->transferBuffer, transfer->transferSofar, in USB_HostHidInPipeCallback()
219 …ce->outCallbackFn(hidInstance->outCallbackParam, transfer->transferBuffer, transfer->transferSofar, in USB_HostHidOutPipeCallback()
235 transfer->transferSofar, status); in USB_HostHidControlCallback()
Dusb_host_cdc.c76 cdcInstance->stallDataLength = stallTransfer->transferSofar; in USB_HostCdcClearHalt()
128 …ance->inCallbackFn(cdcInstance->inCallbackParam, transfer->transferBuffer, transfer->transferSofar, in USB_HostCdcDataInPipeCallback()
159 …ce->outCallbackFn(cdcInstance->outCallbackParam, transfer->transferBuffer, transfer->transferSofar, in USB_HostCdcDataOutPipeCallback()
194 transfer->transferSofar, status); in USB_HostCdcInterruptPipeCallback()
216 transfer->transferSofar, status); in USB_HostCdcControlPipeCallback()
Dusb_host_msd.c331 … transfer->transferSofar, status); /* callback to application */ in USB_HostMsdControlCallback()
354 if ((transfer->transferSofar == USB_HOST_UFI_CSW_LENGTH) && in USB_HostMsdCswCallback()
457 if (transfer->transferSofar == USB_HOST_UFI_CBW_LENGTH) in USB_HostMsdCbwCallback()
559 msdInstance->msdCommand.dataSofar += transfer->transferSofar; in USB_HostMsdDataCallback()
Dusb_host_hub.c92 … transfer->transferSofar, status); /* callback to application */ in USB_HostHubControlCallback()
104 …ance->inCallbackFn(hubInstance->inCallbackParam, transfer->transferBuffer, transfer->transferSofar, in USB_HostHubInPipeCallback()
Dusb_host_video.c264 transfer->transferSofar, status); in USB_HostVideoSetControlInterfaceCallback()
313 transfer->transferSofar, status); in USB_HostVideoControlCommandCallback()
333 transfer->transferSofar, status); in USB_HostVideoStreamIsoInPipeCallback()
Dusb_host_audio.c178 …inCallbackFn(audioPtr->inCallbackParam, transfer->transferBuffer, transfer->transferSofar, status); in _USB_HostAudioStreamIsoInPipeCallback()
197 …tCallbackFn(audioPtr->outCallbackParam, transfer->transferBuffer, transfer->transferSofar, status); in _USB_HostAudioStreamIsoOutPipeCallback()
219 …ontrolCallbackFn(audioPtr->controlCallbackParam, transfer->transferBuffer, transfer->transferSofar, in _USB_HostAudioControlCallback()