Home
last modified time | relevance | path

Searched refs:IFM_TMASK (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/net/
H A Dif_media.h135 #define IFM_ETHER_SUBTYPE(x) (((x) & IFM_TMASK) | \
139 #define IFM_ETHER_SUBTYPE_GET(x) ((x) & (IFM_TMASK|IFM_ETH_XTYPE))
363 #define IFM_TMASK 0x0000001f /* Media sub-type */ macro
394 (IFM_TYPE(x) == IFM_ETHER ? IFM_ETHER_SUBTYPE_GET(x) : ((x) & IFM_TMASK))
H A Dif_media.c196 media &= ~(IFM_ETH_XTYPE|IFM_TMASK); in compat_media()
/freebsd/sys/dev/sfxge/
H A Dsfxge_port.c918 int ifmedia_masked = ifmedia & (IFM_GMASK | IFM_NMASK | IFM_TMASK); in sfxge_phy_cap_mask()
/freebsd/sys/dev/mge/
H A Dif_mge.c1130 media_status &= ~IFM_TMASK; in mge_init_locked()
/freebsd/sys/dev/ice/
H A Dice_lib.c1270 #define IFM_IDX(x) (((x) & IFM_TMASK) | \