| /f-stack/dpdk/drivers/net/e1000/base/ |
| H A D | e1000_phy.c | 56 phy->ops.read_reg = e1000_null_read_reg; in e1000_init_phy_ops_generic() 210 if (!phy->ops.read_reg) in e1000_get_phy_id() 1415 ret_val = phy->ops.read_reg(hw, in e1000_copper_link_setup_igp() 2068 if (!hw->phy.ops.read_reg) in e1000_set_d3_lplu_state_generic() 2087 ret_val = phy->ops.read_reg(hw, in e1000_set_d3_lplu_state_generic() 2100 ret_val = phy->ops.read_reg(hw, in e1000_set_d3_lplu_state_generic() 2243 ret_val = phy->ops.read_reg(hw, offset, &data); in e1000_check_polarity_igp() 2301 if (!hw->phy.ops.read_reg) in e1000_wait_autoneg() 2340 if (!hw->phy.ops.read_reg) in e1000_phy_has_link_generic() 2808 if (!hw->phy.ops.read_reg) in e1000_phy_sw_reset_generic() [all …]
|
| H A D | e1000_82541.c | 72 phy->ops.read_reg = e1000_read_phy_reg_igp; in e1000_init_phy_params_82541() 358 ret_val = hw->phy.ops.read_reg(hw, IGP01E1000_GMII_FIFO, in e1000_init_hw_82541() 433 ret_val = phy->ops.read_reg(hw, PHY_AUTONEG_EXP, &data); in e1000_get_link_up_info_82541() 440 ret_val = phy->ops.read_reg(hw, PHY_LP_ABILITY, &data); in e1000_get_link_up_info_82541() 672 ret_val = phy->ops.read_reg(hw, in e1000_config_dsp_after_link_change_82541() 702 ret_val = phy->ops.read_reg(hw, PHY_1000T_STATUS, in e1000_config_dsp_after_link_change_82541() 729 ret_val = phy->ops.read_reg(hw, 0x2F5B, in e1000_config_dsp_after_link_change_82541() 746 ret_val = phy->ops.read_reg(hw, in e1000_config_dsp_after_link_change_82541() 947 ret_val = phy->ops.read_reg(hw, in e1000_set_d3_lplu_state_82541() 960 ret_val = phy->ops.read_reg(hw, in e1000_set_d3_lplu_state_82541() [all …]
|
| H A D | e1000_80003es2lan.c | 91 phy->ops.read_reg = e1000_read_phy_reg_gg82563_80003es2lan; in e1000_init_phy_params_80003es2lan() 640 if (!(hw->phy.ops.read_reg)) in e1000_phy_force_speed_duplex_80003es2lan() 657 ret_val = hw->phy.ops.read_reg(hw, PHY_CONTROL, &phy_data); in e1000_phy_force_speed_duplex_80003es2lan() 696 ret_val = hw->phy.ops.read_reg(hw, GG82563_PHY_MAC_SPEC_CTRL, in e1000_phy_force_speed_duplex_80003es2lan() 735 if (!(hw->phy.ops.read_reg)) in e1000_get_cable_length_80003es2lan() 1039 ret_val = hw->phy.ops.read_reg(hw, GG82563_PHY_SPEC_CTRL, &data); in e1000_copper_link_setup_gg82563_80003es2lan() 1125 ret_val = hw->phy.ops.read_reg(hw, GG82563_PHY_KMRN_MODE_CTRL, in e1000_copper_link_setup_gg82563_80003es2lan() 1272 ret_val = hw->phy.ops.read_reg(hw, GG82563_PHY_KMRN_MODE_CTRL, in e1000_cfg_kmrn_10_100_80003es2lan() 1277 ret_val = hw->phy.ops.read_reg(hw, GG82563_PHY_KMRN_MODE_CTRL, in e1000_cfg_kmrn_10_100_80003es2lan() 1323 ret_val = hw->phy.ops.read_reg(hw, GG82563_PHY_KMRN_MODE_CTRL, in e1000_cfg_kmrn_1000_80003es2lan() [all …]
|
| H A D | e1000_82571.c | 96 phy->ops.read_reg = e1000_read_phy_reg_igp; in e1000_init_phy_params_82571() 109 phy->ops.read_reg = e1000_read_phy_reg_m88; in e1000_init_phy_params_82571() 125 phy->ops.read_reg = e1000_read_phy_reg_bm2; in e1000_init_phy_params_82571() 457 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in e1000_get_phy_id_82571() 463 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in e1000_get_phy_id_82571() 964 if (!(phy->ops.read_reg)) in e1000_set_d0_lplu_state_82571() 979 ret_val = phy->ops.read_reg(hw, IGP01E1000_PHY_PORT_CONFIG, in e1000_set_d0_lplu_state_82571() 998 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82571() 1011 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82571() 1487 ret_val = hw->phy.ops.read_reg(hw, E1000_RECEIVE_ERROR_COUNTER, in e1000_check_phy_82574() [all …]
|
| H A D | e1000_82540.c | 52 phy->ops.read_reg = e1000_read_phy_reg_m88; in e1000_init_phy_params_82540() 400 ret_val = hw->phy.ops.read_reg(hw, M88E1000_PHY_SPEC_CTRL, in e1000_setup_copper_link_82540() 509 ret_val = hw->phy.ops.read_reg(hw, M88E1000_PHY_PAGE_SELECT, in e1000_set_vco_speed_82540() 518 ret_val = hw->phy.ops.read_reg(hw, M88E1000_PHY_GEN_CONTROL, &phy_data); in e1000_set_vco_speed_82540() 533 ret_val = hw->phy.ops.read_reg(hw, M88E1000_PHY_GEN_CONTROL, &phy_data); in e1000_set_vco_speed_82540()
|
| H A D | e1000_ich8lan.c | 434 phy->ops.read_reg = e1000_read_phy_reg_hv; in e1000_init_phy_params_pchlan() 527 phy->ops.read_reg = e1000_read_phy_reg_igp; in e1000_init_phy_params_ich8lan() 542 phy->ops.read_reg = e1000_read_phy_reg_bm; in e1000_init_phy_params_ich8lan() 582 phy->ops.read_reg = e1000_read_phy_reg_bm; in e1000_init_phy_params_ich8lan() 2791 hw->phy.ops.read_reg(hw, HV_PM_CTRL, &data); in e1000_lv_jumbo_workaround_ich8lan() 3173 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_ich8lan() 3197 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_ich8lan() 3210 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_ich8lan() 3265 ret_val = phy->ops.read_reg(hw, in e1000_set_d3_lplu_state_ich8lan() 3278 ret_val = phy->ops.read_reg(hw, in e1000_set_d3_lplu_state_ich8lan() [all …]
|
| H A D | e1000_82575.c | 172 phy->ops.read_reg = e1000_read_phy_reg_sgmii_82575; in e1000_init_phy_params_82575() 179 phy->ops.read_reg = e1000_read_phy_reg_82580; in e1000_init_phy_params_82575() 184 phy->ops.read_reg = e1000_read_phy_reg_gs40g; in e1000_init_phy_params_82575() 188 phy->ops.read_reg = e1000_read_phy_reg_igp; in e1000_init_phy_params_82575() 263 ret_val = phy->ops.read_reg(hw, E1000_M88E1112_MAC_CTRL_1, in e1000_init_phy_params_82575() 745 if (!(hw->phy.ops.read_reg)) in e1000_set_d0_lplu_state_82575() 760 ret_val = phy->ops.read_reg(hw, IGP01E1000_PHY_PORT_CONFIG, in e1000_set_d0_lplu_state_82575() 778 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82575() 791 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82575() 2618 ret_val = hw->phy.ops.read_reg(hw, E1000_EMIDATA, data); in __e1000_access_emi_reg() [all …]
|
| H A D | e1000_82543.c | 78 phy->ops.read_reg = (hw->mac.type == e1000_82543) in e1000_init_phy_params_82543() 768 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_polarity_reversal_workaround_82543() 772 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_polarity_reversal_workaround_82543() 1377 if (!(hw->phy.ops.read_reg)) in e1000_config_mac_to_phy_82543() 1389 ret_val = hw->phy.ops.read_reg(hw, M88E1000_PHY_SPEC_STATUS, &phy_data); in e1000_config_mac_to_phy_82543()
|
| H A D | e1000_mac.c | 1361 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_config_fc_after_link_up_generic() 1364 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_config_fc_after_link_up_generic() 1379 ret_val = hw->phy.ops.read_reg(hw, PHY_AUTONEG_ADV, in e1000_config_fc_after_link_up_generic() 1383 ret_val = hw->phy.ops.read_reg(hw, PHY_LP_ABILITY, in e1000_config_fc_after_link_up_generic()
|
| H A D | e1000_api.c | 958 if (hw->phy.ops.read_reg) in e1000_read_phy_reg() 959 return hw->phy.ops.read_reg(hw, offset, data); in e1000_read_phy_reg()
|
| H A D | e1000_hw.h | 731 s32 (*read_reg)(struct e1000_hw *, u32, u16 *); member
|
| /f-stack/dpdk/drivers/net/igc/base/ |
| H A D | igc_phy.c | 56 phy->ops.read_reg = igc_null_read_reg; in igc_init_phy_ops_generic() 209 if (!phy->ops.read_reg) in igc_get_phy_id() 1413 ret_val = phy->ops.read_reg(hw, in igc_copper_link_setup_igp() 2103 if (!hw->phy.ops.read_reg) in igc_set_d3_lplu_state_generic() 2122 ret_val = phy->ops.read_reg(hw, in igc_set_d3_lplu_state_generic() 2135 ret_val = phy->ops.read_reg(hw, in igc_set_d3_lplu_state_generic() 2278 ret_val = phy->ops.read_reg(hw, offset, &data); in igc_check_polarity_igp() 2336 if (!hw->phy.ops.read_reg) in igc_wait_autoneg() 2375 if (!hw->phy.ops.read_reg) in igc_phy_has_link_generic() 2848 if (!hw->phy.ops.read_reg) in igc_phy_sw_reset_generic() [all …]
|
| H A D | igc_mac.c | 1349 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in igc_config_fc_after_link_up_generic() 1352 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in igc_config_fc_after_link_up_generic() 1367 ret_val = hw->phy.ops.read_reg(hw, PHY_AUTONEG_ADV, in igc_config_fc_after_link_up_generic() 1371 ret_val = hw->phy.ops.read_reg(hw, PHY_LP_ABILITY, in igc_config_fc_after_link_up_generic()
|
| H A D | igc_api.c | 1439 if (hw->phy.ops.read_reg) in igc_read_phy_reg() 1440 return hw->phy.ops.read_reg(hw, offset, data); in igc_read_phy_reg()
|
| H A D | igc_hw.h | 743 s32 (*read_reg)(struct igc_hw *hw, u32 offset, u16 *data); member
|
| H A D | igc_i225.c | 172 phy->ops.read_reg = igc_read_phy_reg_gpy; in igc_init_phy_params_i225()
|
| /f-stack/dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_phy.c | 226 phy->ops.read_reg = ixgbe_read_phy_reg_generic; in ixgbe_init_phy_ops_generic() 272 hw->phy.ops.read_reg(hw, IXGBE_MDIO_PHY_EXT_ABILITY, in ixgbe_probe_phy() 378 hw->phy.ops.read_reg(hw, IXGBE_MDIO_PHY_ID_HIGH, in ixgbe_validate_phy_addr() 504 status = hw->phy.ops.read_reg(hw, in ixgbe_reset_phy_generic() 516 status = hw->phy.ops.read_reg(hw, in ixgbe_reset_phy_generic() 553 hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_CONTROL, in ixgbe_restart_auto_neg() 983 status = hw->phy.ops.read_reg(hw, in ixgbe_check_phy_link_tnx() 1080 status = hw->phy.ops.read_reg(hw, TNX_FW_REV, in ixgbe_get_phy_firmware_version_tnx() 1099 status = hw->phy.ops.read_reg(hw, AQ_FW_REV, in ixgbe_get_phy_firmware_version_generic() 1125 hw->phy.ops.read_reg(hw, IXGBE_MDIO_PHY_XS_CONTROL, in ixgbe_reset_phy_nl() [all …]
|
| H A D | ixgbe_x550.c | 473 hw->phy.ops.read_reg = NULL; in ixgbe_identify_phy_fw() 2043 status = hw->phy.ops.read_reg(hw, in ixgbe_enable_lasi_ext_t_x550em() 2271 hw->phy.ops.read_reg = NULL; in ixgbe_init_phy_ops_X550em() 2315 phy->ops.read_reg = ixgbe_read_phy_reg_x550em; in ixgbe_init_phy_ops_X550em() 2320 phy->ops.read_reg = ixgbe_read_phy_reg_x550em; in ixgbe_init_phy_ops_X550em() 2541 status = hw->phy.ops.read_reg(hw, in ixgbe_init_ext_t_x550em() 2553 status = hw->phy.ops.read_reg(hw, in ixgbe_init_ext_t_x550em() 2767 ret_val = hw->phy.ops.read_reg(hw, reg_slice, in ixgbe_setup_mac_link_sfp_x550a() 2784 ret_val = hw->phy.ops.read_reg(hw, reg_slice, in ixgbe_setup_mac_link_sfp_x550a() 2983 status = hw->phy.ops.read_reg(hw, in ixgbe_setup_internal_phy_t_x550em() [all …]
|
| H A D | ixgbe_82598.c | 585 hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_STATUS, in ixgbe_validate_link_ready() 629 hw->phy.ops.read_reg(hw, 0xC79F, IXGBE_TWINAX_DEV, &link_reg); in ixgbe_check_mac_link_82598() 630 hw->phy.ops.read_reg(hw, 0xC79F, IXGBE_TWINAX_DEV, &link_reg); in ixgbe_check_mac_link_82598() 631 hw->phy.ops.read_reg(hw, 0xC00C, IXGBE_TWINAX_DEV, in ixgbe_check_mac_link_82598() 643 hw->phy.ops.read_reg(hw, 0xC79F, in ixgbe_check_mac_link_82598() 646 hw->phy.ops.read_reg(hw, 0xC00C, in ixgbe_check_mac_link_82598() 1214 hw->phy.ops.read_reg(hw, IXGBE_MDIO_PHY_EXT_ABILITY, in ixgbe_get_supported_physical_layer_82598()
|
| H A D | ixgbe_common.c | 241 hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_ADVT, in ixgbe_setup_fc_generic() 582 hw->phy.ops.read_reg(hw, IXGBE_PCRC8ECL, in ixgbe_clear_hw_cntrs_generic() 584 hw->phy.ops.read_reg(hw, IXGBE_PCRC8ECH, in ixgbe_clear_hw_cntrs_generic() 586 hw->phy.ops.read_reg(hw, IXGBE_LDPCECL, in ixgbe_clear_hw_cntrs_generic() 588 hw->phy.ops.read_reg(hw, IXGBE_LDPCECH, in ixgbe_clear_hw_cntrs_generic() 3044 hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_ADVT, in ixgbe_fc_autoneg_copper() 3047 hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_LP, in ixgbe_fc_autoneg_copper()
|
| H A D | ixgbe_x540.c | 310 hw->phy.ops.read_reg(hw, IXGBE_MDIO_PHY_EXT_ABILITY, in ixgbe_get_supported_physical_layer_X540()
|
| /f-stack/dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_phy.c | 36 hw->phy.read_reg(hw, TXGBE_MD_PHY_EXT_ABILITY, in txgbe_identify_extphy() 152 hw->phy.read_reg(hw, TXGBE_MD_PHY_ID_HIGH, in txgbe_validate_phy_addr() 176 err = hw->phy.read_reg(hw, TXGBE_MD_PHY_ID_HIGH, in txgbe_get_phy_id() 182 err = hw->phy.read_reg(hw, TXGBE_MD_PHY_ID_LOW, in txgbe_get_phy_id() 232 err = hw->phy.read_reg(hw, TXGBE_MD_PORT_CTRL, in txgbe_reset_extphy() 249 err = hw->phy.read_reg(hw, TXGBE_MD_PORT_CTRL, in txgbe_reset_extphy() 487 hw->phy.read_reg(hw, TXGBE_MII_AUTONEG_ADVERTISE_REG, in txgbe_setup_phy_link() 506 hw->phy.read_reg(hw, TXGBE_MD_AUTO_NEG_CONTROL, in txgbe_setup_phy_link() 643 err = hw->phy.read_reg(hw, in txgbe_check_phy_link_tnx() 696 hw->phy.read_reg(hw, TXGBE_MII_AUTONEG_XNP_TX_REG, in txgbe_setup_phy_link_tnx() [all …]
|
| H A D | txgbe_hw.c | 127 hw->phy.read_reg(hw, TXGBE_MD_AUTO_NEG_ADVT, in txgbe_setup_fc() 1187 hw->phy.read_reg(hw, TXGBE_MD_AUTO_NEG_ADVT, in txgbe_fc_autoneg_copper() 1190 hw->phy.read_reg(hw, TXGBE_MD_AUTO_NEG_LP, in txgbe_fc_autoneg_copper() 2781 phy->read_reg = txgbe_read_phy_reg; in txgbe_init_ops_pf()
|
| H A D | txgbe_type.h | 567 s32 (*read_reg)(struct txgbe_hw *hw, u32 reg_addr, member
|
| H A D | txgbe_dummy.h | 624 hw->phy.read_reg = txgbe_phy_read_reg_dummy; in txgbe_init_ops_dummy()
|