Lines Matching refs:temp
101 int temp; in mpc8568_mds_phy_fixups() local
110 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups()
112 if (temp < 0) in mpc8568_mds_phy_fixups()
113 return temp; in mpc8568_mds_phy_fixups()
115 temp = (temp & (~0x8000)) | 0x4000; in mpc8568_mds_phy_fixups()
116 err = phy_write(phydev,30, temp); in mpc8568_mds_phy_fixups()
126 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups()
128 if (temp < 0) in mpc8568_mds_phy_fixups()
129 return temp; in mpc8568_mds_phy_fixups()
131 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups()
133 if (temp < 0) in mpc8568_mds_phy_fixups()
134 return temp; in mpc8568_mds_phy_fixups()
136 temp &= ~0x0020; in mpc8568_mds_phy_fixups()
138 err = phy_write(phydev,30,temp); in mpc8568_mds_phy_fixups()
144 temp = phy_read(phydev, 16); in mpc8568_mds_phy_fixups()
146 if (temp < 0) in mpc8568_mds_phy_fixups()
147 return temp; in mpc8568_mds_phy_fixups()
149 temp &= ~0x0060; in mpc8568_mds_phy_fixups()
150 err = phy_write(phydev,16,temp); in mpc8568_mds_phy_fixups()