Searched refs:numbit (Results 1 – 1 of 1) sorted by relevance
363 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local380 bitstream = bitbuf = numbit = 0; in encode_hdlc()384 bitbuf |= ((unsigned int)*bp) << numbit; in encode_hdlc()393 bitbuf = (bitbuf & (((2 << j) << numbit) - 1)) | in encode_hdlc()394 ((bitbuf & ~(((2 << j) << numbit) - 1)) << 1); in encode_hdlc()395 numbit++; in encode_hdlc()398 numbit += 8; in encode_hdlc()399 while (numbit >= 8) { in encode_hdlc()402 numbit -= 8; in encode_hdlc()405 bitbuf |= 0x7e7e << numbit; in encode_hdlc()[all …]