Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/hamradio/
Dhdlcdrv.c173 s->hdlcrx.bitbuf >>= 16; in hdlcdrv_receiver()
174 s->hdlcrx.bitbuf |= word << 16; in hdlcdrv_receiver()
186 hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf in hdlcdrv_receiver()
199 s->hdlcrx.bitbuf = (s->hdlcrx.bitbuf & (~mask6)) | in hdlcdrv_receiver()
200 ((s->hdlcrx.bitbuf & mask6) << 1); in hdlcdrv_receiver()
203 s->hdlcrx.numbits -= hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf, in hdlcdrv_receiver()
269 hdlcdrv_hbuf_put(&s->hdlctx.hbuf, s->hdlctx.bitbuf); in hdlcdrv_transmitter()
270 s->hdlctx.bitbuf >>= 16; in hdlcdrv_transmitter()
281 s->hdlctx.bitbuf |= in hdlcdrv_transmitter()
325 s->hdlctx.bitbuf |= *s->hdlctx.bp << in hdlcdrv_transmitter()
[all …]
Dbaycom_epp.c176 unsigned int bitbuf, bitstream, numbits, state; member
363 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local
380 bitstream = bitbuf = numbit = 0; in encode_hdlc()
384 bitbuf |= ((unsigned int)*bp) << numbit; in encode_hdlc()
393 bitbuf = (bitbuf & (((2 << j) << numbit) - 1)) | in encode_hdlc()
394 ((bitbuf & ~(((2 << j) << numbit) - 1)) << 1); in encode_hdlc()
400 *wp++ = bitbuf; in encode_hdlc()
401 bitbuf >>= 8; in encode_hdlc()
405 bitbuf |= 0x7e7e << numbit; in encode_hdlc()
408 *wp++ = bitbuf; in encode_hdlc()
[all …]
/Linux-v5.4/include/linux/
Dhdlcdrv.h112 unsigned int bitbuf; member
136 unsigned int bitbuf; member
/Linux-v5.4/drivers/net/wireless/admtek/
Dadm8211.c510 u32 reg, bitbuf; \
514 bitbuf = (value << v_shift) | (addr << a_shift); \
527 if (bitbuf & (1 << (bits - i))) \