Lines Matching defs:nic

565 struct nic {  struct
570 u16 (*mdio_ctrl)(struct nic *nic, u32 addr, u32 dir, u32 reg, u16 data); argument
572 struct rx *rxs ____cacheline_aligned;
573 struct rx *rx_to_use;
574 struct rx *rx_to_clean;
575 struct rfd blank_rfd;
576 enum ru_state ru_running;
578 spinlock_t cb_lock ____cacheline_aligned;
579 spinlock_t cmd_lock;
580 struct csr __iomem *csr;
581 enum scb_cmd_lo cuc_cmd;
582 unsigned int cbs_avail;
583 struct napi_struct napi;
584 struct cb *cbs;
585 struct cb *cb_to_use;
586 struct cb *cb_to_send;
587 struct cb *cb_to_clean;
588 __le16 tx_command;
591 enum {
597 } flags ____cacheline_aligned;
599 enum mac mac;
600 enum phy phy;
601 struct params params;
602 struct timer_list watchdog;
603 struct mii_if_info mii;
604 struct work_struct tx_timeout_task;
605 enum loopback loopback;
607 struct mem *mem;
608 dma_addr_t dma_addr;
610 struct pci_pool *cbs_pool;
634 static inline void e100_write_flush(struct nic *nic) in e100_write_flush()
641 static void e100_enable_irq(struct nic *nic) in e100_enable_irq()
651 static void e100_disable_irq(struct nic *nic) in e100_disable_irq()
661 static void e100_hw_reset(struct nic *nic) in e100_hw_reset()
676 static int e100_self_test(struct nic *nic) in e100_self_test()
709 static void e100_eeprom_write(struct nic *nic, u16 addr_len, u16 addr, __le16 data) in e100_eeprom_write()
747 static __le16 e100_eeprom_read(struct nic *nic, u16 *addr_len, u16 addr) in e100_eeprom_read()
788 static int e100_eeprom_load(struct nic *nic) in e100_eeprom_load()
814 static int e100_eeprom_save(struct nic *nic, u16 start, u16 count) in e100_eeprom_save()
841 static int e100_exec_cmd(struct nic *nic, u8 cmd, dma_addr_t dma_addr) in e100_exec_cmd()
872 static int e100_exec_cb(struct nic *nic, struct sk_buff *skb, in e100_exec_cb()
873 int (*cb_prepare)(struct nic *, struct cb *, struct sk_buff *)) in e100_exec_cb()
932 struct nic *nic = netdev_priv(netdev); in mdio_read() local
938 struct nic *nic = netdev_priv(netdev); in mdio_write() local
944 static u16 mdio_ctrl_hw(struct nic *nic, u32 addr, u32 dir, u32 reg, u16 data) in mdio_ctrl_hw()
984 static u16 mdio_ctrl_phy_82552_v(struct nic *nic, in mdio_ctrl_phy_82552_v()
1014 static u16 mdio_ctrl_phy_mii_emulated(struct nic *nic, in mdio_ctrl_phy_mii_emulated()
1056 static inline int e100_phy_supports_mii(struct nic *nic) in e100_phy_supports_mii()
1064 static void e100_get_defaults(struct nic *nic) in e100_get_defaults()
1097 static int e100_configure(struct nic *nic, struct cb *cb, struct sk_buff *skb) in e100_configure()
1247 static const struct firmware *e100_request_firmware(struct nic *nic) in e100_request_firmware()
1335 static int e100_setup_ucode(struct nic *nic, struct cb *cb, in e100_setup_ucode()
1365 static inline int e100_load_ucode_wait(struct nic *nic) in e100_load_ucode_wait()
1405 static int e100_setup_iaaddr(struct nic *nic, struct cb *cb, in e100_setup_iaaddr()
1413 static int e100_dump(struct nic *nic, struct cb *cb, struct sk_buff *skb) in e100_dump()
1421 static int e100_phy_check_without_mii(struct nic *nic) in e100_phy_check_without_mii()
1462 static int e100_phy_init(struct nic *nic) in e100_phy_init()
1555 static int e100_hw_init(struct nic *nic) in e100_hw_init()
1588 static int e100_multi(struct nic *nic, struct cb *cb, struct sk_buff *skb) in e100_multi()
1608 struct nic *nic = netdev_priv(netdev); in e100_set_multicast_list() local
1629 static void e100_update_stats(struct nic *nic) in e100_update_stats()
1691 static void e100_adjust_adaptive_ifs(struct nic *nic, int speed, int duplex) in e100_adjust_adaptive_ifs()
1715 struct nic *nic = (struct nic *)data; in e100_watchdog() local
1764 static int e100_xmit_prepare(struct nic *nic, struct cb *cb, in e100_xmit_prepare()
1804 struct nic *nic = netdev_priv(netdev); in e100_xmit_frame() local
1837 static int e100_tx_clean(struct nic *nic) in e100_tx_clean()
1880 static void e100_clean_cbs(struct nic *nic) in e100_clean_cbs()
1904 static int e100_alloc_cbs(struct nic *nic) in e100_alloc_cbs()
1934 static inline void e100_start_receiver(struct nic *nic, struct rx *rx) in e100_start_receiver()
1950 static int e100_rx_alloc_skb(struct nic *nic, struct rx *rx) in e100_rx_alloc_skb()
1980 static int e100_rx_indicate(struct nic *nic, struct rx *rx, in e100_rx_indicate()
2079 static void e100_rx_clean(struct nic *nic, unsigned int *work_done, in e100_rx_clean()
2156 static void e100_rx_clean_list(struct nic *nic) in e100_rx_clean_list()
2178 static int e100_rx_alloc_list(struct nic *nic) in e100_rx_alloc_list()
2221 struct nic *nic = netdev_priv(netdev); in e100_intr() local
2248 struct nic *nic = container_of(napi, struct nic, napi); in e100_poll() local
2266 struct nic *nic = netdev_priv(netdev); in e100_netpoll() local
2277 struct nic *nic = netdev_priv(netdev); in e100_set_mac_address() local
2297 static int e100_asf(struct nic *nic) in e100_asf()
2306 static int e100_up(struct nic *nic) in e100_up()
2338 static void e100_down(struct nic *nic) in e100_down()
2353 struct nic *nic = netdev_priv(netdev); in e100_tx_timeout() local
2362 struct nic *nic = container_of(work, struct nic, tx_timeout_task); in e100_tx_timeout_task() local
2376 static int e100_loopback_test(struct nic *nic, enum loopback loopback_mode) in e100_loopback_test()
2439 struct nic *nic = netdev_priv(netdev); in e100_get_settings() local
2445 struct nic *nic = netdev_priv(netdev); in e100_set_settings() local
2458 struct nic *nic = netdev_priv(netdev); in e100_get_drvinfo() local
2468 struct nic *nic = netdev_priv(netdev); in e100_get_regs_len() local
2475 struct nic *nic = netdev_priv(netdev); in e100_get_regs() local
2495 struct nic *nic = netdev_priv(netdev); in e100_get_wol() local
2502 struct nic *nic = netdev_priv(netdev); in e100_set_wol() local
2522 struct nic *nic = netdev_priv(netdev); in e100_get_msglevel() local
2528 struct nic *nic = netdev_priv(netdev); in e100_set_msglevel() local
2534 struct nic *nic = netdev_priv(netdev); in e100_nway_reset() local
2540 struct nic *nic = netdev_priv(netdev); in e100_get_link() local
2546 struct nic *nic = netdev_priv(netdev); in e100_get_eeprom_len() local
2554 struct nic *nic = netdev_priv(netdev); in e100_get_eeprom() local
2565 struct nic *nic = netdev_priv(netdev); in e100_set_eeprom() local
2579 struct nic *nic = netdev_priv(netdev); in e100_get_ringparam() local
2592 struct nic *nic = netdev_priv(netdev); in e100_set_ringparam() local
2626 struct nic *nic = netdev_priv(netdev); in e100_diag_test() local
2658 struct nic *nic = netdev_priv(netdev); in e100_set_phys_id() local
2721 struct nic *nic = netdev_priv(netdev); in e100_get_ethtool_stats() local
2778 struct nic *nic = netdev_priv(netdev); in e100_do_ioctl() local
2783 static int e100_alloc(struct nic *nic) in e100_alloc()
2790 static void e100_free(struct nic *nic) in e100_free()
2801 struct nic *nic = netdev_priv(netdev); in e100_open() local
2819 struct nic *nic = netdev_priv(netdev); in e100_set_features() local
2849 struct nic *nic; in e100_probe() local
3005 struct nic *nic = netdev_priv(netdev); in e100_remove() local
3022 struct nic *nic = netdev_priv(netdev); in __e100_shutdown() local
3070 struct nic *nic = netdev_priv(netdev); in e100_resume() local
3112 struct nic *nic = netdev_priv(netdev); in e100_io_error_detected() local
3136 struct nic *nic = netdev_priv(netdev); in e100_io_slot_reset() local
3163 struct nic *nic = netdev_priv(netdev); in e100_io_resume() local