Lines Matching refs:bitstream
191 unsigned int bitbuf, bitstream, numbits, state; member
378 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local
395 bitstream = bitbuf = numbit = 0; in encode_hdlc()
397 bitstream >>= 8; in encode_hdlc()
398 bitstream |= ((unsigned int)*bp) << 8; in encode_hdlc()
400 notbitstream = ~bitstream; in encode_hdlc()
407 bitstream &= ~(0x100 << j); in encode_hdlc()
411 notbitstream = ~bitstream; in encode_hdlc()
569 unsigned int bitbuf, notbitstream, bitstream, numbits, state; in receive() local
577 bitstream = bc->hdlcrx.bitstream; in receive()
588 bitstream >>= 8; in receive()
589 bitstream |= (*cp) << 8; in receive()
593 notbitstream = ~bitstream; in receive()
604 else if ((bitstream & (0x1fe << j)) == (0x0fc << j)) { in receive()
615 else if (unlikely((bitstream & (0x1f8 << j)) == (0xf8 << j))) { in receive()
633 bc->hdlcrx.bitstream = bitstream; in receive()