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 *);
348 sizeof(struct msk_softc)
409 struct msk_softc *sc; in msk_phy_readreg()
412 sc = sc_if->msk_softc; in msk_phy_readreg()
447 struct msk_softc *sc; in msk_phy_writereg()
450 sc = sc_if->msk_softc; in msk_phy_writereg()
470 struct msk_softc *sc; in msk_miibus_statchg()
477 sc = sc_if->msk_softc; in msk_miibus_statchg()
589 struct msk_softc *sc; in msk_rxfilter()
594 sc = sc_if->msk_softc; in msk_rxfilter()
629 struct msk_softc *sc; in msk_setvlan()
631 sc = sc_if->msk_softc; in msk_setvlan()
656 idx = CSR_READ_2(sc_if->msk_softc, in msk_rx_fill()
686 CSR_WRITE_2(sc_if->msk_softc, in msk_rx_fill()
751 CSR_WRITE_2(sc_if->msk_softc, in msk_init_rx_ring()
819 CSR_WRITE_2(sc_if->msk_softc, in msk_init_jumbo_rx_ring()
1200 mskc_setup_rambuffer(struct msk_softc *sc) in mskc_setup_rambuffer()
1244 msk_phy_power(struct msk_softc *sc, int mode) in msk_phy_power()
1346 mskc_reset(struct msk_softc *sc) in mskc_reset()
1568 struct msk_softc *sc; in msk_probe()
1588 struct msk_softc *sc; in msk_attach()
1606 sc_if->msk_softc = sc; in msk_attach()
1620 callout_init_mtx(&sc_if->msk_tick_ch, &sc_if->msk_softc->msk_mtx, 0); in msk_attach()
1733 struct msk_softc *sc; in mskc_attach()
2001 struct msk_softc *sc; in msk_detach()
2006 KASSERT(mtx_initialized(&sc_if->msk_softc->msk_mtx), in msk_detach()
2027 sc = sc_if->msk_softc; in msk_detach()
2045 struct msk_softc *sc; in mskc_detach()
2103 msk_status_dma_alloc(struct msk_softc *sc) in msk_status_dma_alloc()
2162 msk_status_dma_free(struct msk_softc *sc) in msk_status_dma_free()
2922 CSR_WRITE_2(sc_if->msk_softc, in msk_start_locked()
2962 struct msk_softc *sc; in mskc_shutdown()
2983 struct msk_softc *sc; in mskc_suspend()
3017 struct msk_softc *sc; in mskc_resume()
3358 msk_handle_events(sc_if->msk_softc); in msk_tick()
3380 struct msk_softc *sc; in msk_intr_gmac()
3383 sc = sc_if->msk_softc; in msk_intr_gmac()
3411 struct msk_softc *sc; in msk_handle_hwerr()
3413 sc = sc_if->msk_softc; in msk_handle_hwerr()
3447 msk_intr_hwerr(struct msk_softc *sc) in msk_intr_hwerr()
3534 struct msk_softc *sc; in msk_rxput()
3536 sc = sc_if->msk_softc; in msk_rxput()
3552 msk_handle_events(struct msk_softc *sc) in msk_handle_events()
3654 struct msk_softc *sc; in msk_intr()
3724 struct msk_softc *sc; in msk_set_tx_stfwd()
3728 sc = sc_if->msk_softc; in msk_set_tx_stfwd()
3763 struct msk_softc *sc; in msk_init_locked()
3774 sc = sc_if->msk_softc; in msk_init_locked()
4038 struct msk_softc *sc; in msk_set_rambuffer()
4041 sc = sc_if->msk_softc; in msk_set_rambuffer()
4086 msk_set_prefetch(struct msk_softc *sc, int qaddr, bus_addr_t addr, in msk_set_prefetch()
4113 struct msk_softc *sc; in msk_stop()
4122 sc = sc_if->msk_softc; in msk_stop()
4279 struct msk_softc *sc; in msk_stats_clear()
4285 sc = sc_if->msk_softc; in msk_stats_clear()
4300 struct msk_softc *sc; in msk_stats_update()
4310 sc = sc_if->msk_softc; in msk_stats_update()
4401 struct msk_softc *sc; in msk_sysctl_stat32()
4407 sc = sc_if->msk_softc; in msk_sysctl_stat32()
4422 struct msk_softc *sc; in msk_sysctl_stat64()
4428 sc = sc_if->msk_softc; in msk_sysctl_stat64()