Searched refs:cmd_ring (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/drivers/usb/host/
H A Dxhci-mem.c1812 if (xhci->cmd_ring) xhci_mem_cleanup()
1813 xhci_ring_free(xhci, xhci->cmd_ring); xhci_mem_cleanup()
1814 xhci->cmd_ring = NULL; xhci_mem_cleanup()
1966 .input_dma = xhci->cmd_ring->first_seg->dma, xhci_check_trb_in_td_math()
1972 .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], xhci_check_trb_in_td_math()
1973 .input_dma = xhci->cmd_ring->first_seg->dma, xhci_check_trb_in_td_math()
1978 .start_trb = xhci->cmd_ring->first_seg->trbs, xhci_check_trb_in_td_math()
1979 .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], xhci_check_trb_in_td_math()
1980 .input_dma = xhci->cmd_ring->first_seg->dma, xhci_check_trb_in_td_math()
2015 .input_dma = xhci->cmd_ring->first_seg->dma + 2*16, xhci_check_trb_in_td_math()
2413 xhci->cmd_ring = xhci_ring_alloc(xhci, 1, 1, TYPE_COMMAND, flags); xhci_mem_init()
2414 if (!xhci->cmd_ring) xhci_mem_init()
2417 "Allocated command ring at %p", xhci->cmd_ring); xhci_mem_init()
2419 (unsigned long long)xhci->cmd_ring->first_seg->dma); xhci_mem_init()
2422 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); xhci_mem_init()
2424 (xhci->cmd_ring->first_seg->dma & (u64) ~CMD_RING_RSVD_BITS) | xhci_mem_init()
2425 xhci->cmd_ring->cycle_state; xhci_mem_init()
2428 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); xhci_mem_init()
H A Dxhci-ring.c290 temp_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); xhci_abort_cmd_ring()
293 &xhci->op_regs->cmd_ring); xhci_abort_cmd_ring()
302 ret = xhci_handshake(&xhci->op_regs->cmd_ring, xhci_abort_cmd_ring()
307 &xhci->op_regs->cmd_ring); xhci_abort_cmd_ring()
309 ret = xhci_handshake(&xhci->op_regs->cmd_ring, xhci_abort_cmd_ring()
1239 if ((xhci->cmd_ring->dequeue != xhci->cmd_ring->enqueue) && xhci_handle_stopped_cmd_ring()
1267 hw_ring_state = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); xhci_handle_command_timeout()
1301 cmd_trb = xhci->cmd_ring->dequeue; handle_cmd_completion()
1302 cmd_dequeue_dma = xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, handle_cmd_completion()
1317 if (cmd->command_trb != xhci->cmd_ring->dequeue) { handle_cmd_completion()
1410 inc_deq(xhci, xhci->cmd_ring); handle_cmd_completion()
2802 if (ep_ring == xhci->cmd_ring) { prepare_ring()
3836 ret = prepare_ring(xhci, xhci->cmd_ring, EP_STATE_RUNNING, queue_command()
3846 cmd->command_trb = xhci->cmd_ring->enqueue; queue_command()
3856 queue_trb(xhci, xhci->cmd_ring, false, field1, field2, field3, queue_command()
3857 field4 | xhci->cmd_ring->cycle_state); queue_command()
H A Dxhci-dbg.c415 val = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); xhci_dbg_cmd_ptrs()
H A Dxhci.h150 * @cmd_ring: CRP - 64-bit Command Ring Pointer
171 __le64 cmd_ring; member in struct:xhci_op_regs
253 /* CRCR - Command Ring Control Register - cmd_ring bitmasks */
1486 struct xhci_ring *cmd_ring; member in struct:xhci_hcd
H A Dxhci.c620 xhci_debug_ring(xhci, xhci->cmd_ring); xhci_run()
621 xhci_dbg_ring_ptrs(xhci, xhci->cmd_ring); xhci_run()
810 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); xhci_set_cmd_ring_deq()
812 (xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, xhci_set_cmd_ring_deq()
813 xhci->cmd_ring->dequeue) & xhci_set_cmd_ring_deq()
815 xhci->cmd_ring->cycle_state; xhci_set_cmd_ring_deq()
819 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); xhci_set_cmd_ring_deq()
836 ring = xhci->cmd_ring; xhci_clear_command_ring()
/linux-4.1.27/drivers/net/ethernet/rocker/
H A Drocker.c240 struct rocker_dma_ring_info cmd_ring; member in struct:rocker
1053 &rocker->cmd_ring); rocker_dma_rings_init()
1061 err = rocker_dma_ring_bufs_alloc(rocker, &rocker->cmd_ring, rocker_dma_rings_init()
1088 rocker_dma_ring_bufs_free(rocker, &rocker->cmd_ring, rocker_dma_rings_init()
1091 rocker_dma_ring_destroy(rocker, &rocker->cmd_ring); rocker_dma_rings_init()
1100 rocker_dma_ring_bufs_free(rocker, &rocker->cmd_ring, rocker_dma_rings_fini()
1102 rocker_dma_ring_destroy(rocker, &rocker->cmd_ring); rocker_dma_rings_fini()
1318 while ((desc_info = rocker_desc_tail_get(&rocker->cmd_ring))) { rocker_cmd_irq_handler()
1329 rocker_dma_ring_credits_set(rocker, &rocker->cmd_ring, credits); rocker_cmd_irq_handler()
1512 desc_info = rocker_desc_head_get(&rocker->cmd_ring); rocker_cmd_exec()
1524 rocker_desc_head_set(rocker, &rocker->cmd_ring, desc_info); rocker_cmd_exec()
/linux-4.1.27/drivers/gpu/drm/qxl/
H A Dqxl_dev.h355 struct qxl_command cmd_ring[QXL_COMMAND_RING_SIZE]; member in struct:qxl_ram_header

Completed in 350 milliseconds