Home
last modified time | relevance | path

Searched refs:phy_status (Results 1 – 13 of 13) sorted by relevance

/titanic_44/usr/src/uts/common/io/igb/
H A Digb_gld.c1304 uint16_t phy_status, phy_ext_status; in igb_m_propinfo() local
1334 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status); in igb_m_propinfo()
1336 ((phy_status & MII_SR_100X_FD_CAPS) || in igb_m_propinfo()
1337 (phy_status & MII_SR_100T2_FD_CAPS)) ? 1 : 0); in igb_m_propinfo()
1346 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status); in igb_m_propinfo()
1348 ((phy_status & MII_SR_100X_HD_CAPS) || in igb_m_propinfo()
1349 (phy_status & MII_SR_100T2_HD_CAPS)) ? 1 : 0); in igb_m_propinfo()
1358 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status); in igb_m_propinfo()
1360 (phy_status & MII_SR_10T_FD_CAPS) ? 1 : 0); in igb_m_propinfo()
1369 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status); in igb_m_propinfo()
[all …]
H A Digb_main.c5052 uint16_t phy_status; in igb_get_phy_state() local
5064 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status); in igb_get_phy_state()
5074 (phy_status & MII_SR_AUTONEG_CAPS) ? 1 : 0; in igb_get_phy_state()
5086 (phy_status & MII_SR_100T4_CAPS) ? 1 : 0; in igb_get_phy_state()
5087 igb->param_100fdx_cap = ((phy_status & MII_SR_100X_FD_CAPS) || in igb_get_phy_state()
5088 (phy_status & MII_SR_100T2_FD_CAPS)) ? 1 : 0; in igb_get_phy_state()
5089 igb->param_100hdx_cap = ((phy_status & MII_SR_100X_HD_CAPS) || in igb_get_phy_state()
5090 (phy_status & MII_SR_100T2_HD_CAPS)) ? 1 : 0; in igb_get_phy_state()
5092 (phy_status & MII_SR_10T_FD_CAPS) ? 1 : 0; in igb_get_phy_state()
5094 (phy_status & MII_SR_10T_HD_CAPS) ? 1 : 0; in igb_get_phy_state()
[all …]
/titanic_44/usr/src/uts/common/io/nge/
H A Dnge_xmii.c163 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_44/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_isr.c420 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 Dhci1394_ohci.c2495 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_44/usr/src/uts/common/io/e1000g/
H A De1000g_main.c3698 ((Adapter->phy_status & MII_SR_100X_FD_CAPS) || in e1000g_m_propinfo()
3699 (Adapter->phy_status & MII_SR_100T2_FD_CAPS)) in e1000g_m_propinfo()
3709 ((Adapter->phy_status & MII_SR_100X_HD_CAPS) || in e1000g_m_propinfo()
3710 (Adapter->phy_status & MII_SR_100T2_HD_CAPS)) in e1000g_m_propinfo()
3720 (Adapter->phy_status & MII_SR_10T_FD_CAPS) ? 1 : 0); in e1000g_m_propinfo()
3729 (Adapter->phy_status & MII_SR_10T_HD_CAPS) ? 1 : 0); in e1000g_m_propinfo()
3743 (Adapter->phy_status & MII_SR_AUTONEG_CAPS) in e1000g_m_propinfo()
5016 uint16_t phy_status; in e1000g_smartspeed() local
5037 (void) e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); in e1000g_smartspeed()
5038 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) in e1000g_smartspeed()
[all …]
H A De1000g_sw.h979 uint16_t phy_status; /* contents of PHY_STATUS */ member
H A De1000g_stat.c539 (Adapter->phy_status & MII_SR_100T4_CAPS) ? in e1000g_m_stat()
/titanic_44/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_82598.c812 s32 phy_status = IXGBE_SUCCESS; in ixgbe_reset_hw_82598() local
864 phy_status = hw->phy.ops.init(hw); in ixgbe_reset_hw_82598()
865 if (phy_status == IXGBE_ERR_SFP_NOT_SUPPORTED) in ixgbe_reset_hw_82598()
867 if (phy_status == IXGBE_ERR_SFP_NOT_PRESENT) in ixgbe_reset_hw_82598()
933 if (phy_status != IXGBE_SUCCESS) in ixgbe_reset_hw_82598()
934 status = phy_status; in ixgbe_reset_hw_82598()
/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Dtlan.c1753 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 Dtg3.c471 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_44/usr/src/uts/common/io/e1000api/
H A De1000_phy.c2313 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_44/usr/src/uts/common/io/bge/
H A Dbge_mii.c562 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()