Home
last modified time | relevance | path

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

/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c85 dev = ndev_to_dev(ndev); in xgene_enet_refill_pagepool()
133 dev = ndev_to_dev(buf_pool->ndev); in xgene_enet_refill_bufpool()
176 struct device *dev = ndev_to_dev(buf_pool->ndev); in xgene_enet_delete_bufpool()
196 struct device *dev = ndev_to_dev(buf_pool->ndev); in xgene_enet_delete_pagepool()
242 dev = ndev_to_dev(cp_ring->ndev); in xgene_enet_tx_completion()
409 struct device *dev = ndev_to_dev(tx_ring->ndev); in xgene_enet_setup_tx_desc()
624 dev = ndev_to_dev(buf_pool->ndev); in xgene_enet_free_pagepool()
688 dev = ndev_to_dev(rx_ring->ndev); in xgene_enet_rx_frame()
906 struct device *dev = ndev_to_dev(ndev); in xgene_enet_register_irq()
944 dev = ndev_to_dev(ndev); in xgene_enet_free_irq()
[all …]
Dxgene_enet_main.h249 static inline struct device *ndev_to_dev(struct net_device *ndev) in ndev_to_dev() function