Lines Matching refs:hw
40 #include "hw.h"
165 * descriptors to hw
250 chain_tail->hw->next = first->txd.phys;
258 ioat->active += desc->hw->tx_cnt;
259 ioat->pending += desc->hw->tx_cnt;
268 * ioat_dma_alloc_descriptor - allocate and return a sw and hw descriptor pair
296 desc_sw->hw = desc;
401 pci_pool_free(ioatdma_device->dma_pool, desc->hw,
408 pci_pool_free(ioatdma_device->dma_pool, desc->hw,
455 prefetch(new->hw);
470 struct ioat_dma_descriptor *hw = NULL;
482 hw = desc->hw;
483 hw->size = copy;
484 hw->ctl = 0;
485 hw->src_addr = src;
486 hw->dst_addr = dest;
498 hw->next = next ? next->txd.phys : 0;
502 hw->next = 0;
519 hw->ctl_f.int_en = !!(flags & DMA_PREP_INTERRUPT);
520 hw->ctl_f.compl_write = 1;
521 hw->tx_cnt = tx_cnt;
536 size_t len, struct ioat_dma_descriptor *hw)
539 size_t offset = len - hw->size;
542 ioat_unmap(pdev, hw->dst_addr - offset, len,
546 ioat_unmap(pdev, hw->src_addr - offset, len,
607 ioat_dma_unmap(chan, tx->flags, desc->len, desc->hw);
608 ioat->active -= desc->hw->tx_cnt;
748 struct ioat_dma_descriptor *hw;
761 hw = desc->hw;
762 hw->ctl = 0;
763 hw->ctl_f.null = 1;
764 hw->ctl_f.int_en = 1;
765 hw->ctl_f.compl_write = 1;
767 hw->size = NULL_DESC_BUFFER_SIZE;
768 hw->src_addr = 0;
769 hw->dst_addr = 0;
771 hw->next = 0;