/freebsd-13-stable/sys/dev/mii/ |
H A D | ukphy_subr.c | 51 #include <dev/mii/mii.h> 52 #include <dev/mii/miivar.h> 63 struct mii_data *mii = phy->mii_pdata; local 64 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 67 mii->mii_media_status = IFM_AVALID; 68 mii->mii_media_active = IFM_ETHER; 72 mii->mii_media_status |= IFM_ACTIVE; 76 mii->mii_media_active |= IFM_NONE; 77 mii [all...] |
H A D | qsphy.c | 79 #include <dev/mii/mii.h> 80 #include <dev/mii/miivar.h> 83 #include <dev/mii/qsphyreg.h> 140 qsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 169 struct mii_data *mii = sc->mii_pdata; local 172 mii->mii_media_status = IFM_AVALID; 173 mii->mii_media_active = IFM_ETHER; 178 mii->mii_media_status |= IFM_ACTIVE; 182 mii [all...] |
H A D | amphy.c | 54 #include <dev/mii/mii.h> 55 #include <dev/mii/miivar.h> 58 #include <dev/mii/amphyreg.h> 116 amphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 144 struct mii_data *mii = sc->mii_pdata; local 145 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 148 mii->mii_media_status = IFM_AVALID; 149 mii->mii_media_active = IFM_ETHER; 154 mii [all...] |
H A D | rlphy.c | 54 #include <dev/mii/mii.h> 55 #include <dev/mii/miivar.h> 137 rlphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 167 struct mii_data *mii = phy->mii_pdata; local 168 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 171 mii->mii_media_status = IFM_AVALID; 172 mii->mii_media_active = IFM_ETHER; 176 mii->mii_media_status |= IFM_ACTIVE; 180 mii [all...] |
H A D | tdkphy.c | 59 #include <dev/mii/mii.h> 60 #include <dev/mii/miivar.h> 63 #include <dev/mii/tdkphyreg.h> 119 tdkphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 151 struct mii_data *mii = phy->mii_pdata; local 152 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 155 mii->mii_media_status = IFM_AVALID; 156 mii->mii_media_active = IFM_ETHER; 160 mii [all...] |
H A D | axphy.c | 45 #include <dev/mii/mii.h> 46 #include <dev/mii/miivar.h> 109 axphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 137 struct mii_data *mii = sc->mii_pdata; local 138 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 141 mii->mii_media_status = IFM_AVALID; 142 mii->mii_media_active = IFM_ETHER; 146 mii->mii_media_status |= IFM_ACTIVE; 150 mii [all...] |
H A D | nsgphy.c | 71 #include <dev/mii/mii.h> 72 #include <dev/mii/miivar.h> 75 #include <dev/mii/nsgphyreg.h> 156 nsgphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 184 struct mii_data *mii = sc->mii_pdata; local 185 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 188 mii->mii_media_status = IFM_AVALID; 189 mii->mii_media_active = IFM_ETHER; 196 mii [all...] |
H A D | rdcphy.c | 47 #include <dev/mii/mii.h> 48 #include <dev/mii/miivar.h> 51 #include <dev/mii/rdcphyreg.h> 113 rdcphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 119 ife = mii->mii_media.ifm_cur; 141 mii->mii_media_status = 0; 142 mii->mii_media_active = IFM_ETHER | IFM_NONE; 161 * a link within one second such that mii(4) 187 struct mii_data *mii; local [all...] |
H A D | bmtphy.c | 79 #include <dev/mii/mii.h> 80 #include <dev/mii/miivar.h> 83 #include <dev/mii/bmtphyreg.h> 156 bmtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 184 struct mii_data *mii; local 188 mii = sc->mii_pdata; 189 ife = mii->mii_media.ifm_cur; 191 mii->mii_media_status = IFM_AVALID; 192 mii [all...] |
H A D | lxtphy.c | 79 #include <dev/mii/mii.h> 80 #include <dev/mii/miivar.h> 83 #include <dev/mii/lxtphyreg.h> 162 lxtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 164 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 196 struct mii_data *mii = sc->mii_pdata; local 197 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 200 mii->mii_media_status = IFM_AVALID; 201 mii [all...] |
H A D | acphy.c | 75 #include <dev/mii/mii.h> 76 #include <dev/mii/miivar.h> 79 #include <dev/mii/acphyreg.h> 162 acphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 197 struct mii_data *mii = sc->mii_pdata; local 198 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 201 mii->mii_media_status = IFM_AVALID; 202 mii->mii_media_active = IFM_ETHER; 207 mii [all...] |
H A D | icsphy.c | 77 #include <dev/mii/mii.h> 78 #include <dev/mii/miivar.h> 81 #include <dev/mii/icsphyreg.h> 143 icsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 171 struct mii_data *mii = sc->mii_pdata; local 172 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 175 mii->mii_media_status = IFM_AVALID; 176 mii->mii_media_active = IFM_ETHER; 187 mii [all...] |
H A D | nsphyter.c | 82 #include <dev/mii/mii.h> 83 #include <dev/mii/miivar.h> 86 #include <dev/mii/nsphyterreg.h> 146 nsphyter_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 174 struct mii_data *mii = sc->mii_pdata; local 175 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 178 mii->mii_media_status = IFM_AVALID; 179 mii->mii_media_active = IFM_ETHER; 185 mii [all...] |
H A D | ip1000phy.c | 50 #include <dev/mii/mii.h> 51 #include <dev/mii/miivar.h> 54 #include <dev/mii/ip1000phyreg.h> 123 ip1000phy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 125 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 222 struct mii_data *mii = sc->mii_pdata; local 225 mii->mii_media_status = IFM_AVALID; 226 mii->mii_media_active = IFM_ETHER; 231 mii [all...] |
H A D | smscphy.c | 48 #include <dev/mii/mii.h> 49 #include <dev/mii/miivar.h> 114 smscphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 119 ife = mii->mii_media.ifm_cur; 190 struct mii_data *mii; local 193 mii = sc->mii_pdata; 194 mii->mii_media_status = IFM_AVALID; 195 mii->mii_media_active = IFM_ETHER; 199 mii [all...] |
H A D | gentbi.c | 85 #include <dev/mii/mii.h> 86 #include <dev/mii/miivar.h> 188 gentbi_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 216 struct mii_data *mii = sc->mii_pdata; local 217 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 220 mii->mii_media_status = IFM_AVALID; 221 mii->mii_media_active = IFM_ETHER; 226 mii->mii_media_status |= IFM_ACTIVE; 230 mii [all...] |
H A D | nsphy.c | 79 #include <dev/mii/mii.h> 80 #include <dev/mii/miivar.h> 83 #include <dev/mii/nsphyreg.h> 140 nsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 205 struct mii_data *mii = sc->mii_pdata; local 206 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 209 mii->mii_media_status = IFM_AVALID; 210 mii->mii_media_active = IFM_ETHER; 215 mii [all...] |
H A D | xmphy.c | 54 #include <dev/mii/mii.h> 55 #include <dev/mii/miivar.h> 58 #include <dev/mii/xmphyreg.h> 142 xmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 144 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 216 struct mii_data *mii = sc->mii_pdata; local 219 mii->mii_media_status = IFM_AVALID; 220 mii->mii_media_active = IFM_ETHER; 225 mii 264 xmphy_mii_phy_auto(struct mii_softc *mii) argument [all...] |
H A D | rgephy.c | 55 #include <dev/mii/mii.h> 56 #include <dev/mii/miivar.h> 59 #include <dev/mii/rgephyreg.h> 153 rgephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 155 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 193 (mii->mii_media.ifm_media & IFM_FLAG0) != 0) 217 if ((mii->mii_media.ifm_media & IFM_FLAG0) == 0) 272 if (sc->mii_media_active != mii->mii_media_active || 273 sc->mii_media_status != mii 314 struct mii_data *mii = sc->mii_pdata; local [all...] |
H A D | atphy.c | 47 #include <dev/mii/mii.h> 48 #include <dev/mii/miivar.h> 51 #include <dev/mii/atphyreg.h> 112 atphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 114 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 214 struct mii_data *mii = sc->mii_pdata; local 217 mii->mii_media_status = IFM_AVALID; 218 mii->mii_media_active = IFM_ETHER; 222 mii [all...] |
H A D | jmphy.c | 48 #include <dev/mii/mii.h> 49 #include <dev/mii/miivar.h> 52 #include <dev/mii/jmphyreg.h> 116 jmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 118 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 166 struct mii_data *mii = sc->mii_pdata; local 169 mii->mii_media_status = IFM_AVALID; 170 mii->mii_media_active = IFM_ETHER; 174 mii [all...] |
/freebsd-13-stable/sys/dev/dc/ |
H A D | pnphy.c | 60 #include <dev/mii/mii.h> 61 #include <dev/mii/miivar.h> 145 pnphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 147 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 157 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0) 165 mii->mii_media_active = IFM_ETHER | IFM_100_TX; 167 mii->mii_media_active |= IFM_FDX; 171 mii->mii_media_active = IFM_ETHER | IFM_10_T; 173 mii 202 struct mii_data *mii = sc->mii_pdata; local [all...] |
H A D | dcphy.c | 62 #include <dev/mii/mii.h> 63 #include <dev/mii/miivar.h> 189 dcphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 192 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 196 dc_sc = if_getsoftc(mii->mii_ifp); 206 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0) 209 mii->mii_media_active = IFM_NONE; 256 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0) 299 struct mii_data *mii local 379 dcphy_auto(struct mii_softc *mii) argument 400 dcphy_reset(struct mii_softc *mii) argument [all...] |
/freebsd-13-stable/sys/dev/fxp/ |
H A D | inphy.c | 51 #include <dev/mii/mii.h> 52 #include <dev/mii/miivar.h> 116 inphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 127 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0) 150 struct mii_data *mii = sc->mii_pdata; local 151 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 154 mii->mii_media_status = IFM_AVALID; 155 mii->mii_media_active = IFM_ETHER; 159 mii [all...] |
/freebsd-13-stable/sys/dev/usb/net/ |
H A D | ruephy.c | 49 #include <dev/mii/mii.h> 50 #include <dev/mii/miivar.h> 118 ruephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 120 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 184 struct mii_data *mii = phy->mii_pdata; local 185 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 188 mii->mii_media_status = IFM_AVALID; 189 mii->mii_media_active = IFM_ETHER; 193 mii [all...] |