Lines Matching refs:numbit
378 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local
395 bitstream = bitbuf = numbit = 0; in encode_hdlc()
399 bitbuf |= ((unsigned int)*bp) << numbit; in encode_hdlc()
408 bitbuf = (bitbuf & (((2 << j) << numbit) - 1)) | in encode_hdlc()
409 ((bitbuf & ~(((2 << j) << numbit) - 1)) << 1); in encode_hdlc()
410 numbit++; in encode_hdlc()
413 numbit += 8; in encode_hdlc()
414 while (numbit >= 8) { in encode_hdlc()
417 numbit -= 8; in encode_hdlc()
420 bitbuf |= 0x7e7e << numbit; in encode_hdlc()
421 numbit += 16; in encode_hdlc()
422 while (numbit >= 8) { in encode_hdlc()
425 numbit -= 8; in encode_hdlc()