Home
last modified time | relevance | path

Searched refs:num_q_pages (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_wq.c90 & ((wq)->num_q_pages - 1)); in WQE_PAGE_NUM()
382 wq->shadow_wqe = devm_kcalloc(&pdev->dev, wq->num_q_pages, in alloc_wqes_shadow()
387 wq->shadow_idx = devm_kcalloc(&pdev->dev, wq->num_q_pages, in alloc_wqes_shadow()
416 * @num_q_pages: number pages to free
419 int num_q_pages) in free_wq_pages()
424 for (i = 0; i < num_q_pages; i++) { in free_wq_pages()
449 int i, err, num_q_pages; in alloc_wq_pages() local
451 num_q_pages = ALIGN(WQ_SIZE(wq), wq->wq_page_size) / wq->wq_page_size; in alloc_wq_pages()
452 if (num_q_pages > max_pages) { in alloc_wq_pages()
457 if (num_q_pages in alloc_wq_pages()
418 free_wq_pages(struct hinic_wq *wq, struct hinic_hwif *hwif, int num_q_pages) free_wq_pages() argument
[all...]
H A Dhinic_hw_wq.h40 int num_q_pages; member
H A Dhinic_hw_qp.c112 if (wq->num_q_pages == 1) in hinic_sq_prepare_ctxt()
H A Dhinic_hw_cmdq.c718 if (wq->num_q_pages != 1) { in cmdq_init_queue_ctxt()
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_wq.c90 & ((wq)->num_q_pages - 1)); in WQE_PAGE_NUM()
381 wq->shadow_wqe = devm_kcalloc(&pdev->dev, wq->num_q_pages, in alloc_wqes_shadow()
386 wq->shadow_idx = devm_kcalloc(&pdev->dev, wq->num_q_pages, in alloc_wqes_shadow()
415 * @num_q_pages: number pages to free
418 int num_q_pages) in free_wq_pages()
423 for (i = 0; i < num_q_pages; i++) { in free_wq_pages()
448 int i, err, num_q_pages; in alloc_wq_pages() local
450 num_q_pages = ALIGN(WQ_SIZE(wq), wq->wq_page_size) / wq->wq_page_size; in alloc_wq_pages()
451 if (num_q_pages > max_pages) { in alloc_wq_pages()
456 if (num_q_pages in alloc_wq_pages()
417 free_wq_pages(struct hinic_wq *wq, struct hinic_hwif *hwif, int num_q_pages) free_wq_pages() argument
[all...]
H A Dhinic_hw_wq.h40 int num_q_pages; member
H A Dhinic_hw_qp.c112 if (wq->num_q_pages == 1) in hinic_sq_prepare_ctxt()
H A Dhinic_hw_cmdq.c713 if (wq->num_q_pages != 1) { in cmdq_init_queue_ctxt()

Completed in 8 milliseconds