Lines Matching refs:mdic
190 u32 i, mdic = 0; in e1000e_read_phy_reg_mdic() local
202 mdic = ((offset << E1000_MDIC_REG_SHIFT) | in e1000e_read_phy_reg_mdic()
206 ew32(MDIC, mdic); in e1000e_read_phy_reg_mdic()
215 mdic = er32(MDIC); in e1000e_read_phy_reg_mdic()
216 if (mdic & E1000_MDIC_READY) in e1000e_read_phy_reg_mdic()
219 if (!(mdic & E1000_MDIC_READY)) { in e1000e_read_phy_reg_mdic()
223 if (mdic & E1000_MDIC_ERROR) { in e1000e_read_phy_reg_mdic()
227 *data = (u16) mdic; in e1000e_read_phy_reg_mdic()
250 u32 i, mdic = 0; in e1000e_write_phy_reg_mdic() local
262 mdic = (((u32)data) | in e1000e_write_phy_reg_mdic()
267 ew32(MDIC, mdic); in e1000e_write_phy_reg_mdic()
276 mdic = er32(MDIC); in e1000e_write_phy_reg_mdic()
277 if (mdic & E1000_MDIC_READY) in e1000e_write_phy_reg_mdic()
280 if (!(mdic & E1000_MDIC_READY)) { in e1000e_write_phy_reg_mdic()
284 if (mdic & E1000_MDIC_ERROR) { in e1000e_write_phy_reg_mdic()