Lines Matching defs:dma
13 #include <linux/dma-mapping.h>
24 * Allocates a generic ring segment from the ring pool, sets the dma address,
35 dma_addr_t dma;
42 seg->trbs = dma_pool_zalloc(pdev->segment_pool, flags, &dma);
59 seg->dma = dma;
65 dma_pool_free(pdev->segment_pool, seg->trbs, dma);
75 dma_pool_free(pdev->segment_pool, seg->trbs, seg->dma);
119 link->segment_ptr = cpu_to_le64(next->dma);
191 * if we allow the PCI dma mask to be bigger than 32-bits. So don't do that.
201 key = (unsigned long)(seg->dma >> TRB_SEGMENT_SHIFT);
222 key = (unsigned long)(seg->dma >> TRB_SEGMENT_SHIFT);
469 &pdev->out_ctx.dma);
478 &pdev->in_ctx.dma);
482 pdev->out_ctx.dma);
611 addr = cur_ring->first_seg->dma | SCT_FOR_CTX(SCT_PRI_TR) |
677 pdev->in_ctx.dma);
681 pdev->out_ctx.dma);
701 pdev->dcbaa->dev_context_ptrs[1] = cpu_to_le64(pdev->out_ctx.dma);
708 pdev->out_ctx.dma);
710 pdev->in_ctx.dma);
719 dma_addr_t dma;
721 dma = cdnsp_trb_virt_to_dma(ep_ring->enq_seg, ep_ring->enqueue);
722 ep0_ctx->deq = cpu_to_le64(dma | ep_ring->cycle_state);
769 ep0_ctx->deq = cpu_to_le64(pdev->eps[0].ring->first_seg->dma |
1001 ep_ctx->deq = cpu_to_le64(pep->ring->first_seg->dma |
1045 entry->seg_addr = cpu_to_le64(seg->dma);
1089 pdev->dcbaa, pdev->dcbaa->dma);
1213 dma_addr_t dma;
1232 &dma, GFP_KERNEL);
1236 pdev->dcbaa->dma = dma;
1238 cdnsp_write_64(dma, &pdev->op_regs->dcbaa_ptr);
1244 * and our use of dma addresses in the trb_address_map radix tree needs
1268 (pdev->cmd_ring->first_seg->dma & (u64)~CMD_RING_RSVD_BITS) |
1332 pdev->dcbaa->dma);