/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/ |
D | usb_host_ip3516hs.c | 1626 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 …]
|
D | usb_host_khci.c | 1061 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()
|
D | usb_host_ehci.c | 2322 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 …]
|
D | usb_host_hci.c | 396 transfer->transferSofar = 0; in USB_HostSend() 436 transfer->transferSofar = 0; in USB_HostSendSetup() 484 transfer->transferSofar = 0; in USB_HostRecv()
|
D | usb_host.h | 245 uint32_t transferSofar; /*!< Length transferred so far*/ member
|
D | usb_host_ohci.c | 1045 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()
|
D | usb_host_devices.c | 196 dataLength = transfer->transferSofar; in USB_HostEnumerationTransferCallback()
|
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/ |
D | usb_host_phdc.c | 138 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()
|
D | usb_host_printer.c | 146 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()
|
D | usb_host_hid.c | 149 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()
|
D | usb_host_cdc.c | 76 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()
|
D | usb_host_msd.c | 331 … 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()
|
D | usb_host_hub.c | 92 … transfer->transferSofar, status); /* callback to application */ in USB_HostHubControlCallback() 104 …ance->inCallbackFn(hubInstance->inCallbackParam, transfer->transferBuffer, transfer->transferSofar, in USB_HostHubInPipeCallback()
|
D | usb_host_video.c | 264 transfer->transferSofar, status); in USB_HostVideoSetControlInterfaceCallback() 313 transfer->transferSofar, status); in USB_HostVideoControlCommandCallback() 333 transfer->transferSofar, status); in USB_HostVideoStreamIsoInPipeCallback()
|
D | usb_host_audio.c | 178 …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()
|