Lines Matching refs:bitstream
191 unsigned int bitbuf, bitstream, numbits, state; member
374 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local
391 bitstream = bitbuf = numbit = 0; in encode_hdlc()
393 bitstream >>= 8; in encode_hdlc()
394 bitstream |= ((unsigned int)*bp) << 8; in encode_hdlc()
396 notbitstream = ~bitstream; in encode_hdlc()
403 bitstream &= ~(0x100 << j); in encode_hdlc()
407 notbitstream = ~bitstream; in encode_hdlc()
565 unsigned int bitbuf, notbitstream, bitstream, numbits, state; in receive() local
573 bitstream = bc->hdlcrx.bitstream; in receive()
584 bitstream >>= 8; in receive()
585 bitstream |= (*cp) << 8; in receive()
589 notbitstream = ~bitstream; in receive()
600 else if ((bitstream & (0x1fe << j)) == (0x0fc << j)) { in receive()
611 else if (unlikely((bitstream & (0x1f8 << j)) == (0xf8 << j))) { in receive()
629 bc->hdlcrx.bitstream = bitstream; in receive()