/freebsd-current/sys/dev/mii/ |
H A D | ukphy_subr.c | 49 #include <dev/mii/mii.h> 50 #include <dev/mii/miivar.h> 61 struct mii_data *mii = phy->mii_pdata; local 62 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 65 mii->mii_media_status = IFM_AVALID; 66 mii->mii_media_active = IFM_ETHER; 70 mii->mii_media_status |= IFM_ACTIVE; 74 mii->mii_media_active |= IFM_NONE; 75 mii [all...] |
H A D | qsphy.c | 77 #include <dev/mii/mii.h> 78 #include <dev/mii/miivar.h> 81 #include <dev/mii/qsphyreg.h> 136 qsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 165 struct mii_data *mii = sc->mii_pdata; local 168 mii->mii_media_status = IFM_AVALID; 169 mii->mii_media_active = IFM_ETHER; 174 mii->mii_media_status |= IFM_ACTIVE; 178 mii [all...] |
H A D | amphy.c | 52 #include <dev/mii/mii.h> 53 #include <dev/mii/miivar.h> 56 #include <dev/mii/amphyreg.h> 112 amphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 140 struct mii_data *mii = sc->mii_pdata; local 141 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 144 mii->mii_media_status = IFM_AVALID; 145 mii->mii_media_active = IFM_ETHER; 150 mii [all...] |
H A D | rlphy.c | 52 #include <dev/mii/mii.h> 53 #include <dev/mii/miivar.h> 133 rlphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 163 struct mii_data *mii = phy->mii_pdata; local 164 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 167 mii->mii_media_status = IFM_AVALID; 168 mii->mii_media_active = IFM_ETHER; 172 mii->mii_media_status |= IFM_ACTIVE; 176 mii [all...] |
H A D | tdkphy.c | 57 #include <dev/mii/mii.h> 58 #include <dev/mii/miivar.h> 61 #include <dev/mii/tdkphyreg.h> 115 tdkphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 147 struct mii_data *mii = phy->mii_pdata; local 148 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 151 mii->mii_media_status = IFM_AVALID; 152 mii->mii_media_active = IFM_ETHER; 156 mii [all...] |
H A D | nsphy.c | 77 #include <dev/mii/mii.h> 78 #include <dev/mii/miivar.h> 81 #include <dev/mii/nsphyreg.h> 136 nsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 201 struct mii_data *mii = sc->mii_pdata; local 202 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 205 mii->mii_media_status = IFM_AVALID; 206 mii->mii_media_active = IFM_ETHER; 211 mii [all...] |
H A D | axphy.c | 43 #include <dev/mii/mii.h> 44 #include <dev/mii/miivar.h> 105 axphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 133 struct mii_data *mii = sc->mii_pdata; local 134 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 137 mii->mii_media_status = IFM_AVALID; 138 mii->mii_media_active = IFM_ETHER; 142 mii->mii_media_status |= IFM_ACTIVE; 146 mii [all...] |
H A D | nsgphy.c | 69 #include <dev/mii/mii.h> 70 #include <dev/mii/miivar.h> 73 #include <dev/mii/nsgphyreg.h> 152 nsgphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 180 struct mii_data *mii = sc->mii_pdata; local 181 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 184 mii->mii_media_status = IFM_AVALID; 185 mii->mii_media_active = IFM_ETHER; 192 mii [all...] |
H A D | rdcphy.c | 45 #include <dev/mii/mii.h> 46 #include <dev/mii/miivar.h> 49 #include <dev/mii/rdcphyreg.h> 110 rdcphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 116 ife = mii->mii_media.ifm_cur; 138 mii->mii_media_status = 0; 139 mii->mii_media_active = IFM_ETHER | IFM_NONE; 158 * a link within one second such that mii(4) 184 struct mii_data *mii; local [all...] |
H A D | lxtphy.c | 77 #include <dev/mii/mii.h> 78 #include <dev/mii/miivar.h> 81 #include <dev/mii/lxtphyreg.h> 158 lxtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 160 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 192 struct mii_data *mii = sc->mii_pdata; local 193 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 196 mii->mii_media_status = IFM_AVALID; 197 mii [all...] |
H A D | bmtphy.c | 77 #include <dev/mii/mii.h> 78 #include <dev/mii/miivar.h> 81 #include <dev/mii/bmtphyreg.h> 152 bmtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 180 struct mii_data *mii; local 184 mii = sc->mii_pdata; 185 ife = mii->mii_media.ifm_cur; 187 mii->mii_media_status = IFM_AVALID; 188 mii [all...] |
H A D | acphy.c | 73 #include <dev/mii/mii.h> 74 #include <dev/mii/miivar.h> 77 #include <dev/mii/acphyreg.h> 158 acphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 193 struct mii_data *mii = sc->mii_pdata; local 194 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 197 mii->mii_media_status = IFM_AVALID; 198 mii->mii_media_active = IFM_ETHER; 203 mii [all...] |
H A D | nsphyter.c | 80 #include <dev/mii/mii.h> 81 #include <dev/mii/miivar.h> 84 #include <dev/mii/nsphyterreg.h> 142 nsphyter_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 170 struct mii_data *mii = sc->mii_pdata; local 171 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 174 mii->mii_media_status = IFM_AVALID; 175 mii->mii_media_active = IFM_ETHER; 181 mii [all...] |
H A D | icsphy.c | 75 #include <dev/mii/mii.h> 76 #include <dev/mii/miivar.h> 79 #include <dev/mii/icsphyreg.h> 139 icsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 167 struct mii_data *mii = sc->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; 183 mii [all...] |
H A D | ip1000phy.c | 48 #include <dev/mii/mii.h> 49 #include <dev/mii/miivar.h> 52 #include <dev/mii/ip1000phyreg.h> 120 ip1000phy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 122 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 219 struct mii_data *mii = sc->mii_pdata; local 222 mii->mii_media_status = IFM_AVALID; 223 mii->mii_media_active = IFM_ETHER; 228 mii [all...] |
H A D | smscphy.c | 46 #include <dev/mii/mii.h> 47 #include <dev/mii/miivar.h> 110 smscphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 115 ife = mii->mii_media.ifm_cur; 186 struct mii_data *mii; local 189 mii = sc->mii_pdata; 190 mii->mii_media_status = IFM_AVALID; 191 mii->mii_media_active = IFM_ETHER; 195 mii [all...] |
H A D | mv88e151x.c | 47 #include <dev/mii/mii.h> 48 #include <dev/mii/miivar.h> 49 #include <dev/mii/mv88e151xreg.h> 153 mv88e151x_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 180 struct mii_data *mii = phy->mii_pdata; local 181 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 185 mii->mii_media_status = IFM_AVALID; 186 mii->mii_media_active = IFM_ETHER; 194 mii 258 struct mii_data *mii = phy->mii_pdata; local [all...] |
H A D | gentbi.c | 83 #include <dev/mii/mii.h> 84 #include <dev/mii/miivar.h> 184 gentbi_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 212 struct mii_data *mii = sc->mii_pdata; local 213 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 216 mii->mii_media_status = IFM_AVALID; 217 mii->mii_media_active = IFM_ETHER; 222 mii->mii_media_status |= IFM_ACTIVE; 226 mii [all...] |
H A D | xmphy.c | 52 #include <dev/mii/mii.h> 53 #include <dev/mii/miivar.h> 56 #include <dev/mii/xmphyreg.h> 138 xmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 140 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 212 struct mii_data *mii = sc->mii_pdata; local 215 mii->mii_media_status = IFM_AVALID; 216 mii->mii_media_active = IFM_ETHER; 221 mii 260 xmphy_mii_phy_auto(struct mii_softc *mii) argument [all...] |
H A D | rgephy.c | 53 #include <dev/mii/mii.h> 54 #include <dev/mii/miivar.h> 57 #include <dev/mii/rgephyreg.h> 150 rgephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 152 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 190 (mii->mii_media.ifm_media & IFM_FLAG0) != 0) 214 if ((mii->mii_media.ifm_media & IFM_FLAG0) == 0) 269 if (sc->mii_media_active != mii->mii_media_active || 270 sc->mii_media_status != mii 311 struct mii_data *mii = sc->mii_pdata; local [all...] |
H A D | atphy.c | 45 #include <dev/mii/mii.h> 46 #include <dev/mii/miivar.h> 49 #include <dev/mii/atphyreg.h> 109 atphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 111 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 211 struct mii_data *mii = sc->mii_pdata; local 214 mii->mii_media_status = IFM_AVALID; 215 mii->mii_media_active = IFM_ETHER; 219 mii [all...] |
/freebsd-current/sys/dev/dc/ |
H A D | pnphy.c | 58 #include <dev/mii/mii.h> 59 #include <dev/mii/miivar.h> 141 pnphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 143 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 153 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0) 161 mii->mii_media_active = IFM_ETHER | IFM_100_TX; 163 mii->mii_media_active |= IFM_FDX; 167 mii->mii_media_active = IFM_ETHER | IFM_10_T; 169 mii 198 struct mii_data *mii = sc->mii_pdata; local [all...] |
H A D | dcphy.c | 60 #include <dev/mii/mii.h> 61 #include <dev/mii/miivar.h> 185 dcphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 188 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 192 dc_sc = if_getsoftc(mii->mii_ifp); 202 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0) 205 mii->mii_media_active = IFM_NONE; 252 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0) 295 struct mii_data *mii local 375 dcphy_auto(struct mii_softc *mii) argument 396 dcphy_reset(struct mii_softc *mii) argument [all...] |
/freebsd-current/sys/dev/fxp/ |
H A D | inphy.c | 49 #include <dev/mii/mii.h> 50 #include <dev/mii/miivar.h> 112 inphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 123 if ((if_getflags(mii->mii_ifp) & IFF_UP) == 0) 146 struct mii_data *mii = sc->mii_pdata; local 147 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 150 mii->mii_media_status = IFM_AVALID; 151 mii->mii_media_active = IFM_ETHER; 155 mii [all...] |
/freebsd-current/sys/dev/usb/net/ |
H A D | ruephy.c | 47 #include <dev/mii/mii.h> 48 #include <dev/mii/miivar.h> 114 ruephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument 116 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 180 struct mii_data *mii = phy->mii_pdata; local 181 struct ifmedia_entry *ife = mii->mii_media.ifm_cur; 184 mii->mii_media_status = IFM_AVALID; 185 mii->mii_media_active = IFM_ETHER; 189 mii [all...] |