Lines Matching defs:ndev
272 struct net_device *ndev; member
296 static u32 ave_desc_read(struct net_device *ndev, enum desc_id id, int entry, in ave_desc_read()
308 static u32 ave_desc_read_cmdsts(struct net_device *ndev, enum desc_id id, in ave_desc_read_cmdsts()
314 static void ave_desc_write(struct net_device *ndev, enum desc_id id, in ave_desc_write()
326 static void ave_desc_write_cmdsts(struct net_device *ndev, enum desc_id id, in ave_desc_write_cmdsts()
332 static void ave_desc_write_addr(struct net_device *ndev, enum desc_id id, in ave_desc_write_addr()
345 static u32 ave_irq_disable_all(struct net_device *ndev) in ave_irq_disable_all()
356 static void ave_irq_restore(struct net_device *ndev, u32 val) in ave_irq_restore()
363 static void ave_irq_enable(struct net_device *ndev, u32 bitflag) in ave_irq_enable()
371 static void ave_hw_write_macaddr(struct net_device *ndev, in ave_hw_write_macaddr()
382 static void ave_hw_read_version(struct net_device *ndev, char *buf, int len) in ave_hw_read_version()
393 static void ave_ethtool_get_drvinfo(struct net_device *ndev, in ave_ethtool_get_drvinfo()
403 static u32 ave_ethtool_get_msglevel(struct net_device *ndev) in ave_ethtool_get_msglevel()
410 static void ave_ethtool_set_msglevel(struct net_device *ndev, u32 val) in ave_ethtool_set_msglevel()
417 static void ave_ethtool_get_wol(struct net_device *ndev, in ave_ethtool_get_wol()
427 static int __ave_ethtool_set_wol(struct net_device *ndev, in __ave_ethtool_set_wol()
437 static int ave_ethtool_set_wol(struct net_device *ndev, in ave_ethtool_set_wol()
449 static void ave_ethtool_get_pauseparam(struct net_device *ndev, in ave_ethtool_get_pauseparam()
459 static int ave_ethtool_set_pauseparam(struct net_device *ndev, in ave_ethtool_set_pauseparam()
493 struct net_device *ndev = bus->priv; in ave_mdiobus_read() local
522 struct net_device *ndev = bus->priv; in ave_mdiobus_write() local
549 static int ave_dma_map(struct net_device *ndev, struct ave_desc *desc, in ave_dma_map()
566 static void ave_dma_unmap(struct net_device *ndev, struct ave_desc *desc, in ave_dma_unmap()
578 static int ave_rxdesc_prepare(struct net_device *ndev, int entry) in ave_rxdesc_prepare()
631 static int ave_desc_switch(struct net_device *ndev, enum desc_state state) in ave_desc_switch()
679 static int ave_tx_complete(struct net_device *ndev) in ave_tx_complete()
740 static int ave_rx_receive(struct net_device *ndev, int num) in ave_rx_receive()
819 struct net_device *ndev; in ave_napi_poll_rx() local
839 struct net_device *ndev; in ave_napi_poll_tx() local
854 static void ave_global_reset(struct net_device *ndev) in ave_global_reset()
890 static void ave_rxfifo_reset(struct net_device *ndev) in ave_rxfifo_reset()
925 struct net_device *ndev = (struct net_device *)netdev; in ave_irq_handler() local
981 static int ave_pfsel_start(struct net_device *ndev, unsigned int entry) in ave_pfsel_start()
995 static int ave_pfsel_stop(struct net_device *ndev, unsigned int entry) in ave_pfsel_stop()
1009 static int ave_pfsel_set_macaddr(struct net_device *ndev, in ave_pfsel_set_macaddr()
1044 static void ave_pfsel_set_promisc(struct net_device *ndev, in ave_pfsel_set_promisc()
1067 static void ave_pfsel_init(struct net_device *ndev) in ave_pfsel_init()
1087 static void ave_phy_adjust_link(struct net_device *ndev) in ave_phy_adjust_link()
1156 static void ave_macaddr_init(struct net_device *ndev) in ave_macaddr_init()
1164 static int ave_init(struct net_device *ndev) in ave_init()
1248 static void ave_uninit(struct net_device *ndev) in ave_uninit()
1263 static int ave_open(struct net_device *ndev) in ave_open()
1351 static int ave_stop(struct net_device *ndev) in ave_stop()
1397 static netdev_tx_t ave_start_xmit(struct sk_buff *skb, struct net_device *ndev) in ave_start_xmit()
1455 static int ave_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd) in ave_ioctl()
1463 static void ave_set_rx_mode(struct net_device *ndev) in ave_set_rx_mode()
1502 static void ave_get_stats64(struct net_device *ndev, in ave_get_stats64()
1528 static int ave_set_mac_address(struct net_device *ndev, void *p) in ave_set_mac_address()
1560 struct net_device *ndev; in ave_probe() local
1727 struct net_device *ndev = platform_get_drvdata(pdev); in ave_remove() local
1741 struct net_device *ndev = dev_get_drvdata(dev); in ave_suspend() local
1759 struct net_device *ndev = dev_get_drvdata(dev); in ave_resume() local