Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A 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.3-rc2/lib/
A 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.3-rc2/drivers/input/joystick/
A 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.3-rc2/drivers/net/usb/
A 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.3-rc2/drivers/usb/gadget/function/
A Df_eem.c495 u32 crc, crc2; in eem_unwrap() local
518 crc2 = ~crc32_le(~0, in eem_unwrap()
523 crc2 = 0xdeadbeef; in eem_unwrap()
525 if (crc != crc2) { in eem_unwrap()
A Df_ncm.c1288 uint32_t crc, crc2; in ncm_unwrap_ntb() local
1293 crc2 = ~crc32_le(~0, in ncm_unwrap_ntb()
1296 if (crc != crc2) { in ncm_unwrap_ntb()
/linux-6.3-rc2/arch/x86/crypto/
A Dcrc32c-pcl-intel-asm_64.S94 #define crc2 %r10 macro
234 mov crc2, crc_init
/linux-6.3-rc2/drivers/gpu/drm/i915/
A Di915_irq.c906 u32 crc2, u32 crc3, in display_pipe_crc_irq_handler() argument
911 u32 crcs[5] = { crc0, crc1, crc2, crc3, crc4 }; in display_pipe_crc_irq_handler()
941 u32 crc2, u32 crc3, in display_pipe_crc_irq_handler() argument

Completed in 23 milliseconds