Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/snic/
Dvnic_dev.c38 struct vnic_devcmd2 *cmd_ring; member
295 dc2c->cmd_ring[posted].cmd = cmd; in _svnic_dev_cmd2()
296 dc2c->cmd_ring[posted].flags = 0; in _svnic_dev_cmd2()
299 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in _svnic_dev_cmd2()
303 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in _svnic_dev_cmd2()
313 if (dc2c->cmd_ring[posted].flags & DEVCMD2_FNORESULT) in _svnic_dev_cmd2()
406 dc2c->cmd_ring = (struct vnic_devcmd2 *) dc2c->wq.ring.descs; in svnic_dev_init_devcmd2()
/Linux-v5.4/drivers/scsi/fnic/
Dvnic_dev.c36 struct vnic_devcmd2 *cmd_ring; member
356 dc2c->cmd_ring[posted].cmd = cmd; in vnic_dev_cmd2()
357 dc2c->cmd_ring[posted].flags = 0; in vnic_dev_cmd2()
360 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in vnic_dev_cmd2()
363 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in vnic_dev_cmd2()
375 if (dc2c->cmd_ring[posted].flags & DEVCMD2_FNORESULT) in vnic_dev_cmd2()
467 vdev->devcmd2->cmd_ring = in vnic_dev_init_devcmd2()
/Linux-v5.4/drivers/usb/host/
Dxhci-mem.c1851 if (xhci->cmd_ring) in xhci_mem_cleanup()
1852 xhci_ring_free(xhci, xhci->cmd_ring); in xhci_mem_cleanup()
1853 xhci->cmd_ring = NULL; in xhci_mem_cleanup()
2001 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math()
2007 .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2008 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math()
2013 .start_trb = xhci->cmd_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2014 .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2015 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math()
2050 .input_dma = xhci->cmd_ring->first_seg->dma + 2*16, in xhci_check_trb_in_td_math()
[all …]
Dxhci-ring.c331 if ((xhci->cmd_ring->dequeue != xhci->cmd_ring->enqueue) && in xhci_handle_stopped_cmd_ring()
349 temp_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring()
351 &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring()
359 ret = xhci_handshake(&xhci->op_regs->cmd_ring, in xhci_abort_cmd_ring()
1340 hw_ring_state = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_handle_command_timeout()
1384 cmd_trb = xhci->cmd_ring->dequeue; in handle_cmd_completion()
1386 trace_xhci_handle_command(xhci->cmd_ring, &cmd_trb->generic); in handle_cmd_completion()
1388 cmd_dequeue_dma = xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, in handle_cmd_completion()
1412 if (cmd->command_trb != xhci->cmd_ring->dequeue) { in handle_cmd_completion()
1501 inc_deq(xhci, xhci->cmd_ring); in handle_cmd_completion()
[all …]
Dxhci.c265 val = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_zero_64b_regs()
267 xhci_write_64(xhci, 0, &xhci->op_regs->cmd_ring); in xhci_zero_64b_regs()
830 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq()
832 (xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, in xhci_set_cmd_ring_deq()
833 xhci->cmd_ring->dequeue) & in xhci_set_cmd_ring_deq()
835 xhci->cmd_ring->cycle_state; in xhci_set_cmd_ring_deq()
839 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq()
856 ring = xhci->cmd_ring; in xhci_clear_command_ring()
Dxhci-debugfs.c577 xhci_debugfs_create_ring_dir(xhci, &xhci->cmd_ring, in xhci_debugfs_init()
Dxhci.h183 __le64 cmd_ring; member
1769 struct xhci_ring *cmd_ring; member
/Linux-v5.4/drivers/net/ethernet/rocker/
Drocker_main.c576 const struct rocker_dma_ring_info *cmd_ring = &rocker->cmd_ring; in rocker_dma_cmd_ring_waits_alloc() local
580 for (i = 0; i < cmd_ring->size; i++) { in rocker_dma_cmd_ring_waits_alloc()
581 err = rocker_dma_cmd_ring_wait_alloc(&cmd_ring->desc_info[i]); in rocker_dma_cmd_ring_waits_alloc()
589 rocker_dma_cmd_ring_wait_free(&cmd_ring->desc_info[i]); in rocker_dma_cmd_ring_waits_alloc()
595 const struct rocker_dma_ring_info *cmd_ring = &rocker->cmd_ring; in rocker_dma_cmd_ring_waits_free() local
598 for (i = 0; i < cmd_ring->size; i++) in rocker_dma_cmd_ring_waits_free()
599 rocker_dma_cmd_ring_wait_free(&cmd_ring->desc_info[i]); in rocker_dma_cmd_ring_waits_free()
609 &rocker->cmd_ring); in rocker_dma_rings_init()
617 err = rocker_dma_ring_bufs_alloc(rocker, &rocker->cmd_ring, in rocker_dma_rings_init()
650 rocker_dma_ring_bufs_free(rocker, &rocker->cmd_ring, in rocker_dma_rings_init()
[all …]
Drocker.h67 struct rocker_dma_ring_info cmd_ring; member
/Linux-v5.4/drivers/net/ethernet/cisco/enic/
Dvnic_dev.c320 dc2c->cmd_ring[posted].cmd = cmd; in _vnic_dev_cmd2()
321 dc2c->cmd_ring[posted].flags = 0; in _vnic_dev_cmd2()
324 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in _vnic_dev_cmd2()
327 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in _vnic_dev_cmd2()
337 if (dc2c->cmd_ring[posted].flags & DEVCMD2_FNORESULT) in _vnic_dev_cmd2()
420 vdev->devcmd2->cmd_ring = vdev->devcmd2->wq.ring.descs; in vnic_dev_init_devcmd2()
Dvnic_wq.h93 struct vnic_devcmd2 *cmd_ring; member
/Linux-v5.4/drivers/gpu/drm/qxl/
Dqxl_dev.h354 struct qxl_command cmd_ring[QXL_COMMAND_RING_SIZE]; member