Searched refs:cmdq_pages (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_wq.c | 56 #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 …]
|
H A D | hinic_hw_wq.h | 77 int hinic_wqs_cmdq_alloc(struct hinic_cmdq_pages *cmdq_pages, 82 void hinic_wqs_cmdq_free(struct hinic_cmdq_pages *cmdq_pages,
|
H A D | hinic_hw_cmdq.c | 694 struct hinic_cmdq_pages *cmdq_pages) in cmdq_init_queue_ctxt() argument 715 cmdq_first_block_paddr = cmdq_pages->page_paddr; in cmdq_init_queue_ctxt() 816 &cmdqs->cmdq_pages); in init_cmdqs_ctxt() 899 err = hinic_wqs_cmdq_alloc(&cmdqs->cmdq_pages, cmdqs->saved_wqs, hwif, in hinic_init_cmdqs() 929 hinic_wqs_cmdq_free(&cmdqs->cmdq_pages, cmdqs->saved_wqs, in hinic_init_cmdqs() 957 hinic_wqs_cmdq_free(&cmdqs->cmdq_pages, cmdqs->saved_wqs, in hinic_free_cmdqs()
|
H A D | hinic_hw_cmdq.h | 165 struct hinic_cmdq_pages cmdq_pages; member
|