Lines Matching refs:numbit
374 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local
391 bitstream = bitbuf = numbit = 0; in encode_hdlc()
395 bitbuf |= ((unsigned int)*bp) << numbit; in encode_hdlc()
404 bitbuf = (bitbuf & (((2 << j) << numbit) - 1)) | in encode_hdlc()
405 ((bitbuf & ~(((2 << j) << numbit) - 1)) << 1); in encode_hdlc()
406 numbit++; in encode_hdlc()
409 numbit += 8; in encode_hdlc()
410 while (numbit >= 8) { in encode_hdlc()
413 numbit -= 8; in encode_hdlc()
416 bitbuf |= 0x7e7e << numbit; in encode_hdlc()
417 numbit += 16; in encode_hdlc()
418 while (numbit >= 8) { in encode_hdlc()
421 numbit -= 8; in encode_hdlc()