Home
last modified time | relevance | path

Searched refs:crc2 (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/include/linux/
Dcrc32.h34 static inline u32 crc32_le_combine(u32 crc1, u32 crc2, size_t len2) in crc32_le_combine() argument
36 return crc32_le_shift(crc1, len2) ^ crc2; in crc32_le_combine()
61 static inline u32 __crc32c_le_combine(u32 crc1, u32 crc2, size_t len2) in __crc32c_le_combine() argument
63 return __crc32c_le_shift(crc1, len2) ^ crc2; in __crc32c_le_combine()
/linux-6.6.21/lib/
Dcrc32test.c720 u32 crc1, crc2; in crc32c_combine_test() local
725 crc2 = __crc32c_le(0, test_buf + test[i].start + in crc32c_combine_test()
728 if (!(crc_full == __crc32c_le_combine(crc1, crc2, len2) && in crc32c_combine_test()
808 u32 crc1, crc2; in crc32_combine_test() local
813 crc2 = crc32_le(0, test_buf + test[i].start + in crc32_combine_test()
816 if (!(crc_full == crc32_le_combine(crc1, crc2, len2) && in crc32_combine_test()
/linux-6.6.21/drivers/input/joystick/
Dwalkera0701.c67 int crc1, crc2; in walkera0701_parse_frame() local
69 for (crc1 = crc2 = i = 0; i < 10; i++) { in walkera0701_parse_frame()
71 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame()
75 if (((w->buf[10] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame()
77 for (crc1 = crc2 = 0, i = 11; i < 23; i++) { in walkera0701_parse_frame()
79 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame()
83 if (((w->buf[23] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame()
/linux-6.6.21/drivers/net/usb/
Dcdc_eem.c256 u32 crc, crc2; in eem_rx_fixup() local
304 crc2 = ~crc32_le(~0, skb2->data, skb2->len in eem_rx_fixup()
309 crc2 = 0xdeadbeef; in eem_rx_fixup()
314 return crc == crc2; in eem_rx_fixup()
316 if (unlikely(crc != crc2)) { in eem_rx_fixup()
/linux-6.6.21/drivers/usb/gadget/function/
Df_eem.c493 u32 crc, crc2; in eem_unwrap() local
516 crc2 = ~crc32_le(~0, in eem_unwrap()
521 crc2 = 0xdeadbeef; in eem_unwrap()
523 if (crc != crc2) { in eem_unwrap()
Df_ncm.c1278 uint32_t crc, crc2; in ncm_unwrap_ntb() local
1283 crc2 = ~crc32_le(~0, in ncm_unwrap_ntb()
1286 if (crc != crc2) { in ncm_unwrap_ntb()
/linux-6.6.21/arch/x86/crypto/
Dcrc32c-pcl-intel-asm_64.S94 #define crc2 %r10 macro
234 mov crc2, crc_init
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_display_irq.c300 u32 crc2, u32 crc3, in display_pipe_crc_irq_handler() argument
305 u32 crcs[5] = { crc0, crc1, crc2, crc3, crc4 }; in display_pipe_crc_irq_handler()
335 u32 crc2, u32 crc3, in display_pipe_crc_irq_handler() argument