Lines Matching refs:fe_priv
753 struct fe_priv { struct
934 static inline struct fe_priv *get_nvpriv(struct net_device *dev) in get_nvpriv()
941 return ((struct fe_priv *)netdev_priv(dev))->base; in get_hwbase()
961 static bool nv_optimized(struct fe_priv *np) in nv_optimized()
998 struct fe_priv *np = get_nvpriv(dev); in setup_hw_rings()
1020 struct fe_priv *np = get_nvpriv(dev); in free_rings()
1043 struct fe_priv *np = get_nvpriv(dev); in using_multi_irqs()
1054 struct fe_priv *np = get_nvpriv(dev); in nv_txrx_gate()
1071 struct fe_priv *np = get_nvpriv(dev); in nv_enable_irq()
1087 struct fe_priv *np = get_nvpriv(dev); in nv_disable_irq()
1111 struct fe_priv *np = get_nvpriv(dev); in nv_disable_hw_interrupts()
1125 struct fe_priv *np = get_nvpriv(dev); in nv_napi_enable()
1132 struct fe_priv *np = get_nvpriv(dev); in nv_napi_disable()
1180 struct fe_priv *np = netdev_priv(dev); in phy_reset()
1202 static int init_realtek_8211b(struct net_device *dev, struct fe_priv *np) in init_realtek_8211b()
1226 static int init_realtek_8211c(struct net_device *dev, struct fe_priv *np) in init_realtek_8211c()
1261 static int init_realtek_8201(struct net_device *dev, struct fe_priv *np) in init_realtek_8201()
1277 static int init_realtek_8201_cross(struct net_device *dev, struct fe_priv *np) in init_realtek_8201_cross()
1300 static int init_cicada(struct net_device *dev, struct fe_priv *np, in init_cicada()
1324 static int init_vitesse(struct net_device *dev, struct fe_priv *np) in init_vitesse()
1388 struct fe_priv *np = get_nvpriv(dev); in phy_init()
1533 struct fe_priv *np = netdev_priv(dev); in nv_start_rx()
1554 struct fe_priv *np = netdev_priv(dev); in nv_stop_rx()
1575 struct fe_priv *np = netdev_priv(dev); in nv_start_tx()
1588 struct fe_priv *np = netdev_priv(dev); in nv_stop_tx()
1622 struct fe_priv *np = netdev_priv(dev); in nv_txrx_reset()
1634 struct fe_priv *np = netdev_priv(dev); in nv_mac_reset()
1665 struct fe_priv *np = netdev_priv(dev); in nv_update_stats()
1728 static void nv_get_stats(int cpu, struct fe_priv *np, in nv_get_stats()
1772 struct fe_priv *np = netdev_priv(dev); in nv_get_stats64()
1824 struct fe_priv *np = netdev_priv(dev); in nv_alloc_rx()
1865 struct fe_priv *np = netdev_priv(dev); in nv_alloc_rx_optimized()
1908 struct fe_priv *np = from_timer(np, t, oom_kick); in nv_do_rx_refill()
1916 struct fe_priv *np = netdev_priv(dev); in nv_init_rx()
1947 struct fe_priv *np = netdev_priv(dev); in nv_init_tx()
1987 struct fe_priv *np = netdev_priv(dev); in nv_init_ring()
1998 static void nv_unmap_txskb(struct fe_priv *np, struct nv_skb_map *tx_skb) in nv_unmap_txskb()
2013 static int nv_release_txskb(struct fe_priv *np, struct nv_skb_map *tx_skb) in nv_release_txskb()
2026 struct fe_priv *np = netdev_priv(dev); in nv_drain_tx()
2057 struct fe_priv *np = netdev_priv(dev); in nv_drain_rx()
2088 static inline u32 nv_get_empty_tx_slots(struct fe_priv *np) in nv_get_empty_tx_slots()
2207 struct fe_priv *np = netdev_priv(dev); in nv_start_xmit()
2381 struct fe_priv *np = netdev_priv(dev); in nv_start_xmit_optimized()
2585 struct fe_priv *np = netdev_priv(dev); in nv_tx_flip_ownership()
2608 struct fe_priv *np = netdev_priv(dev); in nv_tx_done()
2678 struct fe_priv *np = netdev_priv(dev); in nv_tx_done_optimized()
2739 struct fe_priv *np = netdev_priv(dev); in nv_tx_timeout()
2882 static void rx_missing_handler(u32 flags, struct fe_priv *np) in rx_missing_handler()
2893 struct fe_priv *np = netdev_priv(dev); in nv_rx_process()
2994 struct fe_priv *np = netdev_priv(dev); in nv_rx_process_optimized()
3083 struct fe_priv *np = netdev_priv(dev); in set_bufsize()
3097 struct fe_priv *np = netdev_priv(dev); in nv_change_mtu()
3171 struct fe_priv *np = netdev_priv(dev); in nv_set_mac_address()
3208 struct fe_priv *np = netdev_priv(dev); in nv_set_multicast()
3268 struct fe_priv *np = netdev_priv(dev); in nv_update_pause()
3305 struct fe_priv *np = netdev_priv(dev); in nv_force_linkspeed()
3381 struct fe_priv *np = netdev_priv(dev); in nv_update_linkspeed()
3632 static void nv_msi_workaround(struct fe_priv *np) in nv_msi_workaround()
3648 struct fe_priv *np = netdev_priv(dev); in nv_change_interrupt_mode()
3677 struct fe_priv *np = netdev_priv(dev); in nv_nic_irq()
3710 struct fe_priv *np = netdev_priv(dev); in nv_nic_irq_optimized()
3739 struct fe_priv *np = netdev_priv(dev); in nv_nic_irq_tx()
3779 struct fe_priv *np = container_of(napi, struct fe_priv, napi); in nv_napi_poll()
3851 struct fe_priv *np = netdev_priv(dev); in nv_nic_irq_rx()
3896 struct fe_priv *np = netdev_priv(dev); in nv_nic_irq_other()
3963 struct fe_priv *np = netdev_priv(dev); in nv_nic_irq_test()
4013 struct fe_priv *np = get_nvpriv(dev); in nv_request_irq()
4138 struct fe_priv *np = get_nvpriv(dev); in nv_free_irq()
4157 struct fe_priv *np = from_timer(np, t, nic_poll); in nv_do_nic_poll()
4266 struct fe_priv *np = netdev_priv(dev); in nv_poll_controller()
4276 struct fe_priv *np = from_timer(np, t, stats_poll); in nv_do_stats_poll()
4293 struct fe_priv *np = netdev_priv(dev); in nv_get_drvinfo()
4301 struct fe_priv *np = netdev_priv(dev); in nv_get_wol()
4312 struct fe_priv *np = netdev_priv(dev); in nv_set_wol()
4334 struct fe_priv *np = netdev_priv(dev); in nv_get_link_ksettings()
4415 struct fe_priv *np = netdev_priv(dev); in nv_set_link_ksettings()
4589 struct fe_priv *np = netdev_priv(dev); in nv_get_regs_len()
4595 struct fe_priv *np = netdev_priv(dev); in nv_get_regs()
4609 struct fe_priv *np = netdev_priv(dev); in nv_nway_reset()
4659 struct fe_priv *np = netdev_priv(dev); in nv_get_ringparam()
4673 struct fe_priv *np = netdev_priv(dev); in nv_set_ringparam()
4797 struct fe_priv *np = netdev_priv(dev); in nv_get_pauseparam()
4806 struct fe_priv *np = netdev_priv(dev); in nv_set_pauseparam()
4876 struct fe_priv *np = netdev_priv(dev); in nv_set_loopback()
4941 struct fe_priv *np = get_nvpriv(dev); in nv_vlan_mode()
4962 struct fe_priv *np = netdev_priv(dev); in nv_set_features()
4995 struct fe_priv *np = netdev_priv(dev); in nv_get_sset_count()
5022 struct fe_priv *np = netdev_priv(dev); in nv_get_ethtool_stats()
5033 struct fe_priv *np = netdev_priv(dev); in nv_link_test()
5076 struct fe_priv *np = netdev_priv(dev); in nv_interrupt_test()
5139 struct fe_priv *np = netdev_priv(dev); in nv_loopback_test()
5265 struct fe_priv *np = netdev_priv(dev); in nv_self_test()
5379 struct fe_priv *np = netdev_priv(dev); in nv_mgmt_acquire_sema()
5414 struct fe_priv *np = netdev_priv(dev); in nv_mgmt_release_sema()
5430 struct fe_priv *np = netdev_priv(dev); in nv_mgmt_get_version()
5459 struct fe_priv *np = netdev_priv(dev); in nv_open()
5629 struct fe_priv *np = netdev_priv(dev); in nv_close()
5712 struct fe_priv *np; in nv_probe()
5726 dev = alloc_etherdev(sizeof(struct fe_priv)); in nv_probe()
6162 struct fe_priv *np = netdev_priv(dev); in nv_restore_phy()
6185 struct fe_priv *np = netdev_priv(dev); in nv_restore_mac_addr()
6200 struct fe_priv *np = netdev_priv(dev); in nv_remove()
6225 struct fe_priv *np = netdev_priv(dev); in nv_suspend()
6246 struct fe_priv *np = netdev_priv(dev); in nv_resume()
6279 struct fe_priv *np = netdev_priv(dev); in nv_shutdown()