Lines Matching refs:z0
37 int d, z, z0; in raid6_lsx_gen_syndrome() local
39 z0 = disks - 3; /* Highest data disk */ in raid6_lsx_gen_syndrome()
40 p = dptr[z0+1]; /* XOR parity */ in raid6_lsx_gen_syndrome()
41 q = dptr[z0+2]; /* RS syndrome */ in raid6_lsx_gen_syndrome()
54 asm volatile("vld $vr0, %0" : : "m"(dptr[z0][d+0*NSIZE])); in raid6_lsx_gen_syndrome()
55 asm volatile("vld $vr1, %0" : : "m"(dptr[z0][d+1*NSIZE])); in raid6_lsx_gen_syndrome()
56 asm volatile("vld $vr2, %0" : : "m"(dptr[z0][d+2*NSIZE])); in raid6_lsx_gen_syndrome()
57 asm volatile("vld $vr3, %0" : : "m"(dptr[z0][d+3*NSIZE])); in raid6_lsx_gen_syndrome()
62 for (z = z0-1; z >= 0; z--) { in raid6_lsx_gen_syndrome()
119 int d, z, z0; in raid6_lsx_xor_syndrome() local
121 z0 = stop; /* P/Q right side optimization */ in raid6_lsx_xor_syndrome()
137 asm volatile("vld $vr0, %0" : : "m"(dptr[z0][d+0*NSIZE])); in raid6_lsx_xor_syndrome()
138 asm volatile("vld $vr1, %0" : : "m"(dptr[z0][d+1*NSIZE])); in raid6_lsx_xor_syndrome()
139 asm volatile("vld $vr2, %0" : : "m"(dptr[z0][d+2*NSIZE])); in raid6_lsx_xor_syndrome()
140 asm volatile("vld $vr3, %0" : : "m"(dptr[z0][d+3*NSIZE])); in raid6_lsx_xor_syndrome()
145 for (z = z0-1; z >= start; z--) { in raid6_lsx_xor_syndrome()
268 int d, z, z0; in raid6_lasx_gen_syndrome() local
270 z0 = disks - 3; /* Highest data disk */ in raid6_lasx_gen_syndrome()
271 p = dptr[z0+1]; /* XOR parity */ in raid6_lasx_gen_syndrome()
272 q = dptr[z0+2]; /* RS syndrome */ in raid6_lasx_gen_syndrome()
285 asm volatile("xvld $xr0, %0" : : "m"(dptr[z0][d+0*NSIZE])); in raid6_lasx_gen_syndrome()
286 asm volatile("xvld $xr1, %0" : : "m"(dptr[z0][d+1*NSIZE])); in raid6_lasx_gen_syndrome()
289 for (z = z0-1; z >= 0; z--) { in raid6_lasx_gen_syndrome()
328 int d, z, z0; in raid6_lasx_xor_syndrome() local
330 z0 = stop; /* P/Q right side optimization */ in raid6_lasx_xor_syndrome()
346 asm volatile("xvld $xr0, %0" : : "m"(dptr[z0][d+0*NSIZE])); in raid6_lasx_xor_syndrome()
347 asm volatile("xvld $xr1, %0" : : "m"(dptr[z0][d+1*NSIZE])); in raid6_lasx_xor_syndrome()
350 for (z = z0-1; z >= start; z--) { in raid6_lasx_xor_syndrome()