Searched refs:crc2 (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/include/linux/ |
D | crc32.h | 34 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-v6.1/lib/ |
D | crc32test.c | 720 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-v6.1/drivers/input/joystick/ |
D | walkera0701.c | 67 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-v6.1/drivers/net/usb/ |
D | cdc_eem.c | 256 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-v6.1/drivers/usb/gadget/function/ |
D | f_eem.c | 495 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()
|
D | f_ncm.c | 1286 uint32_t crc, crc2; in ncm_unwrap_ntb() local 1291 crc2 = ~crc32_le(~0, in ncm_unwrap_ntb() 1294 if (crc != crc2) { in ncm_unwrap_ntb()
|
/Linux-v6.1/arch/x86/crypto/ |
D | crc32c-pcl-intel-asm_64.S | 94 #define crc2 %r10 macro 234 mov crc2, crc_init
|
/Linux-v6.1/drivers/gpu/drm/i915/ |
D | i915_irq.c | 1319 u32 crc2, u32 crc3, in display_pipe_crc_irq_handler() argument 1324 u32 crcs[5] = { crc0, crc1, crc2, crc3, crc4 }; in display_pipe_crc_irq_handler() 1354 u32 crc2, u32 crc3, in display_pipe_crc_irq_handler() argument
|