Lines Matching refs:mdio_ctrl
665 int ret, mdio_ctrl, tx_conf; in xpcs_config_aneg_c37_sgmii() local
686 mdio_ctrl = xpcs_read(xpcs, MDIO_MMD_VEND2, DW_VR_MII_MMD_CTRL); in xpcs_config_aneg_c37_sgmii()
687 if (mdio_ctrl < 0) in xpcs_config_aneg_c37_sgmii()
688 return mdio_ctrl; in xpcs_config_aneg_c37_sgmii()
690 if (mdio_ctrl & AN_CL37_EN) { in xpcs_config_aneg_c37_sgmii()
692 mdio_ctrl & ~AN_CL37_EN); in xpcs_config_aneg_c37_sgmii()
736 mdio_ctrl | AN_CL37_EN); in xpcs_config_aneg_c37_sgmii()
746 int ret, mdio_ctrl, adv; in xpcs_config_aneg_c37_1000basex() local
757 mdio_ctrl = xpcs_read(xpcs, MDIO_MMD_VEND2, DW_VR_MII_MMD_CTRL); in xpcs_config_aneg_c37_1000basex()
758 if (mdio_ctrl < 0) in xpcs_config_aneg_c37_1000basex()
759 return mdio_ctrl; in xpcs_config_aneg_c37_1000basex()
761 if (mdio_ctrl & AN_CL37_EN) { in xpcs_config_aneg_c37_1000basex()
763 mdio_ctrl & ~AN_CL37_EN); in xpcs_config_aneg_c37_1000basex()
800 mdio_ctrl | AN_CL37_EN); in xpcs_config_aneg_c37_1000basex()