Lines Matching defs:ndev
319 static void sh_eth_select_mii(struct net_device *ndev) in sh_eth_select_mii()
347 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex()
357 static void sh_eth_set_rate(struct net_device *ndev) in sh_eth_set_rate()
395 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex()
405 static void sh_eth_set_rate(struct net_device *ndev) in sh_eth_set_rate()
448 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex()
458 static void sh_eth_set_rate(struct net_device *ndev) in sh_eth_set_rate()
500 static void sh_eth_chip_reset_giga(struct net_device *ndev) in sh_eth_chip_reset_giga()
523 static int sh_eth_reset(struct net_device *ndev) in sh_eth_reset()
558 static void sh_eth_set_duplex_giga(struct net_device *ndev) in sh_eth_set_duplex_giga()
568 static void sh_eth_set_rate_giga(struct net_device *ndev) in sh_eth_set_rate_giga()
631 static void sh_eth_chip_reset(struct net_device *ndev) in sh_eth_chip_reset()
640 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex()
650 static void sh_eth_set_rate(struct net_device *ndev) in sh_eth_set_rate()
700 static int sh_eth_reset(struct net_device *ndev) in sh_eth_reset()
731 static void sh_eth_reset_hw_crc(struct net_device *ndev) in sh_eth_reset_hw_crc()
741 static void sh_eth_chip_reset(struct net_device *ndev) in sh_eth_chip_reset()
752 static int sh_eth_reset(struct net_device *ndev) in sh_eth_reset()
777 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex()
787 static void sh_eth_set_rate(struct net_device *ndev) in sh_eth_set_rate()
883 static int sh_eth_reset(struct net_device *ndev) in sh_eth_reset()
892 static int sh_eth_check_reset(struct net_device *ndev) in sh_eth_check_reset()
954 static void update_mac_address(struct net_device *ndev) in update_mac_address()
971 static void read_mac_address(struct net_device *ndev, unsigned char *mac) in read_mac_address()
1092 static void sh_eth_ring_free(struct net_device *ndev) in sh_eth_ring_free()
1119 static void sh_eth_ring_format(struct net_device *ndev) in sh_eth_ring_format()
1186 static int sh_eth_ring_init(struct net_device *ndev) in sh_eth_ring_init()
1270 static int sh_eth_dev_init(struct net_device *ndev, bool start) in sh_eth_dev_init()
1360 static int sh_eth_txfree(struct net_device *ndev) in sh_eth_txfree()
1391 static int sh_eth_rx(struct net_device *ndev, u32 intr_status) in sh_eth_rx()
1500 static void sh_eth_rcv_snd_disable(struct net_device *ndev) in sh_eth_rcv_snd_disable()
1507 static void sh_eth_rcv_snd_enable(struct net_device *ndev) in sh_eth_rcv_snd_enable()
1515 static void sh_eth_error(struct net_device *ndev, int intr_status) in sh_eth_error()
1635 struct net_device *ndev = netdev; in sh_eth_interrupt() local
1686 static void sh_eth_adjust_link(struct net_device *ndev) in sh_eth_adjust_link()
1728 static int sh_eth_phy_init(struct net_device *ndev) in sh_eth_phy_init()
1758 static int sh_eth_phy_start(struct net_device *ndev) in sh_eth_phy_start()
1774 static int sh_eth_get_settings(struct net_device *ndev, in sh_eth_get_settings()
1788 static int sh_eth_set_settings(struct net_device *ndev, in sh_eth_set_settings()
1823 static int sh_eth_nway_reset(struct net_device *ndev) in sh_eth_nway_reset()
1836 static u32 sh_eth_get_msglevel(struct net_device *ndev) in sh_eth_get_msglevel()
1842 static void sh_eth_set_msglevel(struct net_device *ndev, u32 value) in sh_eth_set_msglevel()
1864 static void sh_eth_get_ethtool_stats(struct net_device *ndev, in sh_eth_get_ethtool_stats()
1877 static void sh_eth_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in sh_eth_get_strings()
1887 static void sh_eth_get_ringparam(struct net_device *ndev, in sh_eth_get_ringparam()
1898 static int sh_eth_set_ringparam(struct net_device *ndev, in sh_eth_set_ringparam()
1967 static int sh_eth_open(struct net_device *ndev) in sh_eth_open()
2012 static void sh_eth_tx_timeout(struct net_device *ndev) in sh_eth_tx_timeout()
2047 static int sh_eth_start_xmit(struct sk_buff *skb, struct net_device *ndev) in sh_eth_start_xmit()
2094 static int sh_eth_close(struct net_device *ndev) in sh_eth_close()
2126 static struct net_device_stats *sh_eth_get_stats(struct net_device *ndev) in sh_eth_get_stats()
2153 static int sh_eth_do_ioctl(struct net_device *ndev, struct ifreq *rq, in sh_eth_do_ioctl()
2186 static void sh_eth_tsu_enable_cam_entry_post(struct net_device *ndev, in sh_eth_tsu_enable_cam_entry_post()
2198 static bool sh_eth_tsu_disable_cam_entry_post(struct net_device *ndev, in sh_eth_tsu_disable_cam_entry_post()
2216 static int sh_eth_tsu_busy(struct net_device *ndev) in sh_eth_tsu_busy()
2233 static int sh_eth_tsu_write_entry(struct net_device *ndev, void *reg, in sh_eth_tsu_write_entry()
2266 static int sh_eth_tsu_find_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_find_entry()
2282 static int sh_eth_tsu_find_empty(struct net_device *ndev) in sh_eth_tsu_find_empty()
2292 static int sh_eth_tsu_disable_cam_entry_table(struct net_device *ndev, in sh_eth_tsu_disable_cam_entry_table()
2310 static int sh_eth_tsu_add_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_add_entry()
2340 static int sh_eth_tsu_del_entry(struct net_device *ndev, const u8 *addr) in sh_eth_tsu_del_entry()
2363 static int sh_eth_tsu_purge_all(struct net_device *ndev) in sh_eth_tsu_purge_all()
2384 static void sh_eth_tsu_purge_mcast(struct net_device *ndev) in sh_eth_tsu_purge_mcast()
2402 static void sh_eth_set_multicast_list(struct net_device *ndev) in sh_eth_set_multicast_list()
2462 static int sh_eth_vlan_rx_add_vid(struct net_device *ndev, in sh_eth_vlan_rx_add_vid()
2493 static int sh_eth_vlan_rx_kill_vid(struct net_device *ndev, in sh_eth_vlan_rx_kill_vid()
2543 static int sh_mdio_release(struct net_device *ndev) in sh_mdio_release()
2560 static int sh_mdio_init(struct net_device *ndev, int id, in sh_mdio_init()
2671 struct net_device *ndev = NULL; in sh_eth_drv_probe() local
2811 struct net_device *ndev = platform_get_drvdata(pdev); in sh_eth_drv_remove() local