/linux-6.1.9/drivers/scsi/snic/ |
D | vnic_dev.c | 24 struct vnic_devcmd2 *cmd_ring; member 281 dc2c->cmd_ring[posted].cmd = cmd; in _svnic_dev_cmd2() 282 dc2c->cmd_ring[posted].flags = 0; in _svnic_dev_cmd2() 285 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in _svnic_dev_cmd2() 289 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in _svnic_dev_cmd2() 299 if (dc2c->cmd_ring[posted].flags & DEVCMD2_FNORESULT) in _svnic_dev_cmd2() 392 dc2c->cmd_ring = (struct vnic_devcmd2 *) dc2c->wq.ring.descs; in svnic_dev_init_devcmd2()
|
/linux-6.1.9/drivers/usb/cdns3/ |
D | cdnsp-mem.c | 1078 if (pdev->cmd_ring) in cdnsp_mem_cleanup() 1079 cdnsp_ring_free(pdev, pdev->cmd_ring); in cdnsp_mem_cleanup() 1081 pdev->cmd_ring = NULL; in cdnsp_mem_cleanup() 1261 pdev->cmd_ring = cdnsp_ring_alloc(pdev, 1, TYPE_COMMAND, 0, GFP_KERNEL); in cdnsp_mem_init() 1262 if (!pdev->cmd_ring) in cdnsp_mem_init() 1266 val_64 = cdnsp_read_64(&pdev->op_regs->cmd_ring); in cdnsp_mem_init() 1268 (pdev->cmd_ring->first_seg->dma & (u64)~CMD_RING_RSVD_BITS) | in cdnsp_mem_init() 1269 pdev->cmd_ring->cycle_state; in cdnsp_mem_init() 1270 cdnsp_write_64(val_64, &pdev->op_regs->cmd_ring); in cdnsp_mem_init() 1325 cdnsp_ring_free(pdev, pdev->cmd_ring); in cdnsp_mem_init()
|
D | cdnsp-gadget.c | 536 trace_cdnsp_cmd_wait_for_compl(pdev->cmd_ring, &cmd_trb->generic); in cdnsp_wait_for_cmd_compl() 538 ret = readl_poll_timeout_atomic(&pdev->op_regs->cmd_ring, val, in cdnsp_wait_for_cmd_compl() 543 trace_cdnsp_cmd_timeout(pdev->cmd_ring, &cmd_trb->generic); in cdnsp_wait_for_cmd_compl() 552 cmd_deq_dma = cdnsp_trb_virt_to_dma(pdev->cmd_ring->deq_seg, cmd_trb); in cdnsp_wait_for_cmd_compl() 585 trace_cdnsp_handle_command(pdev->cmd_ring, &cmd_trb->generic); in cdnsp_wait_for_cmd_compl() 1366 cdnsp_initialize_ring_info(pdev->cmd_ring); in cdnsp_clear_cmd_ring() 1368 seg = pdev->cmd_ring->first_seg; in cdnsp_clear_cmd_ring() 1369 for (i = 0; i < pdev->cmd_ring->num_segs; i++) { in cdnsp_clear_cmd_ring() 1376 val_64 = cdnsp_read_64(&pdev->op_regs->cmd_ring); in cdnsp_clear_cmd_ring() 1378 (pdev->cmd_ring->first_seg->dma & (u64)~CMD_RING_RSVD_BITS) | in cdnsp_clear_cmd_ring() [all …]
|
D | cdnsp-ring.c | 1462 cdnsp_inc_deq(pdev, pdev->cmd_ring); in cdnsp_handle_event() 2362 cdnsp_prepare_ring(pdev, pdev->cmd_ring, EP_STATE_RUNNING, 1, in cdnsp_queue_command() 2365 pdev->cmd.command_trb = pdev->cmd_ring->enqueue; in cdnsp_queue_command() 2367 cdnsp_queue_trb(pdev, pdev->cmd_ring, false, field1, field2, in cdnsp_queue_command() 2368 field3, field4 | pdev->cmd_ring->cycle_state); in cdnsp_queue_command()
|
D | cdnsp-gadget.h | 122 __le64 cmd_ring; member 1429 struct cdnsp_ring *cmd_ring; member
|
/linux-6.1.9/drivers/scsi/fnic/ |
D | vnic_dev.c | 24 struct vnic_devcmd2 *cmd_ring; member 344 dc2c->cmd_ring[posted].cmd = cmd; in vnic_dev_cmd2() 345 dc2c->cmd_ring[posted].flags = 0; in vnic_dev_cmd2() 348 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in vnic_dev_cmd2() 351 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in vnic_dev_cmd2() 363 if (dc2c->cmd_ring[posted].flags & DEVCMD2_FNORESULT) in vnic_dev_cmd2() 456 vdev->devcmd2->cmd_ring = in vnic_dev_init_devcmd2()
|
/linux-6.1.9/drivers/usb/host/ |
D | xhci-mem.c | 1849 if (xhci->cmd_ring) in xhci_mem_cleanup() 1850 xhci_ring_free(xhci, xhci->cmd_ring); in xhci_mem_cleanup() 1851 xhci->cmd_ring = NULL; in xhci_mem_cleanup() 2004 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math() 2010 .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math() 2011 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math() 2016 .start_trb = xhci->cmd_ring->first_seg->trbs, in xhci_check_trb_in_td_math() 2017 .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math() 2018 .input_dma = xhci->cmd_ring->first_seg->dma, in xhci_check_trb_in_td_math() 2053 .input_dma = xhci->cmd_ring->first_seg->dma + 2*16, in xhci_check_trb_in_td_math() [all …]
|
D | xhci-ring.c | 358 if ((xhci->cmd_ring->dequeue != xhci->cmd_ring->enqueue) && in xhci_handle_stopped_cmd_ring() 369 struct xhci_segment *new_seg = xhci->cmd_ring->deq_seg; in xhci_abort_cmd_ring() 370 union xhci_trb *new_deq = xhci->cmd_ring->dequeue; in xhci_abort_cmd_ring() 391 xhci_write_64(xhci, crcr | CMD_RING_ABORT, &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring() 399 ret = xhci_handshake(&xhci->op_regs->cmd_ring, in xhci_abort_cmd_ring() 1610 hw_ring_state = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_handle_command_timeout() 1659 cmd_trb = xhci->cmd_ring->dequeue; in handle_cmd_completion() 1661 trace_xhci_handle_command(xhci->cmd_ring, &cmd_trb->generic); in handle_cmd_completion() 1663 cmd_dequeue_dma = xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, in handle_cmd_completion() 1687 if (cmd->command_trb != xhci->cmd_ring->dequeue) { in handle_cmd_completion() [all …]
|
D | xhci.c | 268 val = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_zero_64b_regs() 270 xhci_write_64(xhci, 0, &xhci->op_regs->cmd_ring); in xhci_zero_64b_regs() 864 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq() 866 (xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, in xhci_set_cmd_ring_deq() 867 xhci->cmd_ring->dequeue) & in xhci_set_cmd_ring_deq() 869 xhci->cmd_ring->cycle_state; in xhci_set_cmd_ring_deq() 873 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq() 890 ring = xhci->cmd_ring; in xhci_clear_command_ring()
|
D | xhci-debugfs.c | 691 xhci_debugfs_create_ring_dir(xhci, &xhci->cmd_ring, in xhci_debugfs_init()
|
D | xhci.h | 186 __le64 cmd_ring; member 1797 struct xhci_ring *cmd_ring; member
|
/linux-6.1.9/drivers/net/ethernet/rocker/ |
D | rocker_main.c | 579 const struct rocker_dma_ring_info *cmd_ring = &rocker->cmd_ring; in rocker_dma_cmd_ring_waits_alloc() local 583 for (i = 0; i < cmd_ring->size; i++) { in rocker_dma_cmd_ring_waits_alloc() 584 err = rocker_dma_cmd_ring_wait_alloc(&cmd_ring->desc_info[i]); in rocker_dma_cmd_ring_waits_alloc() 592 rocker_dma_cmd_ring_wait_free(&cmd_ring->desc_info[i]); in rocker_dma_cmd_ring_waits_alloc() 598 const struct rocker_dma_ring_info *cmd_ring = &rocker->cmd_ring; in rocker_dma_cmd_ring_waits_free() local 601 for (i = 0; i < cmd_ring->size; i++) in rocker_dma_cmd_ring_waits_free() 602 rocker_dma_cmd_ring_wait_free(&cmd_ring->desc_info[i]); in rocker_dma_cmd_ring_waits_free() 612 &rocker->cmd_ring); in rocker_dma_rings_init() 620 err = rocker_dma_ring_bufs_alloc(rocker, &rocker->cmd_ring, in rocker_dma_rings_init() 655 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-6.1.9/drivers/net/ethernet/cisco/enic/ |
D | vnic_dev.c | 307 dc2c->cmd_ring[posted].cmd = cmd; in _vnic_dev_cmd2() 308 dc2c->cmd_ring[posted].flags = 0; in _vnic_dev_cmd2() 311 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in _vnic_dev_cmd2() 314 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in _vnic_dev_cmd2() 324 if (dc2c->cmd_ring[posted].flags & DEVCMD2_FNORESULT) in _vnic_dev_cmd2() 407 vdev->devcmd2->cmd_ring = vdev->devcmd2->wq.ring.descs; in vnic_dev_init_devcmd2()
|
D | vnic_wq.h | 80 struct vnic_devcmd2 *cmd_ring; member
|
/linux-6.1.9/drivers/net/wireless/ath/ath11k/ |
D | dp_tx.c | 734 struct hal_srng *cmd_ring; in ath11k_dp_tx_send_reo_cmd() local 740 cmd_ring = &ab->hal.srng_list[dp->reo_cmd_ring.ring_id]; in ath11k_dp_tx_send_reo_cmd() 741 cmd_num = ath11k_hal_reo_cmd_send(ab, cmd_ring, type, cmd); in ath11k_dp_tx_send_reo_cmd()
|
/linux-6.1.9/drivers/gpu/drm/qxl/ |
D | qxl_dev.h | 352 struct qxl_command cmd_ring[QXL_COMMAND_RING_SIZE]; member
|
/linux-6.1.9/drivers/bus/mhi/host/ |
D | main.c | 770 struct mhi_cmd *cmd_ring = &mhi_cntrl->mhi_cmd[PRIMARY_CMD_RING]; in mhi_process_cmd_completion() local 771 struct mhi_ring *mhi_ring = &cmd_ring->ring; in mhi_process_cmd_completion()
|