Home
last modified time | relevance | path

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

/openbmc/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
/openbmc/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()
/openbmc/qemu/hw/sd/
H A Dsd.c351 uint8_t shift_reg = 0x00; in sd_crc7() local
356 shift_reg <<= 1; in sd_crc7()
357 if ((shift_reg >> 7) ^ ((*msg >> bit) & 1)) in sd_crc7()
358 shift_reg ^= 0x89; in sd_crc7()
361 return shift_reg; in sd_crc7()
/openbmc/qemu/target/m68k/
H A Dtranslate.c3391 static inline void shift_reg(DisasContext *s, uint16_t insn, int opsize) in shift_reg() function
3499 shift_reg(s, insn, OS_BYTE); in DISAS_INSN()
3504 shift_reg(s, insn, OS_WORD); in DISAS_INSN()
3507 DISAS_INSN(shift_reg) in DISAS_INSN() argument
3509 shift_reg(s, insn, OS_LONG); in DISAS_INSN()
5955 INSN(shift_reg, e0a0, f0f0, CF_ISA_A); in register_m68k_insns()
5961 INSN(shift_reg, e0a0, f0f0, M68K); in register_m68k_insns()
/openbmc/qemu/target/arm/tcg/
H A Dtranslate-a64.c7493 static void shift_reg(TCGv_i64 dst, TCGv_i64 src, int sf, in TRANS()
7544 shift_reg(dst, src, sf, shift_type, tcg_constant_i64(shift_i)); in shift_reg_imm()
8465 shift_reg(tcg_rd, tcg_rn, sf, shift_type, tcg_shift); in handle_shift_reg()