Searched refs:mdic (Results 1 – 4 of 4) sorted by relevance
142 u32 i, mdic = 0; in igb_read_phy_reg_mdic() local156 mdic = ((offset << E1000_MDIC_REG_SHIFT) | in igb_read_phy_reg_mdic()160 wr32(E1000_MDIC, mdic); in igb_read_phy_reg_mdic()169 mdic = rd32(E1000_MDIC); in igb_read_phy_reg_mdic()170 if (mdic & E1000_MDIC_READY) in igb_read_phy_reg_mdic()173 if (!(mdic & E1000_MDIC_READY)) { in igb_read_phy_reg_mdic()178 if (mdic & E1000_MDIC_ERROR) { in igb_read_phy_reg_mdic()183 *data = (u16) mdic; in igb_read_phy_reg_mdic()200 u32 i, mdic = 0; in igb_write_phy_reg_mdic() local214 mdic = (((u32)data) | in igb_write_phy_reg_mdic()[all …]
483 u32 mdic; in igb_get_phy_id_82575() local502 mdic = rd32(E1000_MDIC); in igb_get_phy_id_82575()503 mdic &= E1000_MDIC_PHY_MASK; in igb_get_phy_id_82575()504 phy->addr = mdic >> E1000_MDIC_PHY_SHIFT; in igb_get_phy_id_82575()508 mdic = rd32(E1000_MDICNFG); in igb_get_phy_id_82575()509 mdic &= E1000_MDICNFG_PHY_MASK; in igb_get_phy_id_82575()510 phy->addr = mdic >> E1000_MDICNFG_PHY_SHIFT; in igb_get_phy_id_82575()
2853 u32 mdic = 0; in e1000_read_phy_reg_ex() local2869 mdic = ((reg_addr << E1000_MDIC_REG_SHIFT) | in e1000_read_phy_reg_ex()2874 writel(mdic, E1000_MDIO_CMD); in e1000_read_phy_reg_ex()2881 mdic = readl(E1000_MDIO_CMD); in e1000_read_phy_reg_ex()2882 if (!(mdic & INTEL_CE_GBE_MDIC_GO)) in e1000_read_phy_reg_ex()2886 if (mdic & INTEL_CE_GBE_MDIC_GO) { in e1000_read_phy_reg_ex()2891 mdic = readl(E1000_MDIO_STS); in e1000_read_phy_reg_ex()2892 if (mdic & INTEL_CE_GBE_MDIC_READ_ERROR) { in e1000_read_phy_reg_ex()2896 *phy_data = (u16) mdic; in e1000_read_phy_reg_ex()2898 mdic = ((reg_addr << E1000_MDIC_REG_SHIFT) | in e1000_read_phy_reg_ex()[all …]
190 u32 i, mdic = 0; in e1000e_read_phy_reg_mdic() local202 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() local262 mdic = (((u32)data) | in e1000e_write_phy_reg_mdic()[all …]