Lines Matching defs:ndev

417 static void sh_eth_select_mii(struct net_device *ndev)  in sh_eth_select_mii()
442 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex()
453 static void sh_eth_set_rate_r8a777x(struct net_device *ndev) in sh_eth_set_rate_r8a777x()
518 static void sh_eth_set_rate_sh7724(struct net_device *ndev) in sh_eth_set_rate_sh7724()
558 static void sh_eth_set_rate_sh7757(struct net_device *ndev) in sh_eth_set_rate_sh7757()
602 static void sh_eth_chip_reset_giga(struct net_device *ndev) in sh_eth_chip_reset_giga()
624 static void sh_eth_set_rate_giga(struct net_device *ndev) in sh_eth_set_rate_giga()
674 static void sh_eth_chip_reset(struct net_device *ndev) in sh_eth_chip_reset()
683 static void sh_eth_set_rate_gether(struct net_device *ndev) in sh_eth_set_rate_gether()
759 static void sh_eth_chip_reset_r8a7740(struct net_device *ndev) in sh_eth_chip_reset_r8a7740()
876 static int sh_eth_check_reset(struct net_device *ndev) in sh_eth_check_reset()
894 static int sh_eth_reset(struct net_device *ndev) in sh_eth_reset()
969 static void update_mac_address(struct net_device *ndev) in update_mac_address()
985 static void read_mac_address(struct net_device *ndev, unsigned char *mac) in read_mac_address()
1098 static void sh_eth_ring_free(struct net_device *ndev) in sh_eth_ring_free()
1121 static void sh_eth_ring_format(struct net_device *ndev) in sh_eth_ring_format()
1199 static int sh_eth_ring_init(struct net_device *ndev) in sh_eth_ring_init()
1282 static int sh_eth_dev_init(struct net_device *ndev, bool start) in sh_eth_dev_init()
1375 static void sh_eth_dev_exit(struct net_device *ndev) in sh_eth_dev_exit()
1406 static int sh_eth_txfree(struct net_device *ndev) in sh_eth_txfree()
1442 static int sh_eth_rx(struct net_device *ndev, u32 intr_status, int *quota) in sh_eth_rx()
1576 static void sh_eth_rcv_snd_disable(struct net_device *ndev) in sh_eth_rcv_snd_disable()
1583 static void sh_eth_rcv_snd_enable(struct net_device *ndev) in sh_eth_rcv_snd_enable()
1591 static void sh_eth_error(struct net_device *ndev, u32 intr_status) in sh_eth_error()
1700 struct net_device *ndev = netdev; in sh_eth_interrupt() local
1766 struct net_device *ndev = napi->dev; in sh_eth_poll() local
1791 static void sh_eth_adjust_link(struct net_device *ndev) in sh_eth_adjust_link()
1834 static int sh_eth_phy_init(struct net_device *ndev) in sh_eth_phy_init()
1879 static int sh_eth_phy_start(struct net_device *ndev) in sh_eth_phy_start()
1893 static int sh_eth_get_settings(struct net_device *ndev, in sh_eth_get_settings()
1910 static int sh_eth_set_settings(struct net_device *ndev, in sh_eth_set_settings()
1956 static size_t __sh_eth_get_regs(struct net_device *ndev, u32 *buf) in __sh_eth_get_regs()
2117 static int sh_eth_get_regs_len(struct net_device *ndev) in sh_eth_get_regs_len()
2122 static void sh_eth_get_regs(struct net_device *ndev, struct ethtool_regs *regs, in sh_eth_get_regs()
2134 static int sh_eth_nway_reset(struct net_device *ndev) in sh_eth_nway_reset()
2150 static u32 sh_eth_get_msglevel(struct net_device *ndev) in sh_eth_get_msglevel()
2156 static void sh_eth_set_msglevel(struct net_device *ndev, u32 value) in sh_eth_set_msglevel()
2178 static void sh_eth_get_ethtool_stats(struct net_device *ndev, in sh_eth_get_ethtool_stats()
2191 static void sh_eth_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in sh_eth_get_strings()
2201 static void sh_eth_get_ringparam(struct net_device *ndev, in sh_eth_get_ringparam()
2212 static int sh_eth_set_ringparam(struct net_device *ndev, in sh_eth_set_ringparam()
2293 static int sh_eth_open(struct net_device *ndev) in sh_eth_open()
2337 static void sh_eth_tx_timeout(struct net_device *ndev) in sh_eth_tx_timeout()
2370 static int sh_eth_start_xmit(struct sk_buff *skb, struct net_device *ndev) in sh_eth_start_xmit()
2426 sh_eth_update_stat(struct net_device *ndev, unsigned long *stat, int reg) in sh_eth_update_stat()
2436 static struct net_device_stats *sh_eth_get_stats(struct net_device *ndev) in sh_eth_get_stats()
2464 static int sh_eth_close(struct net_device *ndev) in sh_eth_close()
2504 static int sh_eth_do_ioctl(struct net_device *ndev, struct ifreq *rq, int cmd) in sh_eth_do_ioctl()
2535 static void sh_eth_tsu_enable_cam_entry_post(struct net_device *ndev, in sh_eth_tsu_enable_cam_entry_post()
2547 static bool sh_eth_tsu_disable_cam_entry_post(struct net_device *ndev, in sh_eth_tsu_disable_cam_entry_post()
2565 static int sh_eth_tsu_busy(struct net_device *ndev) in sh_eth_tsu_busy()
2582 static int sh_eth_tsu_write_entry(struct net_device *ndev, void *reg, in sh_eth_tsu_write_entry()
2615 static int sh_eth_tsu_find_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_find_entry()
2631 static int sh_eth_tsu_find_empty(struct net_device *ndev) in sh_eth_tsu_find_empty()
2641 static int sh_eth_tsu_disable_cam_entry_table(struct net_device *ndev, in sh_eth_tsu_disable_cam_entry_table()
2659 static int sh_eth_tsu_add_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_add_entry()
2689 static int sh_eth_tsu_del_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_del_entry()
2712 static int sh_eth_tsu_purge_all(struct net_device *ndev) in sh_eth_tsu_purge_all()
2733 static void sh_eth_tsu_purge_mcast(struct net_device *ndev) in sh_eth_tsu_purge_mcast()
2751 static void sh_eth_set_rx_mode(struct net_device *ndev) in sh_eth_set_rx_mode()
2809 static int sh_eth_vlan_rx_add_vid(struct net_device *ndev, in sh_eth_vlan_rx_add_vid()
2839 static int sh_eth_vlan_rx_kill_vid(struct net_device *ndev, in sh_eth_vlan_rx_kill_vid()
3071 struct net_device *ndev = NULL; in sh_eth_drv_probe() local
3234 struct net_device *ndev = platform_get_drvdata(pdev); in sh_eth_drv_remove() local
3250 struct net_device *ndev = dev_get_drvdata(dev); in sh_eth_suspend() local
3263 struct net_device *ndev = dev_get_drvdata(dev); in sh_eth_resume() local