Lines Matching refs:numbit
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() local
520 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()
556 numbit += 16; in encode_hdlc()
557 while (numbit >= 8) { in encode_hdlc()
560 numbit -= 8; in encode_hdlc()