Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/hamradio/
Dbaycom_epp.c378 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local
395 bitstream = bitbuf = numbit = 0; in encode_hdlc()
399 bitbuf |= ((unsigned int)*bp) << numbit; in encode_hdlc()
408 bitbuf = (bitbuf & (((2 << j) << numbit) - 1)) | in encode_hdlc()
409 ((bitbuf & ~(((2 << j) << numbit) - 1)) << 1); in encode_hdlc()
410 numbit++; in encode_hdlc()
413 numbit += 8; in encode_hdlc()
414 while (numbit >= 8) { in encode_hdlc()
417 numbit -= 8; in encode_hdlc()
420 bitbuf |= 0x7e7e << numbit; in encode_hdlc()
[all …]