Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ntfs3/lib/
Ddecompress_common.h60 u32 bitbuf; member
76 is->bitbuf = 0; in init_input_bitstream()
92 is->bitbuf |= (u32)get_unaligned_le16(is->next) in bitstream_ensure_bits()
107 return (is->bitbuf >> 1) >> (sizeof(is->bitbuf) * 8 - num_bits - 1); in bitstream_peek_bits()
117 is->bitbuf <<= num_bits; in bitstream_remove_bits()
195 is->bitbuf = 0; in bitstream_align()
/linux-6.1.9/drivers/net/hamradio/
Dhdlcdrv.c174 s->hdlcrx.bitbuf >>= 16; in hdlcdrv_receiver()
175 s->hdlcrx.bitbuf |= word << 16; in hdlcdrv_receiver()
187 hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf in hdlcdrv_receiver()
200 s->hdlcrx.bitbuf = (s->hdlcrx.bitbuf & (~mask6)) | in hdlcdrv_receiver()
201 ((s->hdlcrx.bitbuf & mask6) << 1); in hdlcdrv_receiver()
204 s->hdlcrx.numbits -= hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf, in hdlcdrv_receiver()
270 hdlcdrv_hbuf_put(&s->hdlctx.hbuf, s->hdlctx.bitbuf); in hdlcdrv_transmitter()
271 s->hdlctx.bitbuf >>= 16; in hdlcdrv_transmitter()
282 s->hdlctx.bitbuf |= in hdlcdrv_transmitter()
326 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-6.1.9/include/linux/
Dhdlcdrv.h112 unsigned int bitbuf; member
136 unsigned int bitbuf; member
/linux-6.1.9/drivers/net/wireless/admtek/
Dadm8211.c508 u32 reg, bitbuf; \
512 bitbuf = (value << v_shift) | (addr << a_shift); \
525 if (bitbuf & (1 << (bits - i))) \