Searched refs:mdic (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/grub/grub-0.97/netboot/ |
H A D | e1000.c | 2840 uint32_t mdic = 0; local 2855 mdic = ((reg_addr << E1000_MDIC_REG_SHIFT) | 2859 E1000_WRITE_REG(hw, MDIC, mdic); 2864 mdic = E1000_READ_REG(hw, MDIC); 2865 if(mdic & E1000_MDIC_READY) break; 2867 if(!(mdic & E1000_MDIC_READY)) { 2871 if(mdic & E1000_MDIC_ERROR) { 2875 *phy_data = (uint16_t) mdic; 2894 mdic = ((reg_addr) | (phy_addr << 5) | 2897 e1000_shift_out_mdi_bits(hw, mdic, 14); [all …]
|
/titanic_44/usr/src/uts/common/io/e1000api/ |
H A D | e1000_82543.c | 489 u32 mdic; in e1000_read_phy_reg_82543() local 519 mdic = (offset | (hw->phy.addr << 5) | in e1000_read_phy_reg_82543() 522 e1000_shift_out_mdi_bits_82543(hw, mdic, 14); in e1000_read_phy_reg_82543() 545 u32 mdic; in e1000_write_phy_reg_82543() local 571 mdic = ((PHY_TURNAROUND) | (offset << 2) | (hw->phy.addr << 7) | in e1000_write_phy_reg_82543() 573 mdic <<= 16; in e1000_write_phy_reg_82543() 574 mdic |= (u32)data; in e1000_write_phy_reg_82543() 576 e1000_shift_out_mdi_bits_82543(hw, mdic, 32); in e1000_write_phy_reg_82543()
|
H A D | e1000_phy.c | 287 u32 i, mdic = 0; in e1000_read_phy_reg_mdic() local 300 mdic = ((offset << E1000_MDIC_REG_SHIFT) | in e1000_read_phy_reg_mdic() 304 E1000_WRITE_REG(hw, E1000_MDIC, mdic); in e1000_read_phy_reg_mdic() 312 mdic = E1000_READ_REG(hw, E1000_MDIC); in e1000_read_phy_reg_mdic() 313 if (mdic & E1000_MDIC_READY) in e1000_read_phy_reg_mdic() 316 if (!(mdic & E1000_MDIC_READY)) { in e1000_read_phy_reg_mdic() 320 if (mdic & E1000_MDIC_ERROR) { in e1000_read_phy_reg_mdic() 324 if (((mdic & E1000_MDIC_REG_MASK) >> E1000_MDIC_REG_SHIFT) != offset) { in e1000_read_phy_reg_mdic() 327 (mdic & E1000_MDIC_REG_MASK) >> E1000_MDIC_REG_SHIFT); in e1000_read_phy_reg_mdic() 330 *data = (u16) mdic; in e1000_read_phy_reg_mdic() [all …]
|
H A D | e1000_82575.c | 667 u32 mdic; in e1000_get_phy_id_82575() local 692 mdic = E1000_READ_REG(hw, E1000_MDIC); in e1000_get_phy_id_82575() 693 mdic &= E1000_MDIC_PHY_MASK; in e1000_get_phy_id_82575() 694 phy->addr = mdic >> E1000_MDIC_PHY_SHIFT; in e1000_get_phy_id_82575() 701 mdic = E1000_READ_REG(hw, E1000_MDICNFG); in e1000_get_phy_id_82575() 702 mdic &= E1000_MDICNFG_PHY_MASK; in e1000_get_phy_id_82575() 703 phy->addr = mdic >> E1000_MDICNFG_PHY_SHIFT; in e1000_get_phy_id_82575()
|