Searched refs:numbit (Results 1 – 1 of 1) sorted by relevance
491 bitbuf = (bitbuf & (((2 << j) << numbit) - 1)) | \492 ((bitbuf & ~(((2 << j) << numbit) - 1)) << 1); \493 numbit++; \504 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local520 bitstream = bitbuf = numbit = 0; in encode_hdlc()524 bitbuf |= ((unsigned int)*bp) << numbit; in encode_hdlc()548 numbit += 8; in encode_hdlc()549 while (numbit >= 8) { in encode_hdlc()552 numbit -= 8; in encode_hdlc()555 bitbuf |= 0x7e7e << numbit; in encode_hdlc()[all …]