Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c45 ((void *)((wqs)->page_vaddr[(wq)->page_idx]) \
57 ((void *)((cmdq_pages)->page_vaddr) \
138 return queue_alloc_page(wqs->hwif, &wqs->page_vaddr[page_idx], in wqs_allocate_page()
155 wqs->page_vaddr[page_idx], in wqs_free_page()
168 return queue_alloc_page(cmdq_pages->hwif, &cmdq_pages->page_vaddr, in cmdq_allocate_page()
186 cmdq_pages->page_vaddr, in cmdq_free_page()
202 size = wqs->num_pages * sizeof(*wqs->page_vaddr); in alloc_page_arrays()
203 wqs->page_vaddr = devm_kzalloc(&pdev->dev, size, GFP_KERNEL); in alloc_page_arrays()
204 if (!wqs->page_vaddr) in alloc_page_arrays()
215 devm_kfree(&pdev->dev, wqs->page_vaddr); in alloc_page_arrays()
[all …]
Dhinic_hw_wq.h56 u64 **page_vaddr; member
71 u64 *page_vaddr; member