Home
last modified time | relevance | path

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

/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c1079 if (pdev->cmd_ring) in cdnsp_mem_cleanup()
1080 cdnsp_ring_free(pdev, pdev->cmd_ring); in cdnsp_mem_cleanup()
1082 pdev->cmd_ring = NULL; in cdnsp_mem_cleanup()
1289 pdev->cmd_ring = cdnsp_ring_alloc(pdev, 1, TYPE_COMMAND, 0, GFP_KERNEL); in cdnsp_mem_init()
1290 if (!pdev->cmd_ring) in cdnsp_mem_init()
1294 val_64 = cdnsp_read_64(&pdev->op_regs->cmd_ring); in cdnsp_mem_init()
1296 (pdev->cmd_ring->first_seg->dma & (u64)~CMD_RING_RSVD_BITS) | in cdnsp_mem_init()
1297 pdev->cmd_ring->cycle_state; in cdnsp_mem_init()
1298 cdnsp_write_64(val_64, &pdev->op_regs->cmd_ring); in cdnsp_mem_init()
1353 cdnsp_ring_free(pdev, pdev->cmd_ring); in cdnsp_mem_init()
H A Dcdnsp-gadget.c567 trace_cdnsp_cmd_wait_for_compl(pdev->cmd_ring, &cmd_trb->generic); in cdnsp_wait_for_cmd_compl()
569 ret = readl_poll_timeout_atomic(&pdev->op_regs->cmd_ring, val, in cdnsp_wait_for_cmd_compl()
574 trace_cdnsp_cmd_timeout(pdev->cmd_ring, &cmd_trb->generic); in cdnsp_wait_for_cmd_compl()
583 cmd_deq_dma = cdnsp_trb_virt_to_dma(pdev->cmd_ring->deq_seg, cmd_trb); in cdnsp_wait_for_cmd_compl()
631 trace_cdnsp_handle_command(pdev->cmd_ring, &cmd_trb->generic); in cdnsp_wait_for_cmd_compl()
1419 cdnsp_initialize_ring_info(pdev->cmd_ring); in cdnsp_clear_cmd_ring()
1421 seg = pdev->cmd_ring->first_seg; in cdnsp_clear_cmd_ring()
1422 for (i = 0; i < pdev->cmd_ring->num_segs; i++) { in cdnsp_clear_cmd_ring()
1429 val_64 = cdnsp_read_64(&pdev->op_regs->cmd_ring); in cdnsp_clear_cmd_ring()
1431 (pdev->cmd_ring->first_seg->dma & (u64)~CMD_RING_RSVD_BITS) | in cdnsp_clear_cmd_ring()
[all …]
/linux/drivers/net/ethernet/rocker/
H A Drocker.h67 struct rocker_dma_ring_info cmd_ring; member
/linux/drivers/usb/host/
H A Dxhci.c282 val = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_zero_64b_regs()
284 xhci_write_64(xhci, 0, &xhci->op_regs->cmd_ring); in xhci_zero_64b_regs()
494 deq_dma = xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, xhci->cmd_ring->dequeue); in xhci_set_cmd_ring_deq()
497 crcr = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq()
502 crcr |= xhci->cmd_ring->cycle_state; in xhci_set_cmd_ring_deq()
505 xhci_write_64(xhci, crcr, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq()
543 xhci_ring_init(xhci, xhci->cmd_ring); in xhci_init()
850 ring = xhci->cmd_ring; in xhci_clear_command_ring()
1190 xhci_for_each_ring_seg(xhci->cmd_ring->first_seg, seg) in xhci_resume()
H A Dxhci-debugfs.c818 xhci_debugfs_create_ring_dir(xhci, &xhci->cmd_ring, in xhci_debugfs_init()
H A Dxhci.h115 __le64 cmd_ring; member
1540 struct xhci_ring *cmd_ring; member
/linux/drivers/gpu/drm/qxl/
H A Dqxl_dev.h352 struct qxl_command cmd_ring[QXL_COMMAND_RING_SIZE]; member
/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Ddp_rx.c148 struct hal_srng *cmd_ring; in ath12k_wifi7_dp_reo_cmd_send() local
151 cmd_ring = &ab->hal.srng_list[dp->reo_cmd_ring.ring_id]; in ath12k_wifi7_dp_reo_cmd_send()
152 cmd_num = ath12k_wifi7_hal_reo_cmd_send(ab, cmd_ring, type, cmd); in ath12k_wifi7_dp_reo_cmd_send()