Lines Matching refs:trCurrent
1573 usb_host_transfer_t *trCurrent; in USB_HostIp3516HsCancelPipe() local
1615 trCurrent = pipe->trList; in USB_HostIp3516HsCancelPipe()
1617 while (NULL != trCurrent) in USB_HostIp3516HsCancelPipe()
1619 trPos = trCurrent->next; in USB_HostIp3516HsCancelPipe()
1620 if ((NULL == tr) || (tr == trCurrent)) in USB_HostIp3516HsCancelPipe()
1626 trCurrent->transferSofar += s_UsbHostIp3516HsPtd[usbHostState->controllerId] in USB_HostIp3516HsCancelPipe()
1645 if (((trCurrent->transferSofar != trCurrent->transferLength) || in USB_HostIp3516HsCancelPipe()
1649 … if (kStatus_USB_Success == (usb_status_t)trCurrent->union1.transferResult) in USB_HostIp3516HsCancelPipe()
1656 trCurrent->union1.transferResult = (int32_t)kStatus_USB_Success; 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()
1701 indexLength.indexLength = trCurrent->union2.frame; in USB_HostIp3516HsCancelPipe()
1702 trCurrent->union2.frame = 0; 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()
1769 … trCurrent->callbackFn(trCurrent->callbackParam, trCurrent, trStatus); /* transfer callback */ in USB_HostIp3516HsCancelPipe()
1773 trPre = trCurrent; in USB_HostIp3516HsCancelPipe()
1775 trCurrent = trPos; in USB_HostIp3516HsCancelPipe()
2601 usb_host_transfer_t *trCurrent = p->trList; in USB_HostIp3516HsCheckIsoTransferSofar()
2605 trCurrent->union1.transferResult = kStatus_USB_TransferFailed; in USB_HostIp3516HsCheckIsoTransferSofar()
2609 trCurrent->union1.transferResult = kStatus_USB_Success; in USB_HostIp3516HsCheckIsoTransferSofar()
2611 if (USB_IN == trCurrent->direction) in USB_HostIp3516HsCheckIsoTransferSofar()
2613 …memcpy(&trCurrent->transferBuffer[trCurrent->transferSofar], &s_UsbHostIp3516HsBufferArray[p->buff… in USB_HostIp3516HsCheckIsoTransferSofar()
2615 trCurrent->transferSofar += s_UsbHostIp3516HsPtd[usbHostState->controllerId] in USB_HostIp3516HsCheckIsoTransferSofar()
2748 usb_host_transfer_t *trCurrent; in USB_HostIp3516HsTokenDone() local
2767 trCurrent = pipe->trList; in USB_HostIp3516HsTokenDone()
2768 if (NULL == trCurrent) in USB_HostIp3516HsTokenDone()
2783 transferStatus = (usb_host_ip3516hs_transfer_status_t)trCurrent->setupStatus; in USB_HostIp3516HsTokenDone()
2802 trCurrent->setupStatus = (uint8_t)kStatus_UsbHostIp3516Hs_Data; in USB_HostIp3516HsTokenDone()
2804 if (USB_IN == trCurrent->direction) in USB_HostIp3516HsTokenDone()
2806 … (void)memcpy((void *)(&trCurrent->transferBuffer[trCurrent->transferSofar]), in USB_HostIp3516HsTokenDone()
2812 … trCurrent->transferSofar += s_UsbHostIp3516HsPtd[usbHostState->controllerId] in USB_HostIp3516HsTokenDone()
2817 if (USB_IN == trCurrent->direction) in USB_HostIp3516HsTokenDone()
2819 … (void)memcpy((void *)(&trCurrent->transferBuffer[trCurrent->transferSofar]), in USB_HostIp3516HsTokenDone()
2825 … trCurrent->transferSofar += s_UsbHostIp3516HsPtd[usbHostState->controllerId] in USB_HostIp3516HsTokenDone()
2894 if (USB_IN == trCurrent->direction) in USB_HostIp3516HsTokenDone()
2899 (void)memcpy((void *)(&trCurrent->transferBuffer[trCurrent->transferSofar]), in USB_HostIp3516HsTokenDone()
2902 trCurrent->transferSofar += s_UsbHostIp3516HsPtd[usbHostState->controllerId] in USB_HostIp3516HsTokenDone()
2973 if (USB_IN == trCurrent->direction) in USB_HostIp3516HsTokenDone()
2975 (void)memcpy((void *)(&trCurrent->transferBuffer[trCurrent->transferSofar]), in USB_HostIp3516HsTokenDone()
2981 trCurrent->transferSofar += s_UsbHostIp3516HsPtd[usbHostState->controllerId] in USB_HostIp3516HsTokenDone()
3018 indexLength.indexLength = trCurrent->union2.frame; in USB_HostIp3516HsTokenDone()
3019 trCurrent->union2.frame = 0u; in USB_HostIp3516HsTokenDone()
3034 if (USB_IN == trCurrent->direction) in USB_HostIp3516HsTokenDone()
3036 (void)memcpy((void *)(&trCurrent->transferBuffer[trCurrent->transferSofar]), in USB_HostIp3516HsTokenDone()
3042 trCurrent->transferSofar += s_UsbHostIp3516HsPtd[usbHostState->controllerId] in USB_HostIp3516HsTokenDone()
3053 trCurrent->union1.transferResult = (int32_t)kStatus_USB_TransferFailed; in USB_HostIp3516HsTokenDone()
3057 trCurrent->union1.transferResult = (int32_t)kStatus_USB_Success; in USB_HostIp3516HsTokenDone()
3084 trStatus = (usb_status_t)trCurrent->union1.transferResult; in USB_HostIp3516HsTokenDone()
3097 pipe->trList = trCurrent->next; in USB_HostIp3516HsTokenDone()
3115 (USB_REQUEST_STANDARD_CLEAR_FEATURE == trCurrent->setupPacket->bRequest) && in USB_HostIp3516HsTokenDone()
3116 … (USB_REQUEST_TYPE_RECIPIENT_ENDPOINT == trCurrent->setupPacket->bmRequestType) && in USB_HostIp3516HsTokenDone()
3118 (USB_SHORT_FROM_LITTLE_ENDIAN(trCurrent->setupPacket->wValue) & 0x00FFU))) in USB_HostIp3516HsTokenDone()
3127 … ((uint8_t)(USB_SHORT_FROM_LITTLE_ENDIAN(trCurrent->setupPacket->wIndex))))) in USB_HostIp3516HsTokenDone()
3186 … trCurrent->callbackFn(trCurrent->callbackParam, trCurrent, trStatus); /* transfer callback */ in USB_HostIp3516HsTokenDone()