/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | igc_phy.c | 30 phy->ops.read_reg = igc_null_read_reg; in igc_init_phy_ops_generic() 139 if (!phy->ops.read_reg) in igc_get_phy_id() 142 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igc_get_phy_id() 148 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in igc_get_phy_id() 299 ret_val = phy->ops.read_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in igc_phy_setup_autoneg() 305 ret_val = phy->ops.read_reg(hw, PHY_1000T_CTRL, in igc_phy_setup_autoneg() 313 ret_val = phy->ops.read_reg(hw, (STANDARD_AN_REG_MASK << in igc_phy_setup_autoneg() 500 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &phy_ctrl); in igc_copper_link_autoneg() 662 if (!hw->phy.ops.read_reg) in igc_set_d3_lplu_state_generic() 665 ret_val = phy->ops.read_reg(hw, IGP02IGC_PHY_POWER_MGMT, &data); in igc_set_d3_lplu_state_generic() [all …]
|
H A D | igc_mac.c | 729 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in igc_config_fc_after_link_up_generic() 732 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in igc_config_fc_after_link_up_generic() 747 ret_val = hw->phy.ops.read_reg(hw, PHY_AUTONEG_ADV, in igc_config_fc_after_link_up_generic() 751 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 | 454 if (hw->phy.ops.read_reg) in igc_read_phy_reg() 455 return hw->phy.ops.read_reg(hw, offset, data); in igc_read_phy_reg()
|
H A D | igc_hw.h | 387 s32 (*read_reg)(struct igc_hw *, u32, u16 *); member
|
H A D | igc_i225.c | 157 phy->ops.read_reg = igc_read_phy_reg_gpy; in igc_init_phy_params_i225()
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_phy.c | 86 phy->ops.read_reg = e1000_null_read_reg; in e1000_init_phy_ops_generic() 233 if (!phy->ops.read_reg) in e1000_get_phy_id() 237 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in e1000_get_phy_id() 243 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in e1000_get_phy_id() 1020 ret_val = hw->phy.ops.read_reg(hw, PHY_1000T_CTRL, &phy_data); in e1000_set_master_slave_mode() 1070 ret_val = hw->phy.ops.read_reg(hw, I82577_CFG_REG, &phy_data); in e1000_copper_link_setup_82577() 1084 ret_val = hw->phy.ops.read_reg(hw, I82577_PHY_CTRL_2, &phy_data); in e1000_copper_link_setup_82577() 1129 ret_val = phy->ops.read_reg(hw, M88E1000_PHY_SPEC_CTRL, &phy_data); in e1000_copper_link_setup_m88() 1203 ret_val = phy->ops.read_reg(hw, M88E1000_EXT_PHY_SPEC_CTRL, in e1000_copper_link_setup_m88() 1248 ret_val = phy->ops.read_reg(hw, M88E1000_EXT_PHY_SPEC_CTRL, in e1000_copper_link_setup_m88() [all …]
|
H A D | e1000_82541.c | 103 phy->ops.read_reg = e1000_read_phy_reg_igp; in e1000_init_phy_params_82541() 391 ret_val = hw->phy.ops.read_reg(hw, IGP01E1000_GMII_FIFO, in e1000_init_hw_82541() 466 ret_val = phy->ops.read_reg(hw, PHY_AUTONEG_EXP, &data); in e1000_get_link_up_info_82541() 473 ret_val = phy->ops.read_reg(hw, PHY_LP_ABILITY, &data); in e1000_get_link_up_info_82541() 705 ret_val = phy->ops.read_reg(hw, in e1000_config_dsp_after_link_change_82541() 729 ret_val = phy->ops.read_reg(hw, PHY_1000T_STATUS, &phy_data); in e1000_config_dsp_after_link_change_82541() 735 ret_val = phy->ops.read_reg(hw, PHY_1000T_STATUS, in e1000_config_dsp_after_link_change_82541() 762 ret_val = phy->ops.read_reg(hw, 0x2F5B, in e1000_config_dsp_after_link_change_82541() 779 ret_val = phy->ops.read_reg(hw, in e1000_config_dsp_after_link_change_82541() 820 ret_val = phy->ops.read_reg(hw, 0x2F5B, &phy_saved_data); in e1000_config_dsp_after_link_change_82541() [all …]
|
H A D | e1000_80003es2lan.c | 119 phy->ops.read_reg = e1000_read_phy_reg_gg82563_80003es2lan; in e1000_init_phy_params_80003es2lan() 597 if (!(hw->phy.ops.read_reg)) in e1000_phy_force_speed_duplex_80003es2lan() 603 ret_val = hw->phy.ops.read_reg(hw, M88E1000_PHY_SPEC_CTRL, &phy_data); in e1000_phy_force_speed_duplex_80003es2lan() 614 ret_val = hw->phy.ops.read_reg(hw, PHY_CONTROL, &phy_data); in e1000_phy_force_speed_duplex_80003es2lan() 653 ret_val = hw->phy.ops.read_reg(hw, GG82563_PHY_MAC_SPEC_CTRL, in e1000_phy_force_speed_duplex_80003es2lan() 692 if (!(hw->phy.ops.read_reg)) in e1000_get_cable_length_80003es2lan() 695 ret_val = hw->phy.ops.read_reg(hw, GG82563_PHY_DSP_DISTANCE, &phy_data); in e1000_get_cable_length_80003es2lan() 977 ret_val = hw->phy.ops.read_reg(hw, GG82563_PHY_MAC_SPEC_CTRL, &data); in e1000_copper_link_setup_gg82563_80003es2lan() 996 ret_val = hw->phy.ops.read_reg(hw, GG82563_PHY_SPEC_CTRL, &data); in e1000_copper_link_setup_gg82563_80003es2lan() 1053 ret_val = hw->phy.ops.read_reg(hw, GG82563_PHY_SPEC_CTRL_2, &data); in e1000_copper_link_setup_gg82563_80003es2lan() [all …]
|
H A D | e1000_82571.c | 123 phy->ops.read_reg = e1000_read_phy_reg_igp; in e1000_init_phy_params_82571() 136 phy->ops.read_reg = e1000_read_phy_reg_m88; in e1000_init_phy_params_82571() 151 phy->ops.read_reg = e1000_read_phy_reg_bm2; in e1000_init_phy_params_82571() 483 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in e1000_get_phy_id_82571() 489 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in e1000_get_phy_id_82571() 878 if (!(phy->ops.read_reg)) in e1000_set_d0_lplu_state_82571() 881 ret_val = phy->ops.read_reg(hw, IGP02E1000_PHY_POWER_MGMT, &data); in e1000_set_d0_lplu_state_82571() 893 ret_val = phy->ops.read_reg(hw, IGP01E1000_PHY_PORT_CONFIG, in e1000_set_d0_lplu_state_82571() 912 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82571() 925 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82571() [all …]
|
H A D | e1000_82540.c | 82 phy->ops.read_reg = e1000_read_phy_reg_m88; in e1000_init_phy_params_82540() 430 ret_val = hw->phy.ops.read_reg(hw, M88E1000_PHY_SPEC_CTRL, in e1000_setup_copper_link_82540() 539 ret_val = hw->phy.ops.read_reg(hw, M88E1000_PHY_PAGE_SELECT, in e1000_set_vco_speed_82540() 548 ret_val = hw->phy.ops.read_reg(hw, M88E1000_PHY_GEN_CONTROL, &phy_data); in e1000_set_vco_speed_82540() 563 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 | 471 phy->ops.read_reg = e1000_read_phy_reg_hv; in e1000_init_phy_params_pchlan() 567 phy->ops.read_reg = e1000_read_phy_reg_igp; in e1000_init_phy_params_ich8lan() 582 phy->ops.read_reg = e1000_read_phy_reg_bm; in e1000_init_phy_params_ich8lan() 622 phy->ops.read_reg = e1000_read_phy_reg_bm; in e1000_init_phy_params_ich8lan() 1067 ret_val = hw->phy.ops.read_reg(hw, I217_INBAND_CTRL, ®); in e1000_k1_workaround_lpt_lp() 1781 hw->phy.ops.read_reg(hw, HV_KMRN_FIFO_CTRLSTA, &phy_reg); in e1000_check_for_copper_link_ich8lan() 2622 ret_val = hw->phy.ops.read_reg(hw, HV_KMRN_MODE_CTRL, &data); in e1000_set_mdio_slow_mode_hv() 2799 hw->phy.ops.read_reg(hw, PHY_REG(769, 20), &phy_reg); in e1000_lv_jumbo_workaround_ich8lan() 2865 hw->phy.ops.read_reg(hw, PHY_REG(769, 23), &data); in e1000_lv_jumbo_workaround_ich8lan() 2871 hw->phy.ops.read_reg(hw, PHY_REG(769, 16), &data); in e1000_lv_jumbo_workaround_ich8lan() [all …]
|
H A D | e1000_82575.c | 200 phy->ops.read_reg = e1000_read_phy_reg_sgmii_82575; in e1000_init_phy_params_82575() 207 phy->ops.read_reg = e1000_read_phy_reg_82580; in e1000_init_phy_params_82575() 212 phy->ops.read_reg = e1000_read_phy_reg_gs40g; in e1000_init_phy_params_82575() 216 phy->ops.read_reg = e1000_read_phy_reg_igp; in e1000_init_phy_params_82575() 288 ret_val = phy->ops.read_reg(hw, E1000_M88E1112_MAC_CTRL_1, in e1000_init_phy_params_82575() 766 if (!(hw->phy.ops.read_reg)) in e1000_set_d0_lplu_state_82575() 769 ret_val = phy->ops.read_reg(hw, IGP02E1000_PHY_POWER_MGMT, &data); in e1000_set_d0_lplu_state_82575() 781 ret_val = phy->ops.read_reg(hw, IGP01E1000_PHY_PORT_CONFIG, in e1000_set_d0_lplu_state_82575() 799 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82575() 812 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82575() [all …]
|
H A D | e1000_82543.c | 110 phy->ops.read_reg = (hw->mac.type == e1000_82543) in e1000_init_phy_params_82543() 802 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_polarity_reversal_workaround_82543() 806 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_polarity_reversal_workaround_82543() 1411 if (!(hw->phy.ops.read_reg)) in e1000_config_mac_to_phy_82543() 1423 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 | 1396 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_config_fc_after_link_up_generic() 1399 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &mii_status_reg); in e1000_config_fc_after_link_up_generic() 1414 ret_val = hw->phy.ops.read_reg(hw, PHY_AUTONEG_ADV, in e1000_config_fc_after_link_up_generic() 1418 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 | 1044 if (hw->phy.ops.read_reg) in e1000_read_phy_reg() 1045 return hw->phy.ops.read_reg(hw, offset, data); in e1000_read_phy_reg()
|
H A D | e1000_hw.h | 797 s32 (*read_reg)(struct e1000_hw *, u32, u16 *); member
|