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

Lines Matching refs:dma

31  * Allocates a generic ring segment from the ring pool, sets the dma address,
40 dma_addr_t dma;
47 seg->trbs = dma_pool_alloc(xhci->segment_pool, flags, &dma);
53 seg->trbs, (unsigned long long)dma);
56 seg->dma = dma;
68 seg->trbs, (unsigned long long)seg->dma);
69 dma_pool_free(xhci->segment_pool, seg->trbs, seg->dma);
92 prev->trbs[TRBS_PER_SEGMENT-1].link.segment_ptr = next->dma;
104 (unsigned long long)prev->dma,
105 (unsigned long long)next->dma);
191 prev, (unsigned long long)prev->dma);
262 ctx->bytes = dma_pool_alloc(xhci->device_pool, flags, &ctx->dma);
272 dma_pool_free(xhci->device_pool, ctx->bytes, ctx->dma);
311 struct xhci_stream_ctx *stream_ctx, dma_addr_t dma)
318 stream_ctx, dma);
321 stream_ctx, dma);
324 stream_ctx, dma);
338 unsigned int num_stream_ctxs, dma_addr_t *dma,
346 dma);
349 mem_flags, dma);
352 mem_flags, dma);
407 for (addr = cur_ring->first_seg->dma;
408 addr < cur_ring->first_seg->dma + SEGMENT_SIZE;
428 addr = cur_ring->first_seg->dma - trb_size;
482 * if we allow the PCI dma mask to be bigger than 32-bits. So don't do that.
547 addr = cur_ring->first_seg->dma |
555 (cur_ring->first_seg->dma >> SEGMENT_SHIFT);
584 addr = cur_ring->first_seg->dma;
656 addr = cur_ring->first_seg->dma;
748 xhci_dbg(xhci, "Slot %d output ctx = 0x%llx (dma)\n", slot_id,
749 (unsigned long long)dev->out_ctx->dma);
756 xhci_dbg(xhci, "Slot %d input ctx = 0x%llx (dma)\n", slot_id,
757 (unsigned long long)dev->in_ctx->dma);
782 xhci->dcbaa->dev_context_ptrs[slot_id] = dev->out_ctx->dma;
902 dev->eps[0].ring->first_seg->dma;
1085 ep_ctx->deq = ep_ring->first_seg->dma | ep_ring->cycle_state;
1258 dma_addr_t dma;
1260 xhci->page_size, &dma);
1264 xhci->scratchpad->sp_array[i] = dma;
1266 xhci->scratchpad->sp_dma_buffers[i] = dma;
1436 xhci->dcbaa, xhci->dcbaa->dma);
1495 { xhci->event_ring->first_seg->dma - 16, NULL },
1497 { xhci->event_ring->first_seg->dma - 1, NULL },
1499 { xhci->event_ring->first_seg->dma, xhci->event_ring->first_seg },
1501 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16,
1504 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16 + 1, NULL },
1506 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT)*16, NULL },
1521 .input_dma = xhci->cmd_ring->first_seg->dma,
1528 .input_dma = xhci->cmd_ring->first_seg->dma,
1535 .input_dma = xhci->cmd_ring->first_seg->dma,
1542 .input_dma = xhci->event_ring->first_seg->dma + 4*16,
1549 .input_dma = xhci->event_ring->first_seg->dma + 2*16,
1556 .input_dma = xhci->event_ring->first_seg->dma + 2*16,
1563 .input_dma = xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 4)*16,
1570 .input_dma = xhci->cmd_ring->first_seg->dma + 2*16,
1790 dma_addr_t dma;
1832 sizeof(*xhci->dcbaa), &dma);
1836 xhci->dcbaa->dma = dma;
1838 (unsigned long long)xhci->dcbaa->dma, xhci->dcbaa);
1839 xhci_write_64(xhci, dma, &xhci->op_regs->dcbaa_ptr);
1878 (unsigned long long)xhci->cmd_ring->first_seg->dma);
1883 (xhci->cmd_ring->first_seg->dma & (u64) ~CMD_RING_RSVD_BITS) |
1911 sizeof(struct xhci_erst_entry)*ERST_NUM_SEGS, &dma);
1915 (unsigned long long)dma);
1919 xhci->erst.erst_dma_addr = dma;
1920 xhci_dbg(xhci, "Set ERST to 0; private num segs = %i, virt addr = %p, dma addr = 0x%llx\n",
1928 entry->seg_addr = seg->dma;