Lines Matching refs:cmd_ring
290 temp_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring()
293 &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring()
302 ret = xhci_handshake(&xhci->op_regs->cmd_ring, in xhci_abort_cmd_ring()
307 &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring()
309 ret = xhci_handshake(&xhci->op_regs->cmd_ring, in xhci_abort_cmd_ring()
1239 if ((xhci->cmd_ring->dequeue != xhci->cmd_ring->enqueue) && in xhci_handle_stopped_cmd_ring()
1267 hw_ring_state = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_handle_command_timeout()
1301 cmd_trb = xhci->cmd_ring->dequeue; in handle_cmd_completion()
1302 cmd_dequeue_dma = xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, in handle_cmd_completion()
1317 if (cmd->command_trb != xhci->cmd_ring->dequeue) { in handle_cmd_completion()
1410 inc_deq(xhci, xhci->cmd_ring); in handle_cmd_completion()
2841 if (ep_ring == xhci->cmd_ring) { in prepare_ring()
4020 ret = prepare_ring(xhci, xhci->cmd_ring, EP_STATE_RUNNING, in queue_command()
4030 cmd->command_trb = xhci->cmd_ring->enqueue; in queue_command()
4040 queue_trb(xhci, xhci->cmd_ring, false, field1, field2, field3, in queue_command()
4041 field4 | xhci->cmd_ring->cycle_state); in queue_command()