Lines Matching refs:currentTr
44 usb_host_transfer_t *currentTr,
931 usb_host_transfer_t *currentTr, in USB_HostOhciTdDoneHandle() argument
951 if (NULL == currentTr) in USB_HostOhciTdDoneHandle()
978 if (kStatus_USB_Success == (usb_status_t)currentTr->union2.frame) in USB_HostOhciTdDoneHandle()
1001 currentTr->union2.frame = (uint32_t)kStatus_USB_TransferFailed; in USB_HostOhciTdDoneHandle()
1007 currentTr->union2.frame = (uint32_t)kStatus_USB_TransferFailed; in USB_HostOhciTdDoneHandle()
1010 currentTr->union2.frame = (uint32_t)kStatus_USB_TransferFailed; in USB_HostOhciTdDoneHandle()
1016 currentTr->union2.frame = (uint32_t)kStatus_USB_TransferStall; in USB_HostOhciTdDoneHandle()
1026 itdP = (usb_host_ohci_isochronous_transfer_descritpor_struct_t *)currentTr->union1.unitHead; in USB_HostOhciTdDoneHandle()
1038 currentTr->union1.unitHead = (uint32_t)itdP->nextItd; in USB_HostOhciTdDoneHandle()
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()
1055 if (kStatus_USB_Success == (usb_status_t)currentTr->union2.frame) in USB_HostOhciTdDoneHandle()
1059 currentTr->union2.frame = (uint32_t)kStatus_USB_DataOverRun; in USB_HostOhciTdDoneHandle()
1063 currentTr->union2.frame = (uint32_t)kStatus_USB_Error; in USB_HostOhciTdDoneHandle()
1069 if (currentTr->direction == USB_OUT) in USB_HostOhciTdDoneHandle()
1071 currentTr->transferSofar = currentTr->transferLength - currentTr->transferSofar; in USB_HostOhciTdDoneHandle()
1081 gtdP = (usb_host_ohci_general_transfer_descritpor_struct_t *)currentTr->union1.unitHead; in USB_HostOhciTdDoneHandle()
1094 currentTr->union1.unitHead = (uint32_t)gtdP->nextGtd; in USB_HostOhciTdDoneHandle()
1112 …currentTr->transferLength -= ((0U != (((gtd->BE) ^ (gtd->CBP)) & 0xFFFFF000U)) ? 0x00001000U : 0U)… in USB_HostOhciTdDoneHandle()
1115 currentTr->transferSofar = currentTr->transferLength; in USB_HostOhciTdDoneHandle()
1120 temp = (uint32_t *)(currentTr->union1.unitHead); in USB_HostOhciTdDoneHandle()
1123 if ((0U == pipe->isCanceling) && ((uint32_t)kStatus_USB_Success == currentTr->union2.frame)) in USB_HostOhciTdDoneHandle()
1141 temp = (uint32_t *)(currentTr->union1.unitHead); in USB_HostOhciTdDoneHandle()
1150 if (currentTr == trPos) in USB_HostOhciTdDoneHandle()
1175 if ((kStatus_USB_Success == ((usb_status_t)currentTr->union2.frame)) && in USB_HostOhciTdDoneHandle()
1177 (USB_REQUEST_STANDARD_CLEAR_FEATURE == currentTr->setupPacket->bRequest) && in USB_HostOhciTdDoneHandle()
1178 (USB_REQUEST_TYPE_RECIPIENT_ENDPOINT == currentTr->setupPacket->bmRequestType) && in USB_HostOhciTdDoneHandle()
1180 (USB_SHORT_FROM_LITTLE_ENDIAN(currentTr->setupPacket->wValue) & 0x00FFU))) in USB_HostOhciTdDoneHandle()
1188 … ((uint8_t)(USB_SHORT_FROM_LITTLE_ENDIAN(currentTr->setupPacket->wIndex)))) && in USB_HostOhciTdDoneHandle()
1218 (void)USB_HostOhciWritePipe(usbHostState, pipe, currentTr); in USB_HostOhciTdDoneHandle()
1227 currentTr->callbackFn(currentTr->callbackParam, currentTr, in USB_HostOhciTdDoneHandle()
1228 … (usb_status_t)currentTr->union2.frame); /* transfer callback */ in USB_HostOhciTdDoneHandle()
2009 if ((0U != pipe->isDone) && (pipe->currentTr == pipe->ed->trListHead)) in USB_HostOhciSof()
2036 pipe->currentTr = pipe->ed->trListHead; in USB_HostOhciSof()