Lines Matching refs:net_device
51 static struct net_device *tlan_eisa_devices;
152 static int tlan_init(struct net_device *);
153 static int tlan_open(struct net_device *dev);
154 static netdev_tx_t tlan_start_tx(struct sk_buff *, struct net_device *);
156 static int tlan_close(struct net_device *);
157 static struct net_device_stats *tlan_get_stats(struct net_device *);
158 static void tlan_set_multicast_list(struct net_device *);
159 static int tlan_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
162 static void tlan_tx_timeout(struct net_device *dev);
167 static u32 tlan_handle_tx_eof(struct net_device *, u16);
168 static u32 tlan_handle_stat_overflow(struct net_device *, u16);
169 static u32 tlan_handle_rx_eof(struct net_device *, u16);
170 static u32 tlan_handle_dummy(struct net_device *, u16);
171 static u32 tlan_handle_tx_eoc(struct net_device *, u16);
172 static u32 tlan_handle_status_check(struct net_device *, u16);
173 static u32 tlan_handle_rx_eoc(struct net_device *, u16);
177 static void tlan_reset_lists(struct net_device *);
178 static void tlan_free_lists(struct net_device *);
181 static void tlan_read_and_clear_stats(struct net_device *, int);
182 static void tlan_reset_adapter(struct net_device *);
183 static void tlan_finish_reset(struct net_device *);
184 static void tlan_set_mac(struct net_device *, int areg, char *mac);
186 static void tlan_phy_print(struct net_device *);
187 static void tlan_phy_detect(struct net_device *);
188 static void tlan_phy_power_down(struct net_device *);
189 static void tlan_phy_power_up(struct net_device *);
190 static void tlan_phy_reset(struct net_device *);
191 static void tlan_phy_start_link(struct net_device *);
192 static void tlan_phy_finish_auto_neg(struct net_device *);
202 static bool tlan_mii_read_reg(struct net_device *, u16, u16, u16 *);
205 static void tlan_mii_write_reg(struct net_device *, u16, u16, u16);
210 static int tlan_ee_read_byte(struct net_device *, u8, u8 *);
232 (*tlan_int_vector[TLAN_INT_NUMBER_OF_INTS])(struct net_device *, u16) = {
244 tlan_set_timer(struct net_device *dev, u32 ticks, u32 type) in tlan_set_timer()
301 struct net_device *dev = pci_get_drvdata(pdev); in tlan_remove_one()
321 static void tlan_start(struct net_device *dev) in tlan_start()
332 static void tlan_stop(struct net_device *dev) in tlan_stop()
351 struct net_device *dev = pci_get_drvdata(pdev); in tlan_suspend()
367 struct net_device *dev = pci_get_drvdata(pdev); in tlan_resume()
466 struct net_device *dev; in tlan_probe1()
623 struct net_device *dev; in tlan_eisa_cleanup()
759 static void tlan_poll(struct net_device *dev) in tlan_poll()
783 static void tlan_get_drvinfo(struct net_device *dev, in tlan_get_drvinfo()
796 static int tlan_get_eeprom_len(struct net_device *dev) in tlan_get_eeprom_len()
801 static int tlan_get_eeprom(struct net_device *dev, in tlan_get_eeprom()
837 static int tlan_init(struct net_device *dev) in tlan_init()
915 static int tlan_open(struct net_device *dev) in tlan_open()
959 static int tlan_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in tlan_ioctl()
1000 static void tlan_tx_timeout(struct net_device *dev) in tlan_tx_timeout()
1057 static netdev_tx_t tlan_start_tx(struct sk_buff *skb, struct net_device *dev) in tlan_start_tx()
1155 struct net_device *dev = dev_id; in tlan_handle_interrupt()
1200 static int tlan_close(struct net_device *dev) in tlan_close()
1230 static struct net_device_stats *tlan_get_stats(struct net_device *dev) in tlan_get_stats()
1280 static void tlan_set_multicast_list(struct net_device *dev) in tlan_set_multicast_list()
1368 static u32 tlan_handle_tx_eof(struct net_device *dev, u16 host_int) in tlan_handle_tx_eof()
1465 static u32 tlan_handle_stat_overflow(struct net_device *dev, u16 host_int) in tlan_handle_stat_overflow()
1501 static u32 tlan_handle_rx_eof(struct net_device *dev, u16 host_int) in tlan_handle_rx_eof()
1617 static u32 tlan_handle_dummy(struct net_device *dev, u16 host_int) in tlan_handle_dummy()
1647 static u32 tlan_handle_tx_eoc(struct net_device *dev, u16 host_int) in tlan_handle_tx_eoc()
1699 static u32 tlan_handle_status_check(struct net_device *dev, u16 host_int) in tlan_handle_status_check()
1778 static u32 tlan_handle_rx_eoc(struct net_device *dev, u16 host_int) in tlan_handle_rx_eoc()
1843 struct net_device *dev = (struct net_device *) data; in tlan_timer()
1917 static void tlan_reset_lists(struct net_device *dev) in tlan_reset_lists()
1969 static void tlan_free_lists(struct net_device *dev) in tlan_free_lists()
2097 static void tlan_read_and_clear_stats(struct net_device *dev, int record) in tlan_read_and_clear_stats()
2173 tlan_reset_adapter(struct net_device *dev) in tlan_reset_adapter()
2258 tlan_finish_reset(struct net_device *dev) in tlan_finish_reset()
2382 static void tlan_set_mac(struct net_device *dev, int areg, char *mac) in tlan_set_mac()
2426 static void tlan_phy_print(struct net_device *dev) in tlan_phy_print()
2472 static void tlan_phy_detect(struct net_device *dev) in tlan_phy_detect()
2521 static void tlan_phy_power_down(struct net_device *dev) in tlan_phy_power_down()
2549 static void tlan_phy_power_up(struct net_device *dev) in tlan_phy_power_up()
2570 static void tlan_phy_reset(struct net_device *dev) in tlan_phy_reset()
2602 static void tlan_phy_start_link(struct net_device *dev) in tlan_phy_start_link()
2690 static void tlan_phy_finish_auto_neg(struct net_device *dev) in tlan_phy_finish_auto_neg()
2770 struct net_device *dev = (struct net_device *) data; in tlan_phy_monitor()
2854 tlan_mii_read_reg(struct net_device *dev, u16 phy, u16 reg, u16 *val) in tlan_mii_read_reg()
3026 tlan_mii_write_reg(struct net_device *dev, u16 phy, u16 reg, u16 val) in tlan_mii_write_reg()
3257 static int tlan_ee_read_byte(struct net_device *dev, u8 ee_addr, u8 *data) in tlan_ee_read_byte()