Searched refs:numbit (Results 1 – 1 of 1) sorted by relevance
374 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local391 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()[all …]