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()
306 static s32 e1000_init_phy_workarounds_pchlan(struct e1000_hw *hw) in e1000_init_phy_workarounds_pchlan()
310 s32 ret_val; in e1000_init_phy_workarounds_pchlan()
438 static s32 e1000_init_phy_params_pchlan(struct e1000_hw *hw) in e1000_init_phy_params_pchlan()
441 s32 ret_val; in e1000_init_phy_params_pchlan()
521 static s32 e1000_init_phy_params_ich8lan(struct e1000_hw *hw) in e1000_init_phy_params_ich8lan()
524 s32 ret_val; in e1000_init_phy_params_ich8lan()
600 static s32 e1000_init_nvm_params_ich8lan(struct e1000_hw *hw) in e1000_init_nvm_params_ich8lan()
673 static s32 e1000_init_mac_params_ich8lan(struct e1000_hw *hw) in e1000_init_mac_params_ich8lan()
759 static s32 __e1000_access_emi_reg_locked(struct e1000_hw *hw, u16 address, in __e1000_access_emi_reg_locked()
762 s32 ret_val; in __e1000_access_emi_reg_locked()
784 s32 e1000_read_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 *data) in e1000_read_emi_reg_locked()
797 s32 e1000_write_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 data) in e1000_write_emi_reg_locked()
816 s32 e1000_set_eee_pchlan(struct e1000_hw *hw) in e1000_set_eee_pchlan()
819 s32 ret_val; in e1000_set_eee_pchlan()
915 static s32 e1000_k1_workaround_lpt_lp(struct e1000_hw *hw, bool link) in e1000_k1_workaround_lpt_lp()
919 s32 ret_val = 0; in e1000_k1_workaround_lpt_lp()
1009 static s32 e1000_platform_pm_pch_lpt(struct e1000_hw *hw, bool link) in e1000_platform_pm_pch_lpt()
1087 s32 e1000_enable_ulp_lpt_lp(struct e1000_hw *hw, bool to_sx) in e1000_enable_ulp_lpt_lp()
1090 s32 ret_val = 0; in e1000_enable_ulp_lpt_lp()
1231 static s32 e1000_disable_ulp_lpt_lp(struct e1000_hw *hw, bool force) in e1000_disable_ulp_lpt_lp()
1233 s32 ret_val = 0; in e1000_disable_ulp_lpt_lp()
1366 static s32 e1000_check_for_copper_link_ich8lan(struct e1000_hw *hw) in e1000_check_for_copper_link_ich8lan()
1369 s32 ret_val, tipg_reg = 0; in e1000_check_for_copper_link_ich8lan()
1594 static s32 e1000_get_variants_ich8lan(struct e1000_adapter *adapter) in e1000_get_variants_ich8lan()
1597 s32 rc; in e1000_get_variants_ich8lan()
1657 static s32 e1000_acquire_nvm_ich8lan(struct e1000_hw __always_unused *hw) in e1000_acquire_nvm_ich8lan()
1682 static s32 e1000_acquire_swflag_ich8lan(struct e1000_hw *hw) in e1000_acquire_swflag_ich8lan()
1685 s32 ret_val = 0; in e1000_acquire_swflag_ich8lan()
1836 s32 ret_val; in e1000_rar_set_pch2lan()
1947 s32 ret_val; in e1000_rar_set_pch_lpt()
1981 static s32 e1000_check_reset_block_ich8lan(struct e1000_hw *hw) in e1000_check_reset_block_ich8lan()
1999 static s32 e1000_write_smbus_addr(struct e1000_hw *hw) in e1000_write_smbus_addr()
2005 s32 ret_val; in e1000_write_smbus_addr()
2040 static s32 e1000_sw_lcd_config_ich8lan(struct e1000_hw *hw) in e1000_sw_lcd_config_ich8lan()
2044 s32 ret_val = 0; in e1000_sw_lcd_config_ich8lan()
2162 static s32 e1000_k1_gig_workaround_hv(struct e1000_hw *hw, bool link) in e1000_k1_gig_workaround_hv()
2164 s32 ret_val = 0; in e1000_k1_gig_workaround_hv()
2239 s32 e1000_configure_k1_ich8lan(struct e1000_hw *hw, bool k1_enable) in e1000_configure_k1_ich8lan()
2241 s32 ret_val; in e1000_configure_k1_ich8lan()
2290 static s32 e1000_oem_bits_config_ich8lan(struct e1000_hw *hw, bool d0_state) in e1000_oem_bits_config_ich8lan()
2292 s32 ret_val = 0; in e1000_oem_bits_config_ich8lan()
2354 static s32 e1000_set_mdio_slow_mode_hv(struct e1000_hw *hw) in e1000_set_mdio_slow_mode_hv()
2356 s32 ret_val; in e1000_set_mdio_slow_mode_hv()
2374 static s32 e1000_hv_phy_workarounds_ich8lan(struct e1000_hw *hw) in e1000_hv_phy_workarounds_ich8lan()
2376 s32 ret_val = 0; in e1000_hv_phy_workarounds_ich8lan()
2458 s32 ret_val; in e1000_copy_rx_addrs_to_phy_ich8lan()
2495 s32 e1000_lv_jumbo_workaround_ich8lan(struct e1000_hw *hw, bool enable) in e1000_lv_jumbo_workaround_ich8lan()
2497 s32 ret_val = 0; in e1000_lv_jumbo_workaround_ich8lan()
2661 static s32 e1000_lv_phy_workarounds_ich8lan(struct e1000_hw *hw) in e1000_lv_phy_workarounds_ich8lan()
2663 s32 ret_val = 0; in e1000_lv_phy_workarounds_ich8lan()
2695 static s32 e1000_k1_workaround_lv(struct e1000_hw *hw) in e1000_k1_workaround_lv()
2697 s32 ret_val = 0; in e1000_k1_workaround_lv()
2795 static s32 e1000_post_phy_reset_ich8lan(struct e1000_hw *hw) in e1000_post_phy_reset_ich8lan()
2797 s32 ret_val = 0; in e1000_post_phy_reset_ich8lan()
2865 static s32 e1000_phy_hw_reset_ich8lan(struct e1000_hw *hw) in e1000_phy_hw_reset_ich8lan()
2867 s32 ret_val = 0; in e1000_phy_hw_reset_ich8lan()
2892 static s32 e1000_set_lplu_state_pchlan(struct e1000_hw *hw, bool active) in e1000_set_lplu_state_pchlan()
2894 s32 ret_val; in e1000_set_lplu_state_pchlan()
2925 static s32 e1000_set_d0_lplu_state_ich8lan(struct e1000_hw *hw, bool active) in e1000_set_d0_lplu_state_ich8lan()
2929 s32 ret_val = 0; in e1000_set_d0_lplu_state_ich8lan()
3011 static s32 e1000_set_d3_lplu_state_ich8lan(struct e1000_hw *hw, bool active) in e1000_set_d3_lplu_state_ich8lan()
3015 s32 ret_val = 0; in e1000_set_d3_lplu_state_ich8lan()
3090 static s32 e1000_valid_nvm_bank_detect_ich8lan(struct e1000_hw *hw, u32 *bank) in e1000_valid_nvm_bank_detect_ich8lan()
3097 s32 ret_val; in e1000_valid_nvm_bank_detect_ich8lan()
3169 static s32 e1000_read_nvm_spt(struct e1000_hw *hw, u16 offset, u16 words, in e1000_read_nvm_spt()
3175 s32 ret_val = 0; in e1000_read_nvm_spt()
3262 static s32 e1000_read_nvm_ich8lan(struct e1000_hw *hw, u16 offset, u16 words, in e1000_read_nvm_ich8lan()
3268 s32 ret_val = 0; in e1000_read_nvm_ich8lan()
3320 static s32 e1000_flash_cycle_init_ich8lan(struct e1000_hw *hw) in e1000_flash_cycle_init_ich8lan()
3323 s32 ret_val = -E1000_ERR_NVM; in e1000_flash_cycle_init_ich8lan()
3361 s32 i; in e1000_flash_cycle_init_ich8lan()
3399 static s32 e1000_flash_cycle_ich8lan(struct e1000_hw *hw, u32 timeout) in e1000_flash_cycle_ich8lan()
3440 static s32 e1000_read_flash_dword_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_read_flash_dword_ich8lan()
3457 static s32 e1000_read_flash_word_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_read_flash_word_ich8lan()
3474 static s32 e1000_read_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_read_flash_byte_ich8lan()
3477 s32 ret_val; in e1000_read_flash_byte_ich8lan()
3505 static s32 e1000_read_flash_data_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_read_flash_data_ich8lan()
3512 s32 ret_val = -E1000_ERR_NVM; in e1000_read_flash_data_ich8lan()
3581 static s32 e1000_read_flash_data32_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_read_flash_data32_ich8lan()
3587 s32 ret_val = -E1000_ERR_NVM; in e1000_read_flash_data32_ich8lan()
3657 static s32 e1000_write_nvm_ich8lan(struct e1000_hw *hw, u16 offset, u16 words, in e1000_write_nvm_ich8lan()
3693 static s32 e1000_update_nvm_checksum_spt(struct e1000_hw *hw) in e1000_update_nvm_checksum_spt()
3698 s32 ret_val; in e1000_update_nvm_checksum_spt()
3861 static s32 e1000_update_nvm_checksum_ich8lan(struct e1000_hw *hw) in e1000_update_nvm_checksum_ich8lan()
3866 s32 ret_val; in e1000_update_nvm_checksum_ich8lan()
4009 static s32 e1000_validate_nvm_checksum_ich8lan(struct e1000_hw *hw) in e1000_validate_nvm_checksum_ich8lan()
4011 s32 ret_val; in e1000_validate_nvm_checksum_ich8lan()
4099 static s32 e1000_write_flash_data_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_write_flash_data_ich8lan()
4106 s32 ret_val; in e1000_write_flash_data_ich8lan()
4190 static s32 e1000_write_flash_data32_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_write_flash_data32_ich8lan()
4196 s32 ret_val; in e1000_write_flash_data32_ich8lan()
4274 static s32 e1000_write_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset, in e1000_write_flash_byte_ich8lan()
4291 static s32 e1000_retry_write_flash_dword_ich8lan(struct e1000_hw *hw, in e1000_retry_write_flash_dword_ich8lan()
4294 s32 ret_val; in e1000_retry_write_flash_dword_ich8lan()
4325 static s32 e1000_retry_write_flash_byte_ich8lan(struct e1000_hw *hw, in e1000_retry_write_flash_byte_ich8lan()
4328 s32 ret_val; in e1000_retry_write_flash_byte_ich8lan()
4356 static s32 e1000_erase_flash_bank_ich8lan(struct e1000_hw *hw, u32 bank) in e1000_erase_flash_bank_ich8lan()
4364 s32 ret_val; in e1000_erase_flash_bank_ich8lan()
4365 s32 count = 0; in e1000_erase_flash_bank_ich8lan()
4366 s32 j, iteration, sector_size; in e1000_erase_flash_bank_ich8lan()
4469 static s32 e1000_valid_led_default_ich8lan(struct e1000_hw *hw, u16 *data) in e1000_valid_led_default_ich8lan()
4471 s32 ret_val; in e1000_valid_led_default_ich8lan()
4498 static s32 e1000_id_led_init_pchlan(struct e1000_hw *hw) in e1000_id_led_init_pchlan()
4501 s32 ret_val; in e1000_id_led_init_pchlan()
4564 static s32 e1000_get_bus_info_ich8lan(struct e1000_hw *hw) in e1000_get_bus_info_ich8lan()
4567 s32 ret_val; in e1000_get_bus_info_ich8lan()
4589 static s32 e1000_reset_hw_ich8lan(struct e1000_hw *hw) in e1000_reset_hw_ich8lan()
4594 s32 ret_val; in e1000_reset_hw_ich8lan()
4708 static s32 e1000_init_hw_ich8lan(struct e1000_hw *hw) in e1000_init_hw_ich8lan()
4712 s32 ret_val; in e1000_init_hw_ich8lan()
4872 static s32 e1000_setup_link_ich8lan(struct e1000_hw *hw) in e1000_setup_link_ich8lan()
4874 s32 ret_val; in e1000_setup_link_ich8lan()
4927 static s32 e1000_setup_copper_link_ich8lan(struct e1000_hw *hw) in e1000_setup_copper_link_ich8lan()
4930 s32 ret_val; in e1000_setup_copper_link_ich8lan()
5011 static s32 e1000_setup_copper_link_pch_lpt(struct e1000_hw *hw) in e1000_setup_copper_link_pch_lpt()
5014 s32 ret_val; in e1000_setup_copper_link_pch_lpt()
5038 static s32 e1000_get_link_up_info_ich8lan(struct e1000_hw *hw, u16 *speed, in e1000_get_link_up_info_ich8lan()
5041 s32 ret_val; in e1000_get_link_up_info_ich8lan()
5070 static s32 e1000_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw) in e1000_kmrn_lock_loss_workaround_ich8lan()
5074 s32 ret_val; in e1000_kmrn_lock_loss_workaround_ich8lan()
5206 s32 ret_val; in e1000e_gig_downshift_workaround_ich8lan()
5243 s32 ret_val; in e1000_suspend_workarounds_ich8lan()
5365 s32 ret_val; in e1000_resume_workarounds_pchlan()
5427 static s32 e1000_cleanup_led_ich8lan(struct e1000_hw *hw) in e1000_cleanup_led_ich8lan()
5442 static s32 e1000_led_on_ich8lan(struct e1000_hw *hw) in e1000_led_on_ich8lan()
5458 static s32 e1000_led_off_ich8lan(struct e1000_hw *hw) in e1000_led_off_ich8lan()
5475 static s32 e1000_setup_led_pchlan(struct e1000_hw *hw) in e1000_setup_led_pchlan()
5486 static s32 e1000_cleanup_led_pchlan(struct e1000_hw *hw) in e1000_cleanup_led_pchlan()
5497 static s32 e1000_led_on_pchlan(struct e1000_hw *hw) in e1000_led_on_pchlan()
5527 static s32 e1000_led_off_pchlan(struct e1000_hw *hw) in e1000_led_off_pchlan()
5563 static s32 e1000_get_cfg_done_ich8lan(struct e1000_hw *hw) in e1000_get_cfg_done_ich8lan()
5565 s32 ret_val = 0; in e1000_get_cfg_done_ich8lan()
5635 s32 ret_val; in e1000_clear_hw_cntrs_ich8lan()