Lines Matching refs:ocp_base
681 u32 ocp_base; member
1110 tp->ocp_base = value ? value << 4 : OCP_STD_PHY_BASE; in r8168g_mdio_write()
1114 if (tp->ocp_base != OCP_STD_PHY_BASE) in r8168g_mdio_write()
1117 if (tp->ocp_base == OCP_STD_PHY_BASE && reg == MII_BMCR) in r8168g_mdio_write()
1120 r8168_phy_ocp_write(tp, tp->ocp_base + reg * 2, value); in r8168g_mdio_write()
1126 return tp->ocp_base == OCP_STD_PHY_BASE ? 0 : tp->ocp_base >> 4; in r8168g_mdio_read()
1128 if (tp->ocp_base != OCP_STD_PHY_BASE) in r8168g_mdio_read()
1131 return r8168_phy_ocp_read(tp, tp->ocp_base + reg * 2); in r8168g_mdio_read()
1137 tp->ocp_base = value << 4; in mac_mcu_write()
1141 r8168_mac_ocp_write(tp, tp->ocp_base + reg, value); in mac_mcu_write()
1146 return r8168_mac_ocp_read(tp, tp->ocp_base + reg); in mac_mcu_read()
2371 tp->ocp_base = OCP_STD_PHY_BASE; in r8169_apply_firmware()
5387 tp->ocp_base = OCP_STD_PHY_BASE; in rtl_init_one()