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

/freebsd-10.0-release/sys/contrib/octeon-sdk/
H A Dcvmx-spi4000.c396 static int phy_status[10] = {0,}; local
455 if (read_status != phy_status[port])
457 phy_status[port] = read_status;
H A Dcvmx-helper-board.c652 int phy_status; local
656 phy_status = cvmx_mdio_read(phy_addr >> 8, phy_addr & 0xff, 17);
661 if ((phy_status & (1<<11)) == 0)
665 phy_status |= 1<<11;
670 if (phy_status & (1<<11))
673 result.s.full_duplex = ((phy_status>>13)&1);
674 switch ((phy_status>>14)&3)
700 int phy_status; local
705 phy_status = cvmx_mdio_read(phy_addr >> 8, phy_addr & 0xff, 0x19);
706 switch ((phy_status>>
[all...]
H A Dcvmx-mgmt-port.c246 cvmx_mdio_phy_reg_status_t phy_status; local
248 phy_status.u16 = cvmx_mdio_read(phy_addr >> 8, phy_addr & 0xff, CVMX_MDIO_PHY_REG_STATUS);
249 if (phy_status.s.capable_extended_status == 0) // MII mode
252 && phy_status.s.capable_extended_status) // RGMII mode
/freebsd-10.0-release/sys/dev/ixgbe/
H A Dixgbe_82598.c803 s32 phy_status = IXGBE_SUCCESS; local
855 phy_status = hw->phy.ops.init(hw);
856 if (phy_status == IXGBE_ERR_SFP_NOT_SUPPORTED)
858 if (phy_status == IXGBE_ERR_SFP_NOT_PRESENT)
924 if (phy_status != IXGBE_SUCCESS)
925 status = phy_status;
/freebsd-10.0-release/sys/dev/e1000/
H A De1000_phy.c2313 u16 i, phy_status; local
2322 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
2325 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
2328 if (phy_status & MII_SR_AUTONEG_COMPLETE)
2352 u16 i, phy_status; local
2364 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
2371 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status);
2374 if (phy_status & MII_SR_LINK_STATUS)
/freebsd-10.0-release/sys/dev/isci/scil/
H A Dscic_sds_controller.c1739 SCI_STATUS phy_status; local
1745 phy_status = scic_phy_stop(&this_controller->phy_table[index]);
1748 (phy_status != SCI_SUCCESS)
1749 && (phy_status != SCI_FAILURE_INVALID_STATE)
1758 this_controller->phy_table[index].phy_index, phy_status

Completed in 247 milliseconds