Lines Matching refs:rBits
422 int bits, rBits; in crcCalc() local
423 rBits = (rD->maxBits>=0) ? rD->maxBits : -rD->maxBits; /* ramaining bits */ in crcCalc()
424 if ((rD->maxBits>0) && (((INT)rD->bitBufCntBits>>3<<3)<rBits) ) { in crcCalc()
428 bits = rBits; in crcCalc()
435 rBits -= (calcCrc_Bytes(&crc, hCrcInfo->pCrcLookup, &bsReader, words)<<3); in crcCalc()
438 rBits -= calcCrc_Bits(&crc, hCrcInfo->crcMask, hCrcInfo->crcPoly, &bsReader, words<<3 ); in crcCalc()
443 rBits -= calcCrc_Bits(&crc, hCrcInfo->crcMask, hCrcInfo->crcPoly, &bsReader, mBits ); in crcCalc()
446 if (rBits!=0) { in crcCalc()
448 if ( (hCrcInfo->pCrcLookup) && (rBits>8) ) { in crcCalc()
449 rBits -= (calcCrc_Bytes(&crc, hCrcInfo->pCrcLookup, NULL, rBits>>3)<<3); in crcCalc()
452 if (rBits!=0) { in crcCalc()
453 rBits -= calcCrc_Bits(&crc, hCrcInfo->crcMask, hCrcInfo->crcPoly, NULL, rBits ); in crcCalc()