Lines Matching refs:net_device

549 	struct net_device *dev;
598 static void move_int_phy(struct net_device *dev, int addr);
600 static int mdio_read(struct net_device *dev, int reg);
601 static void mdio_write(struct net_device *dev, int reg, u16 data);
602 static void init_phy_fixup(struct net_device *dev);
603 static int miiport_read(struct net_device *dev, int phy_id, int reg);
604 static void miiport_write(struct net_device *dev, int phy_id, int reg, u16 data);
605 static int find_mii(struct net_device *dev);
606 static void natsemi_reset(struct net_device *dev);
607 static void natsemi_reload_eeprom(struct net_device *dev);
608 static void natsemi_stop_rxtx(struct net_device *dev);
609 static int netdev_open(struct net_device *dev);
610 static void do_cable_magic(struct net_device *dev);
611 static void undo_cable_magic(struct net_device *dev);
612 static void check_link(struct net_device *dev);
614 static void dump_ring(struct net_device *dev);
615 static void ns_tx_timeout(struct net_device *dev);
616 static int alloc_ring(struct net_device *dev);
617 static void refill_rx(struct net_device *dev);
618 static void init_ring(struct net_device *dev);
619 static void drain_tx(struct net_device *dev);
620 static void drain_ring(struct net_device *dev);
621 static void free_ring(struct net_device *dev);
622 static void reinit_ring(struct net_device *dev);
623 static void init_registers(struct net_device *dev);
624 static netdev_tx_t start_tx(struct sk_buff *skb, struct net_device *dev);
626 static void netdev_error(struct net_device *dev, int intr_status);
628 static void netdev_rx(struct net_device *dev, int *work_done, int work_to_do);
629 static void netdev_tx_done(struct net_device *dev);
630 static int natsemi_change_mtu(struct net_device *dev, int new_mtu);
632 static void natsemi_poll_controller(struct net_device *dev);
634 static void __set_rx_mode(struct net_device *dev);
635 static void set_rx_mode(struct net_device *dev);
636 static void __get_stats(struct net_device *dev);
637 static struct net_device_stats *get_stats(struct net_device *dev);
638 static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
639 static int netdev_set_wol(struct net_device *dev, u32 newval);
640 static int netdev_get_wol(struct net_device *dev, u32 *supported, u32 *cur);
641 static int netdev_set_sopass(struct net_device *dev, u8 *newval);
642 static int netdev_get_sopass(struct net_device *dev, u8 *data);
643 static int netdev_get_ecmd(struct net_device *dev, struct ethtool_cmd *ecmd);
644 static int netdev_set_ecmd(struct net_device *dev, struct ethtool_cmd *ecmd);
645 static void enable_wol_mode(struct net_device *dev, int enable_intr);
646 static int netdev_close(struct net_device *dev);
647 static int netdev_get_regs(struct net_device *dev, u8 *buf);
648 static int netdev_get_eeprom(struct net_device *dev, u8 *buf);
701 static inline void __iomem *ns_ioaddr(struct net_device *dev) in ns_ioaddr()
708 static inline void natsemi_irq_enable(struct net_device *dev) in natsemi_irq_enable()
714 static inline void natsemi_irq_disable(struct net_device *dev) in natsemi_irq_disable()
720 static void move_int_phy(struct net_device *dev, int addr) in move_int_phy()
745 static void natsemi_init_media(struct net_device *dev) in natsemi_init_media()
802 struct net_device *dev; in natsemi_probe1()
1045 static int mii_getbit (struct net_device *dev) in mii_getbit()
1057 static void mii_send_bits (struct net_device *dev, u32 data, int len) in mii_send_bits()
1074 static int miiport_read(struct net_device *dev, int phy_id, int reg) in miiport_read()
1099 static void miiport_write(struct net_device *dev, int phy_id, int reg, u16 data) in miiport_write()
1113 static int mdio_read(struct net_device *dev, int reg) in mdio_read()
1128 static void mdio_write(struct net_device *dev, int reg, u16 data) in mdio_write()
1140 static void init_phy_fixup(struct net_device *dev) in init_phy_fixup()
1253 static int switch_port_external(struct net_device *dev) in switch_port_external()
1286 static int switch_port_internal(struct net_device *dev) in switch_port_internal()
1338 static int find_mii(struct net_device *dev) in find_mii()
1381 static void natsemi_reset(struct net_device *dev) in natsemi_reset()
1458 static void reset_rx(struct net_device *dev) in reset_rx()
1483 static void natsemi_reload_eeprom(struct net_device *dev) in natsemi_reload_eeprom()
1504 static void natsemi_stop_rxtx(struct net_device *dev) in natsemi_stop_rxtx()
1525 static int netdev_open(struct net_device *dev) in netdev_open()
1577 static void do_cable_magic(struct net_device *dev) in do_cable_magic()
1621 static void undo_cable_magic(struct net_device *dev) in undo_cable_magic()
1641 static void check_link(struct net_device *dev) in check_link()
1707 static void init_registers(struct net_device *dev) in init_registers()
1788 struct net_device *dev = (struct net_device *)data; in netdev_timer()
1857 static void dump_ring(struct net_device *dev) in dump_ring()
1880 static void ns_tx_timeout(struct net_device *dev) in ns_tx_timeout()
1912 static int alloc_ring(struct net_device *dev) in alloc_ring()
1924 static void refill_rx(struct net_device *dev) in refill_rx()
1957 static void set_bufsize(struct net_device *dev) in set_bufsize()
1967 static void init_ring(struct net_device *dev) in init_ring()
2005 static void drain_tx(struct net_device *dev) in drain_tx()
2022 static void drain_rx(struct net_device *dev) in drain_rx()
2042 static void drain_ring(struct net_device *dev) in drain_ring()
2048 static void free_ring(struct net_device *dev) in free_ring()
2056 static void reinit_rx(struct net_device *dev) in reinit_rx()
2072 static void reinit_ring(struct net_device *dev) in reinit_ring()
2086 static netdev_tx_t start_tx(struct sk_buff *skb, struct net_device *dev) in start_tx()
2139 static void netdev_tx_done(struct net_device *dev) in netdev_tx_done()
2186 struct net_device *dev = dev_instance; in intr_handler()
2228 struct net_device *dev = np->dev; in natsemi_poll()
2278 static void netdev_rx(struct net_device *dev, int *work_done, int work_to_do) in netdev_rx()
2394 static void netdev_error(struct net_device *dev, int intr_status) in netdev_error()
2457 static void __get_stats(struct net_device *dev) in __get_stats()
2466 static struct net_device_stats *get_stats(struct net_device *dev) in get_stats()
2480 static void natsemi_poll_controller(struct net_device *dev) in natsemi_poll_controller()
2492 static void __set_rx_mode(struct net_device *dev) in __set_rx_mode()
2527 static int natsemi_change_mtu(struct net_device *dev, int new_mtu) in natsemi_change_mtu()
2558 static void set_rx_mode(struct net_device *dev) in set_rx_mode()
2567 static void get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) in get_drvinfo()
2575 static int get_regs_len(struct net_device *dev) in get_regs_len()
2580 static int get_eeprom_len(struct net_device *dev) in get_eeprom_len()
2586 static int get_settings(struct net_device *dev, struct ethtool_cmd *ecmd) in get_settings()
2595 static int set_settings(struct net_device *dev, struct ethtool_cmd *ecmd) in set_settings()
2605 static void get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) in get_wol()
2614 static int set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) in set_wol()
2625 static void get_regs(struct net_device *dev, struct ethtool_regs *regs, void *buf) in get_regs()
2634 static u32 get_msglevel(struct net_device *dev) in get_msglevel()
2640 static void set_msglevel(struct net_device *dev, u32 val) in set_msglevel()
2646 static int nway_reset(struct net_device *dev) in nway_reset()
2660 static u32 get_link(struct net_device *dev) in get_link()
2667 static int get_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, u8 *data) in get_eeprom()
2703 static int netdev_set_wol(struct net_device *dev, u32 newval) in netdev_set_wol()
2733 static int netdev_get_wol(struct net_device *dev, u32 *supported, u32 *cur) in netdev_get_wol()
2769 static int netdev_set_sopass(struct net_device *dev, u8 *newval) in netdev_set_sopass()
2801 static int netdev_get_sopass(struct net_device *dev, u8 *data) in netdev_get_sopass()
2830 static int netdev_get_ecmd(struct net_device *dev, struct ethtool_cmd *ecmd) in netdev_get_ecmd()
2908 static int netdev_set_ecmd(struct net_device *dev, struct ethtool_cmd *ecmd) in netdev_set_ecmd()
2992 static int netdev_get_regs(struct net_device *dev, u8 *buf) in netdev_get_regs()
3044 static int netdev_get_eeprom(struct net_device *dev, u8 *buf) in netdev_get_eeprom()
3062 static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in netdev_ioctl()
3114 static void enable_wol_mode(struct net_device *dev, int enable_intr) in enable_wol_mode()
3147 static int netdev_close(struct net_device *dev) in netdev_close()
3226 struct net_device *dev = pci_get_drvdata(pdev); in natsemi_remove1()
3266 struct net_device *dev = pci_get_drvdata (pdev); in natsemi_suspend()
3317 struct net_device *dev = pci_get_drvdata (pdev); in natsemi_resume()