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()
778 struct nfe_softc *sc; in nfe_suspend()
794 struct nfe_softc *sc; in nfe_resume()
811 nfe_can_use_msix(struct nfe_softc *sc) in nfe_can_use_msix()
853 nfe_power(struct nfe_softc *sc) in nfe_power()
877 struct nfe_softc *sc; in nfe_miibus_statchg()
916 nfe_mac_config(struct nfe_softc *sc, struct mii_data *mii) in nfe_mac_config()
1010 struct nfe_softc *sc = device_get_softc(dev); in nfe_miibus_readreg()
1050 struct nfe_softc *sc = device_get_softc(dev); in nfe_miibus_writereg()
1082 nfe_alloc_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) in nfe_alloc_rx_ring()
1179 nfe_alloc_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) in nfe_alloc_jrx_ring()
1298 nfe_init_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) in nfe_init_rx_ring()
1325 nfe_init_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) in nfe_init_jrx_ring()
1352 nfe_free_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) in nfe_free_rx_ring()
1398 nfe_free_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) in nfe_free_jrx_ring()
1449 nfe_alloc_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) in nfe_alloc_tx_ring()
1533 nfe_init_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) in nfe_init_tx_ring()
1555 nfe_free_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) in nfe_free_tx_ring()
1607 struct nfe_softc *sc = if_getsoftc(ifp); in nfe_poll()
1645 nfe_set_intr(struct nfe_softc *sc) in nfe_set_intr()
1654 nfe_enable_intr(struct nfe_softc *sc) in nfe_enable_intr()
1666 nfe_disable_intr(struct nfe_softc *sc) in nfe_disable_intr()
1680 struct nfe_softc *sc; in nfe_ioctl()
1831 struct nfe_softc *sc; in nfe_intr()
1834 sc = (struct nfe_softc *)arg; in nfe_intr()
1848 struct nfe_softc *sc = arg; in nfe_int_task()
1907 nfe_discard_rxbuf(struct nfe_softc *sc, int idx) in nfe_discard_rxbuf()
1932 nfe_discard_jrxbuf(struct nfe_softc *sc, int idx) in nfe_discard_jrxbuf()
1957 nfe_newbuf(struct nfe_softc *sc, int idx) in nfe_newbuf()
2012 nfe_jnewbuf(struct nfe_softc *sc, int idx) in nfe_jnewbuf()
2066 nfe_rxeof(struct nfe_softc *sc, int count, int *rx_npktsp) in nfe_rxeof()
2180 nfe_jrxeof(struct nfe_softc *sc, int count, int *rx_npktsp) in nfe_jrxeof()
2295 nfe_txeof(struct nfe_softc *sc) in nfe_txeof()
2367 nfe_encap(struct nfe_softc *sc, struct mbuf **m_head) in nfe_encap()
2536 nfe_setmulti(struct nfe_softc *sc) in nfe_setmulti()
2585 struct nfe_softc *sc = if_getsoftc(ifp); in nfe_start()
2595 struct nfe_softc *sc = if_getsoftc(ifp); in nfe_start_locked()
2639 struct nfe_softc *sc = if_getsoftc(ifp); in nfe_watchdog()
2675 struct nfe_softc *sc = xsc; in nfe_init()
2685 struct nfe_softc *sc = xsc; in nfe_init_locked()
2835 struct nfe_softc *sc = if_getsoftc(ifp); in nfe_stop()
2909 struct nfe_softc *sc = if_getsoftc(ifp); in nfe_ifmedia_upd()
2923 struct nfe_softc *sc; in nfe_ifmedia_sts()
2940 struct nfe_softc *sc; in nfe_tick()
2944 sc = (struct nfe_softc *)xsc; in nfe_tick()
2965 nfe_get_macaddr(struct nfe_softc *sc, uint8_t *addr) in nfe_get_macaddr()
2993 nfe_set_macaddr(struct nfe_softc *sc, uint8_t *addr) in nfe_set_macaddr()
3051 nfe_sysctl_node(struct nfe_softc *sc) in nfe_sysctl_node()
3170 nfe_stats_clear(struct nfe_softc *sc) in nfe_stats_clear()
3192 nfe_stats_update(struct nfe_softc *sc) in nfe_stats_update()
3241 nfe_set_linkspeed(struct nfe_softc *sc) in nfe_set_linkspeed()
3310 nfe_set_wol(struct nfe_softc *sc) in nfe_set_wol()