Lines Matching defs:priv
57 static inline u32 rdma_readl(struct bcm_sysport_priv *priv, u32 off) in rdma_readl()
64 static inline void rdma_writel(struct bcm_sysport_priv *priv, u32 val, u32 off) in rdma_writel()
71 static inline u32 tdma_control_bit(struct bcm_sysport_priv *priv, u32 bit) in tdma_control_bit()
107 static inline void dma_desc_set_addr(struct bcm_sysport_priv *priv, in dma_desc_set_addr()
122 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_rx_csum() local
159 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_tx_csum() local
190 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_features() local
319 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_msglvl() local
326 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_msglvl() local
348 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_sset_count() local
371 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_strings() local
406 static void bcm_sysport_update_mib_counters(struct bcm_sysport_priv *priv) in bcm_sysport_update_mib_counters()
460 static void bcm_sysport_update_tx_stats(struct bcm_sysport_priv *priv, in bcm_sysport_update_tx_stats()
484 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_stats() local
546 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_wol() local
560 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_wol() local
592 static void bcm_sysport_set_rx_coalesce(struct bcm_sysport_priv *priv, in bcm_sysport_set_rx_coalesce()
608 struct bcm_sysport_priv *priv = ring->priv; in bcm_sysport_set_tx_coalesce() local
625 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_coalesce() local
647 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_coalesce() local
695 static struct sk_buff *bcm_sysport_rx_refill(struct bcm_sysport_priv *priv, in bcm_sysport_rx_refill()
738 static int bcm_sysport_alloc_rx_bufs(struct bcm_sysport_priv *priv) in bcm_sysport_alloc_rx_bufs()
756 static unsigned int bcm_sysport_desc_rx(struct bcm_sysport_priv *priv, in bcm_sysport_desc_rx()
890 struct bcm_sysport_priv *priv = ring->priv; in bcm_sysport_tx_reclaim_one() local
910 static unsigned int __bcm_sysport_tx_reclaim(struct bcm_sysport_priv *priv, in __bcm_sysport_tx_reclaim()
965 static unsigned int bcm_sysport_tx_reclaim(struct bcm_sysport_priv *priv, in bcm_sysport_tx_reclaim()
985 static void bcm_sysport_tx_clean(struct bcm_sysport_priv *priv, in bcm_sysport_tx_clean()
1018 static void bcm_sysport_tx_reclaim_all(struct bcm_sysport_priv *priv) in bcm_sysport_tx_reclaim_all()
1028 struct bcm_sysport_priv *priv = in bcm_sysport_poll() local
1062 static void mpd_enable_set(struct bcm_sysport_priv *priv, bool enable) in mpd_enable_set()
1086 static void bcm_sysport_resume_from_wol(struct bcm_sysport_priv *priv) in bcm_sysport_resume_from_wol()
1128 struct bcm_sysport_priv *priv = in bcm_sysport_dim_work() local
1141 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_rx_isr() local
1192 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_tx_isr() local
1222 struct bcm_sysport_priv *priv = dev_id; in bcm_sysport_wol_isr() local
1232 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_poll_controller() local
1249 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_insert_tsb() local
1320 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_xmit() local
1419 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_adj_link() local
1482 static void bcm_sysport_init_dim(struct bcm_sysport_priv *priv, in bcm_sysport_init_dim()
1494 static void bcm_sysport_init_rx_coalesce(struct bcm_sysport_priv *priv) in bcm_sysport_init_rx_coalesce()
1513 static int bcm_sysport_init_tx_ring(struct bcm_sysport_priv *priv, in bcm_sysport_init_tx_ring()
1604 static void bcm_sysport_fini_tx_ring(struct bcm_sysport_priv *priv, in bcm_sysport_fini_tx_ring()
1636 static inline int rdma_enable_set(struct bcm_sysport_priv *priv, in rdma_enable_set()
1663 static inline int tdma_enable_set(struct bcm_sysport_priv *priv, in tdma_enable_set()
1690 static int bcm_sysport_init_rx_ring(struct bcm_sysport_priv *priv) in bcm_sysport_init_rx_ring()
1744 static void bcm_sysport_fini_rx_ring(struct bcm_sysport_priv *priv) in bcm_sysport_fini_rx_ring()
1772 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_rx_mode() local
1790 static inline void umac_enable_set(struct bcm_sysport_priv *priv, in umac_enable_set()
1818 static inline void umac_reset(struct bcm_sysport_priv *priv) in umac_reset()
1834 static void umac_set_hw_addr(struct bcm_sysport_priv *priv, in umac_set_hw_addr()
1850 static void topctrl_flush(struct bcm_sysport_priv *priv) in topctrl_flush()
1861 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_change_mac() local
1883 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_stats64() local
1901 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_netif_start() local
1920 static void rbuf_init(struct bcm_sysport_priv *priv) in rbuf_init()
1938 static inline void bcm_sysport_mask_all_intrs(struct bcm_sysport_priv *priv) in bcm_sysport_mask_all_intrs()
1948 static inline void gib_set_pad_extension(struct bcm_sysport_priv *priv) in gib_set_pad_extension()
1965 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_open() local
2092 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_netif_stop() local
2106 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_stop() local
2150 static int bcm_sysport_rule_find(struct bcm_sysport_priv *priv, in bcm_sysport_rule_find()
2167 static int bcm_sysport_rule_get(struct bcm_sysport_priv *priv, in bcm_sysport_rule_get()
2182 static int bcm_sysport_rule_set(struct bcm_sysport_priv *priv, in bcm_sysport_rule_set()
2218 static int bcm_sysport_rule_del(struct bcm_sysport_priv *priv, in bcm_sysport_rule_del()
2240 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_rxnfc() local
2257 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_rxnfc() local
2298 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_select_queue() local
2336 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_map_queues() local
2391 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_unmap_queues() local
2422 struct bcm_sysport_priv *priv; in bcm_sysport_netdevice_event() local
2475 struct bcm_sysport_priv *priv; in bcm_sysport_probe() local
2655 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_remove() local
2669 static int bcm_sysport_suspend_to_wol(struct bcm_sysport_priv *priv) in bcm_sysport_suspend_to_wol()
2738 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_suspend() local
2804 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_resume() local