Lines Matching refs:e1000_read_phy_reg
138 static int e1000_read_phy_reg(struct e1000_hw *hw, uint32_t reg_addr,
2380 ret_val = e1000_read_phy_reg(hw, M88E1000_PHY_SPEC_CTRL, in e1000_copper_link_preconfig()
2427 ret_val = e1000_read_phy_reg(hw, IGP01E1000_GMII_FIFO, in e1000_set_d3_lplu_state()
2437 ret_val = e1000_read_phy_reg(hw, IGP02E1000_PHY_POWER_MGMT, in e1000_set_d3_lplu_state()
2469 ret_val = e1000_read_phy_reg(hw, in e1000_set_d3_lplu_state()
2480 ret_val = e1000_read_phy_reg(hw, in e1000_set_d3_lplu_state()
2517 ret_val = e1000_read_phy_reg(hw, IGP01E1000_PHY_PORT_CONFIG, in e1000_set_d3_lplu_state()
2561 ret_val = e1000_read_phy_reg(hw, IGP02E1000_PHY_POWER_MGMT, in e1000_set_d0_lplu_state()
2590 ret_val = e1000_read_phy_reg(hw, in e1000_set_d0_lplu_state()
2601 ret_val = e1000_read_phy_reg(hw, in e1000_set_d0_lplu_state()
2634 ret_val = e1000_read_phy_reg(hw, in e1000_set_d0_lplu_state()
2699 ret_val = e1000_read_phy_reg(hw, IGP01E1000_PHY_PORT_CTRL, &phy_data); in e1000_copper_link_igp_setup()
2746 ret_val = e1000_read_phy_reg(hw, in e1000_copper_link_igp_setup()
2756 ret_val = e1000_read_phy_reg(hw, PHY_1000T_CTRL, in e1000_copper_link_igp_setup()
2767 ret_val = e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_data); in e1000_copper_link_igp_setup()
2888 ret_val = e1000_read_phy_reg(hw, in e1000_copper_link_ggp_setup()
2909 ret_val = e1000_read_phy_reg(hw, in e1000_copper_link_ggp_setup()
2959 ret_val = e1000_read_phy_reg(hw, in e1000_copper_link_ggp_setup()
2975 ret_val = e1000_read_phy_reg(hw, in e1000_copper_link_ggp_setup()
2992 ret_val = e1000_read_phy_reg(hw, in e1000_copper_link_ggp_setup()
3008 ret_val = e1000_read_phy_reg(hw, in e1000_copper_link_ggp_setup()
3038 ret_val = e1000_read_phy_reg(hw, M88E1000_PHY_SPEC_CTRL, &phy_data); in e1000_copper_link_mgp_setup()
3084 ret_val = e1000_read_phy_reg(hw, in e1000_copper_link_mgp_setup()
3163 ret_val = e1000_read_phy_reg(hw, PHY_CTRL, &phy_data); in e1000_copper_link_autoneg()
3313 ret_val = e1000_read_phy_reg(hw, PHY_STATUS, &phy_data); in e1000_setup_copper_link()
3316 ret_val = e1000_read_phy_reg(hw, PHY_STATUS, &phy_data); in e1000_setup_copper_link()
3351 ret_val = e1000_read_phy_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in e1000_phy_setup_autoneg()
3357 ret_val = e1000_read_phy_reg(hw, PHY_1000T_CTRL, in e1000_phy_setup_autoneg()
3542 if (e1000_read_phy_reg(hw, M88E1000_PHY_SPEC_STATUS, &phy_data) < 0) { in e1000_config_mac_to_phy()
3681 if (e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg) < 0) { in e1000_config_fc_after_link_up()
3685 if (e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg) < 0) { in e1000_config_fc_after_link_up()
3697 if (e1000_read_phy_reg in e1000_config_fc_after_link_up()
3702 if (e1000_read_phy_reg in e1000_config_fc_after_link_up()
3897 if (e1000_read_phy_reg(hw, PHY_STATUS, &phy_data) < 0) { in e1000_check_for_link()
3901 if (e1000_read_phy_reg(hw, PHY_STATUS, &phy_data) < 0) { in e1000_check_for_link()
3952 if (e1000_read_phy_reg in e1000_check_for_link()
4060 ret_val = e1000_read_phy_reg(hw, GG82563_PHY_KMRN_MODE_CTRL, ®_data); in e1000_configure_kmrn_for_10_100()
4096 ret_val = e1000_read_phy_reg(hw, GG82563_PHY_KMRN_MODE_CTRL, ®_data); in e1000_configure_kmrn_for_1000()
4155 ret_val = e1000_read_phy_reg(hw, PHY_AUTONEG_EXP, &phy_data); in e1000_get_speed_and_duplex()
4162 ret_val = e1000_read_phy_reg(hw, in e1000_get_speed_and_duplex()
4205 if (e1000_read_phy_reg(hw, PHY_STATUS, &phy_data) < 0) { in e1000_wait_autoneg()
4209 if (e1000_read_phy_reg(hw, PHY_STATUS, &phy_data) < 0) { in e1000_wait_autoneg()
4367 e1000_read_phy_reg(struct e1000_hw *hw, uint32_t reg_addr, uint16_t * phy_data) in e1000_read_phy_reg() function
4686 ret_val = e1000_read_phy_reg(hw, 0x2F5B, &phy_saved_data); in e1000_phy_init_script()
4739 e1000_read_phy_reg(hw, in e1000_phy_init_script()
4743 e1000_read_phy_reg(hw, in e1000_phy_init_script()
4808 ret_val = e1000_read_phy_reg(hw, PHY_CTRL, &phy_data); in e1000_phy_reset()
4912 ret_val = e1000_read_phy_reg(hw, PHY_ID1, &phy_id_high); in e1000_detect_gig_phy()
4918 ret_val = e1000_read_phy_reg(hw, PHY_ID2, &phy_id_low); in e1000_detect_gig_phy()