Lines Matching refs:d
37 int d, z, z0; in raid6_lsx_gen_syndrome() local
52 for (d = 0; d < bytes; d += NSIZE*4) { 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()
64 asm volatile("vld $vr8, %0" : : "m"(dptr[z][d+0*NSIZE])); in raid6_lsx_gen_syndrome()
65 asm volatile("vld $vr9, %0" : : "m"(dptr[z][d+1*NSIZE])); in raid6_lsx_gen_syndrome()
66 asm volatile("vld $vr10, %0" : : "m"(dptr[z][d+2*NSIZE])); in raid6_lsx_gen_syndrome()
67 asm volatile("vld $vr11, %0" : : "m"(dptr[z][d+3*NSIZE])); in raid6_lsx_gen_syndrome()
100 asm volatile("vst $vr0, %0" : "=m"(p[d+NSIZE*0])); in raid6_lsx_gen_syndrome()
101 asm volatile("vst $vr1, %0" : "=m"(p[d+NSIZE*1])); in raid6_lsx_gen_syndrome()
102 asm volatile("vst $vr2, %0" : "=m"(p[d+NSIZE*2])); in raid6_lsx_gen_syndrome()
103 asm volatile("vst $vr3, %0" : "=m"(p[d+NSIZE*3])); in raid6_lsx_gen_syndrome()
105 asm volatile("vst $vr4, %0" : "=m"(q[d+NSIZE*0])); in raid6_lsx_gen_syndrome()
106 asm volatile("vst $vr5, %0" : "=m"(q[d+NSIZE*1])); in raid6_lsx_gen_syndrome()
107 asm volatile("vst $vr6, %0" : "=m"(q[d+NSIZE*2])); in raid6_lsx_gen_syndrome()
108 asm volatile("vst $vr7, %0" : "=m"(q[d+NSIZE*3])); in raid6_lsx_gen_syndrome()
119 int d, z, z0; in raid6_lsx_xor_syndrome() local
134 for (d = 0; d < bytes; d += NSIZE*4) { 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()
147 asm volatile("vld $vr8, %0" : : "m"(dptr[z][d+0*NSIZE])); in raid6_lsx_xor_syndrome()
148 asm volatile("vld $vr9, %0" : : "m"(dptr[z][d+1*NSIZE])); in raid6_lsx_xor_syndrome()
149 asm volatile("vld $vr10, %0" : : "m"(dptr[z][d+2*NSIZE])); in raid6_lsx_xor_syndrome()
150 asm volatile("vld $vr11, %0" : : "m"(dptr[z][d+3*NSIZE])); in raid6_lsx_xor_syndrome()
235 : "+m"(p[d+NSIZE*0]), "+m"(p[d+NSIZE*1]), in raid6_lsx_xor_syndrome()
236 "+m"(p[d+NSIZE*2]), "+m"(p[d+NSIZE*3]), in raid6_lsx_xor_syndrome()
237 "+m"(q[d+NSIZE*0]), "+m"(q[d+NSIZE*1]), in raid6_lsx_xor_syndrome()
238 "+m"(q[d+NSIZE*2]), "+m"(q[d+NSIZE*3]) in raid6_lsx_xor_syndrome()
268 int d, z, z0; in raid6_lasx_gen_syndrome() local
283 for (d = 0; d < bytes; d += NSIZE*2) { 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()
291 asm volatile("xvld $xr4, %0" : : "m"(dptr[z][d+0*NSIZE])); in raid6_lasx_gen_syndrome()
292 asm volatile("xvld $xr5, %0" : : "m"(dptr[z][d+1*NSIZE])); in raid6_lasx_gen_syndrome()
313 asm volatile("xvst $xr0, %0" : "=m"(p[d+NSIZE*0])); in raid6_lasx_gen_syndrome()
314 asm volatile("xvst $xr1, %0" : "=m"(p[d+NSIZE*1])); in raid6_lasx_gen_syndrome()
316 asm volatile("xvst $xr2, %0" : "=m"(q[d+NSIZE*0])); in raid6_lasx_gen_syndrome()
317 asm volatile("xvst $xr3, %0" : "=m"(q[d+NSIZE*1])); in raid6_lasx_gen_syndrome()
328 int d, z, z0; in raid6_lasx_xor_syndrome() local
343 for (d = 0; d < bytes; d += NSIZE*2) { 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()
352 asm volatile("xvld $xr4, %0" : : "m"(dptr[z][d+0*NSIZE])); in raid6_lasx_xor_syndrome()
353 asm volatile("xvld $xr5, %0" : : "m"(dptr[z][d+1*NSIZE])); in raid6_lasx_xor_syndrome()
406 : "+m"(p[d+NSIZE*0]), "+m"(p[d+NSIZE*1]), in raid6_lasx_xor_syndrome()
407 "+m"(q[d+NSIZE*0]), "+m"(q[d+NSIZE*1]) in raid6_lasx_xor_syndrome()