/linux/drivers/scsi/snic/ |
H A 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/drivers/usb/cdns3/ |
H A 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() [all...] |
H A D | cdnsp-gadget.c | 559 trace_cdnsp_cmd_wait_for_compl(pdev->cmd_ring, &cmd_trb->generic); in cdnsp_wait_for_cmd_compl() 561 ret = readl_poll_timeout_atomic(&pdev->op_regs->cmd_ring, val, in cdnsp_wait_for_cmd_compl() 566 trace_cdnsp_cmd_timeout(pdev->cmd_ring, &cmd_trb->generic); in cdnsp_wait_for_cmd_compl() 575 cmd_deq_dma = cdnsp_trb_virt_to_dma(pdev->cmd_ring->deq_seg, cmd_trb); in cdnsp_wait_for_cmd_compl() 623 trace_cdnsp_handle_command(pdev->cmd_ring, &cmd_trb->generic); in cdnsp_wait_for_cmd_compl() 1405 cdnsp_initialize_ring_info(pdev->cmd_ring); in cdnsp_clear_cmd_ring() 1407 seg = pdev->cmd_ring->first_seg; in cdnsp_clear_cmd_ring() 1408 for (i = 0; i < pdev->cmd_ring->num_segs; i++) { in cdnsp_clear_cmd_ring() 1415 val_64 = cdnsp_read_64(&pdev->op_regs->cmd_ring); in cdnsp_clear_cmd_ring() 1417 (pdev->cmd_ring in cdnsp_clear_cmd_ring() [all...] |
H A D | cdnsp-ring.c | 1474 cdnsp_inc_deq(pdev, pdev->cmd_ring); in cdnsp_handle_event() 2395 cdnsp_prepare_ring(pdev, pdev->cmd_ring, EP_STATE_RUNNING, 1, in cdnsp_queue_command() 2398 pdev->cmd.command_trb = pdev->cmd_ring->enqueue; in cdnsp_queue_command() 2400 cdnsp_queue_trb(pdev, pdev->cmd_ring, false, field1, field2, in cdnsp_queue_command() 2401 field3, field4 | pdev->cmd_ring->cycle_state); in cdnsp_queue_command()
|
H A D | cdnsp-gadget.h | 106 * @cmd_ring: CRP - 64-bit Command Ring Pointer. 122 __le64 cmd_ring; member 223 /* CRCR - Command Ring Control Register - cmd_ring bitmasks. */ 1387 * @cmd_ring: Command ring. 1446 struct cdnsp_ring *cmd_ring; member
|
/linux/drivers/scsi/fnic/ |
H A D | vnic_dev.c | 24 struct vnic_devcmd2 *cmd_ring; member 348 dc2c->cmd_ring[posted].cmd = cmd; in vnic_dev_cmd2() 349 dc2c->cmd_ring[posted].flags = 0; in vnic_dev_cmd2() 352 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in vnic_dev_cmd2() 355 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in vnic_dev_cmd2() 367 if (dc2c->cmd_ring[posted].flags & DEVCMD2_FNORESULT) in vnic_dev_cmd2() 460 vdev->devcmd2->cmd_ring = in vnic_dev_init_devcmd2()
|
/linux/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_dev.c | 303 dc2c->cmd_ring[posted].cmd = cmd; in _vnic_dev_cmd2() 304 dc2c->cmd_ring[posted].flags = 0; in _vnic_dev_cmd2() 307 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in _vnic_dev_cmd2() 310 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in _vnic_dev_cmd2() 320 if (dc2c->cmd_ring[posted].flags & DEVCMD2_FNORESULT) in _vnic_dev_cmd2() 403 vdev->devcmd2->cmd_ring = vdev->devcmd2->wq.ring.descs; in vnic_dev_init_devcmd2()
|
H A D | vnic_wq.h | 80 struct vnic_devcmd2 *cmd_ring; member
|
/linux/drivers/net/ethernet/rocker/ |
H A D | rocker.h | 67 struct rocker_dma_ring_info cmd_ring; member
|
/linux/drivers/usb/host/ |
H A D | xhci-mem.c | 1918 if (xhci->cmd_ring) in xhci_mem_cleanup() 1919 xhci_ring_free(xhci, xhci->cmd_ring); in xhci_mem_cleanup() 1920 xhci->cmd_ring = NULL; in xhci_mem_cleanup() 2482 xhci->cmd_ring = xhci_ring_alloc(xhci, 1, TYPE_COMMAND, 0, flags); in xhci_mem_init() 2483 if (!xhci->cmd_ring) in xhci_mem_init() 2486 xhci_dbg_trace(xhci, trace_xhci_dbg_init, "Allocated command ring at %p", xhci->cmd_ring); in xhci_mem_init() 2488 &xhci->cmd_ring->first_seg->dma); in xhci_mem_init()
|
H A D | xhci.c | 277 val = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_zero_64b_regs() 279 xhci_write_64(xhci, 0, &xhci->op_regs->cmd_ring); in xhci_zero_64b_regs() 492 deq_dma = xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, xhci->cmd_ring->dequeue); in xhci_set_cmd_ring_deq() 495 crcr = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq() 500 crcr |= xhci->cmd_ring->cycle_state; in xhci_set_cmd_ring_deq() 503 xhci_write_64(xhci, crcr, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq() 858 ring = xhci->cmd_ring; in xhci_clear_command_ring()
|
H A D | xhci-debugfs.c | 779 xhci_debugfs_create_ring_dir(xhci, &xhci->cmd_ring, in xhci_debugfs_init()
|
H A D | xhci.h | 85 * @cmd_ring: CRP - 64-bit Command Ring Pointer 106 __le64 cmd_ring; member 188 /* CRCR - Command Ring Control Register - cmd_ring bitmasks */ 1536 struct xhci_ring *cmd_ring; member
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | dp_tx.c | 774 struct hal_srng *cmd_ring; in ath11k_dp_tx_send_reo_cmd() local 780 cmd_ring = &ab->hal.srng_list[dp->reo_cmd_ring.ring_id]; in ath11k_dp_tx_send_reo_cmd() 781 cmd_num = ath11k_hal_reo_cmd_send(ab, cmd_ring, type, cmd); in ath11k_dp_tx_send_reo_cmd()
|
/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_dev.h | 352 struct qxl_command cmd_ring[QXL_COMMAND_RING_SIZE]; member
|
/linux/drivers/bus/mhi/host/ |
H A D | main.c | 784 struct mhi_cmd *cmd_ring = &mhi_cntrl->mhi_cmd[PRIMARY_CMD_RING]; in mhi_process_cmd_completion() local 785 struct mhi_ring *mhi_ring = &cmd_ring->ring; in mhi_process_cmd_completion()
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | dp_rx.c | 634 struct hal_srng *cmd_ring; in ath12k_dp_reo_cmd_send() local 637 cmd_ring = &ab->hal.srng_list[dp->reo_cmd_ring.ring_id]; in ath12k_dp_reo_cmd_send() 638 cmd_num = ath12k_hal_reo_cmd_send(ab, cmd_ring, type, cmd); in ath12k_dp_reo_cmd_send()
|