/titanic_41/usr/src/uts/common/io/igb/ |
H A D | igb_gld.c | 1233 uint16_t phy_status, phy_ext_status; in igb_m_propinfo() local 1263 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status); in igb_m_propinfo() 1265 ((phy_status & MII_SR_100X_FD_CAPS) || in igb_m_propinfo() 1266 (phy_status & MII_SR_100T2_FD_CAPS)) ? 1 : 0); in igb_m_propinfo() 1275 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status); in igb_m_propinfo() 1277 ((phy_status & MII_SR_100X_HD_CAPS) || in igb_m_propinfo() 1278 (phy_status & MII_SR_100T2_HD_CAPS)) ? 1 : 0); in igb_m_propinfo() 1287 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status); in igb_m_propinfo() 1289 (phy_status & MII_SR_10T_FD_CAPS) ? 1 : 0); in igb_m_propinfo() 1298 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status); in igb_m_propinfo() [all …]
|
H A D | igb_main.c | 5042 uint16_t phy_status; in igb_get_phy_state() local 5054 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status); in igb_get_phy_state() 5064 (phy_status & MII_SR_AUTONEG_CAPS) ? 1 : 0; in igb_get_phy_state() 5076 (phy_status & MII_SR_100T4_CAPS) ? 1 : 0; in igb_get_phy_state() 5077 igb->param_100fdx_cap = ((phy_status & MII_SR_100X_FD_CAPS) || in igb_get_phy_state() 5078 (phy_status & MII_SR_100T2_FD_CAPS)) ? 1 : 0; in igb_get_phy_state() 5079 igb->param_100hdx_cap = ((phy_status & MII_SR_100X_HD_CAPS) || in igb_get_phy_state() 5080 (phy_status & MII_SR_100T2_HD_CAPS)) ? 1 : 0; in igb_get_phy_state() 5082 (phy_status & MII_SR_10T_FD_CAPS) ? 1 : 0; in igb_get_phy_state() 5084 (phy_status & MII_SR_10T_HD_CAPS) ? 1 : 0; in igb_get_phy_state() [all …]
|
/titanic_41/usr/src/uts/common/io/nge/ |
H A D | nge_xmii.c | 163 uint16_t phy_status; in nge_phy_probe() local 182 phy_status = nge_mii_get16(ngep, MII_STATUS); in nge_phy_probe() 183 phy_status = nge_mii_get16(ngep, MII_STATUS); in nge_phy_probe() 184 if (phy_status != 0xffff) { in nge_phy_probe() 190 phy_status, ngep->phy_id)); in nge_phy_probe()
|
/titanic_41/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_isr.c | 420 uint_t phy_status; in hci1394_isr_self_id() local 443 status = hci1394_ohci_phy_read(soft_state->ohci, 5, &phy_status); in hci1394_isr_self_id() 448 phy_status |= OHCI_PHY_LOOP_ERR | OHCI_PHY_PWRFAIL_ERR | in hci1394_isr_self_id() 451 phy_status); in hci1394_isr_self_id()
|
H A D | hci1394_ohci.c | 2495 uint_t phy_status; in hci1394_ohci_isr_phy() local 2522 status = hci1394_ohci_phy_read(ohci_hdl, 5, &phy_status); in hci1394_ohci_isr_phy() 2531 if (phy_status & OHCI_PHY_LOOP_ERR) { in hci1394_ohci_isr_phy() 2537 if (phy_status & OHCI_PHY_PWRFAIL_ERR) { in hci1394_ohci_isr_phy() 2541 if (phy_status & OHCI_PHY_TIMEOUT_ERR) { in hci1394_ohci_isr_phy() 2545 if (phy_status & OHCI_PHY_PORTEVT_ERR) { in hci1394_ohci_isr_phy() 2551 status = hci1394_ohci_phy_write(ohci_hdl, 5, phy_status); in hci1394_ohci_isr_phy()
|
/titanic_41/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_main.c | 3481 ((Adapter->phy_status & MII_SR_100X_FD_CAPS) || in e1000g_m_propinfo() 3482 (Adapter->phy_status & MII_SR_100T2_FD_CAPS)) in e1000g_m_propinfo() 3492 ((Adapter->phy_status & MII_SR_100X_HD_CAPS) || in e1000g_m_propinfo() 3493 (Adapter->phy_status & MII_SR_100T2_HD_CAPS)) in e1000g_m_propinfo() 3503 (Adapter->phy_status & MII_SR_10T_FD_CAPS) ? 1 : 0); in e1000g_m_propinfo() 3512 (Adapter->phy_status & MII_SR_10T_HD_CAPS) ? 1 : 0); in e1000g_m_propinfo() 3526 (Adapter->phy_status & MII_SR_AUTONEG_CAPS) in e1000g_m_propinfo() 4799 uint16_t phy_status; in e1000g_smartspeed() local 4820 (void) e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); in e1000g_smartspeed() 4821 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) in e1000g_smartspeed() [all …]
|
H A D | e1000g_sw.h | 978 uint16_t phy_status; /* contents of PHY_STATUS */ member
|
H A D | e1000g_stat.c | 539 (Adapter->phy_status & MII_SR_100T4_CAPS) ? in e1000g_m_stat()
|
/titanic_41/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_82598.c | 807 s32 phy_status = IXGBE_SUCCESS; in ixgbe_reset_hw_82598() local 859 phy_status = hw->phy.ops.init(hw); in ixgbe_reset_hw_82598() 860 if (phy_status == IXGBE_ERR_SFP_NOT_SUPPORTED) in ixgbe_reset_hw_82598() 862 if (phy_status == IXGBE_ERR_SFP_NOT_PRESENT) in ixgbe_reset_hw_82598() 928 if (phy_status != IXGBE_SUCCESS) in ixgbe_reset_hw_82598() 929 status = phy_status; in ixgbe_reset_hw_82598()
|
/titanic_41/usr/src/grub/grub-0.97/netboot/ |
H A D | tlan.c | 1753 u16 phy_status; local 1758 TLan_MiiReadReg(nic, phy, MII_GEN_STS, &phy_status); 1761 if (!(phy_status & MII_GS_LINK)) { 1774 if ((phy_status & MII_GS_LINK) && !priv->link) {
|
H A D | tg3.c | 471 uint32_t phy_status; in tg3_phy_reset() local 474 err = tg3_readphy(tp, MII_BMSR, &phy_status); in tg3_phy_reset() 475 err |= tg3_readphy(tp, MII_BMSR, &phy_status); in tg3_phy_reset()
|
/titanic_41/usr/src/uts/common/io/e1000api/ |
H A D | e1000_phy.c | 2313 u16 i, phy_status; in e1000_wait_autoneg() local 2322 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg() 2325 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg() 2328 if (phy_status & MII_SR_AUTONEG_COMPLETE) in e1000_wait_autoneg() 2352 u16 i, phy_status; in e1000_phy_has_link_generic() local 2364 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_phy_has_link_generic() 2375 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_phy_has_link_generic() 2378 if (phy_status & MII_SR_LINK_STATUS) in e1000_phy_has_link_generic()
|
/titanic_41/usr/src/uts/common/io/bge/ |
H A D | bge_mii.c | 562 uint16_t phy_status; in bge_restart_copper() local 655 phy_status = bge_mii_get16(bgep, MII_STATUS); in bge_restart_copper() 657 BGE_DEBUG(("bge_restart_copper: status 0x%x", phy_status)); in bge_restart_copper()
|