Lines Matching refs:s32
117 static s32 e1000_erase_flash_bank_ich8lan(struct e1000_hw *hw, u32 bank);
118 static s32 e1000_retry_write_flash_byte_ich8lan(struct e1000_hw *hw,
120 static s32 e1000_read_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset,
122 static s32 e1000_read_flash_word_ich8lan(struct e1000_hw *hw, u32 offset,
124 static s32 e1000_read_flash_data_ich8lan(struct e1000_hw *hw, u32 offset,
126 static s32 e1000_read_flash_data32_ich8lan(struct e1000_hw *hw, u32 offset,
128 static s32 e1000_read_flash_dword_ich8lan(struct e1000_hw *hw,
130 static s32 e1000_write_flash_data32_ich8lan(struct e1000_hw *hw,
132 static s32 e1000_retry_write_flash_dword_ich8lan(struct e1000_hw *hw,
134 static s32 e1000_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw);
135 static s32 e1000_cleanup_led_ich8lan(struct e1000_hw *hw);
136 static s32 e1000_led_on_ich8lan(struct e1000_hw *hw);
137 static s32 e1000_led_off_ich8lan(struct e1000_hw *hw);
138 static s32 e1000_id_led_init_pchlan(struct e1000_hw *hw);
139 static s32 e1000_setup_led_pchlan(struct e1000_hw *hw);
140 static s32 e1000_cleanup_led_pchlan(struct e1000_hw *hw);
141 static s32 e1000_led_on_pchlan(struct e1000_hw *hw);
142 static s32 e1000_led_off_pchlan(struct e1000_hw *hw);
143 static s32 e1000_set_lplu_state_pchlan(struct e1000_hw *hw, bool active);
146 static s32 e1000_k1_gig_workaround_hv(struct e1000_hw *hw, bool link);
147 static s32 e1000_set_mdio_slow_mode_hv(struct e1000_hw *hw);
153 static s32 e1000_k1_workaround_lv(struct e1000_hw *hw);
155 static s32 e1000_disable_ulp_lpt_lp(struct e1000_hw *hw, bool force);
156 static s32 e1000_setup_copper_link_pch_lpt(struct e1000_hw *hw);
157 static s32 e1000_oem_bits_config_ich8lan(struct e1000_hw *hw, bool d0_state);
198 s32 ret_val = 0; in e1000_phy_is_accessible_pchlan()
304 static s32 e1000_init_phy_workarounds_pchlan(struct e1000_hw *hw) in e1000_init_phy_workarounds_pchlan()
308 s32 ret_val; in e1000_init_phy_workarounds_pchlan()
436 static s32 e1000_init_phy_params_pchlan(struct e1000_hw *hw) in e1000_init_phy_params_pchlan()
439 s32 ret_val; in e1000_init_phy_params_pchlan()
519 static s32 e1000_init_phy_params_ich8lan(struct e1000_hw *hw) in e1000_init_phy_params_ich8lan()
522 s32 ret_val; in e1000_init_phy_params_ich8lan()
598 static s32 e1000_init_nvm_params_ich8lan(struct e1000_hw *hw) in e1000_init_nvm_params_ich8lan()
671 static s32 e1000_init_mac_params_ich8lan(struct e1000_hw *hw) in e1000_init_mac_params_ich8lan()
757 static s32 __e1000_access_emi_reg_locked(struct e1000_hw *hw, u16 address, in __e1000_access_emi_reg_locked()
760 s32 ret_val; in __e1000_access_emi_reg_locked()
782 s32 e1000_read_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 *data) in e1000_read_emi_reg_locked()
795 s32 e1000_write_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 data) in e1000_write_emi_reg_locked()
814 s32 e1000_set_eee_pchlan(struct e1000_hw *hw) in e1000_set_eee_pchlan()
817 s32 ret_val; in e1000_set_eee_pchlan()
913 static s32 e1000_k1_workaround_lpt_lp(struct e1000_hw *hw, bool link) in e1000_k1_workaround_lpt_lp()
917 s32 ret_val = 0; in e1000_k1_workaround_lpt_lp()
1007 static s32 e1000_platform_pm_pch_lpt(struct e1000_hw *hw, bool link) in e1000_platform_pm_pch_lpt()
1089 s32 e1000_enable_ulp_lpt_lp(struct e1000_hw *hw, bool to_sx) in e1000_enable_ulp_lpt_lp()
1092 s32 ret_val = 0; in e1000_enable_ulp_lpt_lp()
1214 static s32 e1000_disable_ulp_lpt_lp(struct e1000_hw *hw, bool force) in e1000_disable_ulp_lpt_lp()
1216 s32 ret_val = 0; in e1000_disable_ulp_lpt_lp()
1349 static s32 e1000_check_for_copper_link_ich8lan(struct e1000_hw *hw) in e1000_check_for_copper_link_ich8lan()
1352 s32 ret_val, tipg_reg = 0; in e1000_check_for_copper_link_ich8lan()
1528 static s32 e1000_get_variants_ich8lan(struct e1000_adapter *adapter) in e1000_get_variants_ich8lan()
1531 s32 rc; in e1000_get_variants_ich8lan()
1591 static s32 e1000_acquire_nvm_ich8lan(struct e1000_hw __always_unused *hw) in e1000_acquire_nvm_ich8lan()
1616 static s32 e1000_acquire_swflag_ich8lan(struct e1000_hw *hw) in e1000_acquire_swflag_ich8lan()
1619 s32 ret_val = 0; in e1000_acquire_swflag_ich8lan()
1770 s32 ret_val; in e1000_rar_set_pch2lan()
1881 s32 ret_val; in e1000_rar_set_pch_lpt()
1915 static s32 e1000_check_reset_block_ich8lan(struct e1000_hw *hw) in e1000_check_reset_block_ich8lan()
1933 static s32 e1000_write_smbus_addr(struct e1000_hw *hw) in e1000_write_smbus_addr()
1939 s32 ret_val; in e1000_write_smbus_addr()
1974 static s32 e1000_sw_lcd_config_ich8lan(struct e1000_hw *hw) in e1000_sw_lcd_config_ich8lan()
1978 s32 ret_val = 0; in e1000_sw_lcd_config_ich8lan()
2096 static s32 e1000_k1_gig_workaround_hv(struct e1000_hw *hw, bool link) in e1000_k1_gig_workaround_hv()
2098 s32 ret_val = 0; in e1000_k1_gig_workaround_hv()
2173 s32 e1000_configure_k1_ich8lan(struct e1000_hw *hw, bool k1_enable) in e1000_configure_k1_ich8lan()
2175 s32 ret_val; in e1000_configure_k1_ich8lan()
2224 static s32 e1000_oem_bits_config_ich8lan(struct e1000_hw *hw, bool d0_state) in e1000_oem_bits_config_ich8lan()
2226 s32 ret_val = 0; in e1000_oem_bits_config_ich8lan()
2288 static s32 e1000_set_mdio_slow_mode_hv(struct e1000_hw *hw) in e1000_set_mdio_slow_mode_hv()
2290 s32 ret_val; in e1000_set_mdio_slow_mode_hv()
2308 static s32 e1000_hv_phy_workarounds_ich8lan(struct e1000_hw *hw) in e1000_hv_phy_workarounds_ich8lan()
2310 s32 ret_val = 0; in e1000_hv_phy_workarounds_ich8lan()
2392 s32 ret_val; in e1000_copy_rx_addrs_to_phy_ich8lan()
2429 s32 e1000_lv_jumbo_workaround_ich8lan(struct e1000_hw *hw, bool enable) in e1000_lv_jumbo_workaround_ich8lan()
2431 s32 ret_val = 0; in e1000_lv_jumbo_workaround_ich8lan()
2595 static s32 e1000_lv_phy_workarounds_ich8lan(struct e1000_hw *hw) in e1000_lv_phy_workarounds_ich8lan()
2597 s32 ret_val = 0; in e1000_lv_phy_workarounds_ich8lan()
2629 static s32 e1000_k1_workaround_lv(struct e1000_hw *hw) in e1000_k1_workaround_lv()
2631 s32 ret_val = 0; in e1000_k1_workaround_lv()
2729 static s32 e1000_post_phy_reset_ich8lan(struct e1000_hw *hw) in e1000_post_phy_reset_ich8lan()
2731 s32 ret_val = 0; in e1000_post_phy_reset_ich8lan()
2799 static s32 e1000_phy_hw_reset_ich8lan(struct e1000_hw *hw) in e1000_phy_hw_reset_ich8lan()
2801 s32 ret_val = 0; in e1000_phy_hw_reset_ich8lan()
2826 static s32 e1000_set_lplu_state_pchlan(struct e1000_hw *hw, bool active) in e1000_set_lplu_state_pchlan()
2828 s32 ret_val; in e1000_set_lplu_state_pchlan()
2859 static s32 e1000_set_d0_lplu_state_ich8lan(struct e1000_hw *hw, bool active) in e1000_set_d0_lplu_state_ich8lan()
2863 s32 ret_val = 0; in e1000_set_d0_lplu_state_ich8lan()
2945 static s32 e1000_set_d3_lplu_state_ich8lan(struct e1000_hw *hw, bool active) in e1000_set_d3_lplu_state_ich8lan()
2949 s32 ret_val = 0; in e1000_set_d3_lplu_state_ich8lan()
3024 static s32 e1000_valid_nvm_bank_detect_ich8lan(struct e1000_hw *hw, u32 *bank) in e1000_valid_nvm_bank_detect_ich8lan()
3031 s32 ret_val; in e1000_valid_nvm_bank_detect_ich8lan()
3103 static s32 e1000_read_nvm_spt(struct e1000_hw *hw, u16 offset, u16 words, in e1000_read_nvm_spt()
3109 s32 ret_val = 0; in e1000_read_nvm_spt()
3196 static s32 e1000_read_nvm_ich8lan(struct e1000_hw *hw, u16 offset, u16 words, in e1000_read_nvm_ich8lan()
3202 s32 ret_val = 0; in e1000_read_nvm_ich8lan()
3254 static s32 e1000_flash_cycle_init_ich8lan(struct e1000_hw *hw) in e1000_flash_cycle_init_ich8lan()
3257 s32 ret_val = -E1000_ERR_NVM; in e1000_flash_cycle_init_ich8lan()
3295 s32 i; in e1000_flash_cycle_init_ich8lan()
3333 static s32 e1000_flash_cycle_ich8lan(struct e1000_hw *hw, u32 timeout) in e1000_flash_cycle_ich8lan()
3374 static s32 e1000_read_flash_dword_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_read_flash_dword_ich8lan()
3391 static s32 e1000_read_flash_word_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_read_flash_word_ich8lan()
3408 static s32 e1000_read_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_read_flash_byte_ich8lan()
3411 s32 ret_val; in e1000_read_flash_byte_ich8lan()
3439 static s32 e1000_read_flash_data_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_read_flash_data_ich8lan()
3446 s32 ret_val = -E1000_ERR_NVM; in e1000_read_flash_data_ich8lan()
3515 static s32 e1000_read_flash_data32_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_read_flash_data32_ich8lan()
3521 s32 ret_val = -E1000_ERR_NVM; in e1000_read_flash_data32_ich8lan()
3591 static s32 e1000_write_nvm_ich8lan(struct e1000_hw *hw, u16 offset, u16 words, in e1000_write_nvm_ich8lan()
3627 static s32 e1000_update_nvm_checksum_spt(struct e1000_hw *hw) in e1000_update_nvm_checksum_spt()
3632 s32 ret_val; in e1000_update_nvm_checksum_spt()
3795 static s32 e1000_update_nvm_checksum_ich8lan(struct e1000_hw *hw) in e1000_update_nvm_checksum_ich8lan()
3800 s32 ret_val; in e1000_update_nvm_checksum_ich8lan()
3943 static s32 e1000_validate_nvm_checksum_ich8lan(struct e1000_hw *hw) in e1000_validate_nvm_checksum_ich8lan()
3945 s32 ret_val; in e1000_validate_nvm_checksum_ich8lan()
4033 static s32 e1000_write_flash_data_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_write_flash_data_ich8lan()
4040 s32 ret_val; in e1000_write_flash_data_ich8lan()
4124 static s32 e1000_write_flash_data32_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_write_flash_data32_ich8lan()
4130 s32 ret_val; in e1000_write_flash_data32_ich8lan()
4208 static s32 e1000_write_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_write_flash_byte_ich8lan()
4225 static s32 e1000_retry_write_flash_dword_ich8lan(struct e1000_hw *hw, in e1000_retry_write_flash_dword_ich8lan()
4228 s32 ret_val; in e1000_retry_write_flash_dword_ich8lan()
4259 static s32 e1000_retry_write_flash_byte_ich8lan(struct e1000_hw *hw, in e1000_retry_write_flash_byte_ich8lan()
4262 s32 ret_val; in e1000_retry_write_flash_byte_ich8lan()
4290 static s32 e1000_erase_flash_bank_ich8lan(struct e1000_hw *hw, u32 bank) in e1000_erase_flash_bank_ich8lan()
4298 s32 ret_val; in e1000_erase_flash_bank_ich8lan()
4299 s32 count = 0; in e1000_erase_flash_bank_ich8lan()
4300 s32 j, iteration, sector_size; in e1000_erase_flash_bank_ich8lan()
4403 static s32 e1000_valid_led_default_ich8lan(struct e1000_hw *hw, u16 *data) in e1000_valid_led_default_ich8lan()
4405 s32 ret_val; in e1000_valid_led_default_ich8lan()
4432 static s32 e1000_id_led_init_pchlan(struct e1000_hw *hw) in e1000_id_led_init_pchlan()
4435 s32 ret_val; in e1000_id_led_init_pchlan()
4498 static s32 e1000_get_bus_info_ich8lan(struct e1000_hw *hw) in e1000_get_bus_info_ich8lan()
4501 s32 ret_val; in e1000_get_bus_info_ich8lan()
4523 static s32 e1000_reset_hw_ich8lan(struct e1000_hw *hw) in e1000_reset_hw_ich8lan()
4528 s32 ret_val; in e1000_reset_hw_ich8lan()
4642 static s32 e1000_init_hw_ich8lan(struct e1000_hw *hw) in e1000_init_hw_ich8lan()
4646 s32 ret_val; in e1000_init_hw_ich8lan()
4806 static s32 e1000_setup_link_ich8lan(struct e1000_hw *hw) in e1000_setup_link_ich8lan()
4808 s32 ret_val; in e1000_setup_link_ich8lan()
4861 static s32 e1000_setup_copper_link_ich8lan(struct e1000_hw *hw) in e1000_setup_copper_link_ich8lan()
4864 s32 ret_val; in e1000_setup_copper_link_ich8lan()
4945 static s32 e1000_setup_copper_link_pch_lpt(struct e1000_hw *hw) in e1000_setup_copper_link_pch_lpt()
4948 s32 ret_val; in e1000_setup_copper_link_pch_lpt()
4972 static s32 e1000_get_link_up_info_ich8lan(struct e1000_hw *hw, u16 *speed, in e1000_get_link_up_info_ich8lan()
4975 s32 ret_val; in e1000_get_link_up_info_ich8lan()
5004 static s32 e1000_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw) in e1000_kmrn_lock_loss_workaround_ich8lan()
5008 s32 ret_val; in e1000_kmrn_lock_loss_workaround_ich8lan()
5140 s32 ret_val; in e1000e_gig_downshift_workaround_ich8lan()
5177 s32 ret_val; in e1000_suspend_workarounds_ich8lan()
5299 s32 ret_val; in e1000_resume_workarounds_pchlan()
5361 static s32 e1000_cleanup_led_ich8lan(struct e1000_hw *hw) in e1000_cleanup_led_ich8lan()
5376 static s32 e1000_led_on_ich8lan(struct e1000_hw *hw) in e1000_led_on_ich8lan()
5392 static s32 e1000_led_off_ich8lan(struct e1000_hw *hw) in e1000_led_off_ich8lan()
5409 static s32 e1000_setup_led_pchlan(struct e1000_hw *hw) in e1000_setup_led_pchlan()
5420 static s32 e1000_cleanup_led_pchlan(struct e1000_hw *hw) in e1000_cleanup_led_pchlan()
5431 static s32 e1000_led_on_pchlan(struct e1000_hw *hw) in e1000_led_on_pchlan()
5461 static s32 e1000_led_off_pchlan(struct e1000_hw *hw) in e1000_led_off_pchlan()
5497 static s32 e1000_get_cfg_done_ich8lan(struct e1000_hw *hw) in e1000_get_cfg_done_ich8lan()
5499 s32 ret_val = 0; in e1000_get_cfg_done_ich8lan()
5569 s32 ret_val; in e1000_clear_hw_cntrs_ich8lan()