Lines Matching refs:cbin
62 hdlc->cbin = 0x7e; in isdnhdlc_out_init()
137 if (h->cbin == fast_flag[h->bit_shift]) { \ in isdnhdlc_decode()
165 hdlc->cbin = bitrev8(*src++); in isdnhdlc_decode()
167 hdlc->cbin = *src++; in isdnhdlc_decode()
178 if (hdlc->cbin == 0xff) { in isdnhdlc_decode()
187 if (!(hdlc->cbin & 0x80)) { in isdnhdlc_decode()
196 hdlc->cbin <<= 1; in isdnhdlc_decode()
200 if (hdlc->cbin & 0x80) { in isdnhdlc_decode()
206 hdlc->cbin <<= 1; in isdnhdlc_decode()
210 if (hdlc->cbin & 0x80) { in isdnhdlc_decode()
220 hdlc->cbin <<= 1; in isdnhdlc_decode()
224 if (hdlc->cbin & 0x80) { in isdnhdlc_decode()
234 if (hdlc->cbin == fast_abort in isdnhdlc_decode()
277 hdlc->cbin <<= 1; in isdnhdlc_decode()
296 hdlc->cbin <<= 1; in isdnhdlc_decode()
300 if (hdlc->cbin == hdlc->ffvalue) { in isdnhdlc_decode()
304 if (hdlc->cbin == 0xff) { in isdnhdlc_decode()
403 hdlc->cbin = hdlc->ffvalue >> in isdnhdlc_encode()
413 hdlc->cbin <<= 1; in isdnhdlc_encode()
419 hdlc->cbin <<= 1; in isdnhdlc_encode()
421 hdlc->cbin++; in isdnhdlc_encode()
426 hdlc->cbin <<= 1; in isdnhdlc_encode()
447 hdlc->cbin <<= 1; in isdnhdlc_encode()
450 hdlc->cbin++; in isdnhdlc_encode()
460 hdlc->cbin <<= 1; in isdnhdlc_encode()
471 hdlc->cbin++; in isdnhdlc_encode()
481 hdlc->cbin <<= 1; in isdnhdlc_encode()
489 hdlc->cbin++; in isdnhdlc_encode()
504 hdlc->cbin <<= 1; in isdnhdlc_encode()
512 hdlc->cbin++; in isdnhdlc_encode()
527 hdlc->cbin <<= 1; in isdnhdlc_encode()
534 hdlc->cbin++; in isdnhdlc_encode()
564 hdlc->cbin <<= 1; in isdnhdlc_encode()
565 hdlc->cbin++; in isdnhdlc_encode()
575 hdlc->cbin = 0xff; in isdnhdlc_encode()
578 hdlc->cbin = 0x7e; in isdnhdlc_encode()
583 *dst++ = bitrev8(hdlc->cbin); in isdnhdlc_encode()
585 *dst++ = hdlc->cbin; in isdnhdlc_encode()
597 hdlc->cbin <<= 1; in isdnhdlc_encode()
598 hdlc->cbin++; in isdnhdlc_encode()
605 *dst++ = bitrev8(hdlc->cbin); in isdnhdlc_encode()
607 *dst++ = hdlc->cbin; in isdnhdlc_encode()