• Home
  • Raw
  • Download

Lines Matching +full:1 +full:- +full:7

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()
23 p1[7] ^= p2[7]; in xor_8regs_2()
26 } while (--lines > 0); in xor_8regs_2()
37 p1[1] ^= p2[1] ^ p3[1]; in xor_8regs_3()
43 p1[7] ^= p2[7] ^ p3[7]; 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()
64 p1[7] ^= p2[7] ^ p3[7] ^ p4[7]; 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()
86 p1[7] ^= p2[7] ^ p3[7] ^ p4[7] ^ p5[7]; in xor_8regs_5()
92 } while (--lines > 0); in xor_8regs_5()
103 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_2()
109 d7 = p1[7]; in xor_32regs_2()
111 d1 ^= p2[1]; in xor_32regs_2()
117 d7 ^= p2[7]; in xor_32regs_2()
119 p1[1] = d1; in xor_32regs_2()
125 p1[7] = d7; in xor_32regs_2()
128 } while (--lines > 0); in xor_32regs_2()
140 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_3()
146 d7 = p1[7]; in xor_32regs_3()
148 d1 ^= p2[1]; in xor_32regs_3()
154 d7 ^= p2[7]; in xor_32regs_3()
156 d1 ^= p3[1]; in xor_32regs_3()
162 d7 ^= p3[7]; in xor_32regs_3()
164 p1[1] = d1; in xor_32regs_3()
170 p1[7] = d7; in xor_32regs_3()
174 } while (--lines > 0); in xor_32regs_3()
186 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_4()
192 d7 = p1[7]; in xor_32regs_4()
194 d1 ^= p2[1]; in xor_32regs_4()
200 d7 ^= p2[7]; in xor_32regs_4()
202 d1 ^= p3[1]; in xor_32regs_4()
208 d7 ^= p3[7]; in xor_32regs_4()
210 d1 ^= p4[1]; in xor_32regs_4()
216 d7 ^= p4[7]; in xor_32regs_4()
218 p1[1] = d1; in xor_32regs_4()
224 p1[7] = d7; in xor_32regs_4()
229 } while (--lines > 0); in xor_32regs_4()
241 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_5()
247 d7 = p1[7]; in xor_32regs_5()
249 d1 ^= p2[1]; in xor_32regs_5()
255 d7 ^= p2[7]; in xor_32regs_5()
257 d1 ^= p3[1]; in xor_32regs_5()
263 d7 ^= p3[7]; in xor_32regs_5()
265 d1 ^= p4[1]; in xor_32regs_5()
271 d7 ^= p4[7]; in xor_32regs_5()
273 d1 ^= p5[1]; in xor_32regs_5()
279 d7 ^= p5[7]; in xor_32regs_5()
281 p1[1] = d1; in xor_32regs_5()
287 p1[7] = d7; 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()
314 p1[7] ^= p2[7]; 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()
343 p1[7] ^= p2[7] ^ p3[7]; 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()
376 p1[7] ^= p2[7] ^ p3[7] ^ p4[7]; 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()
412 p1[7] ^= p2[7] ^ p3[7] ^ p4[7] ^ p5[7]; 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()
444 d7 = p1[7]; in xor_32regs_p_2()
446 d1 ^= p2[1]; in xor_32regs_p_2()
452 d7 ^= p2[7]; in xor_32regs_p_2()
454 p1[1] = d1; in xor_32regs_p_2()
460 p1[7] = d7; 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()
492 d7 = p1[7]; in xor_32regs_p_3()
494 d1 ^= p2[1]; in xor_32regs_p_3()
500 d7 ^= p2[7]; in xor_32regs_p_3()
502 d1 ^= p3[1]; in xor_32regs_p_3()
508 d7 ^= p3[7]; in xor_32regs_p_3()
510 p1[1] = d1; in xor_32regs_p_3()
516 p1[7] = d7; 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()
551 d7 = p1[7]; in xor_32regs_p_4()
553 d1 ^= p2[1]; in xor_32regs_p_4()
559 d7 ^= p2[7]; in xor_32regs_p_4()
561 d1 ^= p3[1]; in xor_32regs_p_4()
567 d7 ^= p3[7]; in xor_32regs_p_4()
569 d1 ^= p4[1]; in xor_32regs_p_4()
575 d7 ^= p4[7]; in xor_32regs_p_4()
577 p1[1] = d1; in xor_32regs_p_4()
583 p1[7] = d7; 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()
621 d7 = p1[7]; in xor_32regs_p_5()
623 d1 ^= p2[1]; in xor_32regs_p_5()
629 d7 ^= p2[7]; in xor_32regs_p_5()
631 d1 ^= p3[1]; in xor_32regs_p_5()
637 d7 ^= p3[7]; in xor_32regs_p_5()
639 d1 ^= p4[1]; in xor_32regs_p_5()
645 d7 ^= p4[7]; in xor_32regs_p_5()
647 d1 ^= p5[1]; in xor_32regs_p_5()
653 d7 ^= p5[7]; in xor_32regs_p_5()
655 p1[1] = d1; in xor_32regs_p_5()
661 p1[7] = d7; in xor_32regs_p_5()
667 } while (--lines > 0); in xor_32regs_p_5()