Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_cmd.c14 #define cmq_ring_to_dev(ring) (&(ring)->dev->pdev->dev) macro
128 ring->desc = dma_alloc_coherent(cmq_ring_to_dev(ring), size, in hclgevf_alloc_cmd_desc()
141 dma_free_coherent(cmq_ring_to_dev(ring), size, in hclgevf_free_cmd_desc()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.c14 #define cmq_ring_to_dev(ring) (&(ring)->dev->pdev->dev) macro
40 ring->desc = dma_alloc_coherent(cmq_ring_to_dev(ring), size, in hclge_alloc_cmd_desc()
53 dma_free_coherent(cmq_ring_to_dev(ring), size, in hclge_free_cmd_desc()