Home
last modified time | relevance | path

Searched refs:cmd_ring (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/usb/host/
Dxhci-ring.c315 temp_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring()
322 &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring()
331 ret = handshake(xhci, &xhci->op_regs->cmd_ring, in xhci_abort_cmd_ring()
772 le32_to_cpu(xhci->cmd_ring->dequeue->generic.field[3])))) { in handle_stopped_endpoint()
774 le32_to_cpu(xhci->cmd_ring->dequeue->generic.field[3])); in handle_stopped_endpoint()
1216 if (xhci->cmd_ring->dequeue != command->command_trb) in handle_cmd_in_cmd_wait_list()
1238 if (xhci->cmd_ring->dequeue == xhci->cmd_ring->enqueue) in xhci_cmd_to_noop()
1242 cur_seg = find_trb_seg(xhci->cmd_ring->first_seg, in xhci_cmd_to_noop()
1243 xhci->cmd_ring->dequeue, &cycle_state); in xhci_cmd_to_noop()
1247 xhci->cmd_ring->dequeue, in xhci_cmd_to_noop()
[all …]
Dxhci-mem.c1805 if (xhci->cmd_ring) in xhci_mem_cleanup()
1806 xhci_ring_free(xhci, xhci->cmd_ring); in xhci_mem_cleanup()
1807 xhci->cmd_ring = NULL; in xhci_mem_cleanup()
1958 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math()
1964 .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
1965 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math()
1970 .start_trb = xhci->cmd_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
1971 .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
1972 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math()
2007 .input_dma = xhci->cmd_ring->first_seg->dma + 2*16, in xhci_check_trb_in_td_math()
[all …]
Dxhci.c571 xhci_debug_segment(xhci, xhci->cmd_ring->deq_seg); in xhci_event_ring_work()
572 xhci_dbg_ring_ptrs(xhci, xhci->cmd_ring); in xhci_event_ring_work()
651 xhci_debug_ring(xhci, xhci->cmd_ring); in xhci_run()
652 xhci_dbg_ring_ptrs(xhci, xhci->cmd_ring); in xhci_run()
829 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq()
831 (xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, in xhci_set_cmd_ring_deq()
832 xhci->cmd_ring->dequeue) & in xhci_set_cmd_ring_deq()
834 xhci->cmd_ring->cycle_state; in xhci_set_cmd_ring_deq()
837 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq()
854 ring = xhci->cmd_ring; in xhci_clear_command_ring()
[all …]
Dxhci.h164 __le64 cmd_ring; member
1433 struct xhci_ring *cmd_ring; member
Dxhci-dbg.c415 val = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_dbg_cmd_ptrs()
Dxhci-hub.c290 cmd->command_trb = xhci_find_next_enqueue(xhci->cmd_ring); in xhci_stop_device()