Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_chain.c254 __le64 *pbl_virt; in qed_chain_alloc_pbl() local
272 pbl_virt = chain->pbl_sp.table_virt; in qed_chain_alloc_pbl()
276 size = array_size(page_cnt, sizeof(*pbl_virt)); in qed_chain_alloc_pbl()
280 pbl_virt = dma_alloc_coherent(dev, size, &pbl_phys, GFP_KERNEL); in qed_chain_alloc_pbl()
281 if (!pbl_virt) in qed_chain_alloc_pbl()
284 chain->pbl_sp.table_virt = pbl_virt; in qed_chain_alloc_pbl()
301 pbl_virt[i] = cpu_to_le64(phys); in qed_chain_alloc_pbl()