Searched refs:phy_status (Results 1 – 9 of 9) sorted by relevance
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | 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()
|
| H A D | 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()
|
| H A D | 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()
|
| /f-stack/dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_82598.c | 783 s32 phy_status = IXGBE_SUCCESS; in ixgbe_reset_hw_82598() local 835 phy_status = hw->phy.ops.init(hw); in ixgbe_reset_hw_82598() 836 if (phy_status == IXGBE_ERR_SFP_NOT_SUPPORTED) in ixgbe_reset_hw_82598() 838 if (phy_status == IXGBE_ERR_SFP_NOT_PRESENT) in ixgbe_reset_hw_82598() 904 if (phy_status != IXGBE_SUCCESS) in ixgbe_reset_hw_82598() 905 status = phy_status; in ixgbe_reset_hw_82598()
|
| /f-stack/dpdk/drivers/net/e1000/base/ |
| H A D | e1000_phy.c | 2297 u16 i, phy_status; in e1000_wait_autoneg() local 2306 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg() 2309 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg() 2312 if (phy_status & MII_SR_AUTONEG_COMPLETE) in e1000_wait_autoneg() 2336 u16 i, phy_status; in e1000_phy_has_link_generic() local 2348 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_phy_has_link_generic() 2359 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_phy_has_link_generic() 2362 if (phy_status & MII_SR_LINK_STATUS) in e1000_phy_has_link_generic()
|
| /f-stack/dpdk/drivers/net/igc/base/ |
| H A D | igc_phy.c | 2332 u16 i, phy_status; in igc_wait_autoneg() local 2341 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg() 2344 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg() 2347 if (phy_status & MII_SR_AUTONEG_COMPLETE) in igc_wait_autoneg() 2371 u16 i, phy_status; in igc_phy_has_link_generic() local 2383 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_phy_has_link_generic() 2394 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_phy_has_link_generic() 2397 if (phy_status & MII_SR_LINK_STATUS) in igc_phy_has_link_generic()
|
| /f-stack/dpdk/drivers/net/axgbe/ |
| H A D | axgbe_ethdev.h | 369 void (*phy_status)(struct axgbe_port *); member
|
| H A D | axgbe_mdio.c | 1283 phy_if->phy_status = axgbe_phy_status; in axgbe_init_function_ptrs_phy()
|
| H A D | axgbe_ethdev.c | 734 pdata->phy_if.phy_status(pdata); in axgbe_dev_link_update()
|