Home
last modified time | relevance | path

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

/linux/drivers/isdn/hardware/mISDN/
H A Disdnhdlc.c150 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 …]
H A Disdnhdlc.h30 u8 shift_reg; member
/linux/drivers/misc/altera-stapl/
H A Daltera.c2188 shift_reg = 0xffff; in altera_check_crc() local
2217 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()