Home
last modified time | relevance | path

Searched refs:IFM_SUBTYPE (Results 1 – 25 of 71) sorted by relevance

123

/dragonfly/sys/dev/netif/mii_layer/
H A Datphy.c164 if (IFM_SUBTYPE(ife->ifm_media) == IFM_AUTO || in atphy_service()
165 IFM_SUBTYPE(ife->ifm_media) == IFM_1000_T) { in atphy_service()
171 switch (IFM_SUBTYPE(ife->ifm_media)) { in atphy_service()
224 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) { in atphy_service()
316 if ((IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_T) && in atphy_status()
359 switch (IFM_SUBTYPE(ife->ifm_media)) { in atphy_anar()
376 if (IFM_SUBTYPE(ife->ifm_media) == IFM_100_TX) in atphy_anar()
392 if ((IFM_SUBTYPE(media) == IFM_AUTO || (media & IFM_FDX) != 0) && in atphy_setmedia()
397 if ((IFM_SUBTYPE(media) == IFM_AUTO || (media & IFM_FDX) != 0) && in atphy_setmedia()
H A De1000phy.c337 if (IFM_SUBTYPE(ife->ifm_media) == IFM_AUTO) { in e1000phy_service()
343 switch (IFM_SUBTYPE(ife->ifm_media)) { in e1000phy_service()
390 if (IFM_SUBTYPE(ife->ifm_media) == IFM_1000_T || in e1000phy_service()
391 IFM_SUBTYPE(ife->ifm_media) == IFM_1000_SX) { in e1000phy_service()
425 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in e1000phy_service()
529 if (IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_T || in e1000phy_status()
530 IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_SX) { in e1000phy_status()
H A Djmphy.c187 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in jmphy_service()
273 if (IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_T) { in jmphy_status()
303 switch (IFM_SUBTYPE(ife->ifm_media)) { in jmphy_anar()
329 switch (IFM_SUBTYPE(ife->ifm_media)) { in jmphy_auto()
H A Dmlphy.c249 switch (IFM_SUBTYPE(ife->ifm_media)) { in mlphy_service()
323 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in mlphy_service()
433 if (IFM_SUBTYPE(mii->mii_media_active) != IFM_10_T) { in mlphy_status()
439 if (IFM_SUBTYPE(mii->mii_media_active) == IFM_10_T) { in mlphy_status()
H A Dtruephy.c214 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) { in truephy_service()
222 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) { in truephy_service()
226 if (IFM_SUBTYPE(ife->ifm_media) == IFM_1000_T) { in truephy_service()
H A Dexphy.c217 if (IFM_SUBTYPE(ife->ifm_media) == IFM_100_T4) { in exphy_service()
237 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in exphy_service()
H A Dpnaphy.c183 switch (IFM_SUBTYPE(ife->ifm_media)) { in pnaphy_service()
208 if (IFM_SUBTYPE(mii->mii_media_active) == IFM_10_T) in pnaphy_service()
H A Dip1000phy.c196 switch (IFM_SUBTYPE(ife->ifm_media)) { in ip1000phy_service()
231 if (IFM_SUBTYPE(ife->ifm_media) != IFM_1000_T) in ip1000phy_service()
274 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in ip1000phy_service()
H A Dpnphy.c194 switch (IFM_SUBTYPE(ife->ifm_media)) { in pnphy_service()
238 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in pnphy_service()
H A Druephy.c175 if (IFM_SUBTYPE(ife->ifm_media) == IFM_100_T4) { in ruephy_service()
195 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in ruephy_service()
H A Drgephy.c189 switch (IFM_SUBTYPE(ife->ifm_media)) { in rgephy_service()
221 if (IFM_SUBTYPE(ife->ifm_media) != IFM_1000_T) in rgephy_service()
271 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in rgephy_service()
H A Drlphy.c214 if (IFM_SUBTYPE(ife->ifm_media) == IFM_100_T4) { in rlphy_service()
234 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in rlphy_service()
H A Dmii_physubr.c347 if (IFM_SUBTYPE(ife->ifm_media) == IFM_AUTO) { in mii_phy_set_media()
373 switch (IFM_SUBTYPE(ife->ifm_media)) { in mii_phy_set_media()
422 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in mii_phy_tick()
H A Dxmphy.c192 switch (IFM_SUBTYPE(ife->ifm_media)) { in xmphy_service()
237 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in xmphy_service()
H A Dtlphy.c266 switch (IFM_SUBTYPE(ife->ifm_media)) { in tlphy_service()
305 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in tlphy_service()
H A Dciphy.c187 switch (IFM_SUBTYPE(ife->ifm_media)) { in ciphy_service()
219 if (IFM_SUBTYPE(ife->ifm_media) != IFM_1000_T) in ciphy_service()
H A Ddcphy.c242 switch (IFM_SUBTYPE(ife->ifm_media)) { in dcphy_service()
301 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in dcphy_service()
H A Dbrgphy.c253 switch (IFM_SUBTYPE(ife->ifm_media)) { in brgphy_service()
285 if (IFM_SUBTYPE(ife->ifm_media) != IFM_1000_T) in brgphy_service()
338 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in brgphy_service()
/dragonfly/sys/net/
H A Dif_media.c209 if (IFM_TYPE(media) == IFM_ETHER && IFM_SUBTYPE(media) > IFM_OTHER) { in compat_media()
261 if ((IFM_SUBTYPE(newmedia) != IFM_AUTO) && in ifmedia_ioctl()
520 if (IFM_SUBTYPE(ifmw) == desc->ifmt_word) in ifmedia_printword()
524 if (IFM_SUBTYPE(ifmw) == desc->ifmt_word) in ifmedia_printword()
H A Dif_media.h339 #define IFM_SUBTYPE(x) \ macro
343 (IFM_TYPE(x) == IFM_TYPE(y) && IFM_SUBTYPE(x) == IFM_SUBTYPE(y))
/dragonfly/sys/dev/netif/lnc/
H A Dif_lnc_pci.c225 if (IFM_SUBTYPE(ifm->ifm_media) == IFM_HPNA_1) in le_pci_mediachange()
228 else if (IFM_SUBTYPE(ifm->ifm_media) == IFM_AUTO) in le_pci_mediachange()
237 if (IFM_SUBTYPE(ifm->ifm_media) == IFM_10_T) in le_pci_mediachange()
251 if (IFM_SUBTYPE(ifm->ifm_media) == IFM_10_5) in le_pci_mediachange()
/dragonfly/sys/dev/netif/nge/
H A Dif_nge.c567 if (IFM_SUBTYPE(sc->nge_ifmedia.ifm_cur->ifm_media) in nge_miibus_statchg()
603 if (IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_T || in nge_miibus_statchg()
604 IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_SX) { in nge_miibus_statchg()
1391 IFM_SUBTYPE(mii->mii_media_active) != IFM_NONE) { in nge_tick()
1393 if (IFM_SUBTYPE(mii->mii_media_active) in nge_tick()
1893 if (IFM_SUBTYPE(sc->nge_ifmedia.ifm_cur->ifm_media) in nge_ifmedia_upd()
1959 if (IFM_SUBTYPE(sc->nge_ifmedia.ifm_cur->ifm_media) in nge_ifmedia_sts()
/dragonfly/sys/dev/netif/dc/
H A Dif_dc.c974 IFM_SUBTYPE(ifm->ifm_media) == IFM_HPNA_1) { in dc_miibus_statchg()
1354 if (IFM_SUBTYPE(media) == IFM_NONE) in dc_setcfg()
1376 if (IFM_SUBTYPE(media) == IFM_100_TX) { in dc_setcfg()
1417 if (IFM_SUBTYPE(media) == IFM_10_T) { in dc_setcfg()
1474 if (IFM_SUBTYPE(media) == IFM_HPNA_1) { in dc_setcfg()
2731 if (IFM_SUBTYPE(mii->mii_media_active) == in dc_tick()
2736 if (IFM_SUBTYPE(mii->mii_media_active) == in dc_tick()
2778 IFM_SUBTYPE(mii->mii_media_active) != IFM_NONE) { in dc_tick()
3352 if (IFM_SUBTYPE(mii->mii_media.ifm_media) == IFM_HPNA_1) in dc_init()
3378 IFM_SUBTYPE(ifm->ifm_media) == IFM_HPNA_1) in dc_ifmedia_upd()
[all …]
/dragonfly/sys/bus/u4b/net/
H A Druephy.c145 if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) in ruephy_service()
/dragonfly/sys/dev/netif/my/
H A Dif_my.c664 if (IFM_SUBTYPE(media) == IFM_1000_T) { in my_setmode_mii()
671 if (IFM_SUBTYPE(media) == IFM_100_T4) { in my_setmode_mii()
676 if (IFM_SUBTYPE(media) == IFM_100_TX) { in my_setmode_mii()
680 if (IFM_SUBTYPE(media) == IFM_10_T) { in my_setmode_mii()
1508 if (IFM_SUBTYPE(ifm->ifm_media) == IFM_AUTO) in my_ifmedia_upd()

123