• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/dma/ioat/

Lines Matching refs:descs

80 static dma_addr_t xor_get_src(struct ioat_raw_descriptor *descs[2], int idx)
82 struct ioat_raw_descriptor *raw = descs[xor_idx_to_desc >> idx & 1];
87 static void xor_set_src(struct ioat_raw_descriptor *descs[2],
90 struct ioat_raw_descriptor *raw = descs[xor_idx_to_desc >> idx & 1];
95 static dma_addr_t pq_get_src(struct ioat_raw_descriptor *descs[2], int idx)
97 struct ioat_raw_descriptor *raw = descs[pq_idx_to_desc >> idx & 1];
102 static void pq_set_src(struct ioat_raw_descriptor *descs[2],
105 struct ioat_pq_descriptor *pq = (struct ioat_pq_descriptor *) descs[0];
106 struct ioat_raw_descriptor *raw = descs[pq_idx_to_desc >> idx & 1];
141 struct ioat_raw_descriptor *descs[2];
150 descs[0] = (struct ioat_raw_descriptor *) xor;
151 descs[1] = (struct ioat_raw_descriptor *) xor_ex;
153 dma_addr_t src = xor_get_src(descs, i);
178 struct ioat_raw_descriptor *descs[2];
193 descs[0] = (struct ioat_raw_descriptor *) pq;
194 descs[1] = (struct ioat_raw_descriptor *) pq_ex;
196 dma_addr_t src = pq_get_src(descs, i);
299 BUG_ON(active && !seen_current); /* no active descs have written a completion? */
507 struct ioat_raw_descriptor *descs[2];
521 descs[0] = (struct ioat_raw_descriptor *) xor;
522 descs[1] = (struct ioat_raw_descriptor *) xor_ex;
524 xor_set_src(descs, src[s], offset, s);
585 struct ioat_raw_descriptor *descs[] = { (void *) pq, (void *) pq_ex };
599 (unsigned long long) pq_get_src(descs, i), pq->coef[i]);
653 struct ioat_raw_descriptor *descs[2];
666 descs[0] = (struct ioat_raw_descriptor *) pq;
667 descs[1] = (struct ioat_raw_descriptor *) pq_ex;
670 pq_set_src(descs, src[s], offset, scf[s], s);
674 pq_set_src(descs, dst[1], offset, 1, s++);
676 pq_set_src(descs, dst[0], offset, 0, s++);
677 pq_set_src(descs, dst[1], offset, 1, s++);
678 pq_set_src(descs, dst[1], offset, 0, s++);