Lines Matching refs:nfe_softc
79 static int nfe_can_use_msix(struct nfe_softc *);
80 static int nfe_detect_msik9(struct nfe_softc *);
81 static void nfe_power(struct nfe_softc *);
85 static void nfe_mac_config(struct nfe_softc *, struct mii_data *);
86 static void nfe_set_intr(struct nfe_softc *);
87 static __inline void nfe_enable_intr(struct nfe_softc *);
88 static __inline void nfe_disable_intr(struct nfe_softc *);
90 static void nfe_alloc_msix(struct nfe_softc *, int);
93 static __inline void nfe_discard_rxbuf(struct nfe_softc *, int);
94 static __inline void nfe_discard_jrxbuf(struct nfe_softc *, int);
95 static int nfe_newbuf(struct nfe_softc *, int);
96 static int nfe_jnewbuf(struct nfe_softc *, int);
97 static int nfe_rxeof(struct nfe_softc *, int, int *);
98 static int nfe_jrxeof(struct nfe_softc *, int, int *);
99 static void nfe_txeof(struct nfe_softc *);
100 static int nfe_encap(struct nfe_softc *, struct mbuf **);
101 static void nfe_setmulti(struct nfe_softc *);
108 static int nfe_alloc_rx_ring(struct nfe_softc *, struct nfe_rx_ring *);
109 static void nfe_alloc_jrx_ring(struct nfe_softc *, struct nfe_jrx_ring *);
110 static int nfe_init_rx_ring(struct nfe_softc *, struct nfe_rx_ring *);
111 static int nfe_init_jrx_ring(struct nfe_softc *, struct nfe_jrx_ring *);
112 static void nfe_free_rx_ring(struct nfe_softc *, struct nfe_rx_ring *);
113 static void nfe_free_jrx_ring(struct nfe_softc *, struct nfe_jrx_ring *);
114 static int nfe_alloc_tx_ring(struct nfe_softc *, struct nfe_tx_ring *);
115 static void nfe_init_tx_ring(struct nfe_softc *, struct nfe_tx_ring *);
116 static void nfe_free_tx_ring(struct nfe_softc *, struct nfe_tx_ring *);
120 static void nfe_get_macaddr(struct nfe_softc *, uint8_t *);
121 static void nfe_set_macaddr(struct nfe_softc *, uint8_t *);
126 static void nfe_sysctl_node(struct nfe_softc *);
127 static void nfe_stats_clear(struct nfe_softc *);
128 static void nfe_stats_update(struct nfe_softc *);
129 static void nfe_set_linkspeed(struct nfe_softc *);
130 static void nfe_set_wol(struct nfe_softc *);
179 sizeof(struct nfe_softc)
290 nfe_alloc_msix(struct nfe_softc *sc, int count) in nfe_alloc_msix()
336 nfe_detect_msik9(struct nfe_softc *sc) in nfe_detect_msik9()
361 struct nfe_softc *sc; in nfe_attach()
681 struct nfe_softc *sc; in nfe_detach()
776 struct nfe_softc *sc; in nfe_suspend()
792 struct nfe_softc *sc; in nfe_resume()
809 nfe_can_use_msix(struct nfe_softc *sc) in nfe_can_use_msix()
851 nfe_power(struct nfe_softc *sc) in nfe_power()
875 struct nfe_softc *sc; in nfe_miibus_statchg()
914 nfe_mac_config(struct nfe_softc *sc, struct mii_data *mii) in nfe_mac_config()
1008 struct nfe_softc *sc = device_get_softc(dev); in nfe_miibus_readreg()
1048 struct nfe_softc *sc = device_get_softc(dev); in nfe_miibus_writereg()
1080 nfe_alloc_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) in nfe_alloc_rx_ring()
1177 nfe_alloc_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) in nfe_alloc_jrx_ring()
1296 nfe_init_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) in nfe_init_rx_ring()
1323 nfe_init_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) in nfe_init_jrx_ring()
1350 nfe_free_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) in nfe_free_rx_ring()
1396 nfe_free_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) in nfe_free_jrx_ring()
1447 nfe_alloc_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) in nfe_alloc_tx_ring()
1531 nfe_init_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) in nfe_init_tx_ring()
1553 nfe_free_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) in nfe_free_tx_ring()
1605 struct nfe_softc *sc = if_getsoftc(ifp); in nfe_poll()
1643 nfe_set_intr(struct nfe_softc *sc) in nfe_set_intr()
1652 nfe_enable_intr(struct nfe_softc *sc) in nfe_enable_intr()
1664 nfe_disable_intr(struct nfe_softc *sc) in nfe_disable_intr()
1678 struct nfe_softc *sc; in nfe_ioctl()
1829 struct nfe_softc *sc; in nfe_intr()
1832 sc = (struct nfe_softc *)arg; in nfe_intr()
1846 struct nfe_softc *sc = arg; in nfe_int_task()
1905 nfe_discard_rxbuf(struct nfe_softc *sc, int idx) in nfe_discard_rxbuf()
1930 nfe_discard_jrxbuf(struct nfe_softc *sc, int idx) in nfe_discard_jrxbuf()
1955 nfe_newbuf(struct nfe_softc *sc, int idx) in nfe_newbuf()
2010 nfe_jnewbuf(struct nfe_softc *sc, int idx) in nfe_jnewbuf()
2064 nfe_rxeof(struct nfe_softc *sc, int count, int *rx_npktsp) in nfe_rxeof()
2178 nfe_jrxeof(struct nfe_softc *sc, int count, int *rx_npktsp) in nfe_jrxeof()
2293 nfe_txeof(struct nfe_softc *sc) in nfe_txeof()
2365 nfe_encap(struct nfe_softc *sc, struct mbuf **m_head) in nfe_encap()
2534 nfe_setmulti(struct nfe_softc *sc) in nfe_setmulti()
2583 struct nfe_softc *sc = if_getsoftc(ifp); in nfe_start()
2593 struct nfe_softc *sc = if_getsoftc(ifp); in nfe_start_locked()
2637 struct nfe_softc *sc = if_getsoftc(ifp); in nfe_watchdog()
2673 struct nfe_softc *sc = xsc; in nfe_init()
2683 struct nfe_softc *sc = xsc; in nfe_init_locked()
2833 struct nfe_softc *sc = if_getsoftc(ifp); in nfe_stop()
2907 struct nfe_softc *sc = if_getsoftc(ifp); in nfe_ifmedia_upd()
2921 struct nfe_softc *sc; in nfe_ifmedia_sts()
2938 struct nfe_softc *sc; in nfe_tick()
2942 sc = (struct nfe_softc *)xsc; in nfe_tick()
2963 nfe_get_macaddr(struct nfe_softc *sc, uint8_t *addr) in nfe_get_macaddr()
2991 nfe_set_macaddr(struct nfe_softc *sc, uint8_t *addr) in nfe_set_macaddr()
3049 nfe_sysctl_node(struct nfe_softc *sc) in nfe_sysctl_node()
3168 nfe_stats_clear(struct nfe_softc *sc) in nfe_stats_clear()
3190 nfe_stats_update(struct nfe_softc *sc) in nfe_stats_update()
3239 nfe_set_linkspeed(struct nfe_softc *sc) in nfe_set_linkspeed()
3308 nfe_set_wol(struct nfe_softc *sc) in nfe_set_wol()