Lines Matching refs:temp
97 int temp; in mpc8568_mds_phy_fixups() local
106 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups()
108 if (temp < 0) in mpc8568_mds_phy_fixups()
109 return temp; in mpc8568_mds_phy_fixups()
111 temp = (temp & (~0x8000)) | 0x4000; in mpc8568_mds_phy_fixups()
112 err = phy_write(phydev,30, temp); in mpc8568_mds_phy_fixups()
122 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups()
124 if (temp < 0) in mpc8568_mds_phy_fixups()
125 return temp; in mpc8568_mds_phy_fixups()
127 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups()
129 if (temp < 0) in mpc8568_mds_phy_fixups()
130 return temp; in mpc8568_mds_phy_fixups()
132 temp &= ~0x0020; in mpc8568_mds_phy_fixups()
134 err = phy_write(phydev,30,temp); in mpc8568_mds_phy_fixups()
140 temp = phy_read(phydev, 16); in mpc8568_mds_phy_fixups()
142 if (temp < 0) in mpc8568_mds_phy_fixups()
143 return temp; in mpc8568_mds_phy_fixups()
145 temp &= ~0x0060; in mpc8568_mds_phy_fixups()
146 err = phy_write(phydev,16,temp); in mpc8568_mds_phy_fixups()