Lines Matching refs:tdLength
1694 uint32_t tdLength = 0U; in USB_HostOhciLinkGtdTr() local
1714 … tdLength = USB_HOST_OHCI_GTD_MAX_LENGTH - (bufferAddress & USB_HOST_OHCI_GTD_BUFFER_ALIGN_MASK); in USB_HostOhciLinkGtdTr()
1715 if (tdLength < remainingLength) in USB_HostOhciLinkGtdTr()
1717 tdLength -= tdLength % pipe->pipeCommon.maxPacketSize; in USB_HostOhciLinkGtdTr()
1721 tdLength = remainingLength; in USB_HostOhciLinkGtdTr()
1723 remainingLength -= tdLength; in USB_HostOhciLinkGtdTr()
1724 bufferAddress += tdLength; in USB_HostOhciLinkGtdTr()
1753 … tdLength = USB_HOST_OHCI_GTD_MAX_LENGTH - (bufferAddress & USB_HOST_OHCI_GTD_BUFFER_ALIGN_MASK); in USB_HostOhciLinkGtdTr()
1754 if (tdLength < remainingLength) in USB_HostOhciLinkGtdTr()
1756 tdLength -= tdLength % pipe->pipeCommon.maxPacketSize; in USB_HostOhciLinkGtdTr()
1760 tdLength = remainingLength; in USB_HostOhciLinkGtdTr()
1762 remainingLength -= tdLength; 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()
1773 bufferAddress += tdLength; in USB_HostOhciLinkGtdTr()
1836 uint32_t tdLength = 0U; in USB_HostOhciLinkItdTr() local
1881 tdLength = ((uint32_t)pipe->pipeCommon.maxPacketSize) * ((uint32_t)tansaction); in USB_HostOhciLinkItdTr()
1882 if (tdLength > remainingLength) in USB_HostOhciLinkItdTr()
1884 tdLength = remainingLength; in USB_HostOhciLinkItdTr()
1886 USB_HostOhciFillItd(pipe, tr, p, (uint8_t *)bufferAddress, tdLength, startFrame); in USB_HostOhciLinkItdTr()
1887 remainingLength -= tdLength; in USB_HostOhciLinkItdTr()
1894 bufferAddress += tdLength; in USB_HostOhciLinkItdTr()