Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/realtek/
H A Dr8169_main.c80 #define OCP_STD_PHY_BASE 0xa400 macro
1127 if (tp->sfp_mode && reg == (OCP_STD_PHY_BASE + 2 * MII_PHYSID2)) in r8168_phy_ocp_read()
1247 tp->ocp_base = value ? value << 4 : OCP_STD_PHY_BASE; in r8168g_mdio_write()
1251 if (tp->ocp_base != OCP_STD_PHY_BASE) in r8168g_mdio_write()
1254 if (tp->ocp_base == OCP_STD_PHY_BASE && reg == MII_BMCR) in r8168g_mdio_write()
1263 return tp->ocp_base == OCP_STD_PHY_BASE ? 0 : tp->ocp_base >> 4; in r8168g_mdio_read()
1265 if (tp->ocp_base != OCP_STD_PHY_BASE) in r8168g_mdio_read()
2494 tp->ocp_base = OCP_STD_PHY_BASE; in r8169_apply_firmware()
5615 tp->ocp_base = OCP_STD_PHY_BASE; in rtl_init_one()