• Home
  • Raw
  • Download

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()
580 static void sh_eth_chip_reset_r8a7740(struct net_device *ndev) in sh_eth_chip_reset_r8a7740()
634 static void sh_eth_set_rate_rcar(struct net_device *ndev) in sh_eth_set_rate_rcar()
797 static void sh_eth_set_rate_sh7724(struct net_device *ndev) in sh_eth_set_rate_sh7724()
841 static void sh_eth_set_rate_sh7757(struct net_device *ndev) in sh_eth_set_rate_sh7757()
892 static void sh_eth_chip_reset_giga(struct net_device *ndev) in sh_eth_chip_reset_giga()
912 static void sh_eth_set_rate_giga(struct net_device *ndev) in sh_eth_set_rate_giga()
1137 static void update_mac_address(struct net_device *ndev) in update_mac_address()
1153 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()
2042 static int sh_eth_phy_start(struct net_device *ndev) in sh_eth_phy_start()
2063 static size_t __sh_eth_get_regs(struct net_device *ndev, u32 *buf) in __sh_eth_get_regs()
2228 static int sh_eth_get_regs_len(struct net_device *ndev) in sh_eth_get_regs_len()
2233 static void sh_eth_get_regs(struct net_device *ndev, struct ethtool_regs *regs, in sh_eth_get_regs()
2245 static u32 sh_eth_get_msglevel(struct net_device *ndev) in sh_eth_get_msglevel()
2251 static void sh_eth_set_msglevel(struct net_device *ndev, u32 value) in sh_eth_set_msglevel()
2273 static void sh_eth_get_ethtool_stats(struct net_device *ndev, in sh_eth_get_ethtool_stats()
2286 static void sh_eth_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in sh_eth_get_strings()
2296 static void sh_eth_get_ringparam(struct net_device *ndev, in sh_eth_get_ringparam()
2307 static int sh_eth_set_ringparam(struct net_device *ndev, in sh_eth_set_ringparam()
2365 static void sh_eth_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in sh_eth_get_wol()
2378 static int sh_eth_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in sh_eth_set_wol()
2411 static int sh_eth_open(struct net_device *ndev) in sh_eth_open()
2457 static void sh_eth_tx_timeout(struct net_device *ndev, unsigned int txqueue) in sh_eth_tx_timeout()
2493 struct net_device *ndev) in sh_eth_start_xmit()
2551 sh_eth_update_stat(struct net_device *ndev, unsigned long *stat, int reg) in sh_eth_update_stat()
2561 static struct net_device_stats *sh_eth_get_stats(struct net_device *ndev) in sh_eth_get_stats()
2589 static int sh_eth_close(struct net_device *ndev) in sh_eth_close()
2624 static int sh_eth_change_mtu(struct net_device *ndev, int new_mtu) in sh_eth_change_mtu()
2646 static void sh_eth_tsu_enable_cam_entry_post(struct net_device *ndev, in sh_eth_tsu_enable_cam_entry_post()
2657 static bool sh_eth_tsu_disable_cam_entry_post(struct net_device *ndev, in sh_eth_tsu_disable_cam_entry_post()
2674 static int sh_eth_tsu_busy(struct net_device *ndev) in sh_eth_tsu_busy()
2691 static int sh_eth_tsu_write_entry(struct net_device *ndev, u16 offset, in sh_eth_tsu_write_entry()
2710 static void sh_eth_tsu_read_entry(struct net_device *ndev, u16 offset, u8 *addr) in sh_eth_tsu_read_entry()
2726 static int sh_eth_tsu_find_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_find_entry()
2742 static int sh_eth_tsu_find_empty(struct net_device *ndev) in sh_eth_tsu_find_empty()
2752 static int sh_eth_tsu_disable_cam_entry_table(struct net_device *ndev, in sh_eth_tsu_disable_cam_entry_table()
2770 static int sh_eth_tsu_add_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_add_entry()
2800 static int sh_eth_tsu_del_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_del_entry()
2823 static int sh_eth_tsu_purge_all(struct net_device *ndev) in sh_eth_tsu_purge_all()
2844 static void sh_eth_tsu_purge_mcast(struct net_device *ndev) in sh_eth_tsu_purge_mcast()
2862 static void sh_eth_set_rx_mode(struct net_device *ndev) in sh_eth_set_rx_mode()
2912 static void sh_eth_set_rx_csum(struct net_device *ndev, bool enable) in sh_eth_set_rx_csum()
2931 static int sh_eth_set_features(struct net_device *ndev, in sh_eth_set_features()
2953 static int sh_eth_vlan_rx_add_vid(struct net_device *ndev, in sh_eth_vlan_rx_add_vid()
2983 static int sh_eth_vlan_rx_kill_vid(struct net_device *ndev, in sh_eth_vlan_rx_kill_vid()
3203 struct net_device *ndev; in sh_eth_drv_probe() local
3384 struct net_device *ndev = platform_get_drvdata(pdev); in sh_eth_drv_remove() local
3398 static int sh_eth_wol_setup(struct net_device *ndev) in sh_eth_wol_setup()
3413 static int sh_eth_wol_restore(struct net_device *ndev) in sh_eth_wol_restore()
3440 struct net_device *ndev = dev_get_drvdata(dev); in sh_eth_suspend() local
3459 struct net_device *ndev = dev_get_drvdata(dev); in sh_eth_resume() local