Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_wq.h29 u32 wq_page_size; member
79 int cmdq_blocks, u16 wqebb_size, u32 wq_page_size,
91 u16 wqebb_size, u32 wq_page_size, u16 q_depth,
H A Dhinic_hw_wq.c429 dma_free_coherent(&pdev->dev, wq->wq_page_size, *vaddr, in free_wq_pages()
450 num_q_pages = ALIGN(WQ_SIZE(wq), wq->wq_page_size) / wq->wq_page_size; in alloc_wq_pages()
474 *vaddr = dma_alloc_coherent(&pdev->dev, wq->wq_page_size, in alloc_wq_pages()
504 u16 wqebb_size, u32 wq_page_size, u16 q_depth, in hinic_wq_allocate() argument
518 if (wq_page_size == 0) { in hinic_wq_allocate()
529 num_wqebbs_per_page = ALIGN(wq_page_size, wqebb_size) in hinic_wq_allocate()
546 wq->wq_page_size = wq_page_size; in hinic_wq_allocate()
601 int cmdq_blocks, u16 wqebb_size, u32 wq_page_size, in hinic_wqs_cmdq_alloc() argument
615 if (wq_page_size == 0) { in hinic_wqs_cmdq_alloc()
626 num_wqebbs_per_page = ALIGN(wq_page_size, wqebb_size) in hinic_wqs_cmdq_alloc()
[all …]
H A Dhinic_hw_cmdq.c717 pfn = CMDQ_PFN(cmdq_first_block_paddr, wq->wq_page_size); in cmdq_init_queue_ctxt()