Searched refs:wq_page_size (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_wq.c | 430 dma_free_coherent(&pdev->dev, wq->wq_page_size, *vaddr, in free_wq_pages() 451 num_q_pages = ALIGN(WQ_SIZE(wq), wq->wq_page_size) / wq->wq_page_size; in alloc_wq_pages() 475 *vaddr = dma_alloc_coherent(&pdev->dev, wq->wq_page_size, in alloc_wq_pages() 505 u16 wqebb_size, u32 wq_page_size, u16 q_depth, in hinic_wq_allocate() argument 519 if (wq_page_size == 0) { in hinic_wq_allocate() 530 num_wqebbs_per_page = ALIGN(wq_page_size, wqebb_size) in hinic_wq_allocate() 547 wq->wq_page_size = wq_page_size; in hinic_wq_allocate() 602 int cmdq_blocks, u16 wqebb_size, u32 wq_page_size, in hinic_wqs_cmdq_alloc() argument 616 if (wq_page_size == 0) { in hinic_wqs_cmdq_alloc() 627 num_wqebbs_per_page = ALIGN(wq_page_size, wqebb_size) in hinic_wqs_cmdq_alloc() [all …]
|
D | hinic_hw_wq.h | 29 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,
|
D | hinic_hw_cmdq.c | 722 pfn = CMDQ_PFN(cmdq_first_block_paddr, wq->wq_page_size); in cmdq_init_queue_ctxt()
|