Lines Matching refs:mtkswitch_softc
90 struct mtkswitch_softc *sc;
110 mtkswitch_attach_phys(struct mtkswitch_softc *sc)
149 mtkswitch_set_vlan_mode(struct mtkswitch_softc *sc, uint32_t mode)
167 struct mtkswitch_softc *sc;
254 struct mtkswitch_softc *sc = device_get_softc(dev);
289 mtkswitch_miiforport(struct mtkswitch_softc *sc, int port)
300 mtkswitch_ifpforport(struct mtkswitch_softc *sc, int port)
351 mtkswitch_miipollstat(struct mtkswitch_softc *sc)
392 struct mtkswitch_softc *sc = arg;
401 struct mtkswitch_softc *sc = device_get_softc(dev);
410 struct mtkswitch_softc *sc = device_get_softc(dev);
419 struct mtkswitch_softc *sc = device_get_softc(dev);
425 mtkswitch_is_cpuport(struct mtkswitch_softc *sc, int port)
434 struct mtkswitch_softc *sc;
477 struct mtkswitch_softc *sc;
517 struct mtkswitch_softc *sc = ifp->if_softc;
529 struct mtkswitch_softc *sc = ifp->if_softc;
544 struct mtkswitch_softc *sc;
558 struct mtkswitch_softc *sc;
576 struct mtkswitch_softc *sc = device_get_softc(dev);
584 struct mtkswitch_softc *sc = device_get_softc(dev);
592 struct mtkswitch_softc *sc = device_get_softc(dev);
600 struct mtkswitch_softc *sc = device_get_softc(dev);
608 struct mtkswitch_softc *sc = device_get_softc(dev);
616 struct mtkswitch_softc *sc = device_get_softc(dev);
658 sizeof(struct mtkswitch_softc));