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()
642 struct bdx_priv *priv = netdev_priv(ndev); in bdx_ioctl_priv()
710 struct bdx_priv *priv = netdev_priv(ndev); in __bdx_vlan_rx_vid()
777 struct bdx_priv *priv = netdev_priv(ndev); in bdx_setmulti()
835 struct bdx_priv *priv = netdev_priv(ndev); in bdx_set_mac()
848 static int bdx_read_mac(struct bdx_priv *priv) in bdx_read_mac()
866 static u64 bdx_read_l2stat(struct bdx_priv *priv, int reg) in bdx_read_l2stat()
876 static void bdx_update_stats(struct bdx_priv *priv) in bdx_update_stats()
994 static int bdx_rx_init(struct bdx_priv *priv) in bdx_rx_init()
1024 static void bdx_rx_free_skbs(struct bdx_priv *priv, struct rxf_fifo *f) in bdx_rx_free_skbs()
1054 static void bdx_rx_free(struct bdx_priv *priv) in bdx_rx_free()
1085 static void bdx_rx_alloc_skbs(struct bdx_priv *priv, struct rxf_fifo *f) in bdx_rx_alloc_skbs()
1132 NETIF_RX_MUX(struct bdx_priv *priv, u32 rxd_val1, u16 rxd_vlan, in NETIF_RX_MUX()
1147 static void bdx_recycle_skb(struct bdx_priv *priv, struct rxd_desc *rxdd) in bdx_recycle_skb()
1195 static int bdx_rx_receive(struct bdx_priv *priv, struct rxd_fifo *f, int budget) in bdx_rx_receive()
1474 bdx_tx_map_skb(struct bdx_priv *priv, struct sk_buff *skb, in bdx_tx_map_skb()
1535 static int bdx_tx_init(struct bdx_priv *priv) in bdx_tx_init()
1568 static inline int bdx_tx_space(struct bdx_priv *priv) in bdx_tx_space()
1593 struct bdx_priv *priv = netdev_priv(ndev); in bdx_tx_transmit()
1702 static void bdx_tx_cleanup(struct bdx_priv *priv) in bdx_tx_cleanup()
1765 static void bdx_tx_free_skbs(struct bdx_priv *priv) in bdx_tx_free_skbs()
1782 static void bdx_tx_free(struct bdx_priv *priv) in bdx_tx_free()
1802 static void bdx_tx_push_desc(struct bdx_priv *priv, void *data, int size) in bdx_tx_push_desc()
1830 static void bdx_tx_push_desc_safe(struct bdx_priv *priv, void *data, int size) in bdx_tx_push_desc_safe()
1892 struct bdx_priv *priv; in bdx_probe()
1977 ndev = alloc_etherdev(sizeof(struct bdx_priv)); in bdx_probe()
2147 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_drvinfo()
2166 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_coalesce()
2195 struct bdx_priv *priv = netdev_priv(netdev); in bdx_set_coalesce()
2253 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_ringparam()
2270 struct bdx_priv *priv = netdev_priv(netdev); in bdx_set_ringparam()
2328 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_sset_count()
2349 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_ethtool_stats()