Home
last modified time | relevance | path

Searched refs:ENET_INTERFACE_FROM_MODE (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/
H A Dmemac.c98 …p_Memac->enetMode = MAKE_ENET_MODE(ENET_INTERFACE_FROM_MODE(p_Memac->enetMode), e_ENET_SPEED_1000); in SetupSgmiiInternalPhy()
138 …p_Memac->enetMode = MAKE_ENET_MODE(ENET_INTERFACE_FROM_MODE(p_Memac->enetMode), e_ENET_SPEED_1000); in SetupSgmiiInternalPhyBaseX()
329 (enum enet_interface)ENET_INTERFACE_FROM_MODE(p_Memac->enetMode), in MemacAdjustLink()
820 if (ENET_INTERFACE_FROM_MODE(p_Memac->enetMode) == e_ENET_IF_SGMII) in MemacInitInternalPhy()
828 else if (ENET_INTERFACE_FROM_MODE(p_Memac->enetMode) == e_ENET_IF_QSGMII) in MemacInitInternalPhy()
890 enet_interface = (enum enet_interface) ENET_INTERFACE_FROM_MODE(p_Memac->enetMode); in MemacInit()
H A Ddtsec.c1096 p_Dtsec->enetMode = MAKE_ENET_MODE(ENET_INTERFACE_FROM_MODE(p_Dtsec->enetMode), speed); in DtsecAdjustLink()
1097 enet_interface = (enum enet_interface) ENET_INTERFACE_FROM_MODE(p_Dtsec->enetMode); in DtsecAdjustLink()
1232 enet_interface = (enum enet_interface)ENET_INTERFACE_FROM_MODE(p_Dtsec->enetMode); in DtsecInit()
1250 if (ENET_INTERFACE_FROM_MODE(p_Dtsec->enetMode) == e_ENET_IF_SGMII) in DtsecInit()
H A Dfm_mac.c102 … ((ENET_INTERFACE_FROM_MODE(p_FmMacControllerDriver->enetMode) == e_ENET_IF_XGMII) ? in FM_MAC_Init()
/freebsd/sys/contrib/ncsw/inc/
H A Denet_ext.h186 #define ENET_INTERFACE_FROM_MODE(mode) (e_EnetInterface)((mode) & 0x0FFF0000) macro