Lines Matching refs:msk_softc
258 static int mskc_setup_rambuffer(struct msk_softc *);
262 static void mskc_reset(struct msk_softc *);
273 static int msk_handle_events(struct msk_softc *);
275 static void msk_intr_hwerr(struct msk_softc *);
287 static void msk_set_prefetch(struct msk_softc *, int, bus_addr_t, uint32_t);
296 static void msk_phy_power(struct msk_softc *, int);
298 static int msk_status_dma_alloc(struct msk_softc *);
299 static void msk_status_dma_free(struct msk_softc *);
347 sizeof(struct msk_softc)
408 struct msk_softc *sc; in msk_phy_readreg()
411 sc = sc_if->msk_softc; in msk_phy_readreg()
446 struct msk_softc *sc; in msk_phy_writereg()
449 sc = sc_if->msk_softc; in msk_phy_writereg()
469 struct msk_softc *sc; in msk_miibus_statchg()
476 sc = sc_if->msk_softc; in msk_miibus_statchg()
588 struct msk_softc *sc; in msk_rxfilter()
593 sc = sc_if->msk_softc; in msk_rxfilter()
628 struct msk_softc *sc; in msk_setvlan()
630 sc = sc_if->msk_softc; in msk_setvlan()
655 idx = CSR_READ_2(sc_if->msk_softc, in msk_rx_fill()
685 CSR_WRITE_2(sc_if->msk_softc, in msk_rx_fill()
750 CSR_WRITE_2(sc_if->msk_softc, in msk_init_rx_ring()
818 CSR_WRITE_2(sc_if->msk_softc, in msk_init_jumbo_rx_ring()
1199 mskc_setup_rambuffer(struct msk_softc *sc) in mskc_setup_rambuffer()
1243 msk_phy_power(struct msk_softc *sc, int mode) in msk_phy_power()
1345 mskc_reset(struct msk_softc *sc) in mskc_reset()
1567 struct msk_softc *sc; in msk_probe()
1587 struct msk_softc *sc; in msk_attach()
1605 sc_if->msk_softc = sc; in msk_attach()
1619 callout_init_mtx(&sc_if->msk_tick_ch, &sc_if->msk_softc->msk_mtx, 0); in msk_attach()
1732 struct msk_softc *sc; in mskc_attach()
2004 struct msk_softc *sc; in msk_detach()
2009 KASSERT(mtx_initialized(&sc_if->msk_softc->msk_mtx), in msk_detach()
2041 sc = sc_if->msk_softc; in msk_detach()
2053 struct msk_softc *sc; in mskc_detach()
2123 msk_status_dma_alloc(struct msk_softc *sc) in msk_status_dma_alloc()
2182 msk_status_dma_free(struct msk_softc *sc) in msk_status_dma_free()
2942 CSR_WRITE_2(sc_if->msk_softc, in msk_start_locked()
2982 struct msk_softc *sc; in mskc_shutdown()
3003 struct msk_softc *sc; in mskc_suspend()
3037 struct msk_softc *sc; in mskc_resume()
3378 msk_handle_events(sc_if->msk_softc); in msk_tick()
3400 struct msk_softc *sc; in msk_intr_gmac()
3403 sc = sc_if->msk_softc; in msk_intr_gmac()
3431 struct msk_softc *sc; in msk_handle_hwerr()
3433 sc = sc_if->msk_softc; in msk_handle_hwerr()
3467 msk_intr_hwerr(struct msk_softc *sc) in msk_intr_hwerr()
3554 struct msk_softc *sc; in msk_rxput()
3556 sc = sc_if->msk_softc; in msk_rxput()
3572 msk_handle_events(struct msk_softc *sc) in msk_handle_events()
3674 struct msk_softc *sc; in msk_intr()
3744 struct msk_softc *sc; in msk_set_tx_stfwd()
3748 sc = sc_if->msk_softc; in msk_set_tx_stfwd()
3783 struct msk_softc *sc; in msk_init_locked()
3794 sc = sc_if->msk_softc; in msk_init_locked()
4058 struct msk_softc *sc; in msk_set_rambuffer()
4061 sc = sc_if->msk_softc; in msk_set_rambuffer()
4106 msk_set_prefetch(struct msk_softc *sc, int qaddr, bus_addr_t addr, in msk_set_prefetch()
4133 struct msk_softc *sc; in msk_stop()
4142 sc = sc_if->msk_softc; in msk_stop()
4299 struct msk_softc *sc; in msk_stats_clear()
4305 sc = sc_if->msk_softc; in msk_stats_clear()
4320 struct msk_softc *sc; in msk_stats_update()
4330 sc = sc_if->msk_softc; in msk_stats_update()
4421 struct msk_softc *sc; in msk_sysctl_stat32()
4427 sc = sc_if->msk_softc; in msk_sysctl_stat32()
4442 struct msk_softc *sc; in msk_sysctl_stat64()
4448 sc = sc_if->msk_softc; in msk_sysctl_stat64()