Searched refs:cmd_ring (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/drivers/scsi/snic/ |
D | vnic_dev.c | 38 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/ |
D | vnic_dev.c | 36 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/ |
D | xhci-mem.c | 1851 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 …]
|
D | xhci-ring.c | 331 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 …]
|
D | xhci.c | 265 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()
|
D | xhci-debugfs.c | 577 xhci_debugfs_create_ring_dir(xhci, &xhci->cmd_ring, in xhci_debugfs_init()
|
D | xhci.h | 183 __le64 cmd_ring; member 1769 struct xhci_ring *cmd_ring; member
|
/Linux-v5.4/drivers/net/ethernet/rocker/ |
D | rocker_main.c | 576 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 …]
|
D | rocker.h | 67 struct rocker_dma_ring_info cmd_ring; member
|
/Linux-v5.4/drivers/net/ethernet/cisco/enic/ |
D | vnic_dev.c | 320 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()
|
D | vnic_wq.h | 93 struct vnic_devcmd2 *cmd_ring; member
|
/Linux-v5.4/drivers/gpu/drm/qxl/ |
D | qxl_dev.h | 354 struct qxl_command cmd_ring[QXL_COMMAND_RING_SIZE]; member
|