Searched refs:phy_status (Results 1 – 6 of 6) sorted by relevance
| /trueos/sys/contrib/octeon-sdk/ |
| HD | cvmx-helper-board.c | 652 int phy_status; in __get_marvell_phy_link_state() local 656 phy_status = cvmx_mdio_read(phy_addr >> 8, phy_addr & 0xff, 17); in __get_marvell_phy_link_state() 661 if ((phy_status & (1<<11)) == 0) in __get_marvell_phy_link_state() 665 phy_status |= 1<<11; in __get_marvell_phy_link_state() 670 if (phy_status & (1<<11)) in __get_marvell_phy_link_state() 673 result.s.full_duplex = ((phy_status>>13)&1); in __get_marvell_phy_link_state() 674 switch ((phy_status>>14)&3) in __get_marvell_phy_link_state() 700 int phy_status; in __get_broadcom_phy_link_state() local 705 phy_status = cvmx_mdio_read(phy_addr >> 8, phy_addr & 0xff, 0x19); in __get_broadcom_phy_link_state() 706 switch ((phy_status>>8) & 0x7) in __get_broadcom_phy_link_state()
|
| HD | cvmx-spi4000.c | 396 static int phy_status[10] = {0,}; in cvmx_spi4000_check_speed() local 455 if (read_status != phy_status[port]) in cvmx_spi4000_check_speed() 457 phy_status[port] = read_status; in cvmx_spi4000_check_speed()
|
| HD | cvmx-mgmt-port.c | 246 cvmx_mdio_phy_reg_status_t phy_status; in cvmx_mgmt_port_initialize() local 248 … phy_status.u16 = cvmx_mdio_read(phy_addr >> 8, phy_addr & 0xff, CVMX_MDIO_PHY_REG_STATUS); in cvmx_mgmt_port_initialize() 249 if (phy_status.s.capable_extended_status == 0) // MII mode in cvmx_mgmt_port_initialize() 252 && phy_status.s.capable_extended_status) // RGMII mode in cvmx_mgmt_port_initialize()
|
| /trueos/sys/dev/ixgbe/ |
| HD | ixgbe_82598.c | 812 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()
|
| /trueos/sys/dev/e1000/ |
| HD | 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()
|
| /trueos/sys/dev/isci/scil/ |
| HD | scic_sds_controller.c | 1739 SCI_STATUS phy_status; in scic_sds_controller_stop_phys() local 1745 phy_status = scic_phy_stop(&this_controller->phy_table[index]); in scic_sds_controller_stop_phys() 1748 (phy_status != SCI_SUCCESS) in scic_sds_controller_stop_phys() 1749 && (phy_status != SCI_FAILURE_INVALID_STATE) in scic_sds_controller_stop_phys() 1758 this_controller->phy_table[index].phy_index, phy_status in scic_sds_controller_stop_phys()
|