Lines Matching refs:transferLength

1645                         if (((trCurrent->transferSofar != trCurrent->transferLength) ||  in USB_HostIp3516HsCancelPipe()
1977 uint32_t transferLength; in USB_HostIp3516HsWriteControlPipe() local
2011 transferLength = pipe->pipeCommon.maxPacketSize; in USB_HostIp3516HsWriteControlPipe()
2012 if (kStatus_USB_Success == USB_HostIp3516HsGetBuffer(usbHostState, transferLength, in USB_HostIp3516HsWriteControlPipe()
2047 transferLength = (tr->transferLength - tr->transferSofar); in USB_HostIp3516HsWriteControlPipe()
2048 if (transferLength > pipe->bufferLength) in USB_HostIp3516HsWriteControlPipe()
2050 transferLength = pipe->bufferLength; in USB_HostIp3516HsWriteControlPipe()
2055 for (uint32_t i = 0; i < transferLength; i++) in USB_HostIp3516HsWriteControlPipe()
2063 atl->dataUnion.dataBitField.NrBytesToTransfer = transferLength; in USB_HostIp3516HsWriteControlPipe()
2068 if (0U != transferLength) in USB_HostIp3516HsWriteControlPipe()
2079 if (transferLength < (tr->transferLength - tr->transferSofar)) in USB_HostIp3516HsWriteControlPipe()
2138 uint32_t transferLength; in USB_HostIp3516HsWriteBulkPipe() local
2151 transferLength = (tr->transferLength - tr->transferSofar); in USB_HostIp3516HsWriteBulkPipe()
2158 if (transferLength > 4096U) in USB_HostIp3516HsWriteBulkPipe()
2160 transferLength = 4096U; in USB_HostIp3516HsWriteBulkPipe()
2162 if (kStatus_USB_Success == USB_HostIp3516HsGetBuffer(usbHostState, transferLength, in USB_HostIp3516HsWriteBulkPipe()
2176 if (transferLength > pipe->bufferLength) in USB_HostIp3516HsWriteBulkPipe()
2178 transferLength = pipe->bufferLength; in USB_HostIp3516HsWriteBulkPipe()
2181 if ((USB_OUT == tr->direction) && (transferLength > 0U)) in USB_HostIp3516HsWriteBulkPipe()
2183 …id)memcpy((void *)bufferAddress, (void *)(&tr->transferBuffer[tr->transferSofar]), transferLength); in USB_HostIp3516HsWriteBulkPipe()
2189 atl->dataUnion.dataBitField.NrBytesToTransfer = transferLength; in USB_HostIp3516HsWriteBulkPipe()
2216 uint32_t transferLength; in USB_HostIp3516HsWriteIsoPipe() local
2232 transferLength = (currentTr->transferLength - currentTr->transferSofar); in USB_HostIp3516HsWriteIsoPipe()
2256 if (kStatus_USB_Success == USB_HostIp3516HsGetBuffer(usbHostState, transferLength, in USB_HostIp3516HsWriteIsoPipe()
2277 if (transferLength > indexLength.state.bufferLength) in USB_HostIp3516HsWriteIsoPipe()
2279 transferLength = indexLength.state.bufferLength; in USB_HostIp3516HsWriteIsoPipe()
2284 for (uint32_t i = 0; i < transferLength; i++) in USB_HostIp3516HsWriteIsoPipe()
2292 if (transferLength > pipe->pipeCommon.maxPacketSize) in USB_HostIp3516HsWriteIsoPipe()
2294 transferLength = pipe->pipeCommon.maxPacketSize; in USB_HostIp3516HsWriteIsoPipe()
2300 ptl->dataUnion.dataBitField.NrBytesToTransfer = transferLength; in USB_HostIp3516HsWriteIsoPipe()
2358 if (primedLength >= currentTr->transferLength) in USB_HostIp3516HsWriteIsoPipe()
2371 if (transferLength <= 192U) in USB_HostIp3516HsWriteIsoPipe()
2373 sptl->control1Union.stateBitField.MaxPacketLength = transferLength; in USB_HostIp3516HsWriteIsoPipe()
2383 if (transferLength <= 188U) in USB_HostIp3516HsWriteIsoPipe()
2386 sptl->control1Union.stateBitField.MaxPacketLength = transferLength; in USB_HostIp3516HsWriteIsoPipe()
2388 sptl->control1Union.stateBitField.MaxPacketLength = transferLength + 1U; in USB_HostIp3516HsWriteIsoPipe()
2423 uint32_t transferLength; in USB_HostIp3516HsWriteInterruptPipe() local
2442 transferLength = (tr->transferLength - tr->transferSofar); in USB_HostIp3516HsWriteInterruptPipe()
2443 if (transferLength > pipe->pipeCommon.maxPacketSize) in USB_HostIp3516HsWriteInterruptPipe()
2445 transferLength = pipe->pipeCommon.maxPacketSize; in USB_HostIp3516HsWriteInterruptPipe()
2447 …if (kStatus_USB_Success == USB_HostIp3516HsGetBuffer(usbHostState, transferLength, pipe->pipeCommo… in USB_HostIp3516HsWriteInterruptPipe()
2462 for (uint32_t i = 0; i < transferLength; i++) in USB_HostIp3516HsWriteInterruptPipe()
2471 ptl->dataUnion.dataBitField.NrBytesToTransfer = transferLength; in USB_HostIp3516HsWriteInterruptPipe()
2935 (pipe->trList->transferSofar < pipe->trList->transferLength)) in USB_HostIp3516HsTokenDone()