Lines Matching defs:nic

537 struct nic {  struct
542 u16 (*mdio_ctrl)(struct nic *nic, u32 addr, u32 dir, u32 reg, u16 data); argument
544 struct rx *rxs ____cacheline_aligned;
545 struct rx *rx_to_use;
546 struct rx *rx_to_clean;
547 struct rfd blank_rfd;
548 enum ru_state ru_running;
550 spinlock_t cb_lock ____cacheline_aligned;
551 spinlock_t cmd_lock;
552 struct csr __iomem *csr;
553 enum scb_cmd_lo cuc_cmd;
554 unsigned int cbs_avail;
555 struct napi_struct napi;
556 struct cb *cbs;
557 struct cb *cb_to_use;
558 struct cb *cb_to_send;
559 struct cb *cb_to_clean;
560 __le16 tx_command;
563 enum {
569 } flags ____cacheline_aligned;
571 enum mac mac;
572 enum phy phy;
573 struct params params;
574 struct timer_list watchdog;
575 struct mii_if_info mii;
576 struct work_struct tx_timeout_task;
577 enum loopback loopback;
579 struct mem *mem;
580 dma_addr_t dma_addr;
582 struct dma_pool *cbs_pool;
606 static inline void e100_write_flush(struct nic *nic) in e100_write_flush()
613 static void e100_enable_irq(struct nic *nic) in e100_enable_irq()
623 static void e100_disable_irq(struct nic *nic) in e100_disable_irq()
633 static void e100_hw_reset(struct nic *nic) in e100_hw_reset()
648 static int e100_self_test(struct nic *nic) in e100_self_test()
681 static void e100_eeprom_write(struct nic *nic, u16 addr_len, u16 addr, __le16 data) in e100_eeprom_write()
719 static __le16 e100_eeprom_read(struct nic *nic, u16 *addr_len, u16 addr) in e100_eeprom_read()
760 static int e100_eeprom_load(struct nic *nic) in e100_eeprom_load()
786 static int e100_eeprom_save(struct nic *nic, u16 start, u16 count) in e100_eeprom_save()
813 static int e100_exec_cmd(struct nic *nic, u8 cmd, dma_addr_t dma_addr) in e100_exec_cmd()
844 static int e100_exec_cb(struct nic *nic, struct sk_buff *skb, in e100_exec_cb()
845 int (*cb_prepare)(struct nic *, struct cb *, struct sk_buff *)) in e100_exec_cb()
904 struct nic *nic = netdev_priv(netdev); in mdio_read() local
910 struct nic *nic = netdev_priv(netdev); in mdio_write() local
916 static u16 mdio_ctrl_hw(struct nic *nic, u32 addr, u32 dir, u32 reg, u16 data) in mdio_ctrl_hw()
956 static u16 mdio_ctrl_phy_82552_v(struct nic *nic, in mdio_ctrl_phy_82552_v()
986 static u16 mdio_ctrl_phy_mii_emulated(struct nic *nic, in mdio_ctrl_phy_mii_emulated()
1028 static inline int e100_phy_supports_mii(struct nic *nic) in e100_phy_supports_mii()
1036 static void e100_get_defaults(struct nic *nic) in e100_get_defaults()
1069 static int e100_configure(struct nic *nic, struct cb *cb, struct sk_buff *skb) in e100_configure()
1219 static const struct firmware *e100_request_firmware(struct nic *nic) in e100_request_firmware()
1307 static int e100_setup_ucode(struct nic *nic, struct cb *cb, in e100_setup_ucode()
1337 static inline int e100_load_ucode_wait(struct nic *nic) in e100_load_ucode_wait()
1377 static int e100_setup_iaaddr(struct nic *nic, struct cb *cb, in e100_setup_iaaddr()
1385 static int e100_dump(struct nic *nic, struct cb *cb, struct sk_buff *skb) in e100_dump()
1393 static int e100_phy_check_without_mii(struct nic *nic) in e100_phy_check_without_mii()
1433 static int e100_phy_init(struct nic *nic) in e100_phy_init()
1526 static int e100_hw_init(struct nic *nic) in e100_hw_init()
1559 static int e100_multi(struct nic *nic, struct cb *cb, struct sk_buff *skb) in e100_multi()
1579 struct nic *nic = netdev_priv(netdev); in e100_set_multicast_list() local
1600 static void e100_update_stats(struct nic *nic) in e100_update_stats()
1662 static void e100_adjust_adaptive_ifs(struct nic *nic, int speed, int duplex) in e100_adjust_adaptive_ifs()
1686 struct nic *nic = from_timer(nic, t, watchdog); in e100_watchdog() local
1735 static int e100_xmit_prepare(struct nic *nic, struct cb *cb, in e100_xmit_prepare()
1772 struct nic *nic = netdev_priv(netdev); in e100_xmit_frame() local
1805 static int e100_tx_clean(struct nic *nic) in e100_tx_clean()
1848 static void e100_clean_cbs(struct nic *nic) in e100_clean_cbs()
1872 static int e100_alloc_cbs(struct nic *nic) in e100_alloc_cbs()
1901 static inline void e100_start_receiver(struct nic *nic, struct rx *rx) in e100_start_receiver()
1917 static int e100_rx_alloc_skb(struct nic *nic, struct rx *rx) in e100_rx_alloc_skb()
1949 static int e100_rx_indicate(struct nic *nic, struct rx *rx, in e100_rx_indicate()
2048 static void e100_rx_clean(struct nic *nic, unsigned int *work_done, in e100_rx_clean()
2128 static void e100_rx_clean_list(struct nic *nic) in e100_rx_clean_list()
2151 static int e100_rx_alloc_list(struct nic *nic) in e100_rx_alloc_list()
2194 struct nic *nic = netdev_priv(netdev); in e100_intr() local
2221 struct nic *nic = container_of(napi, struct nic, napi); in e100_poll() local
2241 struct nic *nic = netdev_priv(netdev); in e100_netpoll() local
2252 struct nic *nic = netdev_priv(netdev); in e100_set_mac_address() local
2264 static int e100_asf(struct nic *nic) in e100_asf()
2273 static int e100_up(struct nic *nic) in e100_up()
2305 static void e100_down(struct nic *nic) in e100_down()
2320 struct nic *nic = netdev_priv(netdev); in e100_tx_timeout() local
2329 struct nic *nic = container_of(work, struct nic, tx_timeout_task); in e100_tx_timeout_task() local
2343 static int e100_loopback_test(struct nic *nic, enum loopback loopback_mode) in e100_loopback_test()
2407 struct nic *nic = netdev_priv(netdev); in e100_get_link_ksettings() local
2417 struct nic *nic = netdev_priv(netdev); in e100_set_link_ksettings() local
2430 struct nic *nic = netdev_priv(netdev); in e100_get_drvinfo() local
2439 struct nic *nic = netdev_priv(netdev); in e100_get_regs_len() local
2450 struct nic *nic = netdev_priv(netdev); in e100_get_regs() local
2474 struct nic *nic = netdev_priv(netdev); in e100_get_wol() local
2481 struct nic *nic = netdev_priv(netdev); in e100_set_wol() local
2501 struct nic *nic = netdev_priv(netdev); in e100_get_msglevel() local
2507 struct nic *nic = netdev_priv(netdev); in e100_set_msglevel() local
2513 struct nic *nic = netdev_priv(netdev); in e100_nway_reset() local
2519 struct nic *nic = netdev_priv(netdev); in e100_get_link() local
2525 struct nic *nic = netdev_priv(netdev); in e100_get_eeprom_len() local
2533 struct nic *nic = netdev_priv(netdev); in e100_get_eeprom() local
2544 struct nic *nic = netdev_priv(netdev); in e100_set_eeprom() local
2560 struct nic *nic = netdev_priv(netdev); in e100_get_ringparam() local
2575 struct nic *nic = netdev_priv(netdev); in e100_set_ringparam() local
2609 struct nic *nic = netdev_priv(netdev); in e100_diag_test() local
2641 struct nic *nic = netdev_priv(netdev); in e100_set_phys_id() local
2704 struct nic *nic = netdev_priv(netdev); in e100_get_ethtool_stats() local
2761 struct nic *nic = netdev_priv(netdev); in e100_do_ioctl() local
2766 static int e100_alloc(struct nic *nic) in e100_alloc()
2773 static void e100_free(struct nic *nic) in e100_free()
2784 struct nic *nic = netdev_priv(netdev); in e100_open() local
2802 struct nic *nic = netdev_priv(netdev); in e100_set_features() local
2831 struct nic *nic; in e100_probe() local
2987 struct nic *nic = netdev_priv(netdev); in e100_remove() local
3004 struct nic *nic = netdev_priv(netdev); in __e100_shutdown() local
3052 struct nic *nic = netdev_priv(netdev); in e100_resume() local
3097 struct nic *nic = netdev_priv(netdev); in e100_io_error_detected() local
3121 struct nic *nic = netdev_priv(netdev); in e100_io_slot_reset() local
3148 struct nic *nic = netdev_priv(netdev); in e100_io_resume() local