Searched refs:phy_status (Results 1 – 8 of 8) sorted by relevance
| /freebsd-11-stable/sys/contrib/octeon-sdk/ |
| HD | cvmx-helper-board.c | 653 int phy_status; in __get_marvell_phy_link_state() local 657 phy_status = cvmx_mdio_read(phy_addr >> 8, phy_addr & 0xff, 17); in __get_marvell_phy_link_state() 662 if ((phy_status & (1<<11)) == 0) in __get_marvell_phy_link_state() 666 phy_status |= 1<<11; in __get_marvell_phy_link_state() 671 if (phy_status & (1<<11)) in __get_marvell_phy_link_state() 674 result.s.full_duplex = ((phy_status>>13)&1); in __get_marvell_phy_link_state() 675 switch ((phy_status>>14)&3) in __get_marvell_phy_link_state() 701 int phy_status; in __get_broadcom_phy_link_state() local 706 phy_status = cvmx_mdio_read(phy_addr >> 8, phy_addr & 0xff, 0x19); in __get_broadcom_phy_link_state() 707 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()
|
| /freebsd-11-stable/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()
|
| /freebsd-11-stable/sys/dev/extres/phy/ |
| HD | phy.h | 83 int phy_status(phy_t phy, int *value);
|
| HD | phy.c | 404 phy_status(phy_t phy, int *status) in phy_status() function
|
| /freebsd-11-stable/sys/dev/e1000/ |
| HD | e1000_phy.c | 2314 u16 i, phy_status; in e1000_wait_autoneg() local 2323 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg() 2326 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg() 2329 if (phy_status & MII_SR_AUTONEG_COMPLETE) in e1000_wait_autoneg() 2353 u16 i, phy_status; in e1000_phy_has_link_generic() local 2365 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_phy_has_link_generic() 2376 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_phy_has_link_generic() 2379 if (phy_status & MII_SR_LINK_STATUS) in e1000_phy_has_link_generic()
|
| /freebsd-11-stable/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()
|