Lines Matching refs:net_device
852 int (*infoleaf_fn)(struct net_device *); /* Pointer to infoleaf function */
897 static int de4x5_open(struct net_device *dev);
899 struct net_device *dev);
901 static int de4x5_close(struct net_device *dev);
902 static struct net_device_stats *de4x5_get_stats(struct net_device *dev);
903 static void de4x5_local_stats(struct net_device *dev, char *buf, int pkt_len);
904 static void set_multicast_list(struct net_device *dev);
905 static int de4x5_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
910 static int de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev);
911 static int de4x5_init(struct net_device *dev);
912 static int de4x5_sw_reset(struct net_device *dev);
913 static int de4x5_rx(struct net_device *dev);
914 static int de4x5_tx(struct net_device *dev);
915 static void de4x5_ast(struct net_device *dev);
916 static int de4x5_txur(struct net_device *dev);
917 static int de4x5_rx_ovfc(struct net_device *dev);
919 static int autoconf_media(struct net_device *dev);
920 static void create_packet(struct net_device *dev, char *frame, int len);
921 static void load_packet(struct net_device *dev, char *buf, u32 flags, struct sk_buff *skb);
922 static int dc21040_autoconf(struct net_device *dev);
923 static int dc21041_autoconf(struct net_device *dev);
924 static int dc21140m_autoconf(struct net_device *dev);
925 static int dc2114x_autoconf(struct net_device *dev);
926 static int srom_autoconf(struct net_device *dev);
927 …uspect_state(struct net_device *dev, int timeout, int prev_state, int (*fn)(struct net_device *, i…
928 …_state(struct net_device *dev, int csr13, int csr14, int csr15, int timeout, int next_state, int s…
929 static int test_media(struct net_device *dev, s32 irqs, s32 irq_mask, s32 csr13, s32 csr14, s32…
930 static int test_for_100Mb(struct net_device *dev, int msec);
931 static int wait_for_link(struct net_device *dev);
932 static int test_mii_reg(struct net_device *dev, int reg, int mask, bool pol, long msec);
933 static int is_spd_100(struct net_device *dev);
934 static int is_100_up(struct net_device *dev);
935 static int is_10_up(struct net_device *dev);
936 static int is_anc_capable(struct net_device *dev);
937 static int ping_media(struct net_device *dev, int msec);
938 static struct sk_buff *de4x5_alloc_rx_buff(struct net_device *dev, int index, int len);
939 static void de4x5_free_rx_buffs(struct net_device *dev);
940 static void de4x5_free_tx_buffs(struct net_device *dev);
941 static void de4x5_save_skbs(struct net_device *dev);
942 static void de4x5_rst_desc_ring(struct net_device *dev);
943 static void de4x5_cache_state(struct net_device *dev, int flag);
944 static void de4x5_put_cache(struct net_device *dev, struct sk_buff *skb);
945 static void de4x5_putb_cache(struct net_device *dev, struct sk_buff *skb);
946 static struct sk_buff *de4x5_get_cache(struct net_device *dev);
947 static void de4x5_setup_intr(struct net_device *dev);
948 static void de4x5_init_connection(struct net_device *dev);
949 static int de4x5_reset_phy(struct net_device *dev);
950 static void reset_init_sia(struct net_device *dev, s32 sicr, s32 strr, s32 sigr);
951 static int test_ans(struct net_device *dev, s32 irqs, s32 irq_mask, s32 msec);
952 static int test_tp(struct net_device *dev, s32 msec);
955 static void DevicePresent(struct net_device *dev, u_long iobase);
966 static int srom_map_media(struct net_device *dev);
967 static int srom_infoleaf_info(struct net_device *dev);
968 static void srom_init(struct net_device *dev);
969 static void srom_exec(struct net_device *dev, u_char *p);
980 static int mii_get_phy(struct net_device *dev);
981 static void SetMulticastFilter(struct net_device *dev);
982 static int get_hw_addr(struct net_device *dev);
983 static void srom_repair(struct net_device *dev, int card);
984 static int test_bad_enet(struct net_device *dev, int status);
986 static char *build_setup_frame(struct net_device *dev, int mode);
987 static void disable_ast(struct net_device *dev);
988 static long de4x5_switch_mac_port(struct net_device *dev);
989 static int gep_rd(struct net_device *dev);
990 static void gep_wr(s32 data, struct net_device *dev);
991 static void yawn(struct net_device *dev, int state);
992 static void de4x5_parse_params(struct net_device *dev);
993 static void de4x5_dbg_open(struct net_device *dev);
994 static void de4x5_dbg_mii(struct net_device *dev, int k);
995 static void de4x5_dbg_media(struct net_device *dev);
998 static int dc21041_infoleaf(struct net_device *dev);
999 static int dc21140_infoleaf(struct net_device *dev);
1000 static int dc21142_infoleaf(struct net_device *dev);
1001 static int dc21143_infoleaf(struct net_device *dev);
1002 static int type0_infoblock(struct net_device *dev, u_char count, u_char *p);
1003 static int type1_infoblock(struct net_device *dev, u_char count, u_char *p);
1004 static int type2_infoblock(struct net_device *dev, u_char count, u_char *p);
1005 static int type3_infoblock(struct net_device *dev, u_char count, u_char *p);
1006 static int type4_infoblock(struct net_device *dev, u_char count, u_char *p);
1007 static int type5_infoblock(struct net_device *dev, u_char count, u_char *p);
1008 static int compact_infoblock(struct net_device *dev, u_char count, u_char *p);
1034 int (*fn)(struct net_device *);
1047 static int (*dc_infoblock[])(struct net_device *dev, u_char, u_char *) = {
1095 de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev) in de4x5_hw_init()
1292 de4x5_open(struct net_device *dev) in de4x5_open()
1368 de4x5_init(struct net_device *dev) in de4x5_init()
1382 de4x5_sw_reset(struct net_device *dev) in de4x5_sw_reset()
1460 de4x5_queue_pkt(struct sk_buff *skb, struct net_device *dev) in de4x5_queue_pkt()
1538 struct net_device *dev = dev_id; in de4x5_interrupt()
1601 de4x5_rx(struct net_device *dev) in de4x5_rx()
1691 de4x5_tx(struct net_device *dev) in de4x5_tx()
1743 de4x5_ast(struct net_device *dev) in de4x5_ast()
1768 de4x5_txur(struct net_device *dev) in de4x5_txur()
1791 de4x5_rx_ovfc(struct net_device *dev) in de4x5_rx_ovfc()
1812 de4x5_close(struct net_device *dev) in de4x5_close()
1848 de4x5_get_stats(struct net_device *dev) in de4x5_get_stats()
1859 de4x5_local_stats(struct net_device *dev, char *buf, int pkt_len) in de4x5_local_stats()
1895 load_packet(struct net_device *dev, char *buf, u32 flags, struct sk_buff *skb) in load_packet()
1916 set_multicast_list(struct net_device *dev) in set_multicast_list()
1946 SetMulticastFilter(struct net_device *dev) in SetMulticastFilter()
2001 struct net_device *dev; in de4x5_eisa_probe()
2081 struct net_device *dev; in de4x5_eisa_remove()
2121 srom_search(struct net_device *dev, struct pci_dev *pdev) in srom_search()
2202 struct net_device *dev; in de4x5_pci_probe()
2318 struct net_device *dev; in de4x5_pci_remove()
2359 autoconf_media(struct net_device *dev) in autoconf_media()
2389 dc21040_autoconf(struct net_device *dev) in dc21040_autoconf()
2460 dc21040_state(struct net_device *dev, int csr13, int csr14, int csr15, int timeout, in dc21040_state()
2462 int (*fn)(struct net_device *, int)) in dc21040_state() argument
2499 de4x5_suspect_state(struct net_device *dev, int timeout, int prev_state, in de4x5_suspect_state()
2500 int (*fn)(struct net_device *, int), in de4x5_suspect_state() argument
2501 int (*asfn)(struct net_device *)) in de4x5_suspect_state() argument
2543 dc21041_autoconf(struct net_device *dev) in dc21041_autoconf()
2745 dc21140m_autoconf(struct net_device *dev) in dc21140m_autoconf()
2929 dc2114x_autoconf(struct net_device *dev) in dc2114x_autoconf()
3181 srom_autoconf(struct net_device *dev) in srom_autoconf()
3194 srom_map_media(struct net_device *dev) in srom_map_media()
3258 de4x5_init_connection(struct net_device *dev) in de4x5_init_connection()
3285 de4x5_reset_phy(struct net_device *dev) in de4x5_reset_phy()
3319 test_media(struct net_device *dev, s32 irqs, s32 irq_mask, s32 csr13, s32 csr14, s32 csr15, s32 mse… in test_media()
3357 test_tp(struct net_device *dev, s32 msec) in test_tp()
3386 test_for_100Mb(struct net_device *dev, int msec) in test_for_100Mb()
3417 wait_for_link(struct net_device *dev) in wait_for_link()
3439 test_mii_reg(struct net_device *dev, int reg, int mask, bool pol, long msec) in test_mii_reg()
3462 is_spd_100(struct net_device *dev) in is_spd_100()
3486 is_100_up(struct net_device *dev) in is_100_up()
3507 is_10_up(struct net_device *dev) in is_10_up()
3530 is_anc_capable(struct net_device *dev) in is_anc_capable()
3549 ping_media(struct net_device *dev, int msec) in ping_media()
3590 de4x5_alloc_rx_buff(struct net_device *dev, int index, int len) in de4x5_alloc_rx_buff()
3636 de4x5_free_rx_buffs(struct net_device *dev) in de4x5_free_rx_buffs()
3651 de4x5_free_tx_buffs(struct net_device *dev) in de4x5_free_tx_buffs()
3674 de4x5_save_skbs(struct net_device *dev) in de4x5_save_skbs()
3693 de4x5_rst_desc_ring(struct net_device *dev) in de4x5_rst_desc_ring()
3724 de4x5_cache_state(struct net_device *dev, int flag) in de4x5_cache_state()
3752 de4x5_put_cache(struct net_device *dev, struct sk_buff *skb) in de4x5_put_cache()
3760 de4x5_putb_cache(struct net_device *dev, struct sk_buff *skb) in de4x5_putb_cache()
3768 de4x5_get_cache(struct net_device *dev) in de4x5_get_cache()
3780 test_ans(struct net_device *dev, s32 irqs, s32 irq_mask, s32 msec) in test_ans()
3808 de4x5_setup_intr(struct net_device *dev) in de4x5_setup_intr()
3827 reset_init_sia(struct net_device *dev, s32 csr13, s32 csr14, s32 csr15) in reset_init_sia()
3859 create_packet(struct net_device *dev, char *frame, int len) in create_packet()
3945 DevicePresent(struct net_device *dev, u_long aprom_addr) in DevicePresent()
4022 get_hw_addr(struct net_device *dev) in get_hw_addr()
4127 srom_repair(struct net_device *dev, int card) in srom_repair()
4146 test_bad_enet(struct net_device *dev, int status) in test_bad_enet()
4289 srom_infoleaf_info(struct net_device *dev) in srom_infoleaf_info()
4337 srom_init(struct net_device *dev) in srom_init()
4380 srom_exec(struct net_device *dev, u_char *p) in srom_exec()
4409 dc21041_infoleaf(struct net_device *dev) in dc21041_infoleaf()
4415 dc21140_infoleaf(struct net_device *dev) in dc21140_infoleaf()
4453 dc21142_infoleaf(struct net_device *dev) in dc21142_infoleaf()
4488 dc21143_infoleaf(struct net_device *dev) in dc21143_infoleaf()
4526 compact_infoblock(struct net_device *dev, u_char count, u_char *p) in compact_infoblock()
4566 type0_infoblock(struct net_device *dev, u_char count, u_char *p) in type0_infoblock()
4606 type1_infoblock(struct net_device *dev, u_char count, u_char *p) in type1_infoblock()
4645 type2_infoblock(struct net_device *dev, u_char count, u_char *p) in type2_infoblock()
4686 type3_infoblock(struct net_device *dev, u_char count, u_char *p) in type3_infoblock()
4728 type4_infoblock(struct net_device *dev, u_char count, u_char *p) in type4_infoblock()
4773 type5_infoblock(struct net_device *dev, u_char count, u_char *p) in type5_infoblock()
4963 mii_get_phy(struct net_device *dev) in mii_get_phy()
5027 build_setup_frame(struct net_device *dev, int mode) in build_setup_frame()
5059 disable_ast(struct net_device *dev) in disable_ast()
5066 de4x5_switch_mac_port(struct net_device *dev) in de4x5_switch_mac_port()
5102 gep_wr(s32 data, struct net_device *dev) in gep_wr()
5115 gep_rd(struct net_device *dev) in gep_rd()
5130 yawn(struct net_device *dev, int state) in yawn()
5174 de4x5_parse_params(struct net_device *dev) in de4x5_parse_params()
5215 de4x5_dbg_open(struct net_device *dev) in de4x5_dbg_open()
5260 de4x5_dbg_mii(struct net_device *dev, int k) in de4x5_dbg_mii()
5286 de4x5_dbg_media(struct net_device *dev) in de4x5_dbg_media()
5356 de4x5_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in de4x5_ioctl()