xref: /linux/lib/raid6/neon.h (revision 3de13550a20fd570441c0f854abe58c6cc46c0bc)
1*3de13550SArnd Bergmann // SPDX-License-Identifier: GPL-2.0-only
2*3de13550SArnd Bergmann 
3*3de13550SArnd Bergmann void raid6_neon1_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs);
4*3de13550SArnd Bergmann void raid6_neon1_xor_syndrome_real(int disks, int start, int stop,
5*3de13550SArnd Bergmann 				    unsigned long bytes, void **ptrs);
6*3de13550SArnd Bergmann void raid6_neon2_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs);
7*3de13550SArnd Bergmann void raid6_neon2_xor_syndrome_real(int disks, int start, int stop,
8*3de13550SArnd Bergmann 				    unsigned long bytes, void **ptrs);
9*3de13550SArnd Bergmann void raid6_neon4_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs);
10*3de13550SArnd Bergmann void raid6_neon4_xor_syndrome_real(int disks, int start, int stop,
11*3de13550SArnd Bergmann 				    unsigned long bytes, void **ptrs);
12*3de13550SArnd Bergmann void raid6_neon8_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs);
13*3de13550SArnd Bergmann void raid6_neon8_xor_syndrome_real(int disks, int start, int stop,
14*3de13550SArnd Bergmann 				    unsigned long bytes, void **ptrs);
15*3de13550SArnd Bergmann void __raid6_2data_recov_neon(int bytes, uint8_t *p, uint8_t *q, uint8_t *dp,
16*3de13550SArnd Bergmann 			      uint8_t *dq, const uint8_t *pbmul,
17*3de13550SArnd Bergmann 			      const uint8_t *qmul);
18*3de13550SArnd Bergmann 
19*3de13550SArnd Bergmann void __raid6_datap_recov_neon(int bytes, uint8_t *p, uint8_t *q, uint8_t *dq,
20*3de13550SArnd Bergmann 			      const uint8_t *qmul);
21*3de13550SArnd Bergmann 
22*3de13550SArnd Bergmann 
23