Lines Matching refs:bcm_sysport_priv
32 static inline u32 name##_readl(struct bcm_sysport_priv *priv, u32 off) \
37 static inline void name##_writel(struct bcm_sysport_priv *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()
87 static inline void intrl2_##which##_mask_clear(struct bcm_sysport_priv *priv, \
93 static inline void intrl2_##which##_mask_set(struct bcm_sysport_priv *priv, \
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()
159 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_tx_csum()
190 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_features()
319 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_msglvl()
326 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_msglvl()
348 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_sset_count()
371 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_strings()
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()
546 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_wol()
560 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_wol()
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()
625 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_coalesce()
647 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_coalesce()
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()
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()
1029 container_of(napi, struct bcm_sysport_priv, napi); in bcm_sysport_poll()
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()
1129 container_of(ndim, struct bcm_sysport_priv, dim); in bcm_sysport_dim_work()
1141 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_rx_isr()
1192 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_tx_isr()
1222 struct bcm_sysport_priv *priv = dev_id; in bcm_sysport_wol_isr()
1232 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_poll_controller()
1249 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_insert_tsb()
1320 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_xmit()
1418 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_adj_link()
1481 static void bcm_sysport_init_dim(struct bcm_sysport_priv *priv, in bcm_sysport_init_dim()
1493 static void bcm_sysport_init_rx_coalesce(struct bcm_sysport_priv *priv) in bcm_sysport_init_rx_coalesce()
1512 static int bcm_sysport_init_tx_ring(struct bcm_sysport_priv *priv, in bcm_sysport_init_tx_ring()
1603 static void bcm_sysport_fini_tx_ring(struct bcm_sysport_priv *priv, in bcm_sysport_fini_tx_ring()
1635 static inline int rdma_enable_set(struct bcm_sysport_priv *priv, in rdma_enable_set()
1662 static inline int tdma_enable_set(struct bcm_sysport_priv *priv, in tdma_enable_set()
1689 static int bcm_sysport_init_rx_ring(struct bcm_sysport_priv *priv) in bcm_sysport_init_rx_ring()
1743 static void bcm_sysport_fini_rx_ring(struct bcm_sysport_priv *priv) in bcm_sysport_fini_rx_ring()
1771 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_rx_mode()
1789 static inline void umac_enable_set(struct bcm_sysport_priv *priv, in umac_enable_set()
1817 static inline void umac_reset(struct bcm_sysport_priv *priv) in umac_reset()
1833 static void umac_set_hw_addr(struct bcm_sysport_priv *priv, in umac_set_hw_addr()
1849 static void topctrl_flush(struct bcm_sysport_priv *priv) in topctrl_flush()
1860 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_change_mac()
1882 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_stats64()
1900 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_netif_start()
1919 static void rbuf_init(struct bcm_sysport_priv *priv) in rbuf_init()
1937 static inline void bcm_sysport_mask_all_intrs(struct bcm_sysport_priv *priv) in bcm_sysport_mask_all_intrs()
1947 static inline void gib_set_pad_extension(struct bcm_sysport_priv *priv) in gib_set_pad_extension()
1964 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_open()
2091 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_netif_stop()
2105 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_stop()
2149 static int bcm_sysport_rule_find(struct bcm_sysport_priv *priv, in bcm_sysport_rule_find()
2166 static int bcm_sysport_rule_get(struct bcm_sysport_priv *priv, in bcm_sysport_rule_get()
2181 static int bcm_sysport_rule_set(struct bcm_sysport_priv *priv, in bcm_sysport_rule_set()
2217 static int bcm_sysport_rule_del(struct bcm_sysport_priv *priv, in bcm_sysport_rule_del()
2239 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_get_rxnfc()
2256 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_set_rxnfc()
2297 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_select_queue()
2335 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_map_queues()
2390 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_unmap_queues()
2421 struct bcm_sysport_priv *priv; in bcm_sysport_netdevice_event()
2424 priv = container_of(nb, struct bcm_sysport_priv, netdev_notifier); in bcm_sysport_netdevice_event()
2474 struct bcm_sysport_priv *priv; in bcm_sysport_probe()
2654 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_remove()
2670 static int bcm_sysport_suspend_to_wol(struct bcm_sysport_priv *priv) in bcm_sysport_suspend_to_wol()
2739 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_suspend()
2805 struct bcm_sysport_priv *priv = netdev_priv(dev); in bcm_sysport_resume()