Home
last modified time | relevance | path

Searched refs:cmdq_buf_pool (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_cmdq.c137 cmdq_buf->buf = dma_pool_alloc(cmdqs->cmdq_buf_pool, GFP_KERNEL, in hinic_alloc_cmdq_buf()
155 dma_pool_free(cmdqs->cmdq_buf_pool, cmdq_buf->buf, cmdq_buf->dma_addr); in hinic_free_cmdq_buf()
890 cmdqs->cmdq_buf_pool = dma_pool_create("hinic_cmdq", &pdev->dev, in hinic_init_cmdqs()
893 if (!cmdqs->cmdq_buf_pool) in hinic_init_cmdqs()
941 dma_pool_destroy(cmdqs->cmdq_buf_pool); in hinic_init_cmdqs()
967 dma_pool_destroy(cmdqs->cmdq_buf_pool); in hinic_free_cmdqs()
Dhinic_hw_cmdq.h161 struct dma_pool *cmdq_buf_pool; member