Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/hamradio/
Dbaycom_epp.c191 unsigned int bitbuf, bitstream, numbits, state; member
374 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local
391 bitstream = bitbuf = numbit = 0; in encode_hdlc()
395 bitbuf |= ((unsigned int)*bp) << numbit; in encode_hdlc()
404 bitbuf = (bitbuf & (((2 << j) << numbit) - 1)) | in encode_hdlc()
405 ((bitbuf & ~(((2 << j) << numbit) - 1)) << 1); in encode_hdlc()
411 *wp++ = bitbuf; in encode_hdlc()
412 bitbuf >>= 8; in encode_hdlc()
416 bitbuf |= 0x7e7e << numbit; in encode_hdlc()
419 *wp++ = bitbuf; in encode_hdlc()
[all …]
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 …]
/linux-4.4.14/include/linux/
Dhdlcdrv.h111 unsigned int bitbuf; member
135 unsigned int bitbuf; member
/linux-4.4.14/drivers/net/wireless/
Dadm8211.c507 u32 reg, bitbuf; \
511 bitbuf = (value << v_shift) | (addr << a_shift); \
524 if (bitbuf & (1 << (bits - i))) \