Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c431 dma_free_coherent(&pdev->dev, wq->wq_page_size, *vaddr, in free_wq_pages()
452 num_q_pages = ALIGN(WQ_SIZE(wq), wq->wq_page_size) / wq->wq_page_size; in alloc_wq_pages()
476 *vaddr = dma_alloc_coherent(&pdev->dev, wq->wq_page_size, in alloc_wq_pages()
506 u16 wqebb_size, u32 wq_page_size, u16 q_depth, in hinic_wq_allocate() argument
520 if (wq_page_size == 0) { in hinic_wq_allocate()
531 num_wqebbs_per_page = ALIGN(wq_page_size, wqebb_size) in hinic_wq_allocate()
548 wq->wq_page_size = wq_page_size; in hinic_wq_allocate()
603 int cmdq_blocks, u16 wqebb_size, u32 wq_page_size, in hinic_wqs_cmdq_alloc() argument
617 if (wq_page_size == 0) { in hinic_wqs_cmdq_alloc()
628 num_wqebbs_per_page = ALIGN(wq_page_size, wqebb_size) in hinic_wqs_cmdq_alloc()
[all …]
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,
Dhinic_hw_cmdq.c722 pfn = CMDQ_PFN(cmdq_first_block_paddr, wq->wq_page_size); in cmdq_init_queue_ctxt()