cmdq_pages 698 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c struct hinic_cmdq_pages *cmdq_pages) cmdq_pages 718 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c cmdq_first_block_paddr = cmdq_pages->page_paddr; cmdq_pages 822 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c &cmdqs->cmdq_pages); cmdq_pages 887 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c err = hinic_wqs_cmdq_alloc(&cmdqs->cmdq_pages, cmdqs->saved_wqs, hwif, cmdq_pages 907 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c hinic_wqs_cmdq_free(&cmdqs->cmdq_pages, cmdqs->saved_wqs, cmdq_pages 935 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c hinic_wqs_cmdq_free(&cmdqs->cmdq_pages, cmdqs->saved_wqs, cmdq_pages 155 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h struct hinic_cmdq_pages cmdq_pages; cmdq_pages 56 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c #define CMDQ_BASE_VADDR(cmdq_pages, wq) \ cmdq_pages 57 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c ((void *)((cmdq_pages)->page_vaddr) \ cmdq_pages 60 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c #define CMDQ_BASE_PADDR(cmdq_pages, wq) \ cmdq_pages 61 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c ((cmdq_pages)->page_paddr \ cmdq_pages 64 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c #define CMDQ_BASE_ADDR(cmdq_pages, wq) \ cmdq_pages 65 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c ((void *)((cmdq_pages)->shadow_page_vaddr) \ cmdq_pages 166 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c static int cmdq_allocate_page(struct hinic_cmdq_pages *cmdq_pages) cmdq_pages 168 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c return queue_alloc_page(cmdq_pages->hwif, &cmdq_pages->page_vaddr, cmdq_pages 169 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c &cmdq_pages->page_paddr, cmdq_pages 170 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c &cmdq_pages->shadow_page_vaddr, cmdq_pages 180 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c static void cmdq_free_page(struct hinic_cmdq_pages *cmdq_pages) cmdq_pages 182 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c struct hinic_hwif *hwif = cmdq_pages->hwif; cmdq_pages 186 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c cmdq_pages->page_vaddr, cmdq_pages 187 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c (dma_addr_t)cmdq_pages->page_paddr); cmdq_pages 188 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c vfree(cmdq_pages->shadow_page_vaddr); cmdq_pages 601 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c int hinic_wqs_cmdq_alloc(struct hinic_cmdq_pages *cmdq_pages, cmdq_pages 636 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c cmdq_pages->hwif = hwif; cmdq_pages 638 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c err = cmdq_allocate_page(cmdq_pages); cmdq_pages 657 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c wq[i].block_vaddr = CMDQ_BASE_VADDR(cmdq_pages, &wq[i]); cmdq_pages 658 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c wq[i].shadow_block_vaddr = CMDQ_BASE_ADDR(cmdq_pages, &wq[i]); cmdq_pages 659 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c wq[i].block_paddr = CMDQ_BASE_PADDR(cmdq_pages, &wq[i]); cmdq_pages 661 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c err = alloc_wq_pages(&wq[i], cmdq_pages->hwif, cmdq_pages 678 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c free_wq_pages(&wq[j], cmdq_pages->hwif, wq[j].num_q_pages); cmdq_pages 680 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c cmdq_free_page(cmdq_pages); cmdq_pages 690 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c void hinic_wqs_cmdq_free(struct hinic_cmdq_pages *cmdq_pages, cmdq_pages 696 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c free_wq_pages(&wq[i], cmdq_pages->hwif, wq[i].num_q_pages); cmdq_pages 698 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c cmdq_free_page(cmdq_pages); cmdq_pages 77 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.h int hinic_wqs_cmdq_alloc(struct hinic_cmdq_pages *cmdq_pages, cmdq_pages 82 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.h void hinic_wqs_cmdq_free(struct hinic_cmdq_pages *cmdq_pages,