Lines Matching defs:ndev

347 static void sh_eth_write(struct net_device *ndev, u32 data, int enum_index)  in sh_eth_write()
358 static u32 sh_eth_read(struct net_device *ndev, int enum_index) in sh_eth_read()
369 static void sh_eth_modify(struct net_device *ndev, int enum_index, u32 clear, in sh_eth_modify()
413 static void sh_eth_select_mii(struct net_device *ndev) in sh_eth_select_mii()
441 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex()
448 static void sh_eth_chip_reset(struct net_device *ndev) in sh_eth_chip_reset()
457 static int sh_eth_soft_reset(struct net_device *ndev) in sh_eth_soft_reset()
466 static int sh_eth_check_soft_reset(struct net_device *ndev) in sh_eth_check_soft_reset()
480 static int sh_eth_soft_reset_gether(struct net_device *ndev) in sh_eth_soft_reset_gether()
513 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()
795 static void sh_eth_set_rate_sh7724(struct net_device *ndev) in sh_eth_set_rate_sh7724()
839 static void sh_eth_set_rate_sh7757(struct net_device *ndev) in sh_eth_set_rate_sh7757()
890 static void sh_eth_chip_reset_giga(struct net_device *ndev) in sh_eth_chip_reset_giga()
910 static void sh_eth_set_rate_giga(struct net_device *ndev) in sh_eth_set_rate_giga()
1135 static void update_mac_address(struct net_device *ndev) in update_mac_address()
1151 static void read_mac_address(struct net_device *ndev, unsigned char *mac) in read_mac_address()
1231 static int sh_eth_tx_free(struct net_device *ndev, bool sent_only) in sh_eth_tx_free()
1273 static void sh_eth_ring_free(struct net_device *ndev) in sh_eth_ring_free()
1318 static void sh_eth_ring_format(struct net_device *ndev) in sh_eth_ring_format()
1397 static int sh_eth_ring_init(struct net_device *ndev) in sh_eth_ring_init()
1447 static int sh_eth_dev_init(struct net_device *ndev) in sh_eth_dev_init()
1536 static void sh_eth_dev_exit(struct net_device *ndev) in sh_eth_dev_exit()
1584 static int sh_eth_rx(struct net_device *ndev, u32 intr_status, int *quota) in sh_eth_rx()
1720 static void sh_eth_rcv_snd_disable(struct net_device *ndev) in sh_eth_rcv_snd_disable()
1726 static void sh_eth_rcv_snd_enable(struct net_device *ndev) in sh_eth_rcv_snd_enable()
1733 static void sh_eth_emac_interrupt(struct net_device *ndev) in sh_eth_emac_interrupt()
1767 static void sh_eth_error(struct net_device *ndev, u32 intr_status) in sh_eth_error()
1842 struct net_device *ndev = netdev; in sh_eth_interrupt() local
1914 struct net_device *ndev = napi->dev; in sh_eth_poll() local
1939 static void sh_eth_adjust_link(struct net_device *ndev) in sh_eth_adjust_link()
1989 static int sh_eth_phy_init(struct net_device *ndev) in sh_eth_phy_init()
2036 static int sh_eth_phy_start(struct net_device *ndev) in sh_eth_phy_start()
2057 static size_t __sh_eth_get_regs(struct net_device *ndev, u32 *buf) in __sh_eth_get_regs()
2222 static int sh_eth_get_regs_len(struct net_device *ndev) in sh_eth_get_regs_len()
2227 static void sh_eth_get_regs(struct net_device *ndev, struct ethtool_regs *regs, in sh_eth_get_regs()
2239 static u32 sh_eth_get_msglevel(struct net_device *ndev) in sh_eth_get_msglevel()
2245 static void sh_eth_set_msglevel(struct net_device *ndev, u32 value) in sh_eth_set_msglevel()
2267 static void sh_eth_get_ethtool_stats(struct net_device *ndev, in sh_eth_get_ethtool_stats()
2280 static void sh_eth_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in sh_eth_get_strings()
2290 static void sh_eth_get_ringparam(struct net_device *ndev, in sh_eth_get_ringparam()
2303 static int sh_eth_set_ringparam(struct net_device *ndev, in sh_eth_set_ringparam()
2363 static void sh_eth_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in sh_eth_get_wol()
2376 static int sh_eth_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in sh_eth_set_wol()
2409 static int sh_eth_open(struct net_device *ndev) in sh_eth_open()
2455 static void sh_eth_tx_timeout(struct net_device *ndev, unsigned int txqueue) in sh_eth_tx_timeout()
2491 struct net_device *ndev) in sh_eth_start_xmit()
2549 sh_eth_update_stat(struct net_device *ndev, unsigned long *stat, int reg) in sh_eth_update_stat()
2559 static struct net_device_stats *sh_eth_get_stats(struct net_device *ndev) in sh_eth_get_stats()
2587 static int sh_eth_close(struct net_device *ndev) in sh_eth_close()
2622 static int sh_eth_change_mtu(struct net_device *ndev, int new_mtu) in sh_eth_change_mtu()
2644 static void sh_eth_tsu_enable_cam_entry_post(struct net_device *ndev, in sh_eth_tsu_enable_cam_entry_post()
2655 static bool sh_eth_tsu_disable_cam_entry_post(struct net_device *ndev, in sh_eth_tsu_disable_cam_entry_post()
2672 static int sh_eth_tsu_busy(struct net_device *ndev) in sh_eth_tsu_busy()
2689 static int sh_eth_tsu_write_entry(struct net_device *ndev, u16 offset, in sh_eth_tsu_write_entry()
2708 static void sh_eth_tsu_read_entry(struct net_device *ndev, u16 offset, u8 *addr) in sh_eth_tsu_read_entry()
2724 static int sh_eth_tsu_find_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_find_entry()
2740 static int sh_eth_tsu_find_empty(struct net_device *ndev) in sh_eth_tsu_find_empty()
2750 static int sh_eth_tsu_disable_cam_entry_table(struct net_device *ndev, in sh_eth_tsu_disable_cam_entry_table()
2768 static int sh_eth_tsu_add_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_add_entry()
2798 static int sh_eth_tsu_del_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_del_entry()
2821 static int sh_eth_tsu_purge_all(struct net_device *ndev) in sh_eth_tsu_purge_all()
2842 static void sh_eth_tsu_purge_mcast(struct net_device *ndev) in sh_eth_tsu_purge_mcast()
2860 static void sh_eth_set_rx_mode(struct net_device *ndev) in sh_eth_set_rx_mode()
2910 static void sh_eth_set_rx_csum(struct net_device *ndev, bool enable) in sh_eth_set_rx_csum()
2929 static int sh_eth_set_features(struct net_device *ndev, in sh_eth_set_features()
2951 static int sh_eth_vlan_rx_add_vid(struct net_device *ndev, in sh_eth_vlan_rx_add_vid()
2981 static int sh_eth_vlan_rx_kill_vid(struct net_device *ndev, in sh_eth_vlan_rx_kill_vid()
3259 struct net_device *ndev; in sh_eth_drv_probe() local
3436 struct net_device *ndev = platform_get_drvdata(pdev); in sh_eth_drv_remove() local
3450 static int sh_eth_wol_setup(struct net_device *ndev) in sh_eth_wol_setup()
3465 static int sh_eth_wol_restore(struct net_device *ndev) in sh_eth_wol_restore()
3490 struct net_device *ndev = dev_get_drvdata(dev); in sh_eth_suspend() local
3509 struct net_device *ndev = dev_get_drvdata(dev); in sh_eth_resume() local