• 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 defs:desc

113 			    struct ioat_ring_ent *desc, int idx)
117 size_t len = desc->len;
118 size_t offset = len - desc->hw->size;
119 struct dma_async_tx_descriptor *tx = &desc->txd;
122 switch (desc->hw->ctl_f.op) {
124 if (!desc->hw->ctl_f.null) /* skip 'interrupt' ops */
125 ioat_dma_unmap(chan, flags, len, desc->hw);
128 struct ioat_fill_descriptor *hw = desc->fill;
137 struct ioat_xor_descriptor *xor = desc->xor;
174 struct ioat_pq_descriptor *pq = desc->pq;
226 __func__, desc->hw->ctl_f.op);
230 static bool desc_has_ext(struct ioat_ring_ent *desc)
232 struct ioat_dma_descriptor *hw = desc->hw;
236 struct ioat_xor_descriptor *xor = desc->xor;
242 struct ioat_pq_descriptor *pq = desc->pq;
261 struct ioat_ring_ent *desc;
275 desc = ioat2_get_ring_ent(ioat, idx + i);
276 dump_desc_dbg(ioat, desc);
277 tx = &desc->txd;
280 ioat3_dma_unmap(ioat, desc, idx + i);
292 if (desc_has_ext(desc)) {
427 struct ioat_ring_ent *desc;
442 desc = ioat2_get_ring_ent(ioat, idx + i);
443 fill = desc->fill;
453 dump_desc_dbg(ioat, desc);
456 desc->txd.flags = flags;
457 desc->len = total_len;
461 dump_desc_dbg(ioat, desc);
464 return &desc->txd;
474 struct ioat_ring_ent *desc;
511 desc = ioat2_get_ring_ent(ioat, idx + i);
512 xor = desc->xor;
533 dump_desc_dbg(ioat, desc);
537 desc->txd.flags = flags;
538 desc->len = total_len;
540 desc->result = result;
580 dump_pq_desc_dbg(struct ioat2_dma_chan *ioat, struct ioat_ring_ent *desc, struct ioat_ring_ent *ext)
583 struct ioat_pq_descriptor *pq = desc->pq;
589 dev_dbg(dev, "desc[%d]: (%#llx->%#llx) flags: %#x"
591 desc_id(desc), (unsigned long long) desc->txd.phys,
593 desc->txd.flags, pq->size, pq->ctl, pq->ctl_f.op, pq->ctl_f.int_en,
613 struct ioat_ring_ent *desc;
656 desc = ioat2_get_ring_ent(ioat, idx + i);
657 pq = desc->pq;
694 desc->txd.flags = flags;
695 desc->len = total_len;
697 desc->result = result;
699 dump_pq_desc_dbg(ioat, desc, ext);
809 struct ioat_ring_ent *desc;
813 desc = ioat2_get_ring_ent(ioat, ioat->head);
817 hw = desc->hw;
827 desc->txd.flags = flags;
828 desc->len = 1;
830 dump_desc_dbg(ioat, desc);
833 return &desc->txd;