Lines Matching refs:numbits
175 s->hdlcrx.numbits += 16; in hdlcdrv_receiver()
188 s->hdlcrx.numbits in hdlcdrv_receiver()
195 s->hdlcrx.numbits = i; in hdlcdrv_receiver()
198 s->hdlcrx.numbits--; in hdlcdrv_receiver()
203 s->hdlcrx.numbits -= hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf, in hdlcdrv_receiver()
204 s->hdlcrx.numbits); in hdlcdrv_receiver()
264 if (s->hdlctx.numbits >= 16) { in hdlcdrv_transmitter()
271 s->hdlctx.numbits -= 16; in hdlcdrv_transmitter()
282 0x7e7e << s->hdlctx.numbits; in hdlcdrv_transmitter()
283 s->hdlctx.numbits += 16; in hdlcdrv_transmitter()
326 s->hdlctx.numbits; in hdlcdrv_transmitter()
331 mask3 = 0xffffffff >> (31-s->hdlctx.numbits); in hdlcdrv_transmitter()
332 s->hdlctx.numbits += 8; in hdlcdrv_transmitter()
342 s->hdlctx.numbits++; in hdlcdrv_transmitter()
356 s->hdlctx.bitbuf = s->hdlctx.bitstream = s->hdlctx.numbits = 0; in start_tx()
452 s->hdlctx.bitstream = s->hdlctx.bitbuf = s->hdlctx.numbits = 0; in hdlcdrv_open()
650 s->hdlctx.bitstream = s->hdlctx.bitbuf = s->hdlctx.numbits = 0; in hdlcdrv_setup()