ring_to_dev 69 drivers/net/ethernet/hisilicon/hns/hnae.c cb->dma = dma_map_page(ring_to_dev(ring), cb->priv, 0, ring_to_dev 72 drivers/net/ethernet/hisilicon/hns/hnae.c if (dma_mapping_error(ring_to_dev(ring), cb->dma)) ring_to_dev 81 drivers/net/ethernet/hisilicon/hns/hnae.c dma_unmap_single(ring_to_dev(ring), cb->dma, cb->length, ring_to_dev 84 drivers/net/ethernet/hisilicon/hns/hnae.c dma_unmap_page(ring_to_dev(ring), cb->dma, cb->length, ring_to_dev 149 drivers/net/ethernet/hisilicon/hns/hnae.c dma_unmap_single(ring_to_dev(ring), ring->desc_dma_addr, ring_to_dev 166 drivers/net/ethernet/hisilicon/hns/hnae.c ring->desc_dma_addr = dma_map_single(ring_to_dev(ring), ring_to_dev 168 drivers/net/ethernet/hisilicon/hns/hnae.c if (dma_mapping_error(ring_to_dev(ring), ring->desc_dma_addr)) { ring_to_dev 310 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct device *dev = ring_to_dev(ring); ring_to_dev 1112 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct device *dev = ring_to_dev(ring); ring_to_dev 1291 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct device *dev = ring_to_dev(ring); ring_to_dev 2152 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c cb->dma = dma_map_page(ring_to_dev(ring), cb->priv, 0, ring_to_dev 2155 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (unlikely(dma_mapping_error(ring_to_dev(ring), cb->dma))) ring_to_dev 2165 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c dma_unmap_single(ring_to_dev(ring), cb->dma, cb->length, ring_to_dev 2168 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c dma_unmap_page(ring_to_dev(ring), cb->dma, cb->length, ring_to_dev 2205 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c dma_free_coherent(ring_to_dev(ring), size, ring_to_dev 2215 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->desc = dma_alloc_coherent(ring_to_dev(ring), size, ring_to_dev 3601 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->desc_cb = devm_kcalloc(ring_to_dev(ring), ring->desc_num, ring_to_dev 3623 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c devm_kfree(ring_to_dev(ring), ring->desc_cb); ring_to_dev 3632 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c devm_kfree(ring_to_dev(ring), ring->desc_cb);