Searched refs:phy_addr (Results 1 – 3 of 3) sorted by relevance
| /FreeRTOS-Plus-TCP-v3.1.0/source/portable/NetworkInterface/xilinx_ultrascale/ |
| D | x_emacpsif_physpeed.c | 249 uint32_t phy_addr, 252 uint32_t phy_addr, 256 uint32_t phy_addr, 261 uint32_t phy_addr ); 267 u32 phy_addr; in ulDetecPHY() local 270 for( phy_addr = phyMIN_PHY_ADDRESS; phy_addr <= phyMAX_PHY_ADDRESS; phy_addr++ ) in ulDetecPHY() 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() 284 return ( phy_addr <= phyMAX_PHY_ADDRESS ) ? phy_addr : ~0U; in ulDetecPHY() 291 u32 phy_addr ) in configure_IEEE_phy_speed_US() argument [all …]
|
| D | x_emacpsif.h | 134 uint32_t phy_addr );
|
| /FreeRTOS-Plus-TCP-v3.1.0/source/portable/NetworkInterface/Zynq/ |
| D | x_emacpsif_physpeed.c | 171 u32 phy_addr, id; in detect_phy() local 173 for( phy_addr = 0; phy_addr < PHY_ADDRESS_COUNT; phy_addr++ ) in detect_phy() 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() 181 FreeRTOS_printf( ( "XEmacPs detect_phy: %04lX at address %d.\n", id, phy_addr ) ); in detect_phy() 182 phy_detected = phy_addr; in detect_phy() 183 return phy_addr; in detect_phy() 201 u32 phy_addr = detect_phy( xemacpsp ); in get_IEEE_phy_speed() local 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() [all …]
|