Home
last modified time | relevance | path

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

/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()
/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()
/drivers/usb/gadget/function/
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()
Df_ncm.c1297 uint32_t crc, crc2; in ncm_unwrap_ntb() local
1302 crc2 = ~crc32_le(~0, in ncm_unwrap_ntb()
1305 if (crc != crc2) { in ncm_unwrap_ntb()
/drivers/gpu/drm/i915/
Di915_irq.c1288 u32 crc2, u32 crc3, in display_pipe_crc_irq_handler() argument
1293 u32 crcs[5] = { crc0, crc1, crc2, crc3, crc4 }; in display_pipe_crc_irq_handler()
1323 u32 crc2, u32 crc3, in display_pipe_crc_irq_handler() argument