Searched refs:phy_status (Results 1 - 14 of 14) sorted by relevance

/opensolaris-onvv-gate/usr/src/uts/common/io/nge/
H A Dnge_xmii.c163 uint16_t phy_status; local
182 phy_status = nge_mii_get16(ngep, MII_STATUS);
183 phy_status = nge_mii_get16(ngep, MII_STATUS);
184 if (phy_status != 0xffff) {
190 phy_status, ngep->phy_id));
/opensolaris-onvv-gate/usr/src/uts/common/io/igb/
H A Digb_gld.c1260 uint16_t phy_status, phy_ext_status; local
1290 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status);
1292 ((phy_status & MII_SR_100X_FD_CAPS) ||
1293 (phy_status & MII_SR_100T2_FD_CAPS)) ? 1 : 0);
1302 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status);
1304 ((phy_status & MII_SR_100X_HD_CAPS) ||
1305 (phy_status & MII_SR_100T2_HD_CAPS)) ? 1 : 0);
1314 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status);
1316 (phy_status & MII_SR_10T_FD_CAPS) ? 1 : 0);
1325 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status);
[all...]
H A Digb_phy.c1973 u16 i, phy_status; local
1982 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
1985 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
1988 if (phy_status & MII_SR_AUTONEG_COMPLETE)
2014 u16 i, phy_status; local
2027 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
2036 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
2039 if (phy_status & MII_SR_LINK_STATUS)
H A Digb_main.c4872 uint16_t phy_status; local
4884 (void) e1000_read_phy_reg(hw, PHY_STATUS, &phy_status);
4894 (phy_status & MII_SR_AUTONEG_CAPS) ? 1 : 0;
4906 (phy_status & MII_SR_100T4_CAPS) ? 1 : 0;
4907 igb->param_100fdx_cap = ((phy_status & MII_SR_100X_FD_CAPS) ||
4908 (phy_status & MII_SR_100T2_FD_CAPS)) ? 1 : 0;
4909 igb->param_100hdx_cap = ((phy_status & MII_SR_100X_HD_CAPS) ||
4910 (phy_status & MII_SR_100T2_HD_CAPS)) ? 1 : 0;
4912 (phy_status & MII_SR_10T_FD_CAPS) ? 1 : 0;
4914 (phy_status
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_isr.c420 uint_t phy_status; local
443 status = hci1394_ohci_phy_read(soft_state->ohci, 5, &phy_status);
448 phy_status |= OHCI_PHY_LOOP_ERR | OHCI_PHY_PWRFAIL_ERR |
451 phy_status);
H A Dhci1394_ohci.c2495 uint_t phy_status; local
2522 status = hci1394_ohci_phy_read(ohci_hdl, 5, &phy_status);
2531 if (phy_status & OHCI_PHY_LOOP_ERR) {
2537 if (phy_status & OHCI_PHY_PWRFAIL_ERR) {
2541 if (phy_status & OHCI_PHY_TIMEOUT_ERR) {
2545 if (phy_status & OHCI_PHY_PORTEVT_ERR) {
2551 status = hci1394_ohci_phy_write(ohci_hdl, 5, phy_status);
/opensolaris-onvv-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_82598.c794 s32 phy_status = IXGBE_SUCCESS; local
844 phy_status = hw->phy.ops.init(hw);
845 if (phy_status == IXGBE_ERR_SFP_NOT_SUPPORTED)
847 else if (phy_status == IXGBE_ERR_SFP_NOT_PRESENT)
923 if (phy_status != IXGBE_SUCCESS)
924 status = phy_status;
/opensolaris-onvv-gate/usr/src/uts/common/io/e1000g/
H A De1000g_main.c3426 ((Adapter->phy_status & MII_SR_100X_FD_CAPS) ||
3427 (Adapter->phy_status & MII_SR_100T2_FD_CAPS))
3437 ((Adapter->phy_status & MII_SR_100X_HD_CAPS) ||
3438 (Adapter->phy_status & MII_SR_100T2_HD_CAPS))
3448 (Adapter->phy_status & MII_SR_10T_FD_CAPS) ? 1 : 0);
3457 (Adapter->phy_status & MII_SR_10T_HD_CAPS) ? 1 : 0);
3471 (Adapter->phy_status & MII_SR_AUTONEG_CAPS)
4744 uint16_t phy_status; local
4765 (void) e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status);
4766 if (!(phy_status
[all...]
H A De1000_phy.c1957 u16 i, phy_status; local
1966 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
1969 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
1972 if (phy_status & MII_SR_AUTONEG_COMPLETE)
1998 u16 i, phy_status; local
2011 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
2020 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
2023 if (phy_status & MII_SR_LINK_STATUS)
H A De1000g_stat.c543 (Adapter->phy_status & MII_SR_100T4_CAPS) ?
H A De1000g_sw.h980 uint16_t phy_status; /* contents of PHY_STATUS */ member in struct:e1000g
/opensolaris-onvv-gate/usr/src/uts/common/io/bge/
H A Dbge_mii.c536 uint16_t phy_status; local
626 phy_status = bge_mii_get16(bgep, MII_STATUS);
627 phy_status = bge_mii_get16(bgep, MII_STATUS);
628 BGE_DEBUG(("bge_restart_copper: status 0x%x", phy_status));
/opensolaris-onvv-gate/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; local
474 err = tg3_readphy(tp, MII_BMSR, &phy_status);
475 err |= tg3_readphy(tp, MII_BMSR, &phy_status);

Completed in 155 milliseconds