/freebsd/sys/dev/mii/ |
H A D | ukphy_subr.c | 66 mii->mii_media_active = IFM_ETHER; in ukphy_status() 74 mii->mii_media_active |= IFM_NONE; in ukphy_status() 80 mii->mii_media_active |= IFM_LOOP; in ukphy_status() 90 mii->mii_media_active |= IFM_NONE; in ukphy_status() 104 mii->mii_media_active |= IFM_1000_T|IFM_FDX; in ukphy_status() 107 mii->mii_media_active |= IFM_1000_T|IFM_HDX; in ukphy_status() 109 mii->mii_media_active |= IFM_100_TX|IFM_FDX; in ukphy_status() 111 mii->mii_media_active |= IFM_100_T4|IFM_HDX; in ukphy_status() 113 mii->mii_media_active |= IFM_100_TX|IFM_HDX; in ukphy_status() 115 mii->mii_media_active |= IFM_10_T|IFM_FDX; in ukphy_status() [all …]
|
H A D | rlphy.c | 168 mii->mii_media_active = IFM_ETHER; in rlphy_status() 176 mii->mii_media_active |= IFM_NONE; in rlphy_status() 182 mii->mii_media_active |= IFM_LOOP; in rlphy_status() 192 mii->mii_media_active |= IFM_NONE; in rlphy_status() 199 mii->mii_media_active |= IFM_100_TX|IFM_FDX; in rlphy_status() 201 mii->mii_media_active |= IFM_100_T4|IFM_HDX; in rlphy_status() 203 mii->mii_media_active |= IFM_100_TX|IFM_HDX; in rlphy_status() 205 mii->mii_media_active |= IFM_10_T|IFM_FDX; in rlphy_status() 207 mii->mii_media_active |= IFM_10_T|IFM_HDX; in rlphy_status() 209 mii->mii_media_active |= IFM_NONE; in rlphy_status() [all …]
|
H A D | tdkphy.c | 134 if (sc->mii_pdata->mii_media_active & IFM_FDX) in tdkphy_service() 152 mii->mii_media_active = IFM_ETHER; in tdkphy_status() 160 mii->mii_media_active |= IFM_NONE; in tdkphy_status() 166 mii->mii_media_active |= IFM_LOOP; in tdkphy_status() 176 mii->mii_media_active |= IFM_NONE; in tdkphy_status() 186 mii->mii_media_active |= IFM_100_TX|IFM_FDX; in tdkphy_status() 188 mii->mii_media_active |= IFM_100_T4|IFM_HDX; in tdkphy_status() 190 mii->mii_media_active |= IFM_100_TX|IFM_HDX; in tdkphy_status() 192 mii->mii_media_active |= IFM_10_T|IFM_FDX; in tdkphy_status() 194 mii->mii_media_active |= IFM_10_T|IFM_HDX; in tdkphy_status() [all …]
|
H A D | amphy.c | 145 mii->mii_media_active = IFM_ETHER; in amphy_status() 154 mii->mii_media_active |= IFM_NONE; in amphy_status() 160 mii->mii_media_active |= IFM_LOOP; in amphy_status() 169 mii->mii_media_active |= IFM_NONE; in amphy_status() 177 mii->mii_media_active |= IFM_100_TX|IFM_FDX; in amphy_status() 179 mii->mii_media_active |= IFM_100_T4|IFM_HDX; in amphy_status() 181 mii->mii_media_active |= IFM_100_TX|IFM_HDX; in amphy_status() 183 mii->mii_media_active |= IFM_10_T|IFM_FDX; in amphy_status() 185 mii->mii_media_active |= IFM_10_T|IFM_HDX; in amphy_status() 187 mii->mii_media_active |= IFM_NONE; in amphy_status() [all …]
|
H A D | nsphy.c | 206 mii->mii_media_active = IFM_ETHER; in nsphy_status() 215 mii->mii_media_active |= IFM_NONE; in nsphy_status() 221 mii->mii_media_active |= IFM_LOOP; in nsphy_status() 230 mii->mii_media_active |= IFM_NONE; in nsphy_status() 243 mii->mii_media_active |= IFM_100_TX|IFM_FDX; in nsphy_status() 245 mii->mii_media_active |= IFM_100_T4|IFM_HDX; in nsphy_status() 247 mii->mii_media_active |= IFM_100_TX|IFM_HDX; in nsphy_status() 249 mii->mii_media_active |= IFM_10_T|IFM_FDX; in nsphy_status() 251 mii->mii_media_active |= IFM_10_T|IFM_HDX; in nsphy_status() 253 mii->mii_media_active |= IFM_NONE; in nsphy_status() [all …]
|
H A D | ip1000phy.c | 223 mii->mii_media_active = IFM_ETHER; in ip1000phy_status() 232 mii->mii_media_active |= IFM_LOOP; in ip1000phy_status() 237 mii->mii_media_active |= IFM_NONE; in ip1000phy_status() 246 mii->mii_media_active |= IFM_10_T; in ip1000phy_status() 249 mii->mii_media_active |= IFM_100_TX; in ip1000phy_status() 252 mii->mii_media_active |= IFM_1000_T; in ip1000phy_status() 255 mii->mii_media_active |= IFM_NONE; in ip1000phy_status() 259 mii->mii_media_active |= IFM_FDX; in ip1000phy_status() 261 mii->mii_media_active |= IFM_HDX; in ip1000phy_status() 266 mii->mii_media_active |= IFM_NONE; in ip1000phy_status() [all …]
|
H A D | qsphy.c | 169 mii->mii_media_active = IFM_ETHER; in qsphy_status() 178 mii->mii_media_active |= IFM_NONE; in qsphy_status() 184 mii->mii_media_active |= IFM_LOOP; in qsphy_status() 189 mii->mii_media_active |= IFM_10_T|IFM_HDX; in qsphy_status() 192 mii->mii_media_active |= IFM_10_T|IFM_FDX; in qsphy_status() 195 mii->mii_media_active |= IFM_100_TX|IFM_HDX; in qsphy_status() 198 mii->mii_media_active |= IFM_100_TX|IFM_FDX; in qsphy_status() 201 mii->mii_media_active |= IFM_100_T4|IFM_HDX; in qsphy_status() 204 mii->mii_media_active |= IFM_NONE; in qsphy_status() 208 mii->mii_media_active |= IFM_NONE; in qsphy_status() [all …]
|
H A D | rgephy.c | 269 if (sc->mii_media_active != mii->mii_media_active || in rgephy_service() 316 mii->mii_media_active = IFM_ETHER; in rgephy_status() 324 mii->mii_media_active |= IFM_NONE; in rgephy_status() 330 mii->mii_media_active |= IFM_LOOP; in rgephy_status() 335 mii->mii_media_active |= IFM_NONE; in rgephy_status() 346 mii->mii_media_active |= IFM_1000_T; in rgephy_status() 349 mii->mii_media_active |= IFM_100_TX; in rgephy_status() 352 mii->mii_media_active |= IFM_10_T; in rgephy_status() 355 mii->mii_media_active |= IFM_NONE; in rgephy_status() 359 mii->mii_media_active |= IFM_FDX; in rgephy_status() [all …]
|
H A D | nsgphy.c | 185 mii->mii_media_active = IFM_ETHER; in nsgphy_status() 196 mii->mii_media_active |= IFM_NONE; in nsgphy_status() 202 mii->mii_media_active |= IFM_LOOP; in nsgphy_status() 211 mii->mii_media_active |= IFM_NONE; in nsgphy_status() 217 mii->mii_media_active |= IFM_1000_T; in nsgphy_status() 220 mii->mii_media_active |= IFM_ETH_MASTER; in nsgphy_status() 224 mii->mii_media_active |= IFM_100_TX; in nsgphy_status() 228 mii->mii_media_active |= IFM_10_T; in nsgphy_status() 232 mii->mii_media_active |= IFM_NONE; in nsgphy_status() 238 mii->mii_media_active |= in nsgphy_status() [all …]
|
H A D | mv88e151x.c | 186 mii->mii_media_active = IFM_ETHER; in mv88e151x_fiber_status() 197 mii->mii_media_active |= IFM_NONE; in mv88e151x_fiber_status() 204 mii->mii_media_active |= IFM_LOOP; in mv88e151x_fiber_status() 214 mii->mii_media_active |= IFM_NONE; in mv88e151x_fiber_status() 221 mii->mii_media_active |= IFM_1000_SX | IFM_FDX; in mv88e151x_fiber_status() 223 mii->mii_media_active |= IFM_1000_SX | IFM_HDX; in mv88e151x_fiber_status() 229 mii->mii_media_active |= IFM_1000_SX; in mv88e151x_fiber_status() 232 mii->mii_media_active |= IFM_100_FX; in mv88e151x_fiber_status() 234 mii->mii_media_active |= IFM_NONE; in mv88e151x_fiber_status() 237 mii->mii_media_active |= IFM_FDX; in mv88e151x_fiber_status() [all …]
|
H A D | rdcphy.c | 139 mii->mii_media_active = IFM_ETHER | IFM_NONE; in rdcphy_service() 190 mii->mii_media_active = IFM_ETHER; in rdcphy_status() 200 mii->mii_media_active |= IFM_NONE; in rdcphy_status() 206 mii->mii_media_active |= IFM_LOOP; in rdcphy_status() 211 mii->mii_media_active |= IFM_NONE; in rdcphy_status() 218 mii->mii_media_active |= IFM_100_TX; in rdcphy_status() 221 mii->mii_media_active |= IFM_10_T; in rdcphy_status() 224 mii->mii_media_active |= IFM_NONE; in rdcphy_status() 228 mii->mii_media_active |= IFM_FDX | mii_phy_flowstatus(sc); in rdcphy_status() 230 mii->mii_media_active |= IFM_HDX; in rdcphy_status()
|
H A D | axphy.c | 138 mii->mii_media_active = IFM_ETHER; in axphy_status() 146 mii->mii_media_active |= IFM_NONE; in axphy_status() 152 mii->mii_media_active |= IFM_LOOP; in axphy_status() 156 mii->mii_media_active |= IFM_NONE; in axphy_status() 163 mii->mii_media_active |= IFM_100_TX; in axphy_status() 165 mii->mii_media_active |= IFM_10_T; in axphy_status() 167 mii->mii_media_active |= in axphy_status() 170 mii->mii_media_active |= IFM_HDX; in axphy_status() 173 mii->mii_media_active = ife->ifm_media; in axphy_status()
|
H A D | icsphy.c | 172 mii->mii_media_active = IFM_ETHER; in icsphy_status() 187 mii->mii_media_active |= IFM_NONE; in icsphy_status() 193 mii->mii_media_active |= IFM_LOOP; in icsphy_status() 198 mii->mii_media_active |= IFM_NONE; in icsphy_status() 202 mii->mii_media_active |= IFM_100_TX; in icsphy_status() 204 mii->mii_media_active |= IFM_10_T; in icsphy_status() 206 mii->mii_media_active |= in icsphy_status() 209 mii->mii_media_active |= IFM_HDX; in icsphy_status() 211 mii->mii_media_active = ife->ifm_media; in icsphy_status()
|
H A D | bmtphy.c | 188 mii->mii_media_active = IFM_ETHER; in bmtphy_status() 197 mii->mii_media_active |= IFM_NONE; in bmtphy_status() 203 mii->mii_media_active |= IFM_LOOP; in bmtphy_status() 212 mii->mii_media_active |= IFM_NONE; in bmtphy_status() 218 mii->mii_media_active |= IFM_100_TX; in bmtphy_status() 220 mii->mii_media_active |= IFM_10_T; in bmtphy_status() 222 mii->mii_media_active |= in bmtphy_status() 225 mii->mii_media_active |= IFM_HDX; in bmtphy_status() 227 mii->mii_media_active = ife->ifm_media; in bmtphy_status()
|
H A D | nsphyter.c | 175 mii->mii_media_active = IFM_ETHER; in nsphyter_status() 185 mii->mii_media_active |= IFM_NONE; in nsphyter_status() 191 mii->mii_media_active |= IFM_LOOP; in nsphyter_status() 200 mii->mii_media_active |= IFM_NONE; in nsphyter_status() 205 mii->mii_media_active |= IFM_10_T; in nsphyter_status() 207 mii->mii_media_active |= IFM_100_TX; in nsphyter_status() 209 mii->mii_media_active |= in nsphyter_status() 212 mii->mii_media_active |= IFM_HDX; in nsphyter_status() 214 mii->mii_media_active = ife->ifm_media; in nsphyter_status()
|
H A D | xmphy.c | 216 mii->mii_media_active = IFM_ETHER; in xmphy_status() 229 mii->mii_media_active |= IFM_LOOP; in xmphy_status() 234 mii->mii_media_active |= IFM_1000_SX|IFM_HDX; in xmphy_status() 238 mii->mii_media_active |= IFM_NONE; in xmphy_status() 242 mii->mii_media_active |= IFM_1000_SX; in xmphy_status() 246 mii->mii_media_active |= IFM_FDX; in xmphy_status() 248 mii->mii_media_active |= IFM_HDX; in xmphy_status() 252 mii->mii_media_active |= IFM_1000_SX; in xmphy_status() 254 mii->mii_media_active |= IFM_FDX; in xmphy_status() 256 mii->mii_media_active |= IFM_HDX; in xmphy_status()
|
H A D | acphy.c | 198 mii->mii_media_active = IFM_ETHER; in acphy_status() 207 mii->mii_media_active |= IFM_NONE; in acphy_status() 213 mii->mii_media_active |= IFM_LOOP; in acphy_status() 218 mii->mii_media_active |= IFM_NONE; in acphy_status() 223 mii->mii_media_active |= IFM_100_TX; in acphy_status() 225 mii->mii_media_active |= IFM_10_T; in acphy_status() 228 mii->mii_media_active |= in acphy_status() 231 mii->mii_media_active |= IFM_HDX; in acphy_status() 233 mii->mii_media_active = ife->ifm_media; in acphy_status()
|
H A D | atphy.c | 215 mii->mii_media_active = IFM_ETHER; in atphy_status() 223 mii->mii_media_active |= IFM_NONE; in atphy_status() 229 mii->mii_media_active |= IFM_LOOP; in atphy_status() 234 mii->mii_media_active |= IFM_NONE; in atphy_status() 240 mii->mii_media_active |= IFM_1000_T; in atphy_status() 249 mii->mii_media_active |= IFM_100_TX; in atphy_status() 253 mii->mii_media_active |= IFM_10_T; in atphy_status() 257 mii->mii_media_active |= IFM_NONE; in atphy_status() 262 mii->mii_media_active |= IFM_FDX | mii_phy_flowstatus(sc); in atphy_status() 264 mii->mii_media_active |= IFM_HDX; in atphy_status() [all …]
|
H A D | ciphy.c | 217 if (sc->mii_media_active != mii->mii_media_active || in ciphy_service() 233 mii->mii_media_active = IFM_ETHER; in ciphy_status() 243 mii->mii_media_active |= IFM_LOOP; in ciphy_status() 248 mii->mii_media_active |= IFM_NONE; in ciphy_status() 256 mii->mii_media_active |= IFM_10_T; in ciphy_status() 259 mii->mii_media_active |= IFM_100_TX; in ciphy_status() 262 mii->mii_media_active |= IFM_1000_T; in ciphy_status() 271 mii->mii_media_active |= IFM_FDX | mii_phy_flowstatus(sc); in ciphy_status() 273 mii->mii_media_active |= IFM_HDX; in ciphy_status() 275 if ((IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_T) && in ciphy_status() [all …]
|
H A D | jmphy.c | 167 mii->mii_media_active = IFM_ETHER; in jmphy_status() 175 mii->mii_media_active |= IFM_NONE; in jmphy_status() 181 mii->mii_media_active |= IFM_LOOP; in jmphy_status() 185 mii->mii_media_active |= IFM_NONE; in jmphy_status() 191 mii->mii_media_active |= IFM_1000_T; in jmphy_status() 200 mii->mii_media_active |= IFM_100_TX; in jmphy_status() 204 mii->mii_media_active |= IFM_10_T; in jmphy_status() 208 mii->mii_media_active |= IFM_NONE; in jmphy_status() 213 mii->mii_media_active |= IFM_FDX | mii_phy_flowstatus(sc); in jmphy_status() 215 mii->mii_media_active |= IFM_HDX; in jmphy_status() [all …]
|
H A D | brgphy.c | 394 if (sc->mii_media_active != mii->mii_media_active || in brgphy_service() 498 mii->mii_media_active = IFM_ETHER; in brgphy_status() 504 mii->mii_media_active |= IFM_LOOP; in brgphy_status() 511 mii->mii_media_active |= IFM_NONE; in brgphy_status() 529 mii->mii_media_active |= IFM_1000_T | IFM_FDX; break; in brgphy_status() 531 mii->mii_media_active |= IFM_1000_T | IFM_HDX; break; in brgphy_status() 533 mii->mii_media_active |= IFM_100_TX | IFM_FDX; break; in brgphy_status() 535 mii->mii_media_active |= IFM_100_T4; break; in brgphy_status() 537 mii->mii_media_active |= IFM_100_TX | IFM_HDX; break; in brgphy_status() 539 mii->mii_media_active |= IFM_10_T | IFM_FDX; break; in brgphy_status() [all …]
|
/freebsd/sys/dev/dc/ |
H A D | dcphy.c | 205 mii->mii_media_active = IFM_NONE; in dcphy_service() 302 mii->mii_media_active = IFM_ETHER; in dcphy_status() 317 mii->mii_media_active |= IFM_NONE; in dcphy_status() 325 mii->mii_media_active |= IFM_100_TX | IFM_FDX; in dcphy_status() 328 mii->mii_media_active |= IFM_100_T4 | IFM_HDX; in dcphy_status() 331 mii->mii_media_active |= IFM_100_TX | IFM_HDX; in dcphy_status() 333 mii->mii_media_active |= IFM_10_T | IFM_FDX; in dcphy_status() 335 mii->mii_media_active |= IFM_10_T | IFM_HDX; in dcphy_status() 337 mii->mii_media_active |= IFM_NONE; in dcphy_status() 353 mii->mii_media_active |= IFM_100_TX | IFM_HDX; in dcphy_status() [all …]
|
H A D | pnphy.c | 161 mii->mii_media_active = IFM_ETHER | IFM_100_TX; in pnphy_service() 163 mii->mii_media_active |= IFM_FDX; in pnphy_service() 167 mii->mii_media_active = IFM_ETHER | IFM_10_T; in pnphy_service() 169 mii->mii_media_active |= IFM_FDX; in pnphy_service() 205 mii->mii_media_active = IFM_ETHER; in pnphy_status() 212 mii->mii_media_active |= IFM_10_T; in pnphy_status() 214 mii->mii_media_active |= IFM_100_TX; in pnphy_status() 216 mii->mii_media_active |= IFM_FDX; in pnphy_status() 218 mii->mii_media_active |= IFM_HDX; in pnphy_status()
|
/freebsd/sys/dev/fxp/ |
H A D | inphy.c | 151 mii->mii_media_active = IFM_ETHER; in inphy_status() 159 mii->mii_media_active |= IFM_NONE; in inphy_status() 165 mii->mii_media_active |= IFM_LOOP; in inphy_status() 169 mii->mii_media_active |= IFM_NONE; in inphy_status() 175 mii->mii_media_active |= IFM_100_TX; in inphy_status() 177 mii->mii_media_active |= IFM_10_T; in inphy_status() 179 mii->mii_media_active |= in inphy_status() 182 mii->mii_media_active |= IFM_HDX; in inphy_status() 184 mii->mii_media_active = ife->ifm_media; in inphy_status()
|
/freebsd/sys/dev/usb/net/ |
H A D | ruephy.c | 184 mii->mii_media_active = IFM_ETHER; in ruephy_status() 192 mii->mii_media_active |= IFM_NONE; in ruephy_status() 201 mii->mii_media_active |= IFM_NONE; in ruephy_status() 206 mii->mii_media_active |= IFM_100_TX; in ruephy_status() 208 mii->mii_media_active |= IFM_10_T; in ruephy_status() 211 mii->mii_media_active |= in ruephy_status() 214 mii->mii_media_active |= IFM_HDX; in ruephy_status() 216 mii->mii_media_active = ife->ifm_media; in ruephy_status()
|