Lines Matching refs:device_get_softc
100 sc = device_get_softc(dev); in mtkswitch_probe()
177 sc = device_get_softc(dev); in mtkswitch_attach()
260 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_detach()
302 return (device_get_softc(sc->miibus[phy])); in mtkswitch_miiforport()
369 mii = device_get_softc(sc->miibus[i]); in mtkswitch_miipollstat()
407 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_lock()
416 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_unlock()
425 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_getinfo()
445 sc = device_get_softc(dev); in mtkswitch_getport()
488 sc = device_get_softc(dev); in mtkswitch_setport()
552 sc = device_get_softc(dev); in mtkswitch_getconf()
567 sc = device_get_softc(dev); in mtkswitch_setconf()
582 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_getvgroup()
590 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_setvgroup()
598 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_readphy()
606 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_writephy()
614 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_readreg()
622 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_writereg()