msk_if_softc
struct msk_if_softc *sc_if;
struct msk_if_softc *sc_if;
struct msk_if_softc *sc_if;
struct msk_if_softc *sc_if;
struct msk_if_softc *sc_if;
msk_txrx_dma_alloc(struct msk_if_softc *sc_if)
msk_rx_dma_jalloc(struct msk_if_softc *sc_if)
msk_txrx_dma_free(struct msk_if_softc *sc_if)
msk_rx_dma_jfree(struct msk_if_softc *sc_if)
msk_encap(struct msk_if_softc *sc_if, struct mbuf **m_head)
static void msk_intr_phy(struct msk_if_softc *);
static void msk_intr_gmac(struct msk_if_softc *);
static __inline void msk_rxput(struct msk_if_softc *);
static void msk_handle_hwerr(struct msk_if_softc *, uint32_t);
static __inline void msk_rxcsum(struct msk_if_softc *, uint32_t, struct mbuf *);
static void msk_rxeof(struct msk_if_softc *, uint32_t, uint32_t, int);
static void msk_jumbo_rxeof(struct msk_if_softc *, uint32_t, uint32_t, int);
static void msk_txeof(struct msk_if_softc *, int);
static int msk_encap(struct msk_if_softc *, struct mbuf **);
static void msk_set_rambuffer(struct msk_if_softc *);
static void msk_set_tx_stfwd(struct msk_if_softc *);
struct msk_if_softc *sc_if;
struct msk_if_softc *sc_if;
static void msk_init_locked(struct msk_if_softc *);
static void msk_stop(struct msk_if_softc *);
static void msk_watchdog(struct msk_if_softc *);
msk_watchdog(struct msk_if_softc *sc_if)
static int msk_txrx_dma_alloc(struct msk_if_softc *);
static int msk_rx_dma_jalloc(struct msk_if_softc *);
static void msk_txrx_dma_free(struct msk_if_softc *);
static void msk_rx_dma_jfree(struct msk_if_softc *);
static int msk_rx_fill(struct msk_if_softc *, int);
static int msk_init_rx_ring(struct msk_if_softc *);
static int msk_init_jumbo_rx_ring(struct msk_if_softc *);
static void msk_init_tx_ring(struct msk_if_softc *);
msk_rxcsum(struct msk_if_softc *sc_if, uint32_t control, struct mbuf *m)
static __inline void msk_discard_rxbuf(struct msk_if_softc *, int);
static __inline void msk_discard_jumbo_rxbuf(struct msk_if_softc *, int);
static int msk_newbuf(struct msk_if_softc *, int);
static int msk_jumbo_newbuf(struct msk_if_softc *, int);
static int msk_phy_readreg(struct msk_if_softc *, int, int);
static int msk_phy_writereg(struct msk_if_softc *, int, int, int);
msk_rxeof(struct msk_if_softc *sc_if, uint32_t status, uint32_t control,
static void msk_rxfilter(struct msk_if_softc *);
static void msk_setvlan(struct msk_if_softc *, if_t);
static void msk_stats_clear(struct msk_if_softc *);
static void msk_stats_update(struct msk_if_softc *);
msk_jumbo_rxeof(struct msk_if_softc *sc_if, uint32_t status, uint32_t control,
static void msk_sysctl_node(struct msk_if_softc *);
msk_txeof(struct msk_if_softc *sc_if, int idx)
struct msk_if_softc *sc_if;
msk_intr_phy(struct msk_if_softc *sc_if)
msk_intr_gmac(struct msk_if_softc *sc_if)
msk_handle_hwerr(struct msk_if_softc *sc_if, uint32_t status)
msk_rxput(struct msk_if_softc *sc_if)
struct msk_if_softc *sc_if;
struct msk_if_softc *sc_if0, *sc_if1;
sizeof(struct msk_if_softc)
msk_set_tx_stfwd(struct msk_if_softc *sc_if)
struct msk_if_softc *sc_if = xsc;
msk_init_locked(struct msk_if_softc *sc_if)
struct msk_if_softc *sc_if;
msk_phy_readreg(struct msk_if_softc *sc_if, int phy, int reg)
msk_set_rambuffer(struct msk_if_softc *sc_if)
msk_stop(struct msk_if_softc *sc_if)
msk_stats_clear(struct msk_if_softc *sc_if)
msk_stats_update(struct msk_if_softc *sc_if)
struct msk_if_softc *sc_if;
struct msk_if_softc *sc_if;
sc_if = (struct msk_if_softc *)arg1;
msk_phy_writereg(struct msk_if_softc *sc_if, int phy, int reg, int val)
struct msk_if_softc *sc_if;
sc_if = (struct msk_if_softc *)arg1;
msk_sysctl_node(struct msk_if_softc *sc_if)
struct msk_if_softc *sc_if;
msk_rxfilter(struct msk_if_softc *sc_if)
msk_setvlan(struct msk_if_softc *sc_if, if_t ifp)
msk_rx_fill(struct msk_if_softc *sc_if, int jumbo)
msk_init_rx_ring(struct msk_if_softc *sc_if)
msk_init_jumbo_rx_ring(struct msk_if_softc *sc_if)
msk_init_tx_ring(struct msk_if_softc *sc_if)
msk_discard_rxbuf(struct msk_if_softc *sc_if, int idx)
msk_discard_jumbo_rxbuf(struct msk_if_softc *sc_if, int idx)
msk_newbuf(struct msk_if_softc *sc_if, int idx)
msk_jumbo_newbuf(struct msk_if_softc *sc_if, int idx)
struct msk_if_softc;
struct msk_if_softc *msk_if[2];