Searched refs:phy_addr (Results 1 – 3 of 3) sorted by relevance
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/xilinx_ultrascale/ |
D | x_emacpsif_physpeed.c | 233 uint32_t phy_addr, 237 uint32_t phy_addr ); 243 u32 phy_addr; in ulDetecPHY() local 246 for( phy_addr = phyMIN_PHY_ADDRESS; phy_addr <= phyMAX_PHY_ADDRESS; phy_addr++ ) in ulDetecPHY() 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() 260 return ( phy_addr <= phyMAX_PHY_ADDRESS ) ? phy_addr : ~0U; in ulDetecPHY() 267 u32 phy_addr ) 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() [all …]
|
D | x_emacpsif.h | 131 uint32_t phy_addr );
|
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/Zynq/ |
D | x_emacpsif_physpeed.c | 165 u32 phy_addr; in detect_phy() local 167 for( phy_addr = 0; phy_addr < PHY_ADDRESS_COUNT; phy_addr++ ) in detect_phy() 169 XEmacPs_PhyRead( xemacpsp, phy_addr, PHY_DETECT_REG, &id_lower ); in detect_phy() 175 … FreeRTOS_printf( ( "XEmacPs detect_phy: PHY detected at address %d.\n", ( unsigned ) phy_addr ) ); in detect_phy() 176 phy_detected[ xemacpsp->Config.DeviceId ] = phy_addr; in detect_phy() 177 return phy_addr; in detect_phy() 195 u32 phy_addr = detect_phy( xemacpsp ); in get_IEEE_phy_speed() local 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() [all …]
|