Home
last modified time | relevance | path

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

/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/xilinx_ultrascale/
Dx_emacpsif_physpeed.c232 static uint16_t prvAR803x_debug_reg_write( XEmacPs * xemacpsp,
236 static void prvSET_AR803x_TX_Timing( XEmacPs * xemacpsp,
239 uint32_t ulDetecPHY( XEmacPs * xemacpsp ) in ulDetecPHY() argument
248 Status = XEmacPs_PhyRead( xemacpsp, phy_addr, PHY_IDENTIFIER_1_REG, &PhyReg1 ); in ulDetecPHY()
249 Status |= XEmacPs_PhyRead( xemacpsp, phy_addr, PHY_IDENTIFIER_2_REG, &PhyReg2 ); in ulDetecPHY()
265 unsigned configure_IEEE_phy_speed_US( XEmacPs * xemacpsp, in configure_IEEE_phy_speed_US() argument
271 XEmacPs_PhyWrite( xemacpsp, phy_addr, IEEE_PAGE_ADDRESS_REGISTER, 2 ); in configure_IEEE_phy_speed_US()
272 XEmacPs_PhyRead( xemacpsp, phy_addr, IEEE_CONTROL_REG_MAC, &control ); in configure_IEEE_phy_speed_US()
274 XEmacPs_PhyWrite( xemacpsp, phy_addr, IEEE_CONTROL_REG_MAC, control ); in configure_IEEE_phy_speed_US()
276 XEmacPs_PhyWrite( xemacpsp, phy_addr, IEEE_PAGE_ADDRESS_REGISTER, 0 ); in configure_IEEE_phy_speed_US()
[all …]
Dx_emacpsif.h129 extern unsigned Phy_Setup( XEmacPs * xemacpsp );
130 extern uint32_t Phy_Setup_US( XEmacPs * xemacpsp,
Dx_emacpsif_hw.h36 uint32_t ulDetecPHY( XEmacPs * xemacpsp );
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/Zynq/
Dx_emacpsif_physpeed.c162 static int detect_phy( XEmacPs * xemacpsp ) in detect_phy() argument
169 XEmacPs_PhyRead( xemacpsp, phy_addr, PHY_DETECT_REG, &id_lower ); in detect_phy()
176 phy_detected[ xemacpsp->Config.DeviceId ] = phy_addr; in detect_phy()
188 unsigned get_IEEE_phy_speed( XEmacPs * xemacpsp ) in get_IEEE_phy_speed() argument
195 u32 phy_addr = detect_phy( xemacpsp ); in get_IEEE_phy_speed()
197 XEmacPs_PhyWrite( xemacpsp, phy_addr, IEEE_1000_ADVERTISE_REG_OFFSET, in get_IEEE_phy_speed()
200 XEmacPs_PhyWrite( xemacpsp, phy_addr, IEEE_AUTONEGO_ADVERTISE_REG, in get_IEEE_phy_speed()
203 XEmacPs_PhyRead( xemacpsp, phy_addr, IEEE_CONTROL_REG_OFFSET, in get_IEEE_phy_speed()
208 XEmacPs_PhyWrite( xemacpsp, phy_addr, IEEE_CONTROL_REG_OFFSET, control ); in get_IEEE_phy_speed()
211 XEmacPs_PhyRead( xemacpsp, phy_addr, IEEE_CONTROL_REG_OFFSET, &control ); in get_IEEE_phy_speed()
[all …]
Dx_emacpsif.h126 extern unsigned Phy_Setup( XEmacPs * xemacpsp );