Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/hamradio/
Dhdlcdrv.c186 s->hdlcrx.bitbuf >>= 16; in hdlcdrv_receiver()
187 s->hdlcrx.bitbuf |= word << 16; in hdlcdrv_receiver()
199 hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf in hdlcdrv_receiver()
212 s->hdlcrx.bitbuf = (s->hdlcrx.bitbuf & (~mask6)) | in hdlcdrv_receiver()
213 ((s->hdlcrx.bitbuf & mask6) << 1); in hdlcdrv_receiver()
216 s->hdlcrx.numbits -= hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf, in hdlcdrv_receiver()
282 hdlcdrv_hbuf_put(&s->hdlctx.hbuf, s->hdlctx.bitbuf); in hdlcdrv_transmitter()
283 s->hdlctx.bitbuf >>= 16; in hdlcdrv_transmitter()
294 s->hdlctx.bitbuf |= in hdlcdrv_transmitter()
338 s->hdlctx.bitbuf |= *s->hdlctx.bp << in hdlcdrv_transmitter()
[all …]
Dbaycom_epp.c191 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()
399 bitbuf |= ((unsigned int)*bp) << numbit; in encode_hdlc()
408 bitbuf = (bitbuf & (((2 << j) << numbit) - 1)) | in encode_hdlc()
409 ((bitbuf & ~(((2 << j) << numbit) - 1)) << 1); in encode_hdlc()
415 *wp++ = bitbuf; in encode_hdlc()
416 bitbuf >>= 8; in encode_hdlc()
420 bitbuf |= 0x7e7e << numbit; in encode_hdlc()
423 *wp++ = bitbuf; in encode_hdlc()
[all …]
/Linux-v4.19/include/linux/
Dhdlcdrv.h112 unsigned int bitbuf; member
136 unsigned int bitbuf; member
/Linux-v4.19/drivers/net/wireless/admtek/
Dadm8211.c514 u32 reg, bitbuf; \
518 bitbuf = (value << v_shift) | (addr << a_shift); \
531 if (bitbuf & (1 << (bits - i))) \