Lines Matching refs:p_virt
411 struct qed_spq_entry *p_virt = NULL; in qed_spq_setup() local
423 p_virt = p_spq->p_virt; in qed_spq_setup()
426 p_virt->elem.data_ptr.hi = DMA_HI_LE(p_phys); in qed_spq_setup()
427 p_virt->elem.data_ptr.lo = DMA_LO_LE(p_phys); in qed_spq_setup()
429 list_add_tail(&p_virt->list, &p_spq->free_pool); in qed_spq_setup()
431 p_virt++; in qed_spq_setup()
456 struct qed_spq_entry *p_virt = NULL; in qed_spq_alloc() local
478 p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_spq_alloc()
484 if (!p_virt) in qed_spq_alloc()
487 p_spq->p_virt = p_virt; in qed_spq_alloc()
506 if (p_spq->p_virt) in qed_spq_free()
510 p_spq->p_virt, in qed_spq_free()