Lines Matching +full:4 +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.
21 p1[4] ^= p2[4]; in xor_8regs_2()
23 p1[6] ^= p2[6]; in xor_8regs_2()
27 } while (--lines > 0); in xor_8regs_2()
42 p1[4] ^= p2[4] ^ p3[4]; in xor_8regs_3()
44 p1[6] ^= p2[6] ^ p3[6]; in xor_8regs_3()
49 } while (--lines > 0); in xor_8regs_3()
65 p1[4] ^= p2[4] ^ p3[4] ^ p4[4]; 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()
90 p1[4] ^= p2[4] ^ p3[4] ^ p4[4] ^ p5[4]; 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()
114 d4 = p1[4]; in xor_32regs_2()
116 d6 = p1[6]; in xor_32regs_2()
122 d4 ^= p2[4]; in xor_32regs_2()
124 d6 ^= p2[6]; in xor_32regs_2()
130 p1[4] = d4; in xor_32regs_2()
132 p1[6] = d6; in xor_32regs_2()
136 } while (--lines > 0); in xor_32regs_2()
152 d4 = p1[4]; in xor_32regs_3()
154 d6 = p1[6]; in xor_32regs_3()
160 d4 ^= p2[4]; in xor_32regs_3()
162 d6 ^= p2[6]; in xor_32regs_3()
168 d4 ^= p3[4]; in xor_32regs_3()
170 d6 ^= p3[6]; in xor_32regs_3()
176 p1[4] = d4; in xor_32regs_3()
178 p1[6] = d6; in xor_32regs_3()
183 } while (--lines > 0); in xor_32regs_3()
200 d4 = p1[4]; in xor_32regs_4()
202 d6 = p1[6]; in xor_32regs_4()
208 d4 ^= p2[4]; in xor_32regs_4()
210 d6 ^= p2[6]; in xor_32regs_4()
216 d4 ^= p3[4]; in xor_32regs_4()
218 d6 ^= p3[6]; in xor_32regs_4()
224 d4 ^= p4[4]; in xor_32regs_4()
226 d6 ^= p4[6]; in xor_32regs_4()
232 p1[4] = d4; in xor_32regs_4()
234 p1[6] = d6; in xor_32regs_4()
240 } while (--lines > 0); in xor_32regs_4()
258 d4 = p1[4]; in xor_32regs_5()
260 d6 = p1[6]; in xor_32regs_5()
266 d4 ^= p2[4]; in xor_32regs_5()
268 d6 ^= p2[6]; in xor_32regs_5()
274 d4 ^= p3[4]; in xor_32regs_5()
276 d6 ^= p3[6]; in xor_32regs_5()
282 d4 ^= p4[4]; in xor_32regs_5()
284 d6 ^= p4[6]; in xor_32regs_5()
290 d4 ^= p5[4]; in xor_32regs_5()
292 d6 ^= p5[6]; in xor_32regs_5()
298 p1[4] = d4; 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()
326 p1[4] ^= p2[4]; 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()
356 p1[4] ^= p2[4] ^ p3[4]; 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()
391 p1[4] ^= p2[4] ^ p3[4] ^ p4[4]; 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()
430 p1[4] ^= p2[4] ^ p3[4] ^ p4[4] ^ p5[4]; 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()
463 d4 = p1[4]; in xor_32regs_p_2()
465 d6 = p1[6]; in xor_32regs_p_2()
471 d4 ^= p2[4]; in xor_32regs_p_2()
473 d6 ^= p2[6]; in xor_32regs_p_2()
479 p1[4] = d4; 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()
512 d4 = p1[4]; in xor_32regs_p_3()
514 d6 = p1[6]; in xor_32regs_p_3()
520 d4 ^= p2[4]; in xor_32regs_p_3()
522 d6 ^= p2[6]; in xor_32regs_p_3()
528 d4 ^= p3[4]; in xor_32regs_p_3()
530 d6 ^= p3[6]; in xor_32regs_p_3()
536 p1[4] = d4; 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()
573 d4 = p1[4]; in xor_32regs_p_4()
575 d6 = p1[6]; in xor_32regs_p_4()
581 d4 ^= p2[4]; in xor_32regs_p_4()
583 d6 ^= p2[6]; in xor_32regs_p_4()
589 d4 ^= p3[4]; in xor_32regs_p_4()
591 d6 ^= p3[6]; in xor_32regs_p_4()
597 d4 ^= p4[4]; in xor_32regs_p_4()
599 d6 ^= p4[6]; in xor_32regs_p_4()
605 p1[4] = d4; 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()
646 d4 = p1[4]; in xor_32regs_p_5()
648 d6 = p1[6]; in xor_32regs_p_5()
654 d4 ^= p2[4]; in xor_32regs_p_5()
656 d6 ^= p2[6]; in xor_32regs_p_5()
662 d4 ^= p3[4]; in xor_32regs_p_5()
664 d6 ^= p3[6]; in xor_32regs_p_5()
670 d4 ^= p4[4]; in xor_32regs_p_5()
672 d6 ^= p4[6]; in xor_32regs_p_5()
678 d4 ^= p5[4]; in xor_32regs_p_5()
680 d6 ^= p5[6]; in xor_32regs_p_5()
686 p1[4] = d4; in xor_32regs_p_5()
688 p1[6] = d6; in xor_32regs_p_5()
695 } while (--lines > 0); in xor_32regs_p_5()