Home
last modified time | relevance | path

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

/FreeRTOS-Plus-TCP-v3.1.0/source/portable/NetworkInterface/Zynq/
Dx_emacpsif_physpeed.c168 static int detect_phy( XEmacPs * xemacpsp ) in detect_phy() argument
175 XEmacPs_PhyRead( xemacpsp, phy_addr, IEEE_PHYSID1_OFFSET, &id_lower ); in detect_phy()
179 XEmacPs_PhyRead( xemacpsp, phy_addr, IEEE_PHYSID2_OFFSET, &id_upper ); in detect_phy()
194 unsigned get_IEEE_phy_speed( XEmacPs * xemacpsp ) in get_IEEE_phy_speed() argument
201 u32 phy_addr = detect_phy( xemacpsp ); in get_IEEE_phy_speed()
203 XEmacPs_PhyWrite( xemacpsp, phy_addr, IEEE_1000_ADVERTISE_REG_OFFSET, in get_IEEE_phy_speed()
206 XEmacPs_PhyWrite( xemacpsp, phy_addr, IEEE_AUTONEGO_ADVERTISE_REG, in get_IEEE_phy_speed()
209 XEmacPs_PhyRead( xemacpsp, phy_addr, IEEE_CONTROL_REG_OFFSET, in get_IEEE_phy_speed()
214 XEmacPs_PhyWrite( xemacpsp, phy_addr, IEEE_CONTROL_REG_OFFSET, control ); in get_IEEE_phy_speed()
217 XEmacPs_PhyRead( xemacpsp, phy_addr, IEEE_CONTROL_REG_OFFSET, &control ); in get_IEEE_phy_speed()
[all …]
Dx_emacpsif.h123 extern unsigned Phy_Setup( XEmacPs * xemacpsp );
/FreeRTOS-Plus-TCP-v3.1.0/source/portable/NetworkInterface/xilinx_ultrascale/
Dx_emacpsif_physpeed.c248 static uint16_t prvAR803x_debug_reg_read( XEmacPs * xemacpsp,
251 static uint16_t prvAR803x_debug_reg_write( XEmacPs * xemacpsp,
255 static int prvAR803x_debug_reg_mask( XEmacPs * xemacpsp,
260 static void prvSET_AR803x_TX_Timing( XEmacPs * xemacpsp,
263 uint32_t ulDetecPHY( XEmacPs * xemacpsp ) in ulDetecPHY() argument
272 Status = XEmacPs_PhyRead( xemacpsp, phy_addr, PHY_IDENTIFIER_1_REG, &PhyReg1 ); in ulDetecPHY()
273 Status |= XEmacPs_PhyRead( xemacpsp, phy_addr, PHY_IDENTIFIER_2_REG, &PhyReg2 ); in ulDetecPHY()
289 unsigned configure_IEEE_phy_speed_US( XEmacPs * xemacpsp, in configure_IEEE_phy_speed_US() argument
295 XEmacPs_PhyWrite( xemacpsp, phy_addr, IEEE_PAGE_ADDRESS_REGISTER, 2 ); in configure_IEEE_phy_speed_US()
296 XEmacPs_PhyRead( xemacpsp, phy_addr, IEEE_CONTROL_REG_MAC, &control ); in configure_IEEE_phy_speed_US()
[all …]
Dx_emacpsif.h132 extern unsigned Phy_Setup( XEmacPs * xemacpsp );
133 extern uint32_t Phy_Setup_US( XEmacPs * xemacpsp,
Dx_emacpsif_hw.h36 uint32_t ulDetecPHY( XEmacPs * xemacpsp );