Searched refs:crc2 (Results 1 – 5 of 5) sorted by relevance
/drivers/input/joystick/ |
D | walkera0701.c | 71 int crc1, crc2; in walkera0701_parse_frame() local 73 for (crc1 = crc2 = i = 0; i < 10; i++) { in walkera0701_parse_frame() 75 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame() 79 if (((w->buf[10] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame() 81 for (crc1 = crc2 = 0, i = 11; i < 23; i++) { in walkera0701_parse_frame() 83 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame() 87 if (((w->buf[23] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame()
|
/drivers/net/usb/ |
D | cdc_eem.c | 271 u32 crc, crc2; in eem_rx_fixup() local 319 crc2 = ~crc32_le(~0, skb2->data, skb2->len in eem_rx_fixup() 324 crc2 = 0xdeadbeef; in eem_rx_fixup() 329 return crc == crc2; in eem_rx_fixup() 331 if (unlikely(crc != crc2)) { in eem_rx_fixup()
|
/drivers/usb/gadget/function/ |
D | f_eem.c | 498 u32 crc, crc2; in eem_unwrap() local 521 crc2 = ~crc32_le(~0, in eem_unwrap() 526 crc2 = 0xdeadbeef; in eem_unwrap() 528 if (crc != crc2) { in eem_unwrap()
|
D | f_ncm.c | 1222 uint32_t crc, crc2; in ncm_unwrap_ntb() local 1227 crc2 = ~crc32_le(~0, in ncm_unwrap_ntb() 1230 if (crc != crc2) { in ncm_unwrap_ntb()
|
/drivers/gpu/drm/i915/ |
D | i915_irq.c | 1475 uint32_t crc2, uint32_t crc3, in display_pipe_crc_irq_handler() argument 1505 entry->crc[2] = crc2; in display_pipe_crc_irq_handler() 1520 uint32_t crc2, uint32_t crc3, in display_pipe_crc_irq_handler() argument
|