msk_if_softc
struct msk_if_softc *sc_if = device_get_softc(dev);
struct msk_if_softc *sc_if = device_get_softc(dev);
msk_txrx_dma_alloc(struct msk_if_softc *sc_if)
msk_txrx_dma_free(struct msk_if_softc *sc_if)
msk_jalloc(struct msk_if_softc *sc_if)
struct msk_if_softc *sc_if;
sc_if = (struct msk_if_softc *)args;
msk_encap(struct msk_if_softc *sc_if, struct mbuf **m_head)
struct msk_if_softc *sc_if;
static void msk_intr_phy(struct msk_if_softc *);
struct msk_if_softc *sc_if = ifp->if_softc;
static void msk_intr_gmac(struct msk_if_softc *);
msk_rxput(struct msk_if_softc *);
static void msk_handle_hwerr(struct msk_if_softc *, uint32_t);
static void msk_rxeof(struct msk_if_softc *, uint32_t, int);
static void msk_txeof(struct msk_if_softc *, int);
static void msk_set_rambuffer(struct msk_if_softc *);
static void msk_stop(struct msk_if_softc *);
static int msk_txrx_dma_alloc(struct msk_if_softc *);
msk_rxeof(struct msk_if_softc *sc_if, uint32_t status, int len)
static void msk_txrx_dma_free(struct msk_if_softc *);
static int msk_init_rx_ring(struct msk_if_softc *);
static void msk_init_tx_ring(struct msk_if_softc *);
msk_discard_rxbuf(struct msk_if_softc *, int);
static int msk_newbuf(struct msk_if_softc *, int, int);
static int msk_encap(struct msk_if_softc *, struct mbuf **);
msk_jumbo_rxeof(struct msk_if_softc *sc_if, uint32_t status, int len)
static int msk_init_jumbo_rx_ring(struct msk_if_softc *);
static __inline void msk_discard_jumbo_rxbuf(struct msk_if_softc *, int);
static int msk_jumbo_newbuf(struct msk_if_softc *, int);
msk_txeof(struct msk_if_softc *sc_if, int idx)
static void msk_jumbo_rxeof(struct msk_if_softc *, uint32_t, int);
static void *msk_jalloc(struct msk_if_softc *);
struct msk_if_softc *sc_if = xsc_if;
static int msk_phy_readreg(struct msk_if_softc *, int, int);
msk_intr_phy(struct msk_if_softc *sc_if)
static int msk_phy_writereg(struct msk_if_softc *, int, int, int);
msk_intr_gmac(struct msk_if_softc *sc_if)
static void msk_rxfilter(struct msk_if_softc *);
static void msk_setvlan(struct msk_if_softc *, struct ifnet *);
static void msk_set_tx_stfwd(struct msk_if_softc *);
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;
msk_set_tx_stfwd(struct msk_if_softc *sc_if)
struct msk_if_softc *sc_if = xsc;
static DEFINE_CLASS_0(msk, msk_driver, msk_methods, sizeof(struct msk_if_softc));
msk_set_rambuffer(struct msk_if_softc *sc_if)
struct msk_if_softc *sc_if;
msk_stop(struct msk_if_softc *sc_if)
msk_phy_readreg(struct msk_if_softc *sc_if, int phy, int reg)
struct msk_if_softc *sc_if = device_get_softc(dev);
struct msk_if_softc *sc_if;
msk_phy_writereg(struct msk_if_softc *sc_if, int phy, int reg, int val)
struct msk_if_softc *sc_if;
msk_rxfilter(struct msk_if_softc *sc_if)
msk_setvlan(struct msk_if_softc *sc_if, struct ifnet *ifp)
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, int init)
msk_jumbo_newbuf(struct msk_if_softc *sc_if, int idx)
struct msk_if_softc *sc_if = ifp->if_softc;
struct msk_if_softc *sc_if = ifp->if_softc;
struct msk_if_softc *sc_if;
struct msk_if_softc;
struct msk_if_softc *msk_if[2];