Lines Matching refs:mii
90 #include <dev/mii/mii.h>
91 #include <dev/mii/miivar.h>
539 struct mii_data *mii = uether_getmii(&sc->sc_ue);
551 if (mii == NULL || ifp == NULL ||
557 if ((mii->mii_media_status & (IFM_ACTIVE | IFM_AVALID)) ==
559 switch (IFM_SUBTYPE(mii->mii_media_active)) {
585 if ((IFM_OPTIONS(mii->mii_media_active) & IFM_FDX) != 0) {
590 if ((IFM_OPTIONS(mii->mii_media_active) & IFM_ETH_RXPAUSE) != 0)
595 if ((IFM_OPTIONS(mii->mii_media_active) & IFM_ETH_TXPAUSE) != 0)
624 * Basically boilerplate code that simply calls the mii functions to set the
637 struct mii_data *mii = uether_getmii(&sc->sc_ue);
643 LIST_FOREACH(miisc, &mii->mii_phys, mii_list)
645 err = mii_mediachg(mii);
654 * Basically boilerplate code that simply calls the mii functions to get the
664 struct mii_data *mii = uether_getmii(&sc->sc_ue);
667 mii_pollstat(mii);
668 ifmr->ifm_active = mii->mii_media_active;
669 ifmr->ifm_status = mii->mii_media_status;
1204 * Simply calls the mii status functions to check the state of the link.
1213 struct mii_data *mii = uether_getmii(&sc->sc_ue);
1217 mii_tick(mii);