Lines Matching defs:mii
513 struct mii_data *mii = uether_getmii(&sc->sc_ue);
525 if (mii == NULL || ifp == NULL ||
531 if ((mii->mii_media_status & (IFM_ACTIVE | IFM_AVALID)) ==
533 switch (IFM_SUBTYPE(mii->mii_media_active)) {
559 if ((IFM_OPTIONS(mii->mii_media_active) & IFM_FDX) != 0) {
564 if ((IFM_OPTIONS(mii->mii_media_active) & IFM_ETH_RXPAUSE) != 0)
569 if ((IFM_OPTIONS(mii->mii_media_active) & IFM_ETH_TXPAUSE) != 0)
598 * Basically boilerplate code that simply calls the mii functions to set the
611 struct mii_data *mii = uether_getmii(&sc->sc_ue);
617 LIST_FOREACH(miisc, &mii->mii_phys, mii_list)
619 err = mii_mediachg(mii);
628 * Basically boilerplate code that simply calls the mii functions to get the
638 struct mii_data *mii = uether_getmii(&sc->sc_ue);
641 mii_pollstat(mii);
642 ifmr->ifm_active = mii->mii_media_active;
643 ifmr->ifm_status = mii->mii_media_status;
1202 * Simply calls the mii status functions to check the state of the link.
1211 struct mii_data *mii = uether_getmii(&sc->sc_ue);
1215 mii_tick(mii);