/freebsd-src/sys/dev/e1000/ |
H A D | e1000_mac.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 37 static s32 e1000_validate_mdi_setting_generic(struct e1000_hw *hw); 38 static void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw); 39 static void e1000_config_collision_dist_generic(struct e1000_hw *hw); 42 * e1000_init_mac_ops_generic - Initialize MAC function pointers 43 * @hw: pointer to the HW structure 45 * Setups up the function pointers to no-op functions 47 void e1000_init_mac_ops_generic(struct e1000_hw *hw) in e1000_init_mac_ops_generic() argument 49 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_ops_generic() [all …]
|
H A D | e1000_82542.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 41 static s32 e1000_init_phy_params_82542(struct e1000_hw *hw); 42 static s32 e1000_init_nvm_params_82542(struct e1000_hw *hw); 43 static s32 e1000_init_mac_params_82542(struct e1000_hw *hw); 44 static s32 e1000_get_bus_info_82542(struct e1000_hw *hw); 45 static s32 e1000_reset_hw_82542(struct e1000_hw *hw); 46 static s32 e1000_init_hw_82542(struct e1000_hw *hw); 47 static s32 e1000_setup_link_82542(struct e1000_hw *hw); 48 static s32 e1000_led_on_82542(struct e1000_hw *hw); [all …]
|
H A D | e1000_82543.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 46 static s32 e1000_init_phy_params_82543(struct e1000_hw *hw); 47 static s32 e1000_init_nvm_params_82543(struct e1000_hw *hw); 48 static s32 e1000_init_mac_params_82543(struct e1000_hw *hw); 49 static s32 e1000_read_phy_reg_82543(struct e1000_hw *hw, u32 offset, 51 static s32 e1000_write_phy_reg_82543(struct e1000_hw *hw, u32 offset, 53 static s32 e1000_phy_force_speed_duplex_82543(struct e1000_hw *hw); 54 static s32 e1000_phy_hw_reset_82543(struct e1000_hw *hw); 55 static s32 e1000_reset_hw_82543(struct e1000_hw *hw); [all …]
|
H A D | e1000_82571.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 53 static s32 e1000_acquire_nvm_82571(struct e1000_hw *hw); 54 static void e1000_release_nvm_82571(struct e1000_hw *hw); 55 static s32 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset, 57 static s32 e1000_update_nvm_checksum_82571(struct e1000_hw *hw); 58 static s32 e1000_validate_nvm_checksum_82571(struct e1000_hw *hw); 59 static s32 e1000_get_cfg_done_82571(struct e1000_hw *hw); 60 static s32 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, 62 static s32 e1000_reset_hw_82571(struct e1000_hw *hw); [all …]
|
H A D | e1000_82540.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 48 static s32 e1000_init_phy_params_82540(struct e1000_hw *hw); 49 static s32 e1000_init_nvm_params_82540(struct e1000_hw *hw); 50 static s32 e1000_init_mac_params_82540(struct e1000_hw *hw); 51 static s32 e1000_adjust_serdes_amplitude_82540(struct e1000_hw *hw); 52 static void e1000_clear_hw_cntrs_82540(struct e1000_hw *hw); 53 static s32 e1000_init_hw_82540(struct e1000_hw *hw); 54 static s32 e1000_reset_hw_82540(struct e1000_hw *hw); 55 static s32 e1000_set_phy_mode_82540(struct e1000_hw *hw); [all …]
|
H A D | e1000_82541.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 46 static s32 e1000_init_phy_params_82541(struct e1000_hw *hw); 47 static s32 e1000_init_nvm_params_82541(struct e1000_hw *hw); 48 static s32 e1000_init_mac_params_82541(struct e1000_hw *hw); 49 static s32 e1000_reset_hw_82541(struct e1000_hw *hw); 50 static s32 e1000_init_hw_82541(struct e1000_hw *hw); 51 static s32 e1000_get_link_up_info_82541(struct e1000_hw *hw, u16 *speed, 53 static s32 e1000_phy_hw_reset_82541(struct e1000_hw *hw); 54 static s32 e1000_setup_copper_link_82541(struct e1000_hw *hw); [all …]
|
H A D | e1000_phy.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 37 static s32 e1000_wait_autoneg(struct e1000_hw *hw); 38 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset, 41 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset, 65 * e1000_init_phy_ops_generic - Initialize PHY function pointers 66 * @hw 70 e1000_init_phy_ops_generic(struct e1000_hw * hw) e1000_init_phy_ops_generic() argument 108 e1000_null_set_page(struct e1000_hw E1000_UNUSEDARG * hw,u16 E1000_UNUSEDARG data) e1000_null_set_page() argument 121 e1000_null_read_reg(struct e1000_hw E1000_UNUSEDARG * hw,u32 E1000_UNUSEDARG offset,u16 E1000_UNUSEDARG * data) e1000_null_read_reg() argument 132 e1000_null_phy_generic(struct e1000_hw E1000_UNUSEDARG * hw) e1000_null_phy_generic() argument 143 e1000_null_lplu_state(struct e1000_hw E1000_UNUSEDARG * hw,bool E1000_UNUSEDARG active) e1000_null_lplu_state() argument 156 e1000_null_write_reg(struct e1000_hw E1000_UNUSEDARG * hw,u32 E1000_UNUSEDARG offset,u16 E1000_UNUSEDARG data) e1000_null_write_reg() argument 171 e1000_read_i2c_byte_null(struct e1000_hw E1000_UNUSEDARG * hw,u8 E1000_UNUSEDARG byte_offset,u8 E1000_UNUSEDARG dev_addr,u8 E1000_UNUSEDARG * data) e1000_read_i2c_byte_null() argument 188 e1000_write_i2c_byte_null(struct e1000_hw E1000_UNUSEDARG * hw,u8 E1000_UNUSEDARG byte_offset,u8 E1000_UNUSEDARG dev_addr,u8 E1000_UNUSEDARG data) e1000_write_i2c_byte_null() argument 205 e1000_check_reset_block_generic(struct e1000_hw * hw) e1000_check_reset_block_generic() argument 224 e1000_get_phy_id(struct e1000_hw * hw) e1000_get_phy_id() argument 265 e1000_phy_reset_dsp_generic(struct e1000_hw * hw) e1000_phy_reset_dsp_generic() argument 290 e1000_read_phy_reg_mdic(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_phy_reg_mdic() argument 355 e1000_write_phy_reg_mdic(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_phy_reg_mdic() argument 421 e1000_read_phy_reg_i2c(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_phy_reg_i2c() argument 468 e1000_write_phy_reg_i2c(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_phy_reg_i2c() argument 529 e1000_read_sfp_data_byte(struct e1000_hw * hw,u16 offset,u8 * data) e1000_read_sfp_data_byte() argument 584 e1000_write_sfp_data_byte(struct e1000_hw * hw,u16 offset,u8 data) e1000_write_sfp_data_byte() argument 654 e1000_read_phy_reg_m88(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_phy_reg_m88() argument 684 e1000_write_phy_reg_m88(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_phy_reg_m88() argument 714 e1000_set_page_igp(struct e1000_hw * hw,u16 page) e1000_set_page_igp() argument 736 __e1000_read_phy_reg_igp(struct e1000_hw * hw,u32 offset,u16 * data,bool locked) __e1000_read_phy_reg_igp() argument 776 e1000_read_phy_reg_igp(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_phy_reg_igp() argument 790 e1000_read_phy_reg_igp_locked(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_phy_reg_igp_locked() argument 805 __e1000_write_phy_reg_igp(struct e1000_hw * hw,u32 offset,u16 data,bool locked) __e1000_write_phy_reg_igp() argument 844 e1000_write_phy_reg_igp(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_phy_reg_igp() argument 858 e1000_write_phy_reg_igp_locked(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_phy_reg_igp_locked() argument 874 __e1000_read_kmrn_reg(struct e1000_hw * hw,u32 offset,u16 * data,bool locked) __e1000_read_kmrn_reg() argument 918 e1000_read_kmrn_reg_generic(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_kmrn_reg_generic() argument 933 e1000_read_kmrn_reg_locked(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_kmrn_reg_locked() argument 949 __e1000_write_kmrn_reg(struct e1000_hw * hw,u32 offset,u16 data,bool locked) __e1000_write_kmrn_reg() argument 989 e1000_write_kmrn_reg_generic(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_kmrn_reg_generic() argument 1003 e1000_write_kmrn_reg_locked(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_kmrn_reg_locked() argument 1014 e1000_set_master_slave_mode(struct e1000_hw * hw) e1000_set_master_slave_mode() argument 1054 e1000_copper_link_setup_82577(struct e1000_hw * hw) e1000_copper_link_setup_82577() argument 1119 e1000_copper_link_setup_m88(struct e1000_hw * hw) e1000_copper_link_setup_m88() argument 1272 e1000_copper_link_setup_m88_gen2(struct e1000_hw * hw) e1000_copper_link_setup_m88_gen2() argument 1370 e1000_copper_link_setup_igp(struct e1000_hw * hw) e1000_copper_link_setup_igp() argument 1481 e1000_phy_setup_autoneg(struct e1000_hw * hw) e1000_phy_setup_autoneg() argument 1634 e1000_copper_link_autoneg(struct e1000_hw * hw) e1000_copper_link_autoneg() argument 1698 e1000_setup_copper_link_generic(struct e1000_hw * hw) e1000_setup_copper_link_generic() argument 1751 e1000_phy_force_speed_duplex_igp(struct e1000_hw * hw) e1000_phy_force_speed_duplex_igp() argument 1817 e1000_phy_force_speed_duplex_m88(struct e1000_hw * hw) e1000_phy_force_speed_duplex_m88() argument 1956 e1000_phy_force_speed_duplex_ife(struct e1000_hw * hw) e1000_phy_force_speed_duplex_ife() argument 2024 e1000_phy_force_speed_duplex_setup(struct e1000_hw * hw,u16 * phy_ctrl) e1000_phy_force_speed_duplex_setup() argument 2027 u32 ctrl; e1000_phy_force_speed_duplex_setup() local 2087 e1000_set_d3_lplu_state_generic(struct e1000_hw * hw,bool active) e1000_set_d3_lplu_state_generic() argument 2171 e1000_check_downshift_generic(struct e1000_hw * hw) e1000_check_downshift_generic() argument 2216 e1000_check_polarity_m88(struct e1000_hw * hw) e1000_check_polarity_m88() argument 2243 e1000_check_polarity_igp(struct e1000_hw * hw) e1000_check_polarity_igp() argument 2286 e1000_check_polarity_ife(struct e1000_hw * hw) e1000_check_polarity_ife() argument 2321 e1000_wait_autoneg(struct e1000_hw * hw) e1000_wait_autoneg() argument 2359 e1000_phy_has_link_generic(struct e1000_hw * hw,u32 iterations,u32 usec_interval,bool * success) e1000_phy_has_link_generic() argument 2417 e1000_get_cable_length_m88(struct e1000_hw * hw) e1000_get_cable_length_m88() argument 2443 e1000_get_cable_length_m88_gen2(struct e1000_hw * hw) e1000_get_cable_length_m88_gen2() argument 2566 e1000_get_cable_length_igp_2(struct e1000_hw * hw) e1000_get_cable_length_igp_2() argument 2636 e1000_get_phy_info_m88(struct e1000_hw * hw) e1000_get_phy_info_m88() argument 2711 e1000_get_phy_info_igp(struct e1000_hw * hw) e1000_get_phy_info_igp() argument 2773 e1000_get_phy_info_ife(struct e1000_hw * hw) e1000_get_phy_info_ife() argument 2828 e1000_phy_sw_reset_generic(struct e1000_hw * hw) e1000_phy_sw_reset_generic() argument 2861 e1000_phy_hw_reset_generic(struct e1000_hw * hw) e1000_phy_hw_reset_generic() argument 2865 u32 ctrl; e1000_phy_hw_reset_generic() local 2902 e1000_get_cfg_done_generic(struct e1000_hw E1000_UNUSEDARG * hw) e1000_get_cfg_done_generic() argument 2917 e1000_phy_init_script_igp3(struct e1000_hw * hw) e1000_phy_init_script_igp3() argument 3067 e1000_determine_phy_address(struct e1000_hw * hw) e1000_determine_phy_address() argument 3123 e1000_write_phy_reg_bm(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_phy_reg_bm() argument 3183 e1000_read_phy_reg_bm(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_phy_reg_bm() argument 3242 e1000_read_phy_reg_bm2(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_phy_reg_bm2() argument 3287 e1000_write_phy_reg_bm2(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_phy_reg_bm2() argument 3332 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw * hw,u16 * phy_reg) e1000_enable_phy_wakeup_reg_access_bm() argument 3390 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw * hw,u16 * phy_reg) e1000_disable_phy_wakeup_reg_access_bm() argument 3440 e1000_access_phy_wakeup_reg_bm(struct e1000_hw * hw,u32 offset,u16 * data,bool read,bool page_set) e1000_access_phy_wakeup_reg_bm() argument 3503 e1000_power_up_phy_copper(struct e1000_hw * hw) e1000_power_up_phy_copper() argument 3521 e1000_power_down_phy_copper(struct e1000_hw * hw) e1000_power_down_phy_copper() argument 3544 __e1000_read_phy_reg_hv(struct e1000_hw * hw,u32 offset,u16 * data,bool locked,bool page_set) __e1000_read_phy_reg_hv() argument 3610 e1000_read_phy_reg_hv(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_phy_reg_hv() argument 3624 e1000_read_phy_reg_hv_locked(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_phy_reg_hv_locked() argument 3638 e1000_read_phy_reg_page_hv(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_phy_reg_page_hv() argument 3654 __e1000_write_phy_reg_hv(struct e1000_hw * hw,u32 offset,u16 data,bool locked,bool page_set) __e1000_write_phy_reg_hv() argument 3736 e1000_write_phy_reg_hv(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_phy_reg_hv() argument 3750 e1000_write_phy_reg_hv_locked(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_phy_reg_hv_locked() argument 3764 e1000_write_phy_reg_page_hv(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_phy_reg_page_hv() argument 3795 e1000_access_phy_debug_regs_hv(struct e1000_hw * hw,u32 offset,u16 * data,bool read) e1000_access_phy_debug_regs_hv() argument 3842 e1000_link_stall_workaround_hv(struct e1000_hw * hw) e1000_link_stall_workaround_hv() argument 3890 e1000_check_polarity_82577(struct e1000_hw * hw) e1000_check_polarity_82577() argument 3914 e1000_phy_force_speed_duplex_82577(struct e1000_hw * hw) e1000_phy_force_speed_duplex_82577() argument 3963 e1000_get_phy_info_82577(struct e1000_hw * hw) e1000_get_phy_info_82577() argument 4026 e1000_get_cable_length_82577(struct e1000_hw * hw) e1000_get_cable_length_82577() argument 4058 e1000_write_phy_reg_gs40g(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_phy_reg_gs40g() argument 4090 e1000_read_phy_reg_gs40g(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_phy_reg_gs40g() argument 4121 e1000_read_phy_reg_mphy(struct e1000_hw * hw,u32 address,u32 * data) e1000_read_phy_reg_mphy() argument 4182 e1000_write_phy_reg_mphy(struct e1000_hw * hw,u32 address,u32 data,bool line_override) e1000_write_phy_reg_mphy() argument 4244 e1000_is_mphy_ready(struct e1000_hw * hw) e1000_is_mphy_ready() argument 4275 __e1000_access_xmdio_reg(struct e1000_hw * hw,u16 address,u8 dev_addr,u16 * data,bool read) __e1000_access_xmdio_reg() argument 4317 e1000_read_xmdio_reg(struct e1000_hw * hw,u16 addr,u8 dev_addr,u16 * data) e1000_read_xmdio_reg() argument 4331 e1000_write_xmdio_reg(struct e1000_hw * hw,u16 addr,u8 dev_addr,u16 data) e1000_write_xmdio_reg() argument [all...] |
H A D | e1000_82575.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 48 static s32 e1000_init_phy_params_82575(struct e1000_hw *hw); 49 static s32 e1000_init_mac_params_82575(struct e1000_hw *hw); 50 static s32 e1000_acquire_nvm_82575(struct e1000_hw *hw); 51 static void e1000_release_nvm_82575(struct e1000_hw *hw); 52 static s32 e1000_check_for_link_82575(struct e1000_hw *hw); 127 e1000_sgmii_uses_mdio_82575(struct e1000_hw * hw) e1000_sgmii_uses_mdio_82575() argument 158 e1000_init_phy_params_82575(struct e1000_hw * hw) e1000_init_phy_params_82575() argument 323 e1000_init_mac_params_82575(struct e1000_hw * hw) e1000_init_mac_params_82575() argument 440 e1000_init_nvm_params_82575(struct e1000_hw * hw) e1000_init_nvm_params_82575() argument 525 e1000_init_function_pointers_82575(struct e1000_hw * hw) e1000_init_function_pointers_82575() argument 544 e1000_read_phy_reg_sgmii_82575(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_phy_reg_sgmii_82575() argument 577 e1000_write_phy_reg_sgmii_82575(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_phy_reg_sgmii_82575() argument 608 e1000_get_phy_id_82575(struct e1000_hw * hw) e1000_get_phy_id_82575() argument 710 e1000_phy_hw_reset_sgmii_82575(struct e1000_hw * hw) e1000_phy_hw_reset_sgmii_82575() argument 758 e1000_set_d0_lplu_state_82575(struct e1000_hw * hw,bool active) e1000_set_d0_lplu_state_82575() argument 844 e1000_set_d0_lplu_state_82580(struct e1000_hw * hw,bool active) e1000_set_d0_lplu_state_82580() argument 891 e1000_set_d3_lplu_state_82580(struct e1000_hw * hw,bool active) e1000_set_d3_lplu_state_82580() argument 933 e1000_acquire_nvm_82575(struct e1000_hw * hw) e1000_acquire_nvm_82575() argument 983 e1000_release_nvm_82575(struct e1000_hw * hw) e1000_release_nvm_82575() argument 1002 e1000_get_cfg_done_82575(struct e1000_hw * hw) e1000_get_cfg_done_82575() argument 1042 e1000_get_link_up_info_82575(struct e1000_hw * hw,u16 * speed,u16 * duplex) e1000_get_link_up_info_82575() argument 1066 e1000_check_for_link_82575(struct e1000_hw * hw) e1000_check_for_link_82575() argument 1105 e1000_check_for_link_media_swap(struct e1000_hw * hw) e1000_check_for_link_media_swap() argument 1165 e1000_power_up_serdes_link_82575(struct e1000_hw * hw) e1000_power_up_serdes_link_82575() argument 1199 e1000_get_pcs_speed_and_duplex_82575(struct e1000_hw * hw,u16 * speed,u16 * duplex) e1000_get_pcs_speed_and_duplex_82575() argument 1263 e1000_shutdown_serdes_link_82575(struct e1000_hw * hw) e1000_shutdown_serdes_link_82575() argument 1298 e1000_reset_hw_82575(struct e1000_hw * hw) e1000_reset_hw_82575() argument 1300 u32 ctrl; e1000_reset_hw_82575() local 1362 e1000_init_hw_82575(struct e1000_hw * hw) e1000_init_hw_82575() argument 1402 e1000_setup_copper_link_82575(struct e1000_hw * hw) e1000_setup_copper_link_82575() argument 1405 u32 ctrl; e1000_setup_copper_link_82575() local 1494 e1000_setup_serdes_link_82575(struct e1000_hw * hw) e1000_setup_serdes_link_82575() argument 1637 e1000_get_media_type_82575(struct e1000_hw * hw) e1000_get_media_type_82575() argument 1716 e1000_set_sfp_media_type_82575(struct e1000_hw * hw) e1000_set_sfp_media_type_82575() argument 1786 e1000_valid_led_default_82575(struct e1000_hw * hw,u16 * data) e1000_valid_led_default_82575() argument 1821 e1000_sgmii_active_82575(struct e1000_hw * hw) e1000_sgmii_active_82575() argument 1834 e1000_reset_init_script_82575(struct e1000_hw * hw) e1000_reset_init_script_82575() argument 1869 e1000_read_mac_addr_82575(struct e1000_hw * hw) e1000_read_mac_addr_82575() argument 1897 e1000_config_collision_dist_82575(struct e1000_hw * hw) e1000_config_collision_dist_82575() argument 1918 e1000_clear_hw_cntrs_82575(struct e1000_hw * hw) e1000_clear_hw_cntrs_82575() argument 1987 e1000_set_pcie_completion_timeout(struct e1000_hw * hw) e1000_set_pcie_completion_timeout() argument 2036 e1000_vmdq_set_anti_spoofing_pf(struct e1000_hw * hw,bool enable,int pf) e1000_vmdq_set_anti_spoofing_pf() argument 2074 e1000_vmdq_set_loopback_pf(struct e1000_hw * hw,bool enable) e1000_vmdq_set_loopback_pf() argument 2111 e1000_vmdq_set_replication_pf(struct e1000_hw * hw,bool enable) e1000_vmdq_set_replication_pf() argument 2132 e1000_read_phy_reg_82580(struct e1000_hw * hw,u32 offset,u16 * data) e1000_read_phy_reg_82580() argument 2158 e1000_write_phy_reg_82580(struct e1000_hw * hw,u32 offset,u16 data) e1000_write_phy_reg_82580() argument 2184 e1000_reset_mdicnfg_82580(struct e1000_hw * hw) e1000_reset_mdicnfg_82580() argument 2222 e1000_reset_hw_82580(struct e1000_hw * hw) e1000_reset_hw_82580() argument 2227 u32 ctrl; e1000_reset_hw_82580() local 2341 e1000_validate_nvm_checksum_with_offset(struct e1000_hw * hw,u16 offset) e1000_validate_nvm_checksum_with_offset() argument 2378 e1000_update_nvm_checksum_with_offset(struct e1000_hw * hw,u16 offset) e1000_update_nvm_checksum_with_offset() argument 2412 e1000_validate_nvm_checksum_82580(struct e1000_hw * hw) e1000_validate_nvm_checksum_82580() argument 2453 e1000_update_nvm_checksum_82580(struct e1000_hw * hw) e1000_update_nvm_checksum_82580() argument 2497 e1000_validate_nvm_checksum_i350(struct e1000_hw * hw) e1000_validate_nvm_checksum_i350() argument 2525 e1000_update_nvm_checksum_i350(struct e1000_hw * hw) e1000_update_nvm_checksum_i350() argument 2551 __e1000_access_emi_reg(struct e1000_hw * hw,u16 address,u16 * data,bool read) __e1000_access_emi_reg() argument 2576 e1000_read_emi_reg(struct e1000_hw * hw,u16 addr,u16 * data) e1000_read_emi_reg() argument 2589 e1000_initialize_M88E1512_phy(struct e1000_hw * hw) e1000_initialize_M88E1512_phy() argument 2678 e1000_initialize_M88E1543_phy(struct e1000_hw * hw) e1000_initialize_M88E1543_phy() argument 2780 e1000_set_eee_i350(struct e1000_hw * hw,bool adv1G,bool adv100M) e1000_set_eee_i350() argument 2835 e1000_set_eee_i354(struct e1000_hw * hw,bool adv1G,bool adv100M) e1000_set_eee_i354() argument 2917 e1000_get_eee_status_i354(struct e1000_hw * hw,bool * status) e1000_get_eee_status_i354() argument 2956 e1000_clear_vfta_i350(struct e1000_hw * hw) e1000_clear_vfta_i350() argument 2980 e1000_write_vfta_i350(struct e1000_hw * hw,u32 offset,u32 value) e1000_write_vfta_i350() argument 3000 e1000_set_i2c_bb(struct e1000_hw * hw) e1000_set_i2c_bb() argument 3032 e1000_read_i2c_byte_generic(struct e1000_hw * hw,u8 byte_offset,u8 dev_addr,u8 * data) e1000_read_i2c_byte_generic() argument 3121 e1000_write_i2c_byte_generic(struct e1000_hw * hw,u8 byte_offset,u8 dev_addr,u8 data) e1000_write_i2c_byte_generic() argument 3190 e1000_i2c_start(struct e1000_hw * hw) e1000_i2c_start() argument 3221 e1000_i2c_stop(struct e1000_hw * hw) e1000_i2c_stop() argument 3247 e1000_clock_in_i2c_byte(struct e1000_hw * hw,u8 * data) e1000_clock_in_i2c_byte() argument 3268 e1000_clock_out_i2c_byte(struct e1000_hw * hw,u8 data) e1000_clock_out_i2c_byte() argument 3301 e1000_get_i2c_ack(struct e1000_hw * hw) e1000_get_i2c_ack() argument 3347 e1000_clock_in_i2c_bit(struct e1000_hw * hw,bool * data) e1000_clock_in_i2c_bit() argument 3374 e1000_clock_out_i2c_bit(struct e1000_hw * hw,bool data) e1000_clock_out_i2c_bit() argument 3408 e1000_raise_i2c_clk(struct e1000_hw * hw,u32 * i2cctl) e1000_raise_i2c_clk() argument 3428 e1000_lower_i2c_clk(struct e1000_hw * hw,u32 * i2cctl) e1000_lower_i2c_clk() argument 3450 e1000_set_i2c_data(struct e1000_hw * hw,u32 * i2cctl,bool data) e1000_set_i2c_data() argument 3505 e1000_i2c_bus_clear(struct e1000_hw * hw) e1000_i2c_bus_clear() argument [all...] |
H A D | e1000_ich8lan.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 36 * 82562G-2 10/100 Network Connection 38 * 82562GT-2 10/100 Network Connection 40 * 82562V-2 10/100 Network Connection 41 * 82566DC-2 Gigabit Network Connection 43 * 82566DM-2 Gigabit Network Connection 50 * 82567LM-2 Gigabit Network Connection 51 * 82567LF-2 Gigabit Network Connection 52 * 82567V-2 Gigabit Network Connection [all …]
|
H A D | e1000_80003es2lan.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 41 static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw); 42 static void e1000_release_phy_80003es2lan(struct e1000_hw *hw); 43 static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw); 44 static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw); 45 static s32 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, 48 static s32 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, 51 static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, 53 static s32 e1000_get_cfg_done_80003es2lan(struct e1000_hw *hw); [all …]
|
/freebsd-src/sys/dev/igc/ |
H A D | igc_mac.c | 1 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 10 static void igc_config_collision_dist_generic(struct igc_hw *hw); 13 * igc_init_mac_ops_generic - Initialize MAC function pointers 14 * @hw: pointer to the HW structure 16 * Setups up the function pointers to no-op functions 18 void igc_init_mac_ops_generic(struct igc_hw *hw) in igc_init_mac_ops_generic() argument 20 struct igc_mac_info *mac = &hw->mac; in igc_init_mac_ops_generic() 24 mac->ops.init_params = igc_null_ops_generic; in igc_init_mac_ops_generic() 25 mac->ops.config_collision_dist = igc_config_collision_dist_generic; in igc_init_mac_ops_generic() [all …]
|
H A D | igc_phy.c | 1 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 10 static s32 igc_wait_autoneg(struct igc_hw *hw); 13 * igc_init_phy_ops_generic - Initialize PHY function pointers 14 * @hw: pointer to the HW structure 16 * Setups up the function pointers to no-op functions 18 void igc_init_phy_ops_generic(struct igc_hw *hw) in igc_init_phy_ops_generic() argument 20 struct igc_phy_info *phy = &hw->phy; in igc_init_phy_ops_generic() 24 phy->ops.init_params = igc_null_ops_generic; in igc_init_phy_ops_generic() 25 phy->ops.acquire = igc_null_ops_generic; in igc_init_phy_ops_generic() [all …]
|
H A D | igc_i225.c | 1 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 10 static s32 igc_init_nvm_params_i225(struct igc_hw *hw); 11 static s32 igc_init_mac_params_i225(struct igc_hw *hw); 12 static s32 igc_init_phy_params_i225(struct igc_hw *hw); 13 static s32 igc_reset_hw_i225(struct igc_hw *hw); 14 static s32 igc_acquire_nvm_i225(struct igc_hw *hw); 15 static void igc_release_nvm_i225(struct igc_hw *hw); 16 static s32 igc_get_hw_semaphore_i225(struct igc_hw *hw); 17 static s32 __igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words, [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/serial/ |
H A D | st,stm32-uart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/serial/st,stm32-uar [all...] |
H A D | st-asc.txt | 1 *st-asc(Serial Port) 4 - compatible : Should be "st,asc". 5 - reg, reg-names, interrupts, interrupt-names : Standard way to define device 7 Documentation/devicetree/bindings/resource-names.txt 10 - st,hw-flow-ctrl bool flag to enable hardware flow control. 11 - st,force-m1 bool flat to force asc to be in Mode-1 recommended
|
/freebsd-src/sys/dev/ixgbe/ |
H A D | ixgbe_82598.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 48 static s32 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, 51 static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw); 52 static s32 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, 54 static s32 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw, 57 static s32 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw, 60 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, 63 static s32 ixgbe_reset_hw_82598(struct ixgbe_hw *hw); 64 static s32 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq); [all …]
|
H A D | ixgbe_82599.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 48 static s32 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw, 51 static s32 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw); 52 static s32 ixgbe_read_eeprom_82599(struct ixgbe_hw *hw, 54 static s32 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset, 56 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u 61 ixgbe_init_mac_link_ops_82599(struct ixgbe_hw * hw) ixgbe_init_mac_link_ops_82599() argument 115 ixgbe_init_phy_ops_82599(struct ixgbe_hw * hw) ixgbe_init_phy_ops_82599() argument 173 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw * hw) ixgbe_setup_sfp_modules_82599() argument 250 prot_autoc_read_82599(struct ixgbe_hw * hw,bool * locked,u32 * reg_val) prot_autoc_read_82599() argument 279 prot_autoc_write_82599(struct ixgbe_hw * hw,u32 autoc,bool locked) prot_autoc_write_82599() argument 321 ixgbe_init_ops_82599(struct ixgbe_hw * hw) ixgbe_init_ops_82599() argument 420 ixgbe_get_link_capabilities_82599(struct ixgbe_hw * hw,ixgbe_link_speed * speed,bool * autoneg) ixgbe_get_link_capabilities_82599() argument 530 ixgbe_get_media_type_82599(struct ixgbe_hw * hw) ixgbe_get_media_type_82599() argument 595 ixgbe_stop_mac_link_on_d3_82599(struct ixgbe_hw * hw) ixgbe_stop_mac_link_on_d3_82599() argument 619 ixgbe_start_mac_link_82599(struct ixgbe_hw * hw,bool autoneg_wait_to_complete) ixgbe_start_mac_link_82599() argument 687 ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw * hw) ixgbe_disable_tx_laser_multispeed_fiber() argument 710 ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw * hw) ixgbe_enable_tx_laser_multispeed_fiber() argument 733 ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw * hw) ixgbe_flap_tx_laser_multispeed_fiber() argument 755 ixgbe_set_hard_rate_select_speed(struct ixgbe_hw * hw,ixgbe_link_speed speed) ixgbe_set_hard_rate_select_speed() argument 785 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw * hw,ixgbe_link_speed speed,bool autoneg_wait_to_complete) ixgbe_setup_mac_link_smartspeed() argument 897 ixgbe_setup_mac_link_82599(struct ixgbe_hw * hw,ixgbe_link_speed speed,bool autoneg_wait_to_complete) ixgbe_setup_mac_link_82599() argument 1015 ixgbe_setup_copper_link_82599(struct ixgbe_hw * hw,ixgbe_link_speed speed,bool autoneg_wait_to_complete) ixgbe_setup_copper_link_82599() argument 1040 ixgbe_reset_hw_82599(struct ixgbe_hw * hw) ixgbe_reset_hw_82599() argument 1044 u32 ctrl = 0; ixgbe_reset_hw_82599() local 1219 ixgbe_fdir_check_cmd_complete(struct ixgbe_hw * hw,u32 * fdircmd) ixgbe_fdir_check_cmd_complete() argument 1237 ixgbe_reinit_fdir_tables_82599(struct ixgbe_hw * hw) ixgbe_reinit_fdir_tables_82599() argument 1311 ixgbe_fdir_enable_82599(struct ixgbe_hw * hw,u32 fdirctrl) ixgbe_fdir_enable_82599() argument 1353 ixgbe_init_fdir_signature_82599(struct ixgbe_hw * hw,u32 fdirctrl) ixgbe_init_fdir_signature_82599() argument 1380 ixgbe_init_fdir_perfect_82599(struct ixgbe_hw * hw,u32 fdirctrl,bool cloud_mode) ixgbe_init_fdir_perfect_82599() argument 1417 ixgbe_set_fdir_drop_queue_82599(struct ixgbe_hw * hw,u8 dropqueue) ixgbe_set_fdir_drop_queue_82599() argument 1547 ixgbe_fdir_add_signature_filter_82599(struct ixgbe_hw * hw,union ixgbe_atr_hash_dword input,union ixgbe_atr_hash_dword common,u8 queue) ixgbe_fdir_add_signature_filter_82599() argument 1706 ixgbe_fdir_set_input_mask_82599(struct ixgbe_hw * hw,union ixgbe_atr_input * input_mask,bool cloud_mode) ixgbe_fdir_set_input_mask_82599() argument 1883 ixgbe_fdir_write_perfect_filter_82599(struct ixgbe_hw * hw,union ixgbe_atr_input * input,u16 soft_id,u8 queue,bool cloud_mode) ixgbe_fdir_write_perfect_filter_82599() argument 1973 ixgbe_fdir_erase_perfect_filter_82599(struct ixgbe_hw * hw,union ixgbe_atr_input * input,u16 soft_id) ixgbe_fdir_erase_perfect_filter_82599() argument 2021 ixgbe_fdir_add_perfect_filter_82599(struct ixgbe_hw * hw,union ixgbe_atr_input * input,union ixgbe_atr_input * input_mask,u16 soft_id,u8 queue,bool cloud_mode) ixgbe_fdir_add_perfect_filter_82599() argument 2084 ixgbe_read_analog_reg8_82599(struct ixgbe_hw * hw,u32 reg,u8 * val) ixgbe_read_analog_reg8_82599() argument 2108 ixgbe_write_analog_reg8_82599(struct ixgbe_hw * hw,u32 reg,u8 val) ixgbe_write_analog_reg8_82599() argument 2130 ixgbe_start_hw_82599(struct ixgbe_hw * hw) ixgbe_start_hw_82599() argument 2159 ixgbe_identify_phy_82599(struct ixgbe_hw * hw) ixgbe_identify_phy_82599() argument 2194 ixgbe_get_supported_physical_layer_82599(struct ixgbe_hw * hw) ixgbe_get_supported_physical_layer_82599() argument 2282 ixgbe_enable_rx_dma_82599(struct ixgbe_hw * hw,u32 regval) ixgbe_enable_rx_dma_82599() argument 2316 ixgbe_verify_fw_version_82599(struct ixgbe_hw * hw) ixgbe_verify_fw_version_82599() argument 2377 ixgbe_verify_lesm_fw_enabled_82599(struct ixgbe_hw * hw) ixgbe_verify_lesm_fw_enabled_82599() argument 2425 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw * hw,u16 offset,u16 words,u16 * data) ixgbe_read_eeprom_buffer_82599() argument 2459 ixgbe_read_eeprom_82599(struct ixgbe_hw * hw,u16 offset,u16 * data) ixgbe_read_eeprom_82599() argument 2488 ixgbe_reset_pipeline_82599(struct ixgbe_hw * hw) ixgbe_reset_pipeline_82599() argument 2541 ixgbe_read_i2c_byte_82599(struct ixgbe_hw * hw,u8 byte_offset,u8 dev_addr,u8 * data) ixgbe_read_i2c_byte_82599() argument 2599 ixgbe_write_i2c_byte_82599(struct ixgbe_hw * hw,u8 byte_offset,u8 dev_addr,u8 data) ixgbe_write_i2c_byte_82599() argument [all...] |
H A D | ixgbe_x550.c | 3 Copyright (c) 2001-2020, Intel Corporation 41 static s32 ixgbe_setup_ixfi_x550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed); 44 static s32 ixgbe_read_mng_if_sel_x550em(struct ixgbe_hw *hw); 47 * ixgbe_init_ops_X550 - Inits func ptrs and MAC type 48 * @hw: pointer to hardware structure 53 s32 ixgbe_init_ops_X550(struct ixgbe_hw *hw) in ixgbe_init_ops_X550() argument 55 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_ops_X550() 56 struct ixgbe_eeprom_info *eeprom = &hw->eepro in ixgbe_init_ops_X550() 113 ixgbe_read_cs4227(struct ixgbe_hw * hw,u16 reg,u16 * value) ixgbe_read_cs4227() argument 126 ixgbe_write_cs4227(struct ixgbe_hw * hw,u16 reg,u16 value) ixgbe_write_cs4227() argument 139 ixgbe_read_pe(struct ixgbe_hw * hw,u8 reg,u8 * value) ixgbe_read_pe() argument 158 ixgbe_write_pe(struct ixgbe_hw * hw,u8 reg,u8 value) ixgbe_write_pe() argument 176 ixgbe_reset_cs4227(struct ixgbe_hw * hw) ixgbe_reset_cs4227() argument 249 ixgbe_check_cs4227(struct ixgbe_hw * hw) ixgbe_check_cs4227() argument 326 ixgbe_setup_mux_ctl(struct ixgbe_hw * hw) ixgbe_setup_mux_ctl() argument 345 ixgbe_identify_phy_x550em(struct ixgbe_hw * hw) ixgbe_identify_phy_x550em() argument 400 ixgbe_fw_phy_activity(struct ixgbe_hw * hw,u16 activity,u32 (* data)[FW_PHY_ACT_DATA_COUNT]) ixgbe_fw_phy_activity() argument 458 ixgbe_get_phy_id_fw(struct ixgbe_hw * hw) ixgbe_get_phy_id_fw() argument 494 ixgbe_identify_phy_fw(struct ixgbe_hw * hw) ixgbe_identify_phy_fw() argument 513 ixgbe_shutdown_fw_phy(struct ixgbe_hw * hw) ixgbe_shutdown_fw_phy() argument 521 ixgbe_read_phy_reg_x550em(struct ixgbe_hw * hw,u32 reg_addr,u32 device_type,u16 * phy_data) ixgbe_read_phy_reg_x550em() argument 528 ixgbe_write_phy_reg_x550em(struct ixgbe_hw * hw,u32 reg_addr,u32 device_type,u16 phy_data) ixgbe_write_phy_reg_x550em() argument 544 ixgbe_read_i2c_combined_generic(struct ixgbe_hw * hw,u8 addr,u16 reg,u16 * val) ixgbe_read_i2c_combined_generic() argument 560 ixgbe_read_i2c_combined_generic_unlocked(struct ixgbe_hw * hw,u8 addr,u16 reg,u16 * val) ixgbe_read_i2c_combined_generic_unlocked() argument 575 ixgbe_write_i2c_combined_generic(struct ixgbe_hw * hw,u8 addr,u16 reg,u16 val) ixgbe_write_i2c_combined_generic() argument 591 ixgbe_write_i2c_combined_generic_unlocked(struct ixgbe_hw * hw,u8 addr,u16 reg,u16 val) ixgbe_write_i2c_combined_generic_unlocked() argument 604 ixgbe_init_ops_X550EM(struct ixgbe_hw * hw) ixgbe_init_ops_X550EM() argument 703 ixgbe_setup_fw_link(struct ixgbe_hw * hw) ixgbe_setup_fw_link() argument 758 ixgbe_fc_autoneg_fw(struct ixgbe_hw * hw) ixgbe_fc_autoneg_fw() argument 774 ixgbe_setup_eee_fw(struct ixgbe_hw * hw,bool enable_eee) ixgbe_setup_eee_fw() argument 792 ixgbe_init_ops_X550EM_a(struct ixgbe_hw * hw) ixgbe_init_ops_X550EM_a() argument 850 ixgbe_init_ops_X550EM_x(struct ixgbe_hw * hw) ixgbe_init_ops_X550EM_x() argument 888 ixgbe_dmac_config_X550(struct ixgbe_hw * hw) ixgbe_dmac_config_X550() argument 936 ixgbe_dmac_config_tcs_X550(struct ixgbe_hw * hw) ixgbe_dmac_config_tcs_X550() argument 991 ixgbe_dmac_update_tcs_X550(struct ixgbe_hw * hw) ixgbe_dmac_update_tcs_X550() argument 1019 ixgbe_init_eeprom_params_X550(struct ixgbe_hw * hw) ixgbe_init_eeprom_params_X550() argument 1050 ixgbe_set_source_address_pruning_X550(struct ixgbe_hw * hw,bool enable,unsigned int pool) ixgbe_set_source_address_pruning_X550() argument 1078 ixgbe_set_ethertype_anti_spoofing_X550(struct ixgbe_hw * hw,bool enable,int vf) ixgbe_set_ethertype_anti_spoofing_X550() argument 1105 ixgbe_iosf_wait(struct ixgbe_hw * hw,u32 * ctrl) ixgbe_iosf_wait() argument 1137 ixgbe_write_iosf_sb_reg_x550(struct ixgbe_hw * hw,u32 reg_addr,u32 device_type,u32 data) ixgbe_write_iosf_sb_reg_x550() argument 1183 ixgbe_read_iosf_sb_reg_x550(struct ixgbe_hw * hw,u32 reg_addr,u32 device_type,u32 * data) ixgbe_read_iosf_sb_reg_x550() argument 1227 ixgbe_get_phy_token(struct ixgbe_hw * hw) ixgbe_get_phy_token() argument 1265 ixgbe_put_phy_token(struct ixgbe_hw * hw) ixgbe_put_phy_token() argument 1298 ixgbe_write_iosf_sb_reg_x550a(struct ixgbe_hw * hw,u32 reg_addr,u32 device_type,u32 data) ixgbe_write_iosf_sb_reg_x550a() argument 1328 ixgbe_read_iosf_sb_reg_x550a(struct ixgbe_hw * hw,u32 reg_addr,u32 device_type,u32 * data) ixgbe_read_iosf_sb_reg_x550a() argument 1362 ixgbe_disable_mdd_X550(struct ixgbe_hw * hw) ixgbe_disable_mdd_X550() argument 1385 ixgbe_enable_mdd_X550(struct ixgbe_hw * hw) ixgbe_enable_mdd_X550() argument 1409 ixgbe_restore_mdd_vf_X550(struct ixgbe_hw * hw,u32 vf) ixgbe_restore_mdd_vf_X550() argument 1449 ixgbe_mdd_event_X550(struct ixgbe_hw * hw,u32 * vf_bitmap) ixgbe_mdd_event_X550() argument 1505 ixgbe_get_media_type_X550em(struct ixgbe_hw * hw) ixgbe_get_media_type_X550em() argument 1553 ixgbe_supported_sfp_modules_X550em(struct ixgbe_hw * hw,bool * linear) ixgbe_supported_sfp_modules_X550em() argument 1590 ixgbe_identify_sfp_module_X550em(struct ixgbe_hw * hw) ixgbe_identify_sfp_module_X550em() argument 1612 ixgbe_setup_sfp_modules_X550em(struct ixgbe_hw * hw) ixgbe_setup_sfp_modules_X550em() argument 1636 ixgbe_restart_an_internal_phy_x550em(struct ixgbe_hw * hw) ixgbe_restart_an_internal_phy_x550em() argument 1684 ixgbe_setup_sgmii(struct ixgbe_hw * hw,ixgbe_link_speed speed,bool autoneg_wait) ixgbe_setup_sgmii() argument 1753 ixgbe_setup_sgmii_fw(struct ixgbe_hw * hw,ixgbe_link_speed speed,bool autoneg_wait) ixgbe_setup_sgmii_fw() argument 1824 ixgbe_init_mac_link_ops_X550em(struct ixgbe_hw * hw) ixgbe_init_mac_link_ops_X550em() argument 1884 ixgbe_get_link_capabilities_X550em(struct ixgbe_hw * hw,ixgbe_link_speed * speed,bool * autoneg) ixgbe_get_link_capabilities_X550em() argument 1967 ixgbe_get_lasi_ext_t_x550em(struct ixgbe_hw * hw,bool * lsc) ixgbe_get_lasi_ext_t_x550em() argument 2054 ixgbe_enable_lasi_ext_t_x550em(struct ixgbe_hw * hw) ixgbe_enable_lasi_ext_t_x550em() argument 2151 ixgbe_setup_kr_speed_x550em(struct ixgbe_hw * hw,ixgbe_link_speed speed) ixgbe_setup_kr_speed_x550em() argument 2206 ixgbe_reset_phy_fw(struct ixgbe_hw * hw) ixgbe_reset_phy_fw() argument 2230 ixgbe_check_overtemp_fw(struct ixgbe_hw * hw) ixgbe_check_overtemp_fw() argument 2253 ixgbe_read_mng_if_sel_x550em(struct ixgbe_hw * hw) ixgbe_read_mng_if_sel_x550em() argument 2281 ixgbe_init_phy_ops_X550em(struct ixgbe_hw * hw) ixgbe_init_phy_ops_X550em() argument 2398 ixgbe_set_mdio_speed(struct ixgbe_hw * hw) ixgbe_set_mdio_speed() argument 2434 ixgbe_reset_hw_X550em(struct ixgbe_hw * hw) ixgbe_reset_hw_X550em() argument 2438 u32 ctrl = 0; ixgbe_reset_hw_X550em() local 2567 ixgbe_init_ext_t_x550em(struct ixgbe_hw * hw) ixgbe_init_ext_t_x550em() argument 2610 ixgbe_setup_kr_x550em(struct ixgbe_hw * hw) ixgbe_setup_kr_x550em() argument 2630 ixgbe_setup_mac_link_sfp_x550em(struct ixgbe_hw * hw,ixgbe_link_speed speed,bool autoneg_wait_to_complete) ixgbe_setup_mac_link_sfp_x550em() argument 2675 ixgbe_setup_sfi_x550a(struct ixgbe_hw * hw,ixgbe_link_speed * speed) ixgbe_setup_sfi_x550a() argument 2724 ixgbe_setup_mac_link_sfp_x550a(struct ixgbe_hw * hw,ixgbe_link_speed speed,bool autoneg_wait_to_complete) ixgbe_setup_mac_link_sfp_x550a() argument 2827 ixgbe_setup_ixfi_x550em_x(struct ixgbe_hw * hw) ixgbe_setup_ixfi_x550em_x() argument 2898 ixgbe_setup_ixfi_x550em(struct ixgbe_hw * hw,ixgbe_link_speed * speed) ixgbe_setup_ixfi_x550em() argument 2957 ixgbe_ext_phy_t_x550em_get_link(struct ixgbe_hw * hw,bool * link_up) ixgbe_ext_phy_t_x550em_get_link() argument 2994 ixgbe_setup_internal_phy_t_x550em(struct ixgbe_hw * hw) ixgbe_setup_internal_phy_t_x550em() argument 3057 ixgbe_setup_phy_loopback_x550em(struct ixgbe_hw * hw) ixgbe_setup_phy_loopback_x550em() argument 3127 ixgbe_read_ee_hostif_X550(struct ixgbe_hw * hw,u16 offset,u16 * data) ixgbe_read_ee_hostif_X550() argument 3171 ixgbe_read_ee_hostif_buffer_X550(struct ixgbe_hw * hw,u16 offset,u16 words,u16 * data) ixgbe_read_ee_hostif_buffer_X550() argument 3246 ixgbe_write_ee_hostif_data_X550(struct ixgbe_hw * hw,u16 offset,u16 data) ixgbe_write_ee_hostif_data_X550() argument 3290 ixgbe_write_ee_hostif_X550(struct ixgbe_hw * hw,u16 offset,u16 data) ixgbe_write_ee_hostif_X550() argument 3318 ixgbe_write_ee_hostif_buffer_X550(struct ixgbe_hw * hw,u16 offset,u16 words,u16 * data) ixgbe_write_ee_hostif_buffer_X550() argument 3360 ixgbe_checksum_ptr_x550(struct ixgbe_hw * hw,u16 ptr,u16 size,u16 * csum,u16 * buffer,u32 buffer_size) ixgbe_checksum_ptr_x550() argument 3429 ixgbe_calc_checksum_X550(struct ixgbe_hw * hw,u16 * buffer,u32 buffer_size) ixgbe_calc_checksum_X550() argument 3510 ixgbe_calc_eeprom_checksum_X550(struct ixgbe_hw * hw) ixgbe_calc_eeprom_checksum_X550() argument 3523 ixgbe_validate_eeprom_checksum_X550(struct ixgbe_hw * hw,u16 * checksum_val) ixgbe_validate_eeprom_checksum_X550() argument 3576 ixgbe_update_eeprom_checksum_X550(struct ixgbe_hw * hw) ixgbe_update_eeprom_checksum_X550() argument 3615 ixgbe_update_flash_X550(struct ixgbe_hw * hw) ixgbe_update_flash_X550() argument 3640 ixgbe_get_supported_physical_layer_X550em(struct ixgbe_hw * hw) ixgbe_get_supported_physical_layer_X550em() argument 3713 ixgbe_get_bus_info_X550em(struct ixgbe_hw * hw) ixgbe_get_bus_info_X550em() argument 3732 ixgbe_disable_rx_x550(struct ixgbe_hw * hw) ixgbe_disable_rx_x550() argument 3779 ixgbe_enter_lplu_t_x550em(struct ixgbe_hw * hw) ixgbe_enter_lplu_t_x550em() argument 3886 ixgbe_get_lcd_t_x550em(struct ixgbe_hw * hw,ixgbe_link_speed * lcd_speed) ixgbe_get_lcd_t_x550em() argument 3923 ixgbe_setup_fc_X550em(struct ixgbe_hw * hw) ixgbe_setup_fc_X550em() argument 4013 ixgbe_fc_autoneg_backplane_x550em_a(struct ixgbe_hw * hw) ixgbe_fc_autoneg_backplane_x550em_a() argument 4090 ixgbe_fc_autoneg_fiber_x550em_a(struct ixgbe_hw * hw) ixgbe_fc_autoneg_fiber_x550em_a() argument 4102 ixgbe_fc_autoneg_sgmii_x550em_a(struct ixgbe_hw * hw) ixgbe_fc_autoneg_sgmii_x550em_a() argument 4157 ixgbe_setup_fc_backplane_x550em_a(struct ixgbe_hw * hw) ixgbe_setup_fc_backplane_x550em_a() argument 4244 ixgbe_set_mux(struct ixgbe_hw * hw,u8 state) ixgbe_set_mux() argument 4266 ixgbe_acquire_swfw_sync_X550em(struct ixgbe_hw * hw,u32 mask) ixgbe_acquire_swfw_sync_X550em() argument 4289 ixgbe_release_swfw_sync_X550em(struct ixgbe_hw * hw,u32 mask) ixgbe_release_swfw_sync_X550em() argument 4306 ixgbe_acquire_swfw_sync_X550a(struct ixgbe_hw * hw,u32 mask) ixgbe_acquire_swfw_sync_X550a() argument 4356 ixgbe_release_swfw_sync_X550a(struct ixgbe_hw * hw,u32 mask) ixgbe_release_swfw_sync_X550a() argument 4380 ixgbe_read_phy_reg_x550a(struct ixgbe_hw * hw,u32 reg_addr,u32 device_type,u16 * phy_data) ixgbe_read_phy_reg_x550a() argument 4408 ixgbe_write_phy_reg_x550a(struct ixgbe_hw * hw,u32 reg_addr,u32 device_type,u16 phy_data) ixgbe_write_phy_reg_x550a() argument 4438 ixgbe_handle_lasi_ext_t_x550em(struct ixgbe_hw * hw) ixgbe_handle_lasi_ext_t_x550em() argument 4465 ixgbe_setup_mac_link_t_X550em(struct ixgbe_hw * hw,ixgbe_link_speed speed,bool autoneg_wait_to_complete) ixgbe_setup_mac_link_t_X550em() argument 4519 ixgbe_check_link_t_X550em(struct ixgbe_hw * hw,ixgbe_link_speed * speed,bool * link_up,bool link_up_wait_to_complete) ixgbe_check_link_t_X550em() argument 4560 ixgbe_reset_phy_t_X550em(struct ixgbe_hw * hw) ixgbe_reset_phy_t_X550em() argument 4578 ixgbe_led_on_t_X550em(struct ixgbe_hw * hw,u32 led_idx) ixgbe_led_on_t_X550em() argument 4603 ixgbe_led_off_t_X550em(struct ixgbe_hw * hw,u32 led_idx) ixgbe_led_off_t_X550em() argument 4638 ixgbe_set_fw_drv_ver_x550(struct ixgbe_hw * hw,u8 maj,u8 min,u8 build,u8 sub,u16 len,const char * driver_ver) ixgbe_set_fw_drv_ver_x550() argument 4690 ixgbe_fw_recovery_mode_X550(struct ixgbe_hw * hw) ixgbe_fw_recovery_mode_X550() argument [all...] |
H A D | if_ix.c | 3 Copyright (c) 2001-2017, Intel Corporation 48 static const char ixgbe_driver_version[] = "4.0.1-k"; 93 "Intel(R) X520-T 82599 LOM"), 105 "Intel(R) X520-1 82599EN (SFP+)"), 107 "Intel(R) X520-4 82599 (Quad SFP+)"), 109 "Intel(R) X520-Q1 82599 (QSFP+)"), 111 "Intel(R) X540-AT2"), 112 PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X540T1, "Intel(R) X540-T1"), 113 PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X550T, "Intel(R) X550-T2"), 114 PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X550T1, "Intel(R) X550-T 552 struct ixgbe_hw *hw = &sc->hw; ixgbe_initialize_rss_mapping() local 668 struct ixgbe_hw *hw = &sc->hw; ixgbe_initialize_receive_units() local 780 struct ixgbe_hw *hw = &sc->hw; ixgbe_initialize_transmit_units() local 879 struct ixgbe_hw *hw; ixgbe_if_attach_pre() local 1070 struct ixgbe_hw *hw; ixgbe_if_attach_post() local 1157 struct ixgbe_hw *hw = &sc->hw; ixgbe_check_wol_support() local 1243 struct ixgbe_hw *hw = &sc->hw; ixgbe_if_i2c_req() local 1280 struct ixgbe_hw *hw = &sc->hw; ixgbe_add_media_types() local 1369 ixgbe_is_sfp(struct ixgbe_hw * hw) ixgbe_is_sfp() argument 1401 struct ixgbe_hw *hw = &sc->hw; ixgbe_config_link() local 1464 struct ixgbe_hw *hw = &sc->hw; ixgbe_update_stats_counters() local 1923 struct ixgbe_hw *hw = &sc->hw; ixgbe_setup_vlan_hw_support() local 1926 u32 ctrl; ixgbe_setup_vlan_hw_support() local 2003 struct ixgbe_hw *hw = &sc->hw; ixgbe_get_slot_info() local 2241 struct ixgbe_hw *hw = &sc->hw; ixgbe_if_media_status() local 2407 struct ixgbe_hw *hw = &sc->hw; ixgbe_if_media_change() local 2532 struct ixgbe_hw *hw = &sc->hw; ixgbe_msix_link() local 2687 struct ixgbe_hw *hw = &sc->hw; ixgbe_add_device_sysctls() local 2845 struct ixgbe_hw *hw = &sc->hw; ixgbe_setup_low_power_mode() local 2933 struct ixgbe_hw *hw = &sc->hw; ixgbe_if_resume() local 2986 struct ixgbe_hw *hw = &sc->hw; ixgbe_if_crcstrip_set() local 3041 struct ixgbe_hw *hw = &sc->hw; ixgbe_if_init() local 3223 struct ixgbe_hw *hw = &sc->hw; ixgbe_set_ivar() local 3309 struct ixgbe_hw *hw = &sc->hw; ixgbe_config_gpie() local 3355 struct ixgbe_hw *hw = &sc->hw; ixgbe_config_delay_values() local 3458 ixgbe_mc_array_itr(struct ixgbe_hw * hw,u8 ** update_ptr,u32 * vmdq) ixgbe_mc_array_itr() argument 3505 struct ixgbe_hw *hw = &sc->hw; ixgbe_sfp_probe() local 3539 struct ixgbe_hw *hw = &sc->hw; ixgbe_handle_mod() local 3595 struct ixgbe_hw *hw = &sc->hw; ixgbe_handle_msf() local 3622 struct ixgbe_hw *hw = &sc->hw; ixgbe_handle_phy() local 3643 struct ixgbe_hw *hw = &sc->hw; ixgbe_if_stop() local 3728 struct ixgbe_hw *hw = &sc->hw; ixgbe_config_dmac() local 3755 struct ixgbe_hw *hw = &sc->hw; ixgbe_if_enable_intr() local 3860 struct ixgbe_hw *hw = &((struct ixgbe_softc *)iflib_get_softc(ctx))->hw; ixgbe_link_intr_enable() local 3886 struct ixgbe_hw *hw = &sc->hw; ixgbe_enable_queue() local 3909 struct ixgbe_hw *hw = &sc->hw; ixgbe_disable_queue() local 3934 struct ixgbe_hw *hw = &sc->hw; ixgbe_intr() local 4086 struct ixgbe_hw *hw = &sc->hw; ixgbe_enable_rx_drop() local 4111 struct ixgbe_hw *hw = &sc->hw; ixgbe_disable_rx_drop() local 4166 struct ixgbe_hw *hw; ixgbe_set_advertise() local 4268 struct ixgbe_hw *hw = &sc->hw; ixgbe_get_default_advertise() local 4416 struct ixgbe_hw *hw = &sc->hw; ixgbe_sysctl_wol_enable() local 4486 struct ixgbe_hw *hw = &sc->hw; ixgbe_sysctl_print_rss_config() local 4544 struct ixgbe_hw *hw = &sc->hw; ixgbe_sysctl_phy_temp() local 4576 struct ixgbe_hw *hw = &sc->hw; ixgbe_sysctl_phy_overtemp_occurred() local 4772 ixgbe_sbuf_fw_version(struct ixgbe_hw * hw,struct sbuf * buf) ixgbe_sbuf_fw_version() argument 4813 struct ixgbe_hw *hw = &sc->hw; ixgbe_print_fw_version() local 4842 struct ixgbe_hw *hw = &sc->hw; ixgbe_sysctl_print_fw_version() local [all...] |
H A D | ixgbe_common.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 41 static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw); 42 static s32 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw); 43 static void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw); 44 static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw); 45 static void ixgbe_standby_eeprom(struct ixgbe_hw *hw); 69 ixgbe_init_ops_generic(struct ixgbe_hw * hw) ixgbe_init_ops_generic() argument 162 ixgbe_device_supports_autoneg_fc(struct ixgbe_hw * hw) ixgbe_device_supports_autoneg_fc() argument 235 ixgbe_setup_fc_generic(struct ixgbe_hw * hw) ixgbe_setup_fc_generic() argument 395 ixgbe_start_hw_generic(struct ixgbe_hw * hw) ixgbe_start_hw_generic() argument 459 ixgbe_start_hw_gen2(struct ixgbe_hw * hw) ixgbe_start_hw_gen2() argument 496 ixgbe_init_hw_generic(struct ixgbe_hw * hw) ixgbe_init_hw_generic() argument 527 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw * hw) ixgbe_clear_hw_cntrs_generic() argument 642 ixgbe_read_pba_string_generic(struct ixgbe_hw * hw,u8 * pba_num,u32 pba_num_size) ixgbe_read_pba_string_generic() argument 752 ixgbe_read_pba_num_generic(struct ixgbe_hw * hw,u32 * pba_num) ixgbe_read_pba_num_generic() argument 791 ixgbe_read_pba_raw(struct ixgbe_hw * hw,u16 * eeprom_buf,u32 eeprom_buf_size,u16 max_pba_block_size,struct ixgbe_pba * pba) ixgbe_read_pba_raw() argument 860 ixgbe_write_pba_raw(struct ixgbe_hw * hw,u16 * eeprom_buf,u32 eeprom_buf_size,struct ixgbe_pba * pba) ixgbe_write_pba_raw() argument 919 ixgbe_get_pba_block_size(struct ixgbe_hw * hw,u16 * eeprom_buf,u32 eeprom_buf_size,u16 * pba_block_size) ixgbe_get_pba_block_size() argument 977 ixgbe_get_mac_addr_generic(struct ixgbe_hw * hw,u8 * mac_addr) ixgbe_get_mac_addr_generic() argument 1004 ixgbe_set_pci_config_data_generic(struct ixgbe_hw * hw,u16 link_status) ixgbe_set_pci_config_data_generic() argument 1054 ixgbe_get_bus_info_generic(struct ixgbe_hw * hw) ixgbe_get_bus_info_generic() argument 1076 ixgbe_set_lan_id_multi_port_pcie(struct ixgbe_hw * hw) ixgbe_set_lan_id_multi_port_pcie() argument 1110 ixgbe_stop_adapter_generic(struct ixgbe_hw * hw) ixgbe_stop_adapter_generic() argument 1162 ixgbe_init_led_link_act_generic(struct ixgbe_hw * hw) ixgbe_init_led_link_act_generic() argument 1201 ixgbe_led_on_generic(struct ixgbe_hw * hw,u32 index) ixgbe_led_on_generic() argument 1224 ixgbe_led_off_generic(struct ixgbe_hw * hw,u32 index) ixgbe_led_off_generic() argument 1249 ixgbe_init_eeprom_params_generic(struct ixgbe_hw * hw) ixgbe_init_eeprom_params_generic() argument 1304 ixgbe_write_eeprom_buffer_bit_bang_generic(struct ixgbe_hw * hw,u16 offset,u16 words,u16 * data) ixgbe_write_eeprom_buffer_bit_bang_generic() argument 1361 ixgbe_write_eeprom_buffer_bit_bang(struct ixgbe_hw * hw,u16 offset,u16 words,u16 * data) ixgbe_write_eeprom_buffer_bit_bang() argument 1443 ixgbe_write_eeprom_generic(struct ixgbe_hw * hw,u16 offset,u16 data) ixgbe_write_eeprom_generic() argument 1471 ixgbe_read_eeprom_buffer_bit_bang_generic(struct ixgbe_hw * hw,u16 offset,u16 words,u16 * data) ixgbe_read_eeprom_buffer_bit_bang_generic() argument 1520 ixgbe_read_eeprom_buffer_bit_bang(struct ixgbe_hw * hw,u16 offset,u16 words,u16 * data) ixgbe_read_eeprom_buffer_bit_bang() argument 1577 ixgbe_read_eeprom_bit_bang_generic(struct ixgbe_hw * hw,u16 offset,u16 * data) ixgbe_read_eeprom_bit_bang_generic() argument 1606 ixgbe_read_eerd_buffer_generic(struct ixgbe_hw * hw,u16 offset,u16 words,u16 * data) ixgbe_read_eerd_buffer_generic() argument 1657 ixgbe_detect_eeprom_page_size_generic(struct ixgbe_hw * hw,u16 offset) ixgbe_detect_eeprom_page_size_generic() argument 1700 ixgbe_read_eerd_generic(struct ixgbe_hw * hw,u16 offset,u16 * data) ixgbe_read_eerd_generic() argument 1714 ixgbe_write_eewr_buffer_generic(struct ixgbe_hw * hw,u16 offset,u16 words,u16 * data) ixgbe_write_eewr_buffer_generic() argument 1769 ixgbe_write_eewr_generic(struct ixgbe_hw * hw,u16 offset,u16 data) ixgbe_write_eewr_generic() argument 1782 ixgbe_poll_eerd_eewr_done(struct ixgbe_hw * hw,u32 ee_reg) ixgbe_poll_eerd_eewr_done() argument 1817 ixgbe_acquire_eeprom(struct ixgbe_hw * hw) ixgbe_acquire_eeprom() argument 1871 ixgbe_get_eeprom_semaphore(struct ixgbe_hw * hw) ixgbe_get_eeprom_semaphore() argument 1962 ixgbe_release_eeprom_semaphore(struct ixgbe_hw * hw) ixgbe_release_eeprom_semaphore() argument 1980 ixgbe_ready_eeprom(struct ixgbe_hw * hw) ixgbe_ready_eeprom() argument 2021 ixgbe_standby_eeprom(struct ixgbe_hw * hw) ixgbe_standby_eeprom() argument 2046 ixgbe_shift_out_eeprom_bits(struct ixgbe_hw * hw,u16 data,u16 count) ixgbe_shift_out_eeprom_bits() argument 2102 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw * hw,u16 count) ixgbe_shift_in_eeprom_bits() argument 2142 ixgbe_raise_eeprom_clk(struct ixgbe_hw * hw,u32 * eec) ixgbe_raise_eeprom_clk() argument 2161 ixgbe_lower_eeprom_clk(struct ixgbe_hw * hw,u32 * eec) ixgbe_lower_eeprom_clk() argument 2179 ixgbe_release_eeprom(struct ixgbe_hw * hw) ixgbe_release_eeprom() argument 2211 ixgbe_calc_eeprom_checksum_generic(struct ixgbe_hw * hw) ixgbe_calc_eeprom_checksum_generic() argument 2272 ixgbe_validate_eeprom_checksum_generic(struct ixgbe_hw * hw,u16 * checksum_val) ixgbe_validate_eeprom_checksum_generic() argument 2320 ixgbe_update_eeprom_checksum_generic(struct ixgbe_hw * hw) ixgbe_update_eeprom_checksum_generic() argument 2384 ixgbe_set_rar_generic(struct ixgbe_hw * hw,u32 index,u8 * addr,u32 vmdq,u32 enable_addr) ixgbe_set_rar_generic() argument 2435 ixgbe_clear_rar_generic(struct ixgbe_hw * hw,u32 index) ixgbe_clear_rar_generic() argument 2474 ixgbe_init_rx_addrs_generic(struct ixgbe_hw * hw) ixgbe_init_rx_addrs_generic() argument 2543 ixgbe_add_uc_addr(struct ixgbe_hw * hw,u8 * addr,u32 vmdq) ixgbe_add_uc_addr() argument 2583 ixgbe_update_uc_addr_list_generic(struct ixgbe_hw * hw,u8 * addr_list,u32 addr_count,ixgbe_mc_addr_itr next) ixgbe_update_uc_addr_list_generic() argument 2651 ixgbe_mta_vector(struct ixgbe_hw * hw,u8 * mc_addr) ixgbe_mta_vector() argument 2688 ixgbe_set_mta(struct ixgbe_hw * hw,u8 * mc_addr) ixgbe_set_mta() argument 2726 ixgbe_update_mc_addr_list_generic(struct ixgbe_hw * hw,u8 * mc_addr_list,u32 mc_addr_count,ixgbe_mc_addr_itr next,bool clear) ixgbe_update_mc_addr_list_generic() argument 2773 ixgbe_enable_mc_generic(struct ixgbe_hw * hw) ixgbe_enable_mc_generic() argument 2792 ixgbe_disable_mc_generic(struct ixgbe_hw * hw) ixgbe_disable_mc_generic() argument 2810 ixgbe_fc_enable_generic(struct ixgbe_hw * hw) ixgbe_fc_enable_generic() argument 2950 ixgbe_negotiate_fc(struct ixgbe_hw * hw,u32 adv_reg,u32 lp_reg,u32 adv_sym,u32 adv_asm,u32 lp_sym,u32 lp_asm) ixgbe_negotiate_fc() argument 2997 ixgbe_fc_autoneg_fiber(struct ixgbe_hw * hw) ixgbe_fc_autoneg_fiber() argument 3034 ixgbe_fc_autoneg_backplane(struct ixgbe_hw * hw) ixgbe_fc_autoneg_backplane() argument 3078 ixgbe_fc_autoneg_copper(struct ixgbe_hw * hw) ixgbe_fc_autoneg_copper() argument 3103 ixgbe_fc_autoneg(struct ixgbe_hw * hw) ixgbe_fc_autoneg() argument 3173 ixgbe_pcie_timeout_poll(struct ixgbe_hw * hw) ixgbe_pcie_timeout_poll() argument 3219 ixgbe_disable_pcie_master(struct ixgbe_hw * hw) ixgbe_disable_pcie_master() argument 3286 ixgbe_acquire_swfw_sync(struct ixgbe_hw * hw,u32 mask) ixgbe_acquire_swfw_sync() argument 3333 ixgbe_release_swfw_sync(struct ixgbe_hw * hw,u32 mask) ixgbe_release_swfw_sync() argument 3356 ixgbe_disable_sec_rx_path_generic(struct ixgbe_hw * hw) ixgbe_disable_sec_rx_path_generic() argument 3394 prot_autoc_read_generic(struct ixgbe_hw * hw,bool * locked,u32 * reg_val) prot_autoc_read_generic() argument 3410 prot_autoc_write_generic(struct ixgbe_hw * hw,u32 reg_val,bool locked) prot_autoc_write_generic() argument 3424 ixgbe_enable_sec_rx_path_generic(struct ixgbe_hw * hw) ixgbe_enable_sec_rx_path_generic() argument 3445 ixgbe_enable_rx_dma_generic(struct ixgbe_hw * hw,u32 regval) ixgbe_enable_rx_dma_generic() argument 3462 ixgbe_blink_led_start_generic(struct ixgbe_hw * hw,u32 index) ixgbe_blink_led_start_generic() argument 3512 ixgbe_blink_led_stop_generic(struct ixgbe_hw * hw,u32 index) ixgbe_blink_led_stop_generic() argument 3554 ixgbe_get_san_mac_addr_offset(struct ixgbe_hw * hw,u16 * san_mac_offset) ixgbe_get_san_mac_addr_offset() argument 3586 ixgbe_get_san_mac_addr_generic(struct ixgbe_hw * hw,u8 * san_mac_addr) ixgbe_get_san_mac_addr_generic() argument 3639 ixgbe_set_san_mac_addr_generic(struct ixgbe_hw * hw,u8 * san_mac_addr) ixgbe_set_san_mac_addr_generic() argument 3675 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw * hw) ixgbe_get_pcie_msix_count_generic() argument 3722 ixgbe_insert_mac_addr_generic(struct ixgbe_hw * hw,u8 * addr,u32 vmdq) ixgbe_insert_mac_addr_generic() argument 3788 ixgbe_clear_vmdq_generic(struct ixgbe_hw * hw,u32 rar,u32 vmdq) ixgbe_clear_vmdq_generic() argument 3842 ixgbe_set_vmdq_generic(struct ixgbe_hw * hw,u32 rar,u32 vmdq) ixgbe_set_vmdq_generic() argument 3878 ixgbe_set_vmdq_san_mac_generic(struct ixgbe_hw * hw,u32 vmdq) ixgbe_set_vmdq_san_mac_generic() argument 3899 ixgbe_init_uta_tables_generic(struct ixgbe_hw * hw) ixgbe_init_uta_tables_generic() argument 3923 ixgbe_find_vlvf_slot(struct ixgbe_hw * hw,u32 vlan,bool vlvf_bypass) ixgbe_find_vlvf_slot() argument 3973 ixgbe_set_vfta_generic(struct ixgbe_hw * hw,u32 vlan,u32 vind,bool vlan_on,bool vlvf_bypass) ixgbe_set_vfta_generic() argument 4040 ixgbe_set_vlvf_generic(struct ixgbe_hw * hw,u32 vlan,u32 vind,bool vlan_on,u32 * vfta_delta,u32 vfta,bool vlvf_bypass) ixgbe_set_vlvf_generic() argument 4122 ixgbe_clear_vfta_generic(struct ixgbe_hw * hw) ixgbe_clear_vfta_generic() argument 4147 ixgbe_need_crosstalk_fix(struct ixgbe_hw * hw) ixgbe_need_crosstalk_fix() argument 4175 ixgbe_check_mac_link_generic(struct ixgbe_hw * hw,ixgbe_link_speed * speed,bool * link_up,bool link_up_wait_to_complete) ixgbe_check_mac_link_generic() argument 4296 ixgbe_get_wwn_prefix_generic(struct ixgbe_hw * hw,u16 * wwnn_prefix,u16 * wwpn_prefix) ixgbe_get_wwn_prefix_generic() argument 4351 ixgbe_get_fcoe_boot_status_generic(struct ixgbe_hw * hw,u16 * bs) ixgbe_get_fcoe_boot_status_generic() argument 4400 ixgbe_set_mac_anti_spoofing(struct ixgbe_hw * hw,bool enable,int vf) ixgbe_set_mac_anti_spoofing() argument 4424 ixgbe_set_vlan_anti_spoofing(struct ixgbe_hw * hw,bool enable,int vf) ixgbe_set_vlan_anti_spoofing() argument 4449 ixgbe_get_device_caps_generic(struct ixgbe_hw * hw,u16 * device_caps) ixgbe_get_device_caps_generic() argument 4463 ixgbe_enable_relaxed_ordering_gen2(struct ixgbe_hw * hw) ixgbe_enable_relaxed_ordering_gen2() argument 4523 ixgbe_hic_unlocked(struct ixgbe_hw * hw,u32 * buffer,u32 length,u32 timeout) ixgbe_hic_unlocked() argument 4608 ixgbe_host_interface_command(struct ixgbe_hw * hw,u32 * buffer,u32 length,u32 timeout,bool return_data) ixgbe_host_interface_command() argument 4703 ixgbe_set_fw_drv_ver_generic(struct ixgbe_hw * hw,u8 maj,u8 min,u8 build,u8 sub,u16 len,const char * driver_ver) ixgbe_set_fw_drv_ver_generic() argument 4755 ixgbe_set_rxpba_generic(struct ixgbe_hw * hw,int num_pb,u32 headroom,int strategy) ixgbe_set_rxpba_generic() argument 4816 ixgbe_clear_tx_pending(struct ixgbe_hw * hw) ixgbe_clear_tx_pending() argument 4888 ixgbe_get_thermal_sensor_data_generic(struct ixgbe_hw * hw) ixgbe_get_thermal_sensor_data_generic() argument 4963 ixgbe_init_thermal_sensor_thresh_generic(struct ixgbe_hw * hw) ixgbe_init_thermal_sensor_thresh_generic() argument 5047 ixgbe_bypass_rw_generic(struct ixgbe_hw * hw,u32 cmd,u32 * status) ixgbe_bypass_rw_generic() argument 5217 ixgbe_bypass_set_generic(struct ixgbe_hw * hw,u32 ctrl,u32 event,u32 action) ixgbe_bypass_set_generic() argument 5259 ixgbe_bypass_rd_eep_generic(struct ixgbe_hw * hw,u32 addr,u8 * value) ixgbe_bypass_rd_eep_generic() argument 5293 ixgbe_get_orom_version(struct ixgbe_hw * hw,struct ixgbe_nvm_version * nvm_ver) ixgbe_get_orom_version() argument 5331 ixgbe_get_oem_prod_version(struct ixgbe_hw * hw,struct ixgbe_nvm_version * nvm_ver) ixgbe_get_oem_prod_version() argument 5374 ixgbe_get_etk_id(struct ixgbe_hw * hw,struct ixgbe_nvm_version * nvm_ver) ixgbe_get_etk_id() argument 5403 ixgbe_dcb_get_rtrup2tc_generic(struct ixgbe_hw * hw,u8 * map) ixgbe_dcb_get_rtrup2tc_generic() argument 5414 ixgbe_disable_rx_generic(struct ixgbe_hw * hw) ixgbe_disable_rx_generic() argument 5436 ixgbe_enable_rx_generic(struct ixgbe_hw * hw) ixgbe_enable_rx_generic() argument 5458 ixgbe_mng_present(struct ixgbe_hw * hw) ixgbe_mng_present() argument 5476 ixgbe_mng_enabled(struct ixgbe_hw * hw) ixgbe_mng_enabled() argument 5505 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw * hw,ixgbe_link_speed speed,bool autoneg_wait_to_complete) ixgbe_setup_mac_link_multispeed_fiber() argument 5651 ixgbe_set_soft_rate_select_speed(struct ixgbe_hw * hw,ixgbe_link_speed speed) ixgbe_set_soft_rate_select_speed() argument [all...] |
/freebsd-src/sys/contrib/device-tree/src/arm/st/ |
H A D | stm32mp157a-iot-box.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include "stm32mp157a-stinger96.dtsi" 11 compatible = "shiratech,stm32mp157a-iot-box", "st,stm32mp157"; 13 wlan_pwr: regulator-wlan { 14 compatible = "regulator-fixed"; 16 regulator-name = "wl-reg"; 17 regulator-min-microvolt = <3300000>; 18 regulator-max-microvolt = <3300000>; 21 enable-active-high; [all …]
|
/freebsd-src/contrib/llvm-project/lldb/source/Interpreter/ |
H A D | embedded_interpreter.py | 39 hw = struct.unpack("hh", fcntl.ioctl(fd, termios.TIOCGWINSZ, "1234")) 41 hw = (0, 0) 42 return hw 101 … banner="Python Interactive Interpreter. To exit, type 'quit()', 'exit()' or Ctrl-D.", 108 … banner="Python Interactive Interpreter. To exit, type 'quit()', 'exit()' or Ctrl-D.", 125 # A newline is appended to support one-line statements containing 126 # control flow. For example "if True: print(1)" silently does
|
/freebsd-src/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | mcu.c | 1 // SPDX-License-Identifier: ISC 12 switch (mt76_chip(&(_dev)->mt76)) { \ 47 for (nss = 8; nss > 0; nss--) { in mt7915_mcu_get_sta_nss() 48 u8 nss_mcs = (mcs_map >> (2 * (nss - 1))) & 3; in mt7915_mcu_get_sta_nss() 54 return nss - 1; in mt7915_mcu_get_sta_nss() 61 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_set_sta_he_mcs() 62 struct mt7915_dev *dev = msta->vif->phy->dev; in mt7915_mcu_set_sta_he_mcs() 63 enum nl80211_band band = msta->vif->phy->mt76->chandef.chan->band; in mt7915_mcu_set_sta_he_mcs() 64 const u16 *mask = msta->vif->bitrate_mask.control[band].he_mcs; in mt7915_mcu_set_sta_he_mcs() 65 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_he_mcs() [all …]
|
/freebsd-src/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | mac.c | 1 // SPDX-License-Identifier: ISC 17 #define to_rssi(field, rcpi) ((FIELD_GET(field, rcpi) - 220) / 2) 20 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 34 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 45 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 64 if (idx >= ARRAY_SIZE(dev->mt76.wcid)) in mt7996_rx_get_wcid() 67 wcid = rcu_dereference(dev->mt76.wcid[idx]); in mt7996_rx_get_wcid() 71 if (!wcid->sta) in mt7996_rx_get_wcid() 75 if (!sta->vif) in mt7996_rx_get_wcid() 78 return &sta->vif->sta.wcid; in mt7996_rx_get_wcid() [all …]
|
/freebsd-src/sys/dev/msk/ |
H A D | if_mskreg.h | 17 * are provided to you under the BSD-type license terms provided 22 * - Redistributions of source code must retain the above copyright 24 * - Redistributions in binary form must reproduce the above 28 * - Neither the name of Marvell nor the names of its contributors 48 /*- 49 * SPDX-License-Identifier: BSD-4-Clause AND BSD-3-Clause 65 * 4. Neither the name of the author nor the names of any co-contributors 82 /*- 110 * D-Link PCI vendor ID 154 * D-Link gigabit ethernet device ID [all …]
|