Lines Matching refs:cmd_ring
1849 if (xhci->cmd_ring) in xhci_mem_cleanup()
1850 xhci_ring_free(xhci, xhci->cmd_ring); in xhci_mem_cleanup()
1851 xhci->cmd_ring = NULL; in xhci_mem_cleanup()
2004 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math()
2010 .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2011 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math()
2016 .start_trb = xhci->cmd_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2017 .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2018 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math()
2053 .input_dma = xhci->cmd_ring->first_seg->dma + 2*16, in xhci_check_trb_in_td_math()
2468 xhci->cmd_ring = xhci_ring_alloc(xhci, 1, 1, TYPE_COMMAND, 0, flags); in xhci_mem_init()
2469 if (!xhci->cmd_ring) in xhci_mem_init()
2472 "Allocated command ring at %p", xhci->cmd_ring); in xhci_mem_init()
2474 (unsigned long long)xhci->cmd_ring->first_seg->dma); in xhci_mem_init()
2477 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_mem_init()
2479 (xhci->cmd_ring->first_seg->dma & (u64) ~CMD_RING_RSVD_BITS) | in xhci_mem_init()
2480 xhci->cmd_ring->cycle_state; in xhci_mem_init()
2483 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_mem_init()