Lines Matching refs:sk_if_softc
200 static void sk_intr_xmac(struct sk_if_softc *);
201 static void sk_intr_bcom(struct sk_if_softc *);
202 static void sk_intr_yukon(struct sk_if_softc *);
205 static void sk_rxeof(struct sk_if_softc *);
206 static void sk_jumbo_rxeof(struct sk_if_softc *);
207 static void sk_txeof(struct sk_if_softc *);
209 static int sk_encap(struct sk_if_softc *, struct mbuf **);
214 static void sk_init_locked(struct sk_if_softc *);
215 static void sk_init_xmac(struct sk_if_softc *);
216 static void sk_init_yukon(struct sk_if_softc *);
217 static void sk_stop(struct sk_if_softc *);
222 static __inline void sk_discard_rxbuf(struct sk_if_softc *, int);
223 static __inline void sk_discard_jumbo_rxbuf(struct sk_if_softc *, int);
224 static int sk_newbuf(struct sk_if_softc *, int);
225 static int sk_jumbo_newbuf(struct sk_if_softc *, int);
227 static int sk_dma_alloc(struct sk_if_softc *);
228 static int sk_dma_jumbo_alloc(struct sk_if_softc *);
229 static void sk_dma_free(struct sk_if_softc *);
230 static void sk_dma_jumbo_free(struct sk_if_softc *);
231 static int sk_init_rx_ring(struct sk_if_softc *);
232 static int sk_init_jumbo_rx_ring(struct sk_if_softc *);
233 static void sk_init_tx_ring(struct sk_if_softc *);
245 static int sk_xmac_miibus_readreg(struct sk_if_softc *, int, int);
246 static int sk_xmac_miibus_writereg(struct sk_if_softc *, int, int,
248 static void sk_xmac_miibus_statchg(struct sk_if_softc *);
250 static int sk_marv_miibus_readreg(struct sk_if_softc *, int, int);
251 static int sk_marv_miibus_writereg(struct sk_if_softc *, int, int,
253 static void sk_marv_miibus_statchg(struct sk_if_softc *);
256 static void sk_setfilt(struct sk_if_softc *, u_int16_t *, int);
257 static void sk_rxfilter(struct sk_if_softc *);
258 static void sk_rxfilter_genesis(struct sk_if_softc *);
259 static void sk_rxfilter_yukon(struct sk_if_softc *);
325 sizeof(struct sk_if_softc)
434 struct sk_if_softc *sc_if; in sk_miibus_readreg()
461 struct sk_if_softc *sc_if; in sk_miibus_writereg()
488 struct sk_if_softc *sc_if; in sk_miibus_statchg()
509 sk_xmac_miibus_readreg(struct sk_if_softc *sc_if, int phy, int reg) in sk_xmac_miibus_readreg()
535 sk_xmac_miibus_writereg(struct sk_if_softc *sc_if, int phy, int reg, int val) in sk_xmac_miibus_writereg()
563 sk_xmac_miibus_statchg(struct sk_if_softc *sc_if) in sk_xmac_miibus_statchg()
583 sk_marv_miibus_readreg(struct sk_if_softc *sc_if, int phy, int reg) in sk_marv_miibus_readreg()
614 sk_marv_miibus_writereg(struct sk_if_softc *sc_if, int phy, int reg, int val) in sk_marv_miibus_writereg()
634 sk_marv_miibus_statchg(struct sk_if_softc *sc_if) in sk_marv_miibus_statchg()
653 sk_setfilt(struct sk_if_softc *sc_if, u_int16_t *addr, int slot) in sk_setfilt()
667 sk_rxfilter(struct sk_if_softc *sc_if) in sk_rxfilter()
681 struct sk_if_softc *sc_if;
712 sk_rxfilter_genesis(struct sk_if_softc *sc_if) in sk_rxfilter_genesis()
760 sk_rxfilter_yukon(struct sk_if_softc *sc_if) in sk_rxfilter_yukon()
790 sk_init_rx_ring(struct sk_if_softc *sc_if) in sk_init_rx_ring()
822 sk_init_jumbo_rx_ring(struct sk_if_softc *sc_if) in sk_init_jumbo_rx_ring()
855 sk_init_tx_ring(struct sk_if_softc *sc_if) in sk_init_tx_ring()
887 sk_discard_rxbuf(struct sk_if_softc *sc_if, int idx) in sk_discard_rxbuf()
900 sk_discard_jumbo_rxbuf(struct sk_if_softc *sc_if, int idx) in sk_discard_jumbo_rxbuf()
913 sk_newbuf(struct sk_if_softc *sc_if, int idx) in sk_newbuf()
956 sk_jumbo_newbuf(struct sk_if_softc *sc_if, int idx) in sk_jumbo_newbuf()
1010 struct sk_if_softc *sc_if = if_getsoftc(ifp); in sk_ifmedia_upd()
1026 struct sk_if_softc *sc_if; in sk_ifmedia_sts()
1042 struct sk_if_softc *sc_if = if_getsoftc(ifp); in sk_ioctl()
1250 struct sk_if_softc *sc_if; in sk_attach()
1755 struct sk_if_softc *sc_if; in sk_detach()
1837 sk_dma_alloc(struct sk_if_softc *sc_if) in sk_dma_alloc()
2024 sk_dma_jumbo_alloc(struct sk_if_softc *sc_if) in sk_dma_jumbo_alloc()
2125 sk_dma_free(struct sk_if_softc *sc_if) in sk_dma_free()
2198 sk_dma_jumbo_free(struct sk_if_softc *sc_if) in sk_dma_jumbo_free()
2283 sk_encap(struct sk_if_softc *sc_if, struct mbuf **m_head) in sk_encap()
2375 struct sk_if_softc *sc_if; in sk_start()
2390 struct sk_if_softc *sc_if; in sk_start_locked()
2438 struct sk_if_softc *sc_if; in sk_watchdog()
2492 struct sk_if_softc *sc_if0, *sc_if1; in skc_suspend()
2520 struct sk_if_softc *sc_if0, *sc_if1; in skc_resume()
2628 sk_rxeof(struct sk_if_softc *sc_if) in sk_rxeof()
2694 sk_jumbo_rxeof(struct sk_if_softc *sc_if) in sk_jumbo_rxeof()
2761 sk_txeof(struct sk_if_softc *sc_if) in sk_txeof()
2812 struct sk_if_softc *sc_if; in sk_tick()
2856 struct sk_if_softc *sc_if; in sk_yukon_tick()
2867 sk_intr_bcom(struct sk_if_softc *sc_if) in sk_intr_bcom()
2920 sk_intr_xmac(struct sk_if_softc *sc_if) in sk_intr_xmac()
2953 sk_intr_yukon(struct sk_if_softc *sc_if) in sk_intr_yukon()
2974 struct sk_if_softc *sc_if0, *sc_if1; in sk_intr()
3061 sk_init_xmac(struct sk_if_softc *sc_if) in sk_init_xmac()
3222 sk_init_yukon(struct sk_if_softc *sc_if) in sk_init_yukon()
3357 struct sk_if_softc *sc_if = xsc; in sk_init()
3367 sk_init_locked(struct sk_if_softc *sc_if) in sk_init_locked()
3566 sk_stop(struct sk_if_softc *sc_if) in sk_stop()