Searched refs:shift_reg (Results 1 – 3 of 3) sorted by relevance
150 h->shift_reg = fast_abort[h->ffbit_shift - 1]; \ in isdnhdlc_decode()215 hdlc->shift_reg = 0; in isdnhdlc_decode()245 hdlc->shift_reg >>= 1; in isdnhdlc_decode()246 hdlc->shift_reg |= 0x80; in isdnhdlc_decode()258 hdlc->shift_reg = 0; in isdnhdlc_decode()268 hdlc->shift_reg >>= 1; in isdnhdlc_decode()285 hdlc->shift_reg); in isdnhdlc_decode()289 dst[hdlc->dstpos++] = hdlc->shift_reg; in isdnhdlc_decode()358 hdlc->shift_reg = *src++; in isdnhdlc_encode()370 hdlc->shift_reg = in isdnhdlc_encode()[all …]
30 u8 shift_reg; member
2188 shift_reg = 0xffff; in altera_check_crc() local2217 feedback = (databyte ^ shift_reg) & 0x01; in altera_check_crc()2218 shift_reg >>= 1; in altera_check_crc()2220 shift_reg ^= 0x8408; in altera_check_crc()2226 local_actual = (u16)~shift_reg; in altera_check_crc()