Searched refs:shift_reg (Results 1 – 3 of 3) sorted by relevance
163 h->shift_reg = fast_abort[h->ffbit_shift - 1]; \ in isdnhdlc_decode()228 hdlc->shift_reg = 0; in isdnhdlc_decode()258 hdlc->shift_reg >>= 1; in isdnhdlc_decode()259 hdlc->shift_reg |= 0x80; in isdnhdlc_decode()271 hdlc->shift_reg = 0; in isdnhdlc_decode()281 hdlc->shift_reg >>= 1; in isdnhdlc_decode()298 hdlc->shift_reg); in isdnhdlc_decode()302 dst[hdlc->dstpos++] = hdlc->shift_reg; in isdnhdlc_decode()371 hdlc->shift_reg = *src++; in isdnhdlc_encode()383 hdlc->shift_reg = in isdnhdlc_encode()[all …]
43 u8 shift_reg; member
2227 shift_reg = 0xffff; in altera_check_crc() local2256 feedback = (databyte ^ shift_reg) & 0x01; in altera_check_crc()2257 shift_reg >>= 1; in altera_check_crc()2259 shift_reg ^= 0x8408; in altera_check_crc()2265 local_actual = (u16)~shift_reg; in altera_check_crc()