Searched refs:cmq_ring_to_dev (Results 1 – 2 of 2) sorted by relevance
14 #define cmq_ring_to_dev(ring) (&(ring)->dev->pdev->dev) macro128 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()
14 #define cmq_ring_to_dev(ring) (&(ring)->dev->pdev->dev) macro40 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()