| /freebsd-12-stable/sys/dev/igc/ |
| D | igc_phy.c | 768 u16 i, phy_status; in igc_wait_autoneg() local 777 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg() 780 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg() 783 if (phy_status & MII_SR_AUTONEG_COMPLETE) in igc_wait_autoneg() 807 u16 i, phy_status; in igc_phy_has_link_generic() local 819 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_phy_has_link_generic() 830 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_phy_has_link_generic() 833 if (phy_status & MII_SR_LINK_STATUS) in igc_phy_has_link_generic()
|
| /freebsd-12-stable/sys/contrib/octeon-sdk/ |
| 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()
|
| 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()
|
| 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()
|
| /freebsd-12-stable/sys/dev/ixgbe/ |
| D | ixgbe_82598.c | 814 s32 phy_status = IXGBE_SUCCESS; in ixgbe_reset_hw_82598() local 866 phy_status = hw->phy.ops.init(hw); in ixgbe_reset_hw_82598() 867 if (phy_status == IXGBE_ERR_SFP_NOT_SUPPORTED) in ixgbe_reset_hw_82598() 869 if (phy_status == IXGBE_ERR_SFP_NOT_PRESENT) in ixgbe_reset_hw_82598() 935 if (phy_status != IXGBE_SUCCESS) in ixgbe_reset_hw_82598() 936 status = phy_status; in ixgbe_reset_hw_82598()
|
| /freebsd-12-stable/sys/dev/extres/phy/ |
| D | phy.h | 83 int phy_status(phy_t phy, int *value);
|
| D | phy.c | 355 phy_status(phy_t phy, int *status) in phy_status() function
|
| /freebsd-12-stable/sys/dev/e1000/ |
| D | e1000_phy.c | 2325 u16 i, phy_status; in e1000_wait_autoneg() local 2334 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg() 2337 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg() 2340 if (phy_status & MII_SR_AUTONEG_COMPLETE) in e1000_wait_autoneg() 2364 u16 i, phy_status; in e1000_phy_has_link_generic() local 2376 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_phy_has_link_generic() 2387 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_phy_has_link_generic() 2390 if (phy_status & MII_SR_LINK_STATUS) in e1000_phy_has_link_generic()
|
| /freebsd-12-stable/sys/dev/otus/ |
| D | if_otus.c | 1538 struct ar_rx_phystatus *phy_status = NULL; in otus_sub_rxeof() local 1625 if (len < sizeof(*phy_status)) { in otus_sub_rxeof() 1638 phy_status = (struct ar_rx_phystatus *) in otus_sub_rxeof() 1639 (buf + len - sizeof(*phy_status)); in otus_sub_rxeof() 1640 len -= sizeof(*phy_status); in otus_sub_rxeof() 1731 if (phy_status != NULL) { in otus_sub_rxeof() 1733 rxs.c_rssi = phy_status->rssi; in otus_sub_rxeof()
|
| /freebsd-12-stable/sys/dev/axgbe/ |
| D | xgbe.h | 632 void (*phy_status)(struct xgbe_prv_data *); member
|
| D | xgbe-drv.c | 335 pdata->phy_if.phy_status(pdata); in xgbe_service()
|
| D | xgbe-mdio.c | 1172 phy_if->phy_status = xgbe_phy_status; in xgbe_init_function_ptrs_phy()
|
| /freebsd-12-stable/sys/dev/isci/scil/ |
| D | scic_sds_controller.c | 1741 SCI_STATUS phy_status; in scic_sds_controller_stop_phys() local 1747 phy_status = scic_phy_stop(&this_controller->phy_table[index]); in scic_sds_controller_stop_phys() 1750 (phy_status != SCI_SUCCESS) in scic_sds_controller_stop_phys() 1751 && (phy_status != SCI_FAILURE_INVALID_STATE) in scic_sds_controller_stop_phys() 1760 this_controller->phy_table[index].phy_index, phy_status in scic_sds_controller_stop_phys()
|