Lines Matching refs:bdx_priv
75 static void bdx_rx_alloc_skbs(struct bdx_priv *priv, struct rxf_fifo *f);
76 static void bdx_tx_cleanup(struct bdx_priv *priv);
77 static int bdx_rx_receive(struct bdx_priv *priv, struct rxd_fifo *f, int budget);
80 static void bdx_tx_push_desc_safe(struct bdx_priv *priv, void *data, int size);
83 static int bdx_tx_init(struct bdx_priv *priv);
84 static int bdx_rx_init(struct bdx_priv *priv);
87 static void bdx_rx_free(struct bdx_priv *priv);
88 static void bdx_tx_free(struct bdx_priv *priv);
153 bdx_fifo_init(struct bdx_priv *priv, struct fifo *f, int fsz_type, in bdx_fifo_init()
185 static void bdx_fifo_free(struct bdx_priv *priv, struct fifo *f) in bdx_fifo_free()
200 static void bdx_link_changed(struct bdx_priv *priv) in bdx_link_changed()
219 static void bdx_isr_extra(struct bdx_priv *priv, u32 isr) in bdx_isr_extra()
254 struct bdx_priv *priv = netdev_priv(ndev); in bdx_isr_napi()
291 struct bdx_priv *priv = container_of(napi, struct bdx_priv, napi); in bdx_poll()
321 static int bdx_fw_load(struct bdx_priv *priv) in bdx_fw_load()
364 static void bdx_restore_mac(struct net_device *ndev, struct bdx_priv *priv) in bdx_restore_mac()
390 static int bdx_hw_start(struct bdx_priv *priv) in bdx_hw_start()
440 static void bdx_hw_stop(struct bdx_priv *priv) in bdx_hw_stop()
475 static int bdx_hw_reset(struct bdx_priv *priv) in bdx_hw_reset()
499 static int bdx_sw_reset(struct bdx_priv *priv) in bdx_sw_reset()
554 static int bdx_reset(struct bdx_priv *priv) in bdx_reset()
575 struct bdx_priv *priv = NULL; in bdx_close()
603 struct bdx_priv *priv; in bdx_open()
634 static int bdx_range_check(struct bdx_priv *priv, u32 offset) in bdx_range_check()
643 struct bdx_priv *priv = netdev_priv(ndev); in bdx_siocdevprivate()
702 struct bdx_priv *priv = netdev_priv(ndev); in __bdx_vlan_rx_vid()
769 struct bdx_priv *priv = netdev_priv(ndev); in bdx_setmulti()
827 struct bdx_priv *priv = netdev_priv(ndev); in bdx_set_mac()
840 static int bdx_read_mac(struct bdx_priv *priv) in bdx_read_mac()
860 static u64 bdx_read_l2stat(struct bdx_priv *priv, int reg) in bdx_read_l2stat()
870 static void bdx_update_stats(struct bdx_priv *priv) in bdx_update_stats()
988 static int bdx_rx_init(struct bdx_priv *priv) in bdx_rx_init()
1018 static void bdx_rx_free_skbs(struct bdx_priv *priv, struct rxf_fifo *f) in bdx_rx_free_skbs()
1048 static void bdx_rx_free(struct bdx_priv *priv) in bdx_rx_free()
1079 static void bdx_rx_alloc_skbs(struct bdx_priv *priv, struct rxf_fifo *f) in bdx_rx_alloc_skbs()
1126 NETIF_RX_MUX(struct bdx_priv *priv, u32 rxd_val1, u16 rxd_vlan, in NETIF_RX_MUX()
1141 static void bdx_recycle_skb(struct bdx_priv *priv, struct rxd_desc *rxdd) in bdx_recycle_skb()
1189 static int bdx_rx_receive(struct bdx_priv *priv, struct rxd_fifo *f, int budget) in bdx_rx_receive()
1468 bdx_tx_map_skb(struct bdx_priv *priv, struct sk_buff *skb, in bdx_tx_map_skb()
1529 static int bdx_tx_init(struct bdx_priv *priv) in bdx_tx_init()
1562 static inline int bdx_tx_space(struct bdx_priv *priv) in bdx_tx_space()
1587 struct bdx_priv *priv = netdev_priv(ndev); in bdx_tx_transmit()
1696 static void bdx_tx_cleanup(struct bdx_priv *priv) in bdx_tx_cleanup()
1759 static void bdx_tx_free_skbs(struct bdx_priv *priv) in bdx_tx_free_skbs()
1776 static void bdx_tx_free(struct bdx_priv *priv) in bdx_tx_free()
1796 static void bdx_tx_push_desc(struct bdx_priv *priv, void *data, int size) in bdx_tx_push_desc()
1824 static void bdx_tx_push_desc_safe(struct bdx_priv *priv, void *data, int size) in bdx_tx_push_desc_safe()
1886 struct bdx_priv *priv; in bdx_probe()
1965 ndev = alloc_etherdev(sizeof(struct bdx_priv)); in bdx_probe()
2134 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_drvinfo()
2155 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_coalesce()
2186 struct bdx_priv *priv = netdev_priv(netdev); in bdx_set_coalesce()
2248 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_ringparam()
2269 struct bdx_priv *priv = netdev_priv(netdev); in bdx_set_ringparam()
2327 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_sset_count()
2348 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_ethtool_stats()