Lines Matching refs:tsc
128 struct tlphy_softc *tsc = device_private(self); in tlphyattach() local
129 struct mii_softc *sc = &tsc->sc_mii; in tlphyattach()
157 tsc->sc_tlphycap = tlsc->tl_product->tp_tlphymedia; in tlphyattach()
158 if ((tsc->sc_tlphycap & TLPHY_MEDIA_NO_10_T) == 0) { in tlphyattach()
173 if (tsc->sc_tlphycap) { in tlphyattach()
178 if (tsc->sc_tlphycap & TLPHY_MEDIA_10_2) { in tlphyattach()
182 } else if (tsc->sc_tlphycap & TLPHY_MEDIA_10_5) { in tlphyattach()
209 struct tlphy_softc *tsc = (struct tlphy_softc *)sc; in tlphy_service() local
215 if ((sc->mii_flags & MIIF_DOINGAUTO) == 0 && tsc->sc_need_acomp) in tlphy_service()
216 tlphy_acomp(tsc); in tlphy_service()
242 (void) tlphy_auto(tsc); in tlphy_service()
296 tlphy_auto(tsc); in tlphy_service()
315 struct tlphy_softc *tsc = (struct tlphy_softc *)sc; in tlphy_status() local
333 if (tsc->sc_tlphycap & TLPHY_MEDIA_10_2) in tlphy_status()
335 else if (tsc->sc_tlphycap & TLPHY_MEDIA_10_5) in tlphy_status()
365 tlphy_auto(struct tlphy_softc *tsc) in tlphy_auto() argument
367 struct mii_softc *sc = &tsc->sc_mii; in tlphy_auto()
373 tsc->sc_need_acomp = 1; in tlphy_auto()
377 tlphy_acomp(tsc); in tlphy_auto()
384 tlphy_acomp(struct tlphy_softc *tsc) in tlphy_acomp() argument
386 struct mii_softc *sc = &tsc->sc_mii; in tlphy_acomp()
389 tsc->sc_need_acomp = 0; in tlphy_acomp()