Lines Matching refs:cmd_ring
1852 if (xhci->cmd_ring) in xhci_mem_cleanup()
1853 xhci_ring_free(xhci, xhci->cmd_ring); in xhci_mem_cleanup()
1854 xhci->cmd_ring = NULL; in xhci_mem_cleanup()
2007 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math()
2013 .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2014 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math()
2019 .start_trb = xhci->cmd_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2020 .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2021 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math()
2056 .input_dma = xhci->cmd_ring->first_seg->dma + 2*16, in xhci_check_trb_in_td_math()
2474 xhci->cmd_ring = xhci_ring_alloc(xhci, 1, 1, TYPE_COMMAND, 0, flags); in xhci_mem_init()
2475 if (!xhci->cmd_ring) in xhci_mem_init()
2478 "Allocated command ring at %p", xhci->cmd_ring); in xhci_mem_init()
2480 (unsigned long long)xhci->cmd_ring->first_seg->dma); in xhci_mem_init()
2483 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_mem_init()
2485 (xhci->cmd_ring->first_seg->dma & (u64) ~CMD_RING_RSVD_BITS) | in xhci_mem_init()
2486 xhci->cmd_ring->cycle_state; in xhci_mem_init()
2489 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_mem_init()