/linux-6.6.21/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.6.21/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() 1369 cdnsp_initialize_ring_info(pdev->cmd_ring); in cdnsp_clear_cmd_ring() 1371 seg = pdev->cmd_ring->first_seg; in cdnsp_clear_cmd_ring() 1372 for (i = 0; i < pdev->cmd_ring->num_segs; i++) { in cdnsp_clear_cmd_ring() 1379 val_64 = cdnsp_read_64(&pdev->op_regs->cmd_ring); in cdnsp_clear_cmd_ring() 1381 (pdev->cmd_ring->first_seg->dma & (u64)~CMD_RING_RSVD_BITS) | in cdnsp_clear_cmd_ring() [all …]
|
D | cdnsp-ring.c | 1469 cdnsp_inc_deq(pdev, pdev->cmd_ring); in cdnsp_handle_event() 2375 cdnsp_prepare_ring(pdev, pdev->cmd_ring, EP_STATE_RUNNING, 1, in cdnsp_queue_command() 2378 pdev->cmd.command_trb = pdev->cmd_ring->enqueue; in cdnsp_queue_command() 2380 cdnsp_queue_trb(pdev, pdev->cmd_ring, false, field1, field2, in cdnsp_queue_command() 2381 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.6.21/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.6.21/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.6.21/drivers/usb/host/ |
D | xhci-ring.c | 412 if ((xhci->cmd_ring->dequeue != xhci->cmd_ring->enqueue) && in xhci_handle_stopped_cmd_ring() 423 struct xhci_segment *new_seg = xhci->cmd_ring->deq_seg; in xhci_abort_cmd_ring() 424 union xhci_trb *new_deq = xhci->cmd_ring->dequeue; in xhci_abort_cmd_ring() 445 xhci_write_64(xhci, crcr | CMD_RING_ABORT, &xhci->op_regs->cmd_ring); in xhci_abort_cmd_ring() 453 ret = xhci_handshake(&xhci->op_regs->cmd_ring, in xhci_abort_cmd_ring() 1631 hw_ring_state = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_handle_command_timeout() 1680 cmd_trb = xhci->cmd_ring->dequeue; in handle_cmd_completion() 1682 trace_xhci_handle_command(xhci->cmd_ring, &cmd_trb->generic); in handle_cmd_completion() 1684 cmd_dequeue_dma = xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, in handle_cmd_completion() 1708 if (cmd->command_trb != xhci->cmd_ring->dequeue) { in handle_cmd_completion() [all …]
|
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() 2392 xhci->cmd_ring = xhci_ring_alloc(xhci, 1, 1, TYPE_COMMAND, 0, flags); in xhci_mem_init() 2393 if (!xhci->cmd_ring) in xhci_mem_init() 2396 "Allocated command ring at %p", xhci->cmd_ring); in xhci_mem_init() 2398 &xhci->cmd_ring->first_seg->dma); in xhci_mem_init() 2401 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_mem_init() 2403 (xhci->cmd_ring->first_seg->dma & (u64) ~CMD_RING_RSVD_BITS) | in xhci_mem_init() 2404 xhci->cmd_ring->cycle_state; in xhci_mem_init() [all …]
|
D | xhci.c | 272 val = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_zero_64b_regs() 274 xhci_write_64(xhci, 0, &xhci->op_regs->cmd_ring); in xhci_zero_64b_regs() 708 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq() 710 (xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, in xhci_set_cmd_ring_deq() 711 xhci->cmd_ring->dequeue) & in xhci_set_cmd_ring_deq() 713 xhci->cmd_ring->cycle_state; in xhci_set_cmd_ring_deq() 717 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq() 734 ring = xhci->cmd_ring; in xhci_clear_command_ring()
|
D | xhci-debugfs.c | 692 xhci_debugfs_create_ring_dir(xhci, &xhci->cmd_ring, in xhci_debugfs_init()
|
D | xhci.h | 186 __le64 cmd_ring; member 1804 struct xhci_ring *cmd_ring; member
|
/linux-6.6.21/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.6.21/drivers/net/wireless/ath/ath11k/ |
D | dp_tx.c | 765 struct hal_srng *cmd_ring; in ath11k_dp_tx_send_reo_cmd() local 771 cmd_ring = &ab->hal.srng_list[dp->reo_cmd_ring.ring_id]; in ath11k_dp_tx_send_reo_cmd() 772 cmd_num = ath11k_hal_reo_cmd_send(ab, cmd_ring, type, cmd); in ath11k_dp_tx_send_reo_cmd()
|
/linux-6.6.21/drivers/gpu/drm/qxl/ |
D | qxl_dev.h | 352 struct qxl_command cmd_ring[QXL_COMMAND_RING_SIZE]; member
|
/linux-6.6.21/drivers/bus/mhi/host/ |
D | main.c | 775 struct mhi_cmd *cmd_ring = &mhi_cntrl->mhi_cmd[PRIMARY_CMD_RING]; in mhi_process_cmd_completion() local 776 struct mhi_ring *mhi_ring = &cmd_ring->ring; in mhi_process_cmd_completion()
|
/linux-6.6.21/drivers/net/wireless/ath/ath12k/ |
D | dp_rx.c | 613 struct hal_srng *cmd_ring; in ath12k_dp_reo_cmd_send() local 616 cmd_ring = &ab->hal.srng_list[dp->reo_cmd_ring.ring_id]; in ath12k_dp_reo_cmd_send() 617 cmd_num = ath12k_hal_reo_cmd_send(ab, cmd_ring, type, cmd); in ath12k_dp_reo_cmd_send()
|