Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_cmdq.c132 cmdq_buf->buf = dma_pool_alloc(cmdqs->cmdq_buf_pool, GFP_KERNEL, in hinic_alloc_cmdq_buf()
150 dma_pool_free(cmdqs->cmdq_buf_pool, cmdq_buf->buf, cmdq_buf->dma_addr); in hinic_free_cmdq_buf()
885 cmdqs->cmdq_buf_pool = dma_pool_create("hinic_cmdq", &pdev->dev, in hinic_init_cmdqs()
888 if (!cmdqs->cmdq_buf_pool) in hinic_init_cmdqs()
936 dma_pool_destroy(cmdqs->cmdq_buf_pool); in hinic_init_cmdqs()
962 dma_pool_destroy(cmdqs->cmdq_buf_pool); in hinic_free_cmdqs()
H A Dhinic_hw_cmdq.h161 struct dma_pool *cmdq_buf_pool; member