Lines Matching refs:bcmasp_intf
57 static void bcmasp_enable_tx(struct bcmasp_intf *intf, int en) in bcmasp_enable_tx()
71 static void bcmasp_enable_rx(struct bcmasp_intf *intf, int en) in bcmasp_enable_rx()
83 struct bcmasp_intf *intf = netdev_priv(dev); in bcmasp_set_rx_mode()
135 static void bcmasp_clean_txcb(struct bcmasp_intf *intf, int index) in bcmasp_clean_txcb()
145 static int tx_spb_ring_full(struct bcmasp_intf *intf, int cnt) in tx_spb_ring_full()
163 struct bcmasp_intf *intf = netdev_priv(dev); in bcmasp_csum_offload()
234 static unsigned long bcmasp_rx_edpkt_dma_rq(struct bcmasp_intf *intf) in bcmasp_rx_edpkt_dma_rq()
239 static void bcmasp_rx_edpkt_cfg_wq(struct bcmasp_intf *intf, dma_addr_t addr) in bcmasp_rx_edpkt_cfg_wq()
244 static void bcmasp_rx_edpkt_dma_wq(struct bcmasp_intf *intf, dma_addr_t addr) in bcmasp_rx_edpkt_dma_wq()
249 static unsigned long bcmasp_tx_spb_dma_rq(struct bcmasp_intf *intf) in bcmasp_tx_spb_dma_rq()
254 static void bcmasp_tx_spb_dma_wq(struct bcmasp_intf *intf, dma_addr_t addr) in bcmasp_tx_spb_dma_wq()
269 struct bcmasp_intf *intf = netdev_priv(dev); in bcmasp_xmit()
378 struct bcmasp_intf *intf = netdev_priv(dev); in bcmasp_netif_start()
391 static void umac_reset(struct bcmasp_intf *intf) in umac_reset()
401 static void umac_set_hw_addr(struct bcmasp_intf *intf, in umac_set_hw_addr()
412 static void umac_enable_set(struct bcmasp_intf *intf, u32 mask, in umac_enable_set()
433 static void umac_init(struct bcmasp_intf *intf) in umac_init()
440 static int bcmasp_tx_reclaim(struct bcmasp_intf *intf) in bcmasp_tx_reclaim()
489 struct bcmasp_intf *intf = in bcmasp_tx_poll()
490 container_of(napi, struct bcmasp_intf, tx_napi); in bcmasp_tx_poll()
507 struct bcmasp_intf *intf = in bcmasp_rx_poll()
508 container_of(napi, struct bcmasp_intf, rx_napi); in bcmasp_rx_poll()
615 struct bcmasp_intf *intf = netdev_priv(dev); in bcmasp_adj_link()
692 static int bcmasp_alloc_buffers(struct bcmasp_intf *intf) in bcmasp_alloc_buffers()
742 static void bcmasp_reclaim_free_buffers(struct bcmasp_intf *intf) in bcmasp_reclaim_free_buffers()
759 static void bcmasp_init_rx(struct bcmasp_intf *intf) in bcmasp_init_rx()
798 static void bcmasp_init_tx(struct bcmasp_intf *intf) in bcmasp_init_tx()
824 static void bcmasp_ephy_enable_set(struct bcmasp_intf *intf, bool enable) in bcmasp_ephy_enable_set()
862 static void bcmasp_rgmii_mode_en_set(struct bcmasp_intf *intf, bool enable) in bcmasp_rgmii_mode_en_set()
877 struct bcmasp_intf *intf = netdev_priv(dev); in bcmasp_netif_deinit()
919 struct bcmasp_intf *intf = netdev_priv(dev); in bcmasp_stop()
946 static void bcmasp_configure_port(struct bcmasp_intf *intf) in bcmasp_configure_port()
986 struct bcmasp_intf *intf = netdev_priv(dev); in bcmasp_netif_init()
1093 struct bcmasp_intf *intf = netdev_priv(dev); in bcmasp_open()
1122 struct bcmasp_intf *intf = netdev_priv(dev); in bcmasp_tx_timeout()
1131 struct bcmasp_intf *intf = netdev_priv(dev); in bcmasp_get_phys_port_name()
1142 struct bcmasp_intf *intf = netdev_priv(dev); in bcmasp_get_stats64()
1174 static void bcmasp_map_res(struct bcmasp_priv *priv, struct bcmasp_intf *intf) in bcmasp_map_res()
1194 struct bcmasp_intf *bcmasp_interface_create(struct bcmasp_priv *priv, in bcmasp_interface_create()
1198 struct bcmasp_intf *intf; in bcmasp_interface_create()
1212 ndev = alloc_etherdev(sizeof(struct bcmasp_intf)); in bcmasp_interface_create()
1285 void bcmasp_interface_destroy(struct bcmasp_intf *intf) in bcmasp_interface_destroy()
1294 static void bcmasp_suspend_to_wol(struct bcmasp_intf *intf) in bcmasp_suspend_to_wol()
1337 int bcmasp_interface_suspend(struct bcmasp_intf *intf) in bcmasp_interface_suspend()
1369 static void bcmasp_resume_from_wol(struct bcmasp_intf *intf) in bcmasp_resume_from_wol()
1386 int bcmasp_interface_resume(struct bcmasp_intf *intf) in bcmasp_interface_resume()