Home
last modified time | relevance | path

Searched refs:crc1 (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/input/joystick/
H A Dwalkera0701.c67 int crc1, crc2; in walkera0701_parse_frame() local
69 for (crc1 = crc2 = i = 0; i < 10; i++) { in walkera0701_parse_frame()
70 crc1 += w->buf[i] & 7; in walkera0701_parse_frame()
73 if ((w->buf[10] & 7) != (crc1 & 7)) 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()
78 crc1 += w->buf[i] & 7; in walkera0701_parse_frame()
81 if ((w->buf[23] & 7) != (crc1 & 7)) in walkera0701_parse_frame()
83 if (((w->buf[23] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame()
/linux/include/linux/
H A Dcrc32.h36 static inline u32 crc32_le_combine(u32 crc1, u32 crc2, size_t len2) in crc32_le_combine() argument
38 return crc32_le_shift(crc1, len2) ^ crc2; in crc32_le_combine()
64 static inline u32 __crc32c_le_combine(u32 crc1, u32 crc2, size_t len2) in __crc32c_le_combine() argument
66 return __crc32c_le_shift(crc1, len2) ^ crc2; in __crc32c_le_combine()
/linux/lib/
H A Dcrc32test.c720 u32 crc1, crc2; in crc32c_combine_test() local
723 crc1 = __crc32c_le(test[i].crc, test_buf + 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
811 crc1 = crc32_le(test[i].crc, test_buf + in crc32_combine_test()
816 if (!(crc_full == crc32_le_combine(crc1, crc2, len2) && in crc32_combine_test()
/linux/drivers/block/
H A Dswim_asm.S131 crc1: tstb %a2@ label
132 dbmi %d2, crc1
H A Dswim.c36 unsigned char crc1; member
/linux/arch/arm/boot/dts/st/
H A Dstm32mp157c-osd32mp1-red.dts40 &crc1 {
H A Dstm32mp15xx-dhcor-som.dtsi66 &crc1 {
H A Dstm32mp157c-ed1.dts135 &crc1 {
H A Dstm32mp157c-emstamp-argon.dtsi134 &crc1 {
H A Dstm32mp15xx-dhcom-som.dtsi99 &crc1 {
H A Dstm32mp15xc-lxa-tac.dtsi215 &crc1 {
H A Dstm32mp15xx-dkx.dtsi139 &crc1 {
H A Dstm32mp131.dtsi922 crc1: crc@58009000 { label
/linux/drivers/mtd/ubi/
H A Deba.c708 uint32_t crc1 = crc32(UBI_CRC32_INIT, buf, len); in ubi_eba_read_leb() local
709 if (crc1 != crc) { in ubi_eba_read_leb()
711 crc1, crc); in ubi_eba_read_leb()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_display_irq.c315 u32 crc0, u32 crc1, in display_pipe_crc_irq_handler() argument
322 u32 crcs[5] = { crc0, crc1, crc2, crc3, crc4 }; in display_pipe_crc_irq_handler()
351 u32 crc0, u32 crc1, in display_pipe_crc_irq_handler() argument
/linux/drivers/clk/stm32/
H A Dclk-stm32mp13.c922 static struct clk_stm32_gate crc1 = { variable
1396 STM32_GATE_CFG(CRC1, crc1, SECF_NONE),