Lines Matching +full:6 +full:- +full:3
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * include/asm-generic/xor.h
5 * Generic optimized RAID-5 checksumming functions.
20 p1[3] ^= p2[3]; in xor_8regs_2()
23 p1[6] ^= p2[6]; in xor_8regs_2()
27 } while (--lines > 0); in xor_8regs_2()
41 p1[3] ^= p2[3] ^ p3[3]; in xor_8regs_3()
44 p1[6] ^= p2[6] ^ p3[6]; in xor_8regs_3()
49 } while (--lines > 0); in xor_8regs_3()
64 p1[3] ^= p2[3] ^ p3[3] ^ p4[3]; in xor_8regs_4()
67 p1[6] ^= p2[6] ^ p3[6] ^ p4[6]; in xor_8regs_4()
73 } while (--lines > 0); in xor_8regs_4()
89 p1[3] ^= p2[3] ^ p3[3] ^ p4[3] ^ p5[3]; in xor_8regs_5()
92 p1[6] ^= p2[6] ^ p3[6] ^ p4[6] ^ p5[6]; in xor_8regs_5()
99 } while (--lines > 0); in xor_8regs_5()
113 d3 = p1[3]; in xor_32regs_2()
116 d6 = p1[6]; in xor_32regs_2()
121 d3 ^= p2[3]; in xor_32regs_2()
124 d6 ^= p2[6]; in xor_32regs_2()
129 p1[3] = d3; in xor_32regs_2()
132 p1[6] = d6; in xor_32regs_2()
136 } while (--lines > 0); in xor_32regs_2()
151 d3 = p1[3]; in xor_32regs_3()
154 d6 = p1[6]; in xor_32regs_3()
159 d3 ^= p2[3]; in xor_32regs_3()
162 d6 ^= p2[6]; in xor_32regs_3()
167 d3 ^= p3[3]; in xor_32regs_3()
170 d6 ^= p3[6]; in xor_32regs_3()
175 p1[3] = d3; in xor_32regs_3()
178 p1[6] = d6; in xor_32regs_3()
183 } while (--lines > 0); in xor_32regs_3()
199 d3 = p1[3]; in xor_32regs_4()
202 d6 = p1[6]; in xor_32regs_4()
207 d3 ^= p2[3]; in xor_32regs_4()
210 d6 ^= p2[6]; in xor_32regs_4()
215 d3 ^= p3[3]; in xor_32regs_4()
218 d6 ^= p3[6]; in xor_32regs_4()
223 d3 ^= p4[3]; in xor_32regs_4()
226 d6 ^= p4[6]; in xor_32regs_4()
231 p1[3] = d3; in xor_32regs_4()
234 p1[6] = d6; in xor_32regs_4()
240 } while (--lines > 0); in xor_32regs_4()
257 d3 = p1[3]; in xor_32regs_5()
260 d6 = p1[6]; in xor_32regs_5()
265 d3 ^= p2[3]; in xor_32regs_5()
268 d6 ^= p2[6]; in xor_32regs_5()
273 d3 ^= p3[3]; in xor_32regs_5()
276 d6 ^= p3[6]; in xor_32regs_5()
281 d3 ^= p4[3]; in xor_32regs_5()
284 d6 ^= p4[6]; in xor_32regs_5()
289 d3 ^= p5[3]; in xor_32regs_5()
292 d6 ^= p5[6]; in xor_32regs_5()
297 p1[3] = d3; in xor_32regs_5()
300 p1[6] = d6; in xor_32regs_5()
307 } while (--lines > 0); in xor_32regs_5()
314 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_2()
325 p1[3] ^= p2[3]; in xor_8regs_p_2()
328 p1[6] ^= p2[6]; in xor_8regs_p_2()
332 } while (--lines > 0); in xor_8regs_p_2()
342 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_3()
355 p1[3] ^= p2[3] ^ p3[3]; in xor_8regs_p_3()
358 p1[6] ^= p2[6] ^ p3[6]; in xor_8regs_p_3()
363 } while (--lines > 0); in xor_8regs_p_3()
374 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_4()
390 p1[3] ^= p2[3] ^ p3[3] ^ p4[3]; in xor_8regs_p_4()
393 p1[6] ^= p2[6] ^ p3[6] ^ p4[6]; in xor_8regs_p_4()
399 } while (--lines > 0); in xor_8regs_p_4()
411 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_5()
429 p1[3] ^= p2[3] ^ p3[3] ^ p4[3] ^ p5[3]; in xor_8regs_p_5()
432 p1[6] ^= p2[6] ^ p3[6] ^ p4[6] ^ p5[6]; in xor_8regs_p_5()
439 } while (--lines > 0); in xor_8regs_p_5()
448 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_2()
462 d3 = p1[3]; in xor_32regs_p_2()
465 d6 = p1[6]; in xor_32regs_p_2()
470 d3 ^= p2[3]; in xor_32regs_p_2()
473 d6 ^= p2[6]; in xor_32regs_p_2()
478 p1[3] = d3; in xor_32regs_p_2()
481 p1[6] = d6; in xor_32regs_p_2()
485 } while (--lines > 0); in xor_32regs_p_2()
495 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_3()
511 d3 = p1[3]; in xor_32regs_p_3()
514 d6 = p1[6]; in xor_32regs_p_3()
519 d3 ^= p2[3]; in xor_32regs_p_3()
522 d6 ^= p2[6]; in xor_32regs_p_3()
527 d3 ^= p3[3]; in xor_32regs_p_3()
530 d6 ^= p3[6]; in xor_32regs_p_3()
535 p1[3] = d3; in xor_32regs_p_3()
538 p1[6] = d6; in xor_32regs_p_3()
543 } while (--lines > 0); in xor_32regs_p_3()
554 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_4()
572 d3 = p1[3]; in xor_32regs_p_4()
575 d6 = p1[6]; in xor_32regs_p_4()
580 d3 ^= p2[3]; in xor_32regs_p_4()
583 d6 ^= p2[6]; in xor_32regs_p_4()
588 d3 ^= p3[3]; in xor_32regs_p_4()
591 d6 ^= p3[6]; in xor_32regs_p_4()
596 d3 ^= p4[3]; in xor_32regs_p_4()
599 d6 ^= p4[6]; in xor_32regs_p_4()
604 p1[3] = d3; in xor_32regs_p_4()
607 p1[6] = d6; in xor_32regs_p_4()
613 } while (--lines > 0); in xor_32regs_p_4()
625 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_5()
645 d3 = p1[3]; in xor_32regs_p_5()
648 d6 = p1[6]; in xor_32regs_p_5()
653 d3 ^= p2[3]; in xor_32regs_p_5()
656 d6 ^= p2[6]; in xor_32regs_p_5()
661 d3 ^= p3[3]; in xor_32regs_p_5()
664 d6 ^= p3[6]; in xor_32regs_p_5()
669 d3 ^= p4[3]; in xor_32regs_p_5()
672 d6 ^= p4[6]; in xor_32regs_p_5()
677 d3 ^= p5[3]; in xor_32regs_p_5()
680 d6 ^= p5[6]; in xor_32regs_p_5()
685 p1[3] = d3; in xor_32regs_p_5()
688 p1[6] = d6; in xor_32regs_p_5()
695 } while (--lines > 0); in xor_32regs_p_5()