Lines Matching defs:ndev
409 static void sh_eth_write(struct net_device *ndev, u32 data, int enum_index) in sh_eth_write()
420 static u32 sh_eth_read(struct net_device *ndev, int enum_index) in sh_eth_read()
441 static void sh_eth_select_mii(struct net_device *ndev) in sh_eth_select_mii()
466 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex()
477 static void sh_eth_set_rate_r8a777x(struct net_device *ndev) in sh_eth_set_rate_r8a777x()
542 static void sh_eth_set_rate_sh7724(struct net_device *ndev) in sh_eth_set_rate_sh7724()
582 static void sh_eth_set_rate_sh7757(struct net_device *ndev) in sh_eth_set_rate_sh7757()
626 static void sh_eth_chip_reset_giga(struct net_device *ndev) in sh_eth_chip_reset_giga()
648 static void sh_eth_set_rate_giga(struct net_device *ndev) in sh_eth_set_rate_giga()
698 static void sh_eth_chip_reset(struct net_device *ndev) in sh_eth_chip_reset()
707 static void sh_eth_set_rate_gether(struct net_device *ndev) in sh_eth_set_rate_gether()
783 static void sh_eth_chip_reset_r8a7740(struct net_device *ndev) in sh_eth_chip_reset_r8a7740()
900 static int sh_eth_check_reset(struct net_device *ndev) in sh_eth_check_reset()
918 static int sh_eth_reset(struct net_device *ndev) in sh_eth_reset()
993 static void update_mac_address(struct net_device *ndev) in update_mac_address()
1009 static void read_mac_address(struct net_device *ndev, unsigned char *mac) in read_mac_address()
1122 static void sh_eth_ring_free(struct net_device *ndev) in sh_eth_ring_free()
1159 static void sh_eth_ring_format(struct net_device *ndev) in sh_eth_ring_format()
1240 static int sh_eth_ring_init(struct net_device *ndev) in sh_eth_ring_init()
1290 static int sh_eth_dev_init(struct net_device *ndev, bool start) in sh_eth_dev_init()
1383 static void sh_eth_dev_exit(struct net_device *ndev) in sh_eth_dev_exit()
1414 static int sh_eth_txfree(struct net_device *ndev) in sh_eth_txfree()
1452 static int sh_eth_rx(struct net_device *ndev, u32 intr_status, int *quota) in sh_eth_rx()
1588 static void sh_eth_rcv_snd_disable(struct net_device *ndev) in sh_eth_rcv_snd_disable()
1595 static void sh_eth_rcv_snd_enable(struct net_device *ndev) in sh_eth_rcv_snd_enable()
1603 static void sh_eth_error(struct net_device *ndev, u32 intr_status) in sh_eth_error()
1712 struct net_device *ndev = netdev; in sh_eth_interrupt() local
1778 struct net_device *ndev = napi->dev; in sh_eth_poll() local
1803 static void sh_eth_adjust_link(struct net_device *ndev) in sh_eth_adjust_link()
1846 static int sh_eth_phy_init(struct net_device *ndev) in sh_eth_phy_init()
1891 static int sh_eth_phy_start(struct net_device *ndev) in sh_eth_phy_start()
1905 static int sh_eth_get_settings(struct net_device *ndev, in sh_eth_get_settings()
1922 static int sh_eth_set_settings(struct net_device *ndev, in sh_eth_set_settings()
1968 static size_t __sh_eth_get_regs(struct net_device *ndev, u32 *buf) in __sh_eth_get_regs()
2129 static int sh_eth_get_regs_len(struct net_device *ndev) in sh_eth_get_regs_len()
2134 static void sh_eth_get_regs(struct net_device *ndev, struct ethtool_regs *regs, in sh_eth_get_regs()
2146 static int sh_eth_nway_reset(struct net_device *ndev) in sh_eth_nway_reset()
2162 static u32 sh_eth_get_msglevel(struct net_device *ndev) in sh_eth_get_msglevel()
2168 static void sh_eth_set_msglevel(struct net_device *ndev, u32 value) in sh_eth_set_msglevel()
2190 static void sh_eth_get_ethtool_stats(struct net_device *ndev, in sh_eth_get_ethtool_stats()
2203 static void sh_eth_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in sh_eth_get_strings()
2213 static void sh_eth_get_ringparam(struct net_device *ndev, in sh_eth_get_ringparam()
2224 static int sh_eth_set_ringparam(struct net_device *ndev, in sh_eth_set_ringparam()
2303 static int sh_eth_open(struct net_device *ndev) in sh_eth_open()
2347 static void sh_eth_tx_timeout(struct net_device *ndev) in sh_eth_tx_timeout()
2380 static int sh_eth_start_xmit(struct sk_buff *skb, struct net_device *ndev) in sh_eth_start_xmit()
2437 sh_eth_update_stat(struct net_device *ndev, unsigned long *stat, int reg) in sh_eth_update_stat()
2447 static struct net_device_stats *sh_eth_get_stats(struct net_device *ndev) in sh_eth_get_stats()
2475 static int sh_eth_close(struct net_device *ndev) in sh_eth_close()
2512 static int sh_eth_do_ioctl(struct net_device *ndev, struct ifreq *rq, int cmd) in sh_eth_do_ioctl()
2543 static void sh_eth_tsu_enable_cam_entry_post(struct net_device *ndev, in sh_eth_tsu_enable_cam_entry_post()
2555 static bool sh_eth_tsu_disable_cam_entry_post(struct net_device *ndev, in sh_eth_tsu_disable_cam_entry_post()
2573 static int sh_eth_tsu_busy(struct net_device *ndev) in sh_eth_tsu_busy()
2590 static int sh_eth_tsu_write_entry(struct net_device *ndev, void *reg, in sh_eth_tsu_write_entry()
2623 static int sh_eth_tsu_find_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_find_entry()
2639 static int sh_eth_tsu_find_empty(struct net_device *ndev) in sh_eth_tsu_find_empty()
2649 static int sh_eth_tsu_disable_cam_entry_table(struct net_device *ndev, in sh_eth_tsu_disable_cam_entry_table()
2667 static int sh_eth_tsu_add_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_add_entry()
2697 static int sh_eth_tsu_del_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_del_entry()
2720 static int sh_eth_tsu_purge_all(struct net_device *ndev) in sh_eth_tsu_purge_all()
2741 static void sh_eth_tsu_purge_mcast(struct net_device *ndev) in sh_eth_tsu_purge_mcast()
2759 static void sh_eth_set_rx_mode(struct net_device *ndev) in sh_eth_set_rx_mode()
2817 static int sh_eth_vlan_rx_add_vid(struct net_device *ndev, in sh_eth_vlan_rx_add_vid()
2847 static int sh_eth_vlan_rx_kill_vid(struct net_device *ndev, in sh_eth_vlan_rx_kill_vid()
3079 struct net_device *ndev = NULL; in sh_eth_drv_probe() local
3240 struct net_device *ndev = platform_get_drvdata(pdev); in sh_eth_drv_remove() local
3256 struct net_device *ndev = dev_get_drvdata(dev); in sh_eth_suspend() local
3269 struct net_device *ndev = dev_get_drvdata(dev); in sh_eth_resume() local