Lines Matching refs:transferLength
558 int creditPad, creditRemainder, transferLength, bundlesSpaceRemaining = in htc_issue_packets_bundle() local
586 transferLength = pPacket->ActualLength + HTC_HDR_LENGTH; in htc_issue_packets_bundle()
587 creditRemainder = transferLength % pEndpoint->TxCreditSize; in htc_issue_packets_bundle()
589 if (transferLength < pEndpoint->TxCreditSize) { in htc_issue_packets_bundle()
591 transferLength; in htc_issue_packets_bundle()
595 transferLength += creditPad; in htc_issue_packets_bundle()
598 if (bundlesSpaceRemaining < transferLength) { in htc_issue_packets_bundle()
637 bundlesSpaceRemaining -= transferLength; in htc_issue_packets_bundle()
1165 unsigned int transferLength; in get_htc_send_packets_credit_based() local
1244 transferLength = pPacket->ActualLength + HTC_HDR_LENGTH; in get_htc_send_packets_credit_based()
1246 if (transferLength <= pEndpoint->TxCreditSize) { in get_htc_send_packets_credit_based()
1251 transferLength / pEndpoint->TxCreditSize; in get_htc_send_packets_credit_based()
1252 remainder = transferLength % pEndpoint->TxCreditSize; in get_htc_send_packets_credit_based()