Lines Matching +full:1 +full:- +full:6

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * include/asm-generic/xor.h
5 * Generic optimized RAID-5 checksumming functions.
17 p1[1] ^= p2[1]; in xor_8regs_2()
22 p1[6] ^= p2[6]; in xor_8regs_2()
26 } while (--lines > 0); in xor_8regs_2()
37 p1[1] ^= p2[1] ^ p3[1]; in xor_8regs_3()
42 p1[6] ^= p2[6] ^ p3[6]; in xor_8regs_3()
47 } while (--lines > 0); in xor_8regs_3()
58 p1[1] ^= p2[1] ^ p3[1] ^ p4[1]; in xor_8regs_4()
63 p1[6] ^= p2[6] ^ p3[6] ^ p4[6]; in xor_8regs_4()
69 } while (--lines > 0); in xor_8regs_4()
80 p1[1] ^= p2[1] ^ p3[1] ^ p4[1] ^ p5[1]; in xor_8regs_5()
85 p1[6] ^= p2[6] ^ p3[6] ^ p4[6] ^ p5[6]; in xor_8regs_5()
92 } while (--lines > 0); in xor_8regs_5()
103 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_2()
108 d6 = p1[6]; in xor_32regs_2()
111 d1 ^= p2[1]; in xor_32regs_2()
116 d6 ^= p2[6]; in xor_32regs_2()
119 p1[1] = d1; in xor_32regs_2()
124 p1[6] = d6; in xor_32regs_2()
128 } while (--lines > 0); in xor_32regs_2()
140 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_3()
145 d6 = p1[6]; in xor_32regs_3()
148 d1 ^= p2[1]; in xor_32regs_3()
153 d6 ^= p2[6]; in xor_32regs_3()
156 d1 ^= p3[1]; in xor_32regs_3()
161 d6 ^= p3[6]; in xor_32regs_3()
164 p1[1] = d1; in xor_32regs_3()
169 p1[6] = d6; in xor_32regs_3()
174 } while (--lines > 0); in xor_32regs_3()
186 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_4()
191 d6 = p1[6]; in xor_32regs_4()
194 d1 ^= p2[1]; in xor_32regs_4()
199 d6 ^= p2[6]; in xor_32regs_4()
202 d1 ^= p3[1]; in xor_32regs_4()
207 d6 ^= p3[6]; in xor_32regs_4()
210 d1 ^= p4[1]; in xor_32regs_4()
215 d6 ^= p4[6]; in xor_32regs_4()
218 p1[1] = d1; in xor_32regs_4()
223 p1[6] = d6; in xor_32regs_4()
229 } while (--lines > 0); in xor_32regs_4()
241 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_5()
246 d6 = p1[6]; in xor_32regs_5()
249 d1 ^= p2[1]; in xor_32regs_5()
254 d6 ^= p2[6]; in xor_32regs_5()
257 d1 ^= p3[1]; in xor_32regs_5()
262 d6 ^= p3[6]; in xor_32regs_5()
265 d1 ^= p4[1]; in xor_32regs_5()
270 d6 ^= p4[6]; in xor_32regs_5()
273 d1 ^= p5[1]; in xor_32regs_5()
278 d6 ^= p5[6]; in xor_32regs_5()
281 p1[1] = d1; in xor_32regs_5()
286 p1[6] = d6; in xor_32regs_5()
293 } while (--lines > 0); in xor_32regs_5()
299 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_2()
308 p1[1] ^= p2[1]; in xor_8regs_p_2()
313 p1[6] ^= p2[6]; in xor_8regs_p_2()
317 } while (--lines > 0); in xor_8regs_p_2()
326 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_3()
337 p1[1] ^= p2[1] ^ p3[1]; in xor_8regs_p_3()
342 p1[6] ^= p2[6] ^ p3[6]; in xor_8regs_p_3()
347 } while (--lines > 0); in xor_8regs_p_3()
356 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_4()
370 p1[1] ^= p2[1] ^ p3[1] ^ p4[1]; in xor_8regs_p_4()
375 p1[6] ^= p2[6] ^ p3[6] ^ p4[6]; in xor_8regs_p_4()
381 } while (--lines > 0); in xor_8regs_p_4()
390 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_5()
406 p1[1] ^= p2[1] ^ p3[1] ^ p4[1] ^ p5[1]; in xor_8regs_p_5()
411 p1[6] ^= p2[6] ^ p3[6] ^ p4[6] ^ p5[6]; in xor_8regs_p_5()
418 } while (--lines > 0); in xor_8regs_p_5()
426 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_2()
438 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_p_2()
443 d6 = p1[6]; in xor_32regs_p_2()
446 d1 ^= p2[1]; in xor_32regs_p_2()
451 d6 ^= p2[6]; in xor_32regs_p_2()
454 p1[1] = d1; in xor_32regs_p_2()
459 p1[6] = d6; in xor_32regs_p_2()
463 } while (--lines > 0); in xor_32regs_p_2()
472 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_3()
486 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_p_3()
491 d6 = p1[6]; in xor_32regs_p_3()
494 d1 ^= p2[1]; in xor_32regs_p_3()
499 d6 ^= p2[6]; in xor_32regs_p_3()
502 d1 ^= p3[1]; in xor_32regs_p_3()
507 d6 ^= p3[6]; in xor_32regs_p_3()
510 p1[1] = d1; in xor_32regs_p_3()
515 p1[6] = d6; in xor_32regs_p_3()
520 } while (--lines > 0); in xor_32regs_p_3()
529 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_4()
545 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_p_4()
550 d6 = p1[6]; in xor_32regs_p_4()
553 d1 ^= p2[1]; in xor_32regs_p_4()
558 d6 ^= p2[6]; in xor_32regs_p_4()
561 d1 ^= p3[1]; in xor_32regs_p_4()
566 d6 ^= p3[6]; in xor_32regs_p_4()
569 d1 ^= p4[1]; in xor_32regs_p_4()
574 d6 ^= p4[6]; in xor_32regs_p_4()
577 p1[1] = d1; in xor_32regs_p_4()
582 p1[6] = d6; in xor_32regs_p_4()
588 } while (--lines > 0); in xor_32regs_p_4()
597 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_5()
615 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_p_5()
620 d6 = p1[6]; in xor_32regs_p_5()
623 d1 ^= p2[1]; in xor_32regs_p_5()
628 d6 ^= p2[6]; in xor_32regs_p_5()
631 d1 ^= p3[1]; in xor_32regs_p_5()
636 d6 ^= p3[6]; in xor_32regs_p_5()
639 d1 ^= p4[1]; in xor_32regs_p_5()
644 d6 ^= p4[6]; in xor_32regs_p_5()
647 d1 ^= p5[1]; in xor_32regs_p_5()
652 d6 ^= p5[6]; in xor_32regs_p_5()
655 p1[1] = d1; in xor_32regs_p_5()
660 p1[6] = d6; in xor_32regs_p_5()
667 } while (--lines > 0); in xor_32regs_p_5()