Lines Matching +full:3 +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.
20 p1[3] ^= p2[3]; in xor_8regs_2()
24 p1[7] ^= p2[7]; in xor_8regs_2()
27 } while (--lines > 0); in xor_8regs_2()
41 p1[3] ^= p2[3] ^ p3[3]; in xor_8regs_3()
45 p1[7] ^= p2[7] ^ p3[7]; 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()
68 p1[7] ^= p2[7] ^ p3[7] ^ p4[7]; 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()
93 p1[7] ^= p2[7] ^ p3[7] ^ p4[7] ^ p5[7]; in xor_8regs_5()
99 } while (--lines > 0); in xor_8regs_5()
113 d3 = p1[3]; in xor_32regs_2()
117 d7 = p1[7]; in xor_32regs_2()
121 d3 ^= p2[3]; in xor_32regs_2()
125 d7 ^= p2[7]; in xor_32regs_2()
129 p1[3] = d3; in xor_32regs_2()
133 p1[7] = d7; in xor_32regs_2()
136 } while (--lines > 0); in xor_32regs_2()
151 d3 = p1[3]; in xor_32regs_3()
155 d7 = p1[7]; in xor_32regs_3()
159 d3 ^= p2[3]; in xor_32regs_3()
163 d7 ^= p2[7]; in xor_32regs_3()
167 d3 ^= p3[3]; in xor_32regs_3()
171 d7 ^= p3[7]; in xor_32regs_3()
175 p1[3] = d3; in xor_32regs_3()
179 p1[7] = d7; in xor_32regs_3()
183 } while (--lines > 0); in xor_32regs_3()
199 d3 = p1[3]; in xor_32regs_4()
203 d7 = p1[7]; in xor_32regs_4()
207 d3 ^= p2[3]; in xor_32regs_4()
211 d7 ^= p2[7]; in xor_32regs_4()
215 d3 ^= p3[3]; in xor_32regs_4()
219 d7 ^= p3[7]; in xor_32regs_4()
223 d3 ^= p4[3]; in xor_32regs_4()
227 d7 ^= p4[7]; in xor_32regs_4()
231 p1[3] = d3; in xor_32regs_4()
235 p1[7] = d7; in xor_32regs_4()
240 } while (--lines > 0); in xor_32regs_4()
257 d3 = p1[3]; in xor_32regs_5()
261 d7 = p1[7]; in xor_32regs_5()
265 d3 ^= p2[3]; in xor_32regs_5()
269 d7 ^= p2[7]; in xor_32regs_5()
273 d3 ^= p3[3]; in xor_32regs_5()
277 d7 ^= p3[7]; in xor_32regs_5()
281 d3 ^= p4[3]; in xor_32regs_5()
285 d7 ^= p4[7]; in xor_32regs_5()
289 d3 ^= p5[3]; in xor_32regs_5()
293 d7 ^= p5[7]; in xor_32regs_5()
297 p1[3] = d3; in xor_32regs_5()
301 p1[7] = d7; 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()
329 p1[7] ^= p2[7]; 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()
359 p1[7] ^= p2[7] ^ p3[7]; 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()
394 p1[7] ^= p2[7] ^ p3[7] ^ p4[7]; 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()
433 p1[7] ^= p2[7] ^ p3[7] ^ p4[7] ^ p5[7]; 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()
466 d7 = p1[7]; in xor_32regs_p_2()
470 d3 ^= p2[3]; in xor_32regs_p_2()
474 d7 ^= p2[7]; in xor_32regs_p_2()
478 p1[3] = d3; in xor_32regs_p_2()
482 p1[7] = d7; 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()
515 d7 = p1[7]; in xor_32regs_p_3()
519 d3 ^= p2[3]; in xor_32regs_p_3()
523 d7 ^= p2[7]; in xor_32regs_p_3()
527 d3 ^= p3[3]; in xor_32regs_p_3()
531 d7 ^= p3[7]; in xor_32regs_p_3()
535 p1[3] = d3; in xor_32regs_p_3()
539 p1[7] = d7; 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()
576 d7 = p1[7]; in xor_32regs_p_4()
580 d3 ^= p2[3]; in xor_32regs_p_4()
584 d7 ^= p2[7]; in xor_32regs_p_4()
588 d3 ^= p3[3]; in xor_32regs_p_4()
592 d7 ^= p3[7]; in xor_32regs_p_4()
596 d3 ^= p4[3]; in xor_32regs_p_4()
600 d7 ^= p4[7]; in xor_32regs_p_4()
604 p1[3] = d3; in xor_32regs_p_4()
608 p1[7] = d7; 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()
649 d7 = p1[7]; in xor_32regs_p_5()
653 d3 ^= p2[3]; in xor_32regs_p_5()
657 d7 ^= p2[7]; in xor_32regs_p_5()
661 d3 ^= p3[3]; in xor_32regs_p_5()
665 d7 ^= p3[7]; in xor_32regs_p_5()
669 d3 ^= p4[3]; in xor_32regs_p_5()
673 d7 ^= p4[7]; in xor_32regs_p_5()
677 d3 ^= p5[3]; in xor_32regs_p_5()
681 d7 ^= p5[7]; in xor_32regs_p_5()
685 p1[3] = d3; in xor_32regs_p_5()
689 p1[7] = d7; in xor_32regs_p_5()
695 } while (--lines > 0); in xor_32regs_p_5()