Lines Matching refs:tr
29 usb_host_transfer_t *tr);
33 usb_host_transfer_t *tr);
39 usb_host_transfer_t *tr);
1301 usb_host_transfer_t *tr) in USB_HostOhciCancelPipe() argument
1337 trCurrent = itd->tr; in USB_HostOhciCancelPipe()
1343 trCurrent = gtd->tr; in USB_HostOhciCancelPipe()
1348 if ((NULL == tr) || (tr == trCurrent)) in USB_HostOhciCancelPipe()
1374 if ((NULL == tr) || (tr == trCurrent)) in USB_HostOhciCancelPipe()
1537 usb_host_transfer_t *tr, in USB_HostOhciFillGtd() argument
1548 gtd->tr = tr; in USB_HostOhciFillGtd()
1559 usb_host_transfer_t *tr) in USB_HostOhciLinkGtdControlTr() argument
1571 …if ((0U != pipe->isBusy) && (kStatus_UsbHostOhci_Idle == (usb_host_ohci_transfer_status_t)tr->setu… in USB_HostOhciLinkGtdControlTr()
1580 transferStaus = (usb_host_ohci_transfer_status_t)tr->setupStatus; in USB_HostOhciLinkGtdControlTr()
1595 tr->union1.unitHead = (uint32_t)p; in USB_HostOhciLinkGtdControlTr()
1596 …USB_HostOhciFillGtd(pipe, tr, p, (uint8_t *)tr->setupPacket, 8U, USB_HOST_OHCI_GTD_DP_SETUP, 0x02U… in USB_HostOhciLinkGtdControlTr()
1597 if (0U != tr->transferLength) in USB_HostOhciLinkGtdControlTr()
1599 tr->setupStatus = (uint8_t)kStatus_UsbHostOhci_Setup; in USB_HostOhciLinkGtdControlTr()
1603 tr->setupStatus = (uint8_t)kStatus_UsbHostOhci_Data; in USB_HostOhciLinkGtdControlTr()
1620 tr->union1.unitHead = (uint32_t)p; in USB_HostOhciLinkGtdControlTr()
1621 …dirPid = (tr->direction == USB_OUT) ? USB_HOST_OHCI_GTD_DP_OUT : USB_HOST_OHCI_GTD_DP… in USB_HostOhciLinkGtdControlTr()
1622 …USB_HostOhciFillGtd(pipe, tr, p, (uint8_t *)tr->transferBuffer, tr->transferLength, dirPid, 0x03U,… in USB_HostOhciLinkGtdControlTr()
1623 tr->setupStatus = (uint8_t)kStatus_UsbHostOhci_Data; in USB_HostOhciLinkGtdControlTr()
1638 tr->union1.unitHead = (uint32_t)p; in USB_HostOhciLinkGtdControlTr()
1639 if (tr->setupPacket->wLength > 0u) in USB_HostOhciLinkGtdControlTr()
1641 … statePid = (tr->direction == USB_OUT) ? USB_HOST_OHCI_GTD_DP_IN : USB_HOST_OHCI_GTD_DP_OUT; in USB_HostOhciLinkGtdControlTr()
1647 USB_HostOhciFillGtd(pipe, tr, p, NULL, 0U, statePid, 0x03, 1U); in USB_HostOhciLinkGtdControlTr()
1648 tr->setupStatus = (uint8_t)kStatus_UsbHostOhci_State; in USB_HostOhciLinkGtdControlTr()
1652 tr->setupStatus = (uint8_t)kStatus_UsbHostOhci_Idle; in USB_HostOhciLinkGtdControlTr()
1659 tr->setupStatus = (uint8_t)kStatus_UsbHostOhci_Idle; in USB_HostOhciLinkGtdControlTr()
1678 tr->transferPipe = (usb_host_pipe_t *)temp; in USB_HostOhciLinkGtdControlTr()
1688 usb_host_transfer_t *tr) in USB_HostOhciLinkGtdTr() argument
1692 uint32_t remainingLength = tr->transferLength; in USB_HostOhciLinkGtdTr()
1695 uint32_t bufferAddress = (uint32_t)tr->transferBuffer; in USB_HostOhciLinkGtdTr()
1745 tr->union1.unitHead = (uint32_t)p; in USB_HostOhciLinkGtdTr()
1746 …dirPid = (tr->direction == USB_OUT) ? USB_HOST_OHCI_GTD_DP_OUT : USB_HOST_OHCI_GTD_DP… in USB_HostOhciLinkGtdTr()
1748 remainingLength = tr->transferLength; in USB_HostOhciLinkGtdTr()
1749 bufferAddress = (uint32_t)tr->transferBuffer; in USB_HostOhciLinkGtdTr()
1765 USB_HostOhciFillGtd(pipe, tr, p, (uint8_t *)bufferAddress, tdLength, dirPid, 0x00U, 0U); in USB_HostOhciLinkGtdTr()
1771 USB_HostOhciFillGtd(pipe, tr, p, (uint8_t *)bufferAddress, tdLength, dirPid, 0x00U, 1U); in USB_HostOhciLinkGtdTr()
1776 if (0U == tr->transferLength) in USB_HostOhciLinkGtdTr()
1778 USB_HostOhciFillGtd(pipe, tr, p, NULL, 0U, dirPid, 0x00U, 1U); in USB_HostOhciLinkGtdTr()
1787 tr->transferPipe = (usb_host_pipe_t *)temp; in USB_HostOhciLinkGtdTr()
1802 usb_host_transfer_t *tr, in USB_HostOhciFillItd() argument
1815 itd->tr = tr; in USB_HostOhciFillItd()
1830 usb_host_transfer_t *tr) in USB_HostOhciLinkItdTr() argument
1834 uint32_t remainingLength = tr->transferLength; in USB_HostOhciLinkItdTr()
1837 uint32_t bufferAddress = (uint32_t)tr->transferBuffer; in USB_HostOhciLinkItdTr()
1874 tr->union1.unitHead = (uint32_t)p; in USB_HostOhciLinkItdTr()
1886 USB_HostOhciFillItd(pipe, tr, p, (uint8_t *)bufferAddress, tdLength, startFrame); in USB_HostOhciLinkItdTr()
1901 tr->transferPipe = (usb_host_pipe_t *)temp; in USB_HostOhciLinkItdTr()
1931 trCurrent = itd->tr; in USB_HostOhciTokenDone()
1937 trCurrent = gtd->tr; in USB_HostOhciTokenDone()