Lines Matching defs:ndev

349 static void sh_eth_write(struct net_device *ndev, u32 data, int enum_index)  in sh_eth_write()
360 static u32 sh_eth_read(struct net_device *ndev, int enum_index) in sh_eth_read()
371 static void sh_eth_modify(struct net_device *ndev, int enum_index, u32 clear, in sh_eth_modify()
415 static void sh_eth_select_mii(struct net_device *ndev) in sh_eth_select_mii()
443 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex()
450 static void sh_eth_chip_reset(struct net_device *ndev) in sh_eth_chip_reset()
459 static int sh_eth_soft_reset(struct net_device *ndev) in sh_eth_soft_reset()
468 static int sh_eth_check_soft_reset(struct net_device *ndev) in sh_eth_check_soft_reset()
482 static int sh_eth_soft_reset_gether(struct net_device *ndev) in sh_eth_soft_reset_gether()
515 static void sh_eth_set_rate_gether(struct net_device *ndev) in sh_eth_set_rate_gether()
578 static void sh_eth_chip_reset_r8a7740(struct net_device *ndev) in sh_eth_chip_reset_r8a7740()
632 static void sh_eth_set_rate_rcar(struct net_device *ndev) in sh_eth_set_rate_rcar()
793 static void sh_eth_set_rate_sh7724(struct net_device *ndev) in sh_eth_set_rate_sh7724()
837 static void sh_eth_set_rate_sh7757(struct net_device *ndev) in sh_eth_set_rate_sh7757()
888 static void sh_eth_chip_reset_giga(struct net_device *ndev) in sh_eth_chip_reset_giga()
908 static void sh_eth_set_rate_giga(struct net_device *ndev) in sh_eth_set_rate_giga()
1130 static void update_mac_address(struct net_device *ndev) in update_mac_address()
1146 static void read_mac_address(struct net_device *ndev, unsigned char *mac) in read_mac_address()
1224 static int sh_eth_tx_free(struct net_device *ndev, bool sent_only) in sh_eth_tx_free()
1266 static void sh_eth_ring_free(struct net_device *ndev) in sh_eth_ring_free()
1311 static void sh_eth_ring_format(struct net_device *ndev) in sh_eth_ring_format()
1390 static int sh_eth_ring_init(struct net_device *ndev) in sh_eth_ring_init()
1440 static int sh_eth_dev_init(struct net_device *ndev) in sh_eth_dev_init()
1529 static void sh_eth_dev_exit(struct net_device *ndev) in sh_eth_dev_exit()
1577 static int sh_eth_rx(struct net_device *ndev, u32 intr_status, int *quota) in sh_eth_rx()
1713 static void sh_eth_rcv_snd_disable(struct net_device *ndev) in sh_eth_rcv_snd_disable()
1719 static void sh_eth_rcv_snd_enable(struct net_device *ndev) in sh_eth_rcv_snd_enable()
1726 static void sh_eth_emac_interrupt(struct net_device *ndev) in sh_eth_emac_interrupt()
1760 static void sh_eth_error(struct net_device *ndev, u32 intr_status) in sh_eth_error()
1835 struct net_device *ndev = netdev; in sh_eth_interrupt() local
1907 struct net_device *ndev = napi->dev; in sh_eth_poll() local
1932 static void sh_eth_adjust_link(struct net_device *ndev) in sh_eth_adjust_link()
1982 static int sh_eth_phy_init(struct net_device *ndev) in sh_eth_phy_init()
2035 static int sh_eth_phy_start(struct net_device *ndev) in sh_eth_phy_start()
2056 static size_t __sh_eth_get_regs(struct net_device *ndev, u32 *buf) in __sh_eth_get_regs()
2221 static int sh_eth_get_regs_len(struct net_device *ndev) in sh_eth_get_regs_len()
2226 static void sh_eth_get_regs(struct net_device *ndev, struct ethtool_regs *regs, in sh_eth_get_regs()
2238 static u32 sh_eth_get_msglevel(struct net_device *ndev) in sh_eth_get_msglevel()
2244 static void sh_eth_set_msglevel(struct net_device *ndev, u32 value) in sh_eth_set_msglevel()
2266 static void sh_eth_get_ethtool_stats(struct net_device *ndev, in sh_eth_get_ethtool_stats()
2279 static void sh_eth_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in sh_eth_get_strings()
2289 static void sh_eth_get_ringparam(struct net_device *ndev, in sh_eth_get_ringparam()
2300 static int sh_eth_set_ringparam(struct net_device *ndev, in sh_eth_set_ringparam()
2358 static void sh_eth_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in sh_eth_get_wol()
2371 static int sh_eth_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in sh_eth_set_wol()
2404 static int sh_eth_open(struct net_device *ndev) in sh_eth_open()
2450 static void sh_eth_tx_timeout(struct net_device *ndev, unsigned int txqueue) in sh_eth_tx_timeout()
2486 struct net_device *ndev) in sh_eth_start_xmit()
2543 sh_eth_update_stat(struct net_device *ndev, unsigned long *stat, int reg) in sh_eth_update_stat()
2553 static struct net_device_stats *sh_eth_get_stats(struct net_device *ndev) in sh_eth_get_stats()
2581 static int sh_eth_close(struct net_device *ndev) in sh_eth_close()
2616 static int sh_eth_change_mtu(struct net_device *ndev, int new_mtu) in sh_eth_change_mtu()
2638 static void sh_eth_tsu_enable_cam_entry_post(struct net_device *ndev, in sh_eth_tsu_enable_cam_entry_post()
2649 static bool sh_eth_tsu_disable_cam_entry_post(struct net_device *ndev, in sh_eth_tsu_disable_cam_entry_post()
2666 static int sh_eth_tsu_busy(struct net_device *ndev) in sh_eth_tsu_busy()
2683 static int sh_eth_tsu_write_entry(struct net_device *ndev, u16 offset, in sh_eth_tsu_write_entry()
2702 static void sh_eth_tsu_read_entry(struct net_device *ndev, u16 offset, u8 *addr) in sh_eth_tsu_read_entry()
2718 static int sh_eth_tsu_find_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_find_entry()
2734 static int sh_eth_tsu_find_empty(struct net_device *ndev) in sh_eth_tsu_find_empty()
2744 static int sh_eth_tsu_disable_cam_entry_table(struct net_device *ndev, in sh_eth_tsu_disable_cam_entry_table()
2762 static int sh_eth_tsu_add_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_add_entry()
2792 static int sh_eth_tsu_del_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_del_entry()
2815 static int sh_eth_tsu_purge_all(struct net_device *ndev) in sh_eth_tsu_purge_all()
2836 static void sh_eth_tsu_purge_mcast(struct net_device *ndev) in sh_eth_tsu_purge_mcast()
2854 static void sh_eth_set_rx_mode(struct net_device *ndev) in sh_eth_set_rx_mode()
2904 static void sh_eth_set_rx_csum(struct net_device *ndev, bool enable) in sh_eth_set_rx_csum()
2923 static int sh_eth_set_features(struct net_device *ndev, in sh_eth_set_features()
2945 static int sh_eth_vlan_rx_add_vid(struct net_device *ndev, in sh_eth_vlan_rx_add_vid()
2975 static int sh_eth_vlan_rx_kill_vid(struct net_device *ndev, in sh_eth_vlan_rx_kill_vid()
3195 struct net_device *ndev; in sh_eth_drv_probe() local
3376 struct net_device *ndev = platform_get_drvdata(pdev); in sh_eth_drv_remove() local
3390 static int sh_eth_wol_setup(struct net_device *ndev) in sh_eth_wol_setup()
3405 static int sh_eth_wol_restore(struct net_device *ndev) in sh_eth_wol_restore()
3432 struct net_device *ndev = dev_get_drvdata(dev); in sh_eth_suspend() local
3451 struct net_device *ndev = dev_get_drvdata(dev); in sh_eth_resume() local