Home
last modified time | relevance | path

Searched refs:bitbuf (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/net/hamradio/
Dhdlcdrv.c247 s->hdlcrx.bitbuf >>= 16; in hdlcdrv_receiver()
248 s->hdlcrx.bitbuf |= word << 16; in hdlcdrv_receiver()
260 hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf in hdlcdrv_receiver()
273 s->hdlcrx.bitbuf = (s->hdlcrx.bitbuf & (~mask6)) | in hdlcdrv_receiver()
274 ((s->hdlcrx.bitbuf & mask6) << 1); in hdlcdrv_receiver()
277 s->hdlcrx.numbits -= hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf, in hdlcdrv_receiver()
343 hdlcdrv_hbuf_put(&s->hdlctx.hbuf, s->hdlctx.bitbuf); in hdlcdrv_transmitter()
344 s->hdlctx.bitbuf >>= 16; in hdlcdrv_transmitter()
355 s->hdlctx.bitbuf |= in hdlcdrv_transmitter()
397 s->hdlctx.bitbuf |= *s->hdlctx.bp << in hdlcdrv_transmitter()
[all …]
Dbaycom_epp.c216 unsigned int bitbuf, bitstream, numbits, state; member
491 bitbuf = (bitbuf & (((2 << j) << numbit) - 1)) | \
492 ((bitbuf & ~(((2 << j) << numbit) - 1)) << 1); \
504 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local
520 bitstream = bitbuf = numbit = 0; in encode_hdlc()
524 bitbuf |= ((unsigned int)*bp) << numbit; in encode_hdlc()
550 *wp++ = bitbuf; in encode_hdlc()
551 bitbuf >>= 8; in encode_hdlc()
555 bitbuf |= 0x7e7e << numbit; in encode_hdlc()
558 *wp++ = bitbuf; in encode_hdlc()
[all …]
/linux-2.4.37.9/include/linux/
Dhdlcdrv.h206 unsigned int bitbuf; member
230 unsigned int bitbuf; member