Lines Matching refs:numbits
188 s->hdlcrx.numbits += 16; in hdlcdrv_receiver()
201 s->hdlcrx.numbits in hdlcdrv_receiver()
208 s->hdlcrx.numbits = i; in hdlcdrv_receiver()
211 s->hdlcrx.numbits--; in hdlcdrv_receiver()
216 s->hdlcrx.numbits -= hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf, in hdlcdrv_receiver()
217 s->hdlcrx.numbits); in hdlcdrv_receiver()
277 if (s->hdlctx.numbits >= 16) { in hdlcdrv_transmitter()
284 s->hdlctx.numbits -= 16; in hdlcdrv_transmitter()
295 0x7e7e << s->hdlctx.numbits; in hdlcdrv_transmitter()
296 s->hdlctx.numbits += 16; in hdlcdrv_transmitter()
339 s->hdlctx.numbits; in hdlcdrv_transmitter()
344 mask3 = 0xffffffff >> (31-s->hdlctx.numbits); in hdlcdrv_transmitter()
345 s->hdlctx.numbits += 8; in hdlcdrv_transmitter()
355 s->hdlctx.numbits++; in hdlcdrv_transmitter()
369 s->hdlctx.bitbuf = s->hdlctx.bitstream = s->hdlctx.numbits = 0; in start_tx()
465 s->hdlctx.bitstream = s->hdlctx.bitbuf = s->hdlctx.numbits = 0; in hdlcdrv_open()
664 s->hdlctx.bitstream = s->hdlctx.bitbuf = s->hdlctx.numbits = 0; in hdlcdrv_setup()