Lines Matching defs:ndev
273 struct net_device *ndev; member
297 static u32 ave_desc_read(struct net_device *ndev, enum desc_id id, int entry, in ave_desc_read()
309 static u32 ave_desc_read_cmdsts(struct net_device *ndev, enum desc_id id, in ave_desc_read_cmdsts()
315 static void ave_desc_write(struct net_device *ndev, enum desc_id id, in ave_desc_write()
327 static void ave_desc_write_cmdsts(struct net_device *ndev, enum desc_id id, in ave_desc_write_cmdsts()
333 static void ave_desc_write_addr(struct net_device *ndev, enum desc_id id, in ave_desc_write_addr()
346 static u32 ave_irq_disable_all(struct net_device *ndev) in ave_irq_disable_all()
357 static void ave_irq_restore(struct net_device *ndev, u32 val) in ave_irq_restore()
364 static void ave_irq_enable(struct net_device *ndev, u32 bitflag) in ave_irq_enable()
372 static void ave_hw_write_macaddr(struct net_device *ndev, in ave_hw_write_macaddr()
383 static void ave_hw_read_version(struct net_device *ndev, char *buf, int len) in ave_hw_read_version()
394 static void ave_ethtool_get_drvinfo(struct net_device *ndev, in ave_ethtool_get_drvinfo()
404 static u32 ave_ethtool_get_msglevel(struct net_device *ndev) in ave_ethtool_get_msglevel()
411 static void ave_ethtool_set_msglevel(struct net_device *ndev, u32 val) in ave_ethtool_set_msglevel()
418 static void ave_ethtool_get_wol(struct net_device *ndev, in ave_ethtool_get_wol()
428 static int __ave_ethtool_set_wol(struct net_device *ndev, in __ave_ethtool_set_wol()
438 static int ave_ethtool_set_wol(struct net_device *ndev, in ave_ethtool_set_wol()
450 static void ave_ethtool_get_pauseparam(struct net_device *ndev, in ave_ethtool_get_pauseparam()
460 static int ave_ethtool_set_pauseparam(struct net_device *ndev, in ave_ethtool_set_pauseparam()
494 struct net_device *ndev = bus->priv; in ave_mdiobus_read() local
523 struct net_device *ndev = bus->priv; in ave_mdiobus_write() local
550 static int ave_dma_map(struct net_device *ndev, struct ave_desc *desc, in ave_dma_map()
567 static void ave_dma_unmap(struct net_device *ndev, struct ave_desc *desc, in ave_dma_unmap()
579 static int ave_rxdesc_prepare(struct net_device *ndev, int entry) in ave_rxdesc_prepare()
632 static int ave_desc_switch(struct net_device *ndev, enum desc_state state) in ave_desc_switch()
680 static int ave_tx_complete(struct net_device *ndev) in ave_tx_complete()
741 static int ave_rx_receive(struct net_device *ndev, int num) in ave_rx_receive()
820 struct net_device *ndev; in ave_napi_poll_rx() local
840 struct net_device *ndev; in ave_napi_poll_tx() local
855 static void ave_global_reset(struct net_device *ndev) in ave_global_reset()
891 static void ave_rxfifo_reset(struct net_device *ndev) in ave_rxfifo_reset()
926 struct net_device *ndev = (struct net_device *)netdev; in ave_irq_handler() local
982 static int ave_pfsel_start(struct net_device *ndev, unsigned int entry) in ave_pfsel_start()
996 static int ave_pfsel_stop(struct net_device *ndev, unsigned int entry) in ave_pfsel_stop()
1010 static int ave_pfsel_set_macaddr(struct net_device *ndev, in ave_pfsel_set_macaddr()
1045 static void ave_pfsel_set_promisc(struct net_device *ndev, in ave_pfsel_set_promisc()
1068 static void ave_pfsel_init(struct net_device *ndev) in ave_pfsel_init()
1088 static void ave_phy_adjust_link(struct net_device *ndev) in ave_phy_adjust_link()
1157 static void ave_macaddr_init(struct net_device *ndev) in ave_macaddr_init()
1165 static int ave_init(struct net_device *ndev) in ave_init()
1251 static void ave_uninit(struct net_device *ndev) in ave_uninit()
1266 static int ave_open(struct net_device *ndev) in ave_open()
1354 static int ave_stop(struct net_device *ndev) in ave_stop()
1400 static netdev_tx_t ave_start_xmit(struct sk_buff *skb, struct net_device *ndev) in ave_start_xmit()
1458 static int ave_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd) in ave_ioctl()
1466 static void ave_set_rx_mode(struct net_device *ndev) in ave_set_rx_mode()
1505 static void ave_get_stats64(struct net_device *ndev, in ave_get_stats64()
1531 static int ave_set_mac_address(struct net_device *ndev, void *p) in ave_set_mac_address()
1563 struct net_device *ndev; in ave_probe() local
1724 struct net_device *ndev = platform_get_drvdata(pdev); in ave_remove() local
1736 struct net_device *ndev = dev_get_drvdata(dev); in ave_suspend() local
1754 struct net_device *ndev = dev_get_drvdata(dev); in ave_resume() local