Lines Matching defs:fcs
425 u16 fcs;
439 fcs = PPP_INITFCS;
444 fcs = crc_ccitt_byte(fcs, c);
448 fcs ^= 0xffff;
449 ones = hdlc_bitstuff_byte(iwb, fcs & 0x00ff, ones);
450 ones = hdlc_bitstuff_byte(iwb, (fcs >> 8) & 0x00ff, ones);
520 * append byte c to current skb of B channel structure *bcs, updating fcs
524 bcs->fcs = crc_ccitt_byte(bcs->fcs, c);
555 bcs->fcs = PPP_INITFCS;
580 } else if (bcs->fcs != PPP_GOODFCS) {
582 bcs->fcs);
600 bcs->fcs = PPP_INITFCS;
622 bcs->fcs = PPP_INITFCS;