Home
last modified time | relevance | path

Searched refs:cmdq_pages (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c56 #define CMDQ_BASE_VADDR(cmdq_pages, wq) \ argument
57 ((void *)((cmdq_pages)->page_vaddr) \
60 #define CMDQ_BASE_PADDR(cmdq_pages, wq) \ argument
61 ((cmdq_pages)->page_paddr \
64 #define CMDQ_BASE_ADDR(cmdq_pages, wq) \ argument
65 ((void *)((cmdq_pages)->shadow_page_vaddr) \
167 static int cmdq_allocate_page(struct hinic_cmdq_pages *cmdq_pages) in cmdq_allocate_page() argument
169 return queue_alloc_page(cmdq_pages->hwif, &cmdq_pages->page_vaddr, in cmdq_allocate_page()
170 &cmdq_pages->page_paddr, in cmdq_allocate_page()
171 &cmdq_pages->shadow_page_vaddr, in cmdq_allocate_page()
[all …]
Dhinic_hw_wq.h77 int hinic_wqs_cmdq_alloc(struct hinic_cmdq_pages *cmdq_pages,
82 void hinic_wqs_cmdq_free(struct hinic_cmdq_pages *cmdq_pages,
Dhinic_hw_cmdq.c699 struct hinic_cmdq_pages *cmdq_pages) in cmdq_init_queue_ctxt() argument
720 cmdq_first_block_paddr = cmdq_pages->page_paddr; in cmdq_init_queue_ctxt()
821 &cmdqs->cmdq_pages); in init_cmdqs_ctxt()
904 err = hinic_wqs_cmdq_alloc(&cmdqs->cmdq_pages, cmdqs->saved_wqs, hwif, in hinic_init_cmdqs()
934 hinic_wqs_cmdq_free(&cmdqs->cmdq_pages, cmdqs->saved_wqs, in hinic_init_cmdqs()
962 hinic_wqs_cmdq_free(&cmdqs->cmdq_pages, cmdqs->saved_wqs, in hinic_free_cmdqs()
Dhinic_hw_cmdq.h165 struct hinic_cmdq_pages cmdq_pages; member