Searched refs:creditsRequired (Results 1 – 2 of 2) sorted by relevance
153 int creditsRequired; in GetHTCSendPackets() local178 creditsRequired = 1; in GetHTCSendPackets()181 creditsRequired = transferLength / target->TargetCreditSize; in GetHTCSendPackets()185 creditsRequired++; in GetHTCSendPackets()190 creditsRequired, pEndpoint->CreditDist.TxCredits)); in GetHTCSendPackets()192 if (pEndpoint->CreditDist.TxCredits < creditsRequired) { in GetHTCSendPackets()206 creditsRequired - pEndpoint->CreditDist.TxCredits; in GetHTCSendPackets()213 if (pEndpoint->CreditDist.TxCredits < creditsRequired) { in GetHTCSendPackets()223 pEndpoint->CreditDist.TxCredits -= creditsRequired; in GetHTCSendPackets()224 INC_HTC_EP_STAT(pEndpoint, TxCreditsConsummed, creditsRequired); in GetHTCSendPackets()[all …]
586 int creditsRequired, remainder; in HCITrySend() local692 creditsRequired = transferLength / pProt->CreditSize; in HCITrySend()696 creditsRequired++; in HCITrySend()700 creditsRequired, pProt->CreditsAvailable)); in HCITrySend()702 if (creditsRequired > pProt->CreditsAvailable) { in HCITrySend()705 pProt->CreditsCurrentSeek = creditsRequired; in HCITrySend()720 pProt->CreditsCurrentSeek = creditsRequired; in HCITrySend()739 pProt->CreditsAvailable -= creditsRequired; in HCITrySend()740 pProt->CreditsConsumed += creditsRequired; in HCITrySend()