Lines Matching refs:p_virt
486 struct qed_spq_entry *p_virt = NULL; in qed_spq_setup() local
501 p_virt = p_spq->p_virt; in qed_spq_setup()
505 DMA_REGPAIR_LE(p_virt->elem.data_ptr, p_phys); in qed_spq_setup()
507 list_add_tail(&p_virt->list, &p_spq->free_pool); in qed_spq_setup()
509 p_virt++; in qed_spq_setup()
558 struct qed_spq_entry *p_virt = NULL; in qed_spq_alloc() local
580 p_virt = dma_alloc_coherent(&cdev->pdev->dev, in qed_spq_alloc()
583 if (!p_virt) in qed_spq_alloc()
586 p_spq->p_virt = p_virt; in qed_spq_alloc()
614 if (p_spq->p_virt) { in qed_spq_free()
619 p_spq->p_virt, p_spq->p_phys); in qed_spq_free()