Lines Matching refs:p_virt
494 struct qed_spq_entry *p_virt = NULL; in qed_spq_setup() local
506 p_virt = p_spq->p_virt; in qed_spq_setup()
510 DMA_REGPAIR_LE(p_virt->elem.data_ptr, p_phys); in qed_spq_setup()
512 list_add_tail(&p_virt->list, &p_spq->free_pool); in qed_spq_setup()
514 p_virt++; in qed_spq_setup()
537 struct qed_spq_entry *p_virt = NULL; in qed_spq_alloc() local
559 p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_spq_alloc()
562 if (!p_virt) in qed_spq_alloc()
565 p_spq->p_virt = p_virt; in qed_spq_alloc()
585 if (p_spq->p_virt) { in qed_spq_free()
590 p_spq->p_virt, p_spq->p_phys); in qed_spq_free()