Lines Matching refs:descs

82 static dma_addr_t xor_get_src(struct ioat_raw_descriptor *descs[2], int idx)
84 struct ioat_raw_descriptor *raw = descs[xor_idx_to_desc >> idx & 1];
89 static void xor_set_src(struct ioat_raw_descriptor *descs[2],
92 struct ioat_raw_descriptor *raw = descs[xor_idx_to_desc >> idx & 1];
97 static dma_addr_t pq_get_src(struct ioat_raw_descriptor *descs[2], int idx)
99 struct ioat_raw_descriptor *raw = descs[pq_idx_to_desc >> idx & 1];
104 static void pq_set_src(struct ioat_raw_descriptor *descs[2],
107 struct ioat_pq_descriptor *pq = (struct ioat_pq_descriptor *) descs[0];
108 struct ioat_raw_descriptor *raw = descs[pq_idx_to_desc >> idx & 1];
143 struct ioat_raw_descriptor *descs[2];
152 descs[0] = (struct ioat_raw_descriptor *) xor;
153 descs[1] = (struct ioat_raw_descriptor *) xor_ex;
155 dma_addr_t src = xor_get_src(descs, i);
180 struct ioat_raw_descriptor *descs[2];
195 descs[0] = (struct ioat_raw_descriptor *) pq;
196 descs[1] = (struct ioat_raw_descriptor *) pq_ex;
198 dma_addr_t src = pq_get_src(descs, i);
300 BUG_ON(active && !seen_current); /* no active descs have written a completion? */
510 struct ioat_raw_descriptor *descs[2];
524 descs[0] = (struct ioat_raw_descriptor *) xor;
525 descs[1] = (struct ioat_raw_descriptor *) xor_ex;
527 xor_set_src(descs, src[s], offset, s);
588 struct ioat_raw_descriptor *descs[] = { (void *) pq, (void *) pq_ex };
602 (unsigned long long) pq_get_src(descs, i), pq->coef[i]);
656 struct ioat_raw_descriptor *descs[2];
669 descs[0] = (struct ioat_raw_descriptor *) pq;
670 descs[1] = (struct ioat_raw_descriptor *) pq_ex;
673 pq_set_src(descs, src[s], offset, scf[s], s);
677 pq_set_src(descs, dst[1], offset, 1, s++);
679 pq_set_src(descs, dst[0], offset, 0, s++);
680 pq_set_src(descs, dst[1], offset, 1, s++);
681 pq_set_src(descs, dst[1], offset, 0, s++);