Searched refs:PHYAR (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/net/ |
H A D | rtl8169.c | 134 PHYAR = 0x60, enumerator 351 RTL_W32(PHYAR, 0x80000000 | (RegAddr & 0xFF) << 16 | value); in mdio_write() 356 if (!(RTL_R32(PHYAR) & 0x80000000)) { in mdio_write() 368 RTL_W32(PHYAR, 0x0 | (RegAddr & 0xFF) << 16); in mdio_read() 373 if (RTL_R32(PHYAR) & 0x80000000) { in mdio_read() 374 value = (int) (RTL_R32(PHYAR) & 0xFFFF); in mdio_read()
|
/openbmc/linux/drivers/net/ethernet/realtek/ |
H A D | r8169_main.c | 213 PHYAR = 0x60, enumerator 1033 return RTL_R32(tp, PHYAR) & 0x80000000; in DECLARE_RTL_COND() 1038 RTL_W32(tp, PHYAR, 0x80000000 | (reg & 0x1f) << 16 | (value & 0xffff)); in r8169_mdio_write() 1052 RTL_W32(tp, PHYAR, 0x0 | (reg & 0x1f) << 16); in r8169_mdio_read() 1055 RTL_R32(tp, PHYAR) & 0xffff : -ETIMEDOUT; in r8169_mdio_read()
|