Searched refs:cssr1 (Results 1 – 1 of 1) sorted by relevance
1038 int cssr1, speed, val; in mv3310_read_status_copper() local1048 cssr1 = phy_read_mmd(phydev, MDIO_MMD_PCS, MV_PCS_CSSR1); in mv3310_read_status_copper()1049 if (cssr1 < 0) in mv3310_read_status_copper()1050 return cssr1; in mv3310_read_status_copper()1053 if (!(cssr1 & MV_PCS_CSSR1_RESOLVED)) { in mv3310_read_status_copper()1059 speed = cssr1 & MV_PCS_CSSR1_SPD1_MASK; in mv3310_read_status_copper()1061 speed |= cssr1 & MV_PCS_CSSR1_SPD2_MASK; in mv3310_read_status_copper()1089 phydev->duplex = cssr1 & MV_PCS_CSSR1_DUPLEX_FULL ? in mv3310_read_status_copper()1092 phydev->mdix = cssr1 & MV_PCS_CSSR1_MDIX ? in mv3310_read_status_copper()