Lines Matching refs:desc_hw
232 struct xgene_dma_desc_hw *desc_hw; member
598 struct xgene_dma_desc_hw *desc_hw; in xgene_chan_xfer_request() local
601 desc_hw = &ring->desc_hw[ring->head]; in xgene_chan_xfer_request()
611 memcpy(desc_hw, &desc_sw->desc1, sizeof(*desc_hw)); in xgene_chan_xfer_request()
618 desc_hw = &ring->desc_hw[ring->head]; in xgene_chan_xfer_request()
623 memcpy(desc_hw, &desc_sw->desc2, sizeof(*desc_hw)); in xgene_chan_xfer_request()
691 struct xgene_dma_desc_hw *desc_hw; in xgene_dma_cleanup_descriptors() local
705 desc_hw = &ring->desc_hw[ring->head]; in xgene_dma_cleanup_descriptors()
708 if (unlikely(le64_to_cpu(desc_hw->m0) == in xgene_dma_cleanup_descriptors()
718 desc_hw->m0)), in xgene_dma_cleanup_descriptors()
720 desc_hw->m0))); in xgene_dma_cleanup_descriptors()
735 XGENE_DMA_DESC_DUMP(desc_hw, in xgene_dma_cleanup_descriptors()
743 desc_hw->m0 = cpu_to_le64(XGENE_DMA_DESC_EMPTY_SIGNATURE); in xgene_dma_cleanup_descriptors()
1096 desc = &ring->desc_hw[i]; in xgene_dma_setup_ring()