Home
last modified time | relevance | path

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

/linux/drivers/net/hamradio/
H A Dhdlcdrv.c176 s->hdlcrx.numbits += 16; in hdlcdrv_receiver()
189 s->hdlcrx.numbits in hdlcdrv_receiver()
196 s->hdlcrx.numbits = i; in hdlcdrv_receiver()
199 s->hdlcrx.numbits--; in hdlcdrv_receiver()
204 s->hdlcrx.numbits -= hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf, in hdlcdrv_receiver()
205 s->hdlcrx.numbits); in hdlcdrv_receiver()
265 if (s->hdlctx.numbits >= 16) { in hdlcdrv_transmitter()
272 s->hdlctx.numbits -= 16; in hdlcdrv_transmitter()
283 0x7e7e << s->hdlctx.numbits; in hdlcdrv_transmitter()
284 s->hdlctx.numbits += 16; in hdlcdrv_transmitter()
[all …]
H A Dbaycom_epp.c176 unsigned int bitbuf, bitstream, numbits, state; member
555 unsigned int bitbuf, notbitstream, bitstream, numbits, state; in receive() local
561 numbits = bc->hdlcrx.numbits; in receive()
578 numbits += 8; in receive()
596 numbits = 7-j; in receive()
602 numbits--; in receive()
606 while (state && numbits >= 8) { in receive()
610 *(bc->hdlcrx.bufptr)++ = bitbuf >> (16-numbits); in receive()
612 numbits -= 8; in receive()
617 bc->hdlcrx.numbits = numbits; in receive()
[all …]
/linux/include/linux/
H A Dhdlcdrv.h113 int numbits; member
137 int numbits; member
/linux/fs/minix/
H A Dbitmap.c27 static __u32 count_free(struct buffer_head *map[], unsigned blocksize, __u32 numbits) in count_free() argument
30 unsigned blocks = DIV_ROUND_UP(numbits, blocksize * 8); in count_free()