Lines Matching refs:bitstream
216 unsigned int bitbuf, bitstream, numbits, state; member
490 bitstream &= ~(0x100 << j); \
494 notbitstream = ~bitstream; \
504 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local
520 bitstream = bitbuf = numbit = 0; in encode_hdlc()
522 bitstream >>= 8; in encode_hdlc()
523 bitstream |= ((unsigned int)*bp) << 8; in encode_hdlc()
525 notbitstream = ~bitstream; in encode_hdlc()
716 if ((bitstream & (0x1f8 << j)) == (0xf8 << j)) /* stuffed bit */ \
728 if ((bitstream & (0x1fe << j)) != (0x0fc << j)) /* flag received */ \
747 unsigned int bitbuf, notbitstream, bitstream, numbits, state; in receive() local
754 bitstream = bc->hdlcrx.bitstream; in receive()
765 bitstream >>= 8; in receive()
766 bitstream |= (*cp) << 8; in receive()
770 notbitstream = ~bitstream; in receive()
802 bc->hdlcrx.bitstream = bitstream; in receive()