Lines Matching refs:s32
38 static s32 igb_get_invariants_82575(struct e1000_hw *);
39 static s32 igb_acquire_phy_82575(struct e1000_hw *);
41 static s32 igb_acquire_nvm_82575(struct e1000_hw *);
43 static s32 igb_check_for_link_82575(struct e1000_hw *);
44 static s32 igb_get_cfg_done_82575(struct e1000_hw *);
45 static s32 igb_init_hw_82575(struct e1000_hw *);
46 static s32 igb_phy_hw_reset_sgmii_82575(struct e1000_hw *);
47 static s32 igb_read_phy_reg_sgmii_82575(struct e1000_hw *, u32, u16 *);
48 static s32 igb_read_phy_reg_82580(struct e1000_hw *, u32, u16 *);
49 static s32 igb_write_phy_reg_82580(struct e1000_hw *, u32, u16);
50 static s32 igb_reset_hw_82575(struct e1000_hw *);
51 static s32 igb_reset_hw_82580(struct e1000_hw *);
52 static s32 igb_set_d0_lplu_state_82575(struct e1000_hw *, bool);
53 static s32 igb_set_d0_lplu_state_82580(struct e1000_hw *, bool);
54 static s32 igb_set_d3_lplu_state_82580(struct e1000_hw *, bool);
55 static s32 igb_setup_copper_link_82575(struct e1000_hw *);
56 static s32 igb_setup_serdes_link_82575(struct e1000_hw *);
57 static s32 igb_write_phy_reg_sgmii_82575(struct e1000_hw *, u32, u16);
59 static s32 igb_acquire_swfw_sync_82575(struct e1000_hw *, u16);
60 static s32 igb_get_pcs_speed_and_duplex_82575(struct e1000_hw *, u16 *,
62 static s32 igb_get_phy_id_82575(struct e1000_hw *);
65 static s32 igb_reset_init_script_82575(struct e1000_hw *);
66 static s32 igb_read_mac_addr_82575(struct e1000_hw *);
67 static s32 igb_set_pcie_completion_timeout(struct e1000_hw *hw);
68 static s32 igb_reset_mdicnfg_82580(struct e1000_hw *hw);
69 static s32 igb_validate_nvm_checksum_82580(struct e1000_hw *hw);
70 static s32 igb_update_nvm_checksum_82580(struct e1000_hw *hw);
71 static s32 igb_validate_nvm_checksum_i350(struct e1000_hw *hw);
72 static s32 igb_update_nvm_checksum_i350(struct e1000_hw *hw);
114 static s32 igb_check_for_link_media_swap(struct e1000_hw *hw) in igb_check_for_link_media_swap()
117 s32 ret_val; in igb_check_for_link_media_swap()
165 static s32 igb_init_phy_params_82575(struct e1000_hw *hw) in igb_init_phy_params_82575()
168 s32 ret_val = 0; in igb_init_phy_params_82575()
302 static s32 igb_init_nvm_params_82575(struct e1000_hw *hw) in igb_init_nvm_params_82575()
379 static s32 igb_init_mac_params_82575(struct e1000_hw *hw) in igb_init_mac_params_82575()
460 static s32 igb_set_sfp_media_type_82575(struct e1000_hw *hw) in igb_set_sfp_media_type_82575()
462 s32 ret_val = E1000_ERR_CONFIG; in igb_set_sfp_media_type_82575()
467 s32 timeout = 3; in igb_set_sfp_media_type_82575()
522 static s32 igb_get_invariants_82575(struct e1000_hw *hw) in igb_get_invariants_82575()
526 s32 ret_val; in igb_get_invariants_82575()
690 static s32 igb_acquire_phy_82575(struct e1000_hw *hw) in igb_acquire_phy_82575()
734 static s32 igb_read_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, in igb_read_phy_reg_sgmii_82575()
737 s32 ret_val = -E1000_ERR_PARAM; in igb_read_phy_reg_sgmii_82575()
765 static s32 igb_write_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, in igb_write_phy_reg_sgmii_82575()
768 s32 ret_val = -E1000_ERR_PARAM; in igb_write_phy_reg_sgmii_82575()
795 static s32 igb_get_phy_id_82575(struct e1000_hw *hw) in igb_get_phy_id_82575()
798 s32 ret_val = 0; in igb_get_phy_id_82575()
890 static s32 igb_phy_hw_reset_sgmii_82575(struct e1000_hw *hw) in igb_phy_hw_reset_sgmii_82575()
892 s32 ret_val; in igb_phy_hw_reset_sgmii_82575()
926 static s32 igb_set_d0_lplu_state_82575(struct e1000_hw *hw, bool active) in igb_set_d0_lplu_state_82575()
929 s32 ret_val; in igb_set_d0_lplu_state_82575()
1002 static s32 igb_set_d0_lplu_state_82580(struct e1000_hw *hw, bool active) in igb_set_d0_lplu_state_82580()
1045 static s32 igb_set_d3_lplu_state_82580(struct e1000_hw *hw, bool active) in igb_set_d3_lplu_state_82580()
1084 static s32 igb_acquire_nvm_82575(struct e1000_hw *hw) in igb_acquire_nvm_82575()
1086 s32 ret_val; in igb_acquire_nvm_82575()
1122 static s32 igb_acquire_swfw_sync_82575(struct e1000_hw *hw, u16 mask) in igb_acquire_swfw_sync_82575()
1127 s32 ret_val = 0; in igb_acquire_swfw_sync_82575()
1128 s32 i = 0, timeout = 200; in igb_acquire_swfw_sync_82575()
1195 static s32 igb_get_cfg_done_82575(struct e1000_hw *hw) in igb_get_cfg_done_82575()
1197 s32 timeout = PHY_CFG_TIMEOUT; in igb_get_cfg_done_82575()
1234 static s32 igb_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, in igb_get_link_up_info_82575()
1237 s32 ret_val; in igb_get_link_up_info_82575()
1256 static s32 igb_check_for_link_82575(struct e1000_hw *hw) in igb_check_for_link_82575()
1258 s32 ret_val; in igb_check_for_link_82575()
1322 static s32 igb_get_pcs_speed_and_duplex_82575(struct e1000_hw *hw, u16 *speed, in igb_get_pcs_speed_and_duplex_82575()
1416 static s32 igb_reset_hw_82575(struct e1000_hw *hw) in igb_reset_hw_82575()
1419 s32 ret_val; in igb_reset_hw_82575()
1476 static s32 igb_init_hw_82575(struct e1000_hw *hw) in igb_init_hw_82575()
1479 s32 ret_val; in igb_init_hw_82575()
1536 static s32 igb_setup_copper_link_82575(struct e1000_hw *hw) in igb_setup_copper_link_82575()
1539 s32 ret_val; in igb_setup_copper_link_82575()
1618 static s32 igb_setup_serdes_link_82575(struct e1000_hw *hw) in igb_setup_serdes_link_82575()
1622 s32 ret_val = 0; in igb_setup_serdes_link_82575()
1771 static s32 igb_reset_init_script_82575(struct e1000_hw *hw) in igb_reset_init_script_82575()
1804 static s32 igb_read_mac_addr_82575(struct e1000_hw *hw) in igb_read_mac_addr_82575()
1806 s32 ret_val = 0; in igb_read_mac_addr_82575()
1982 static s32 igb_set_pcie_completion_timeout(struct e1000_hw *hw) in igb_set_pcie_completion_timeout()
1985 s32 ret_val = 0; in igb_set_pcie_completion_timeout()
2124 static s32 igb_read_phy_reg_82580(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_82580()
2126 s32 ret_val; in igb_read_phy_reg_82580()
2148 static s32 igb_write_phy_reg_82580(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg_82580()
2150 s32 ret_val; in igb_write_phy_reg_82580()
2173 static s32 igb_reset_mdicnfg_82580(struct e1000_hw *hw) in igb_reset_mdicnfg_82580()
2175 s32 ret_val = 0; in igb_reset_mdicnfg_82580()
2209 static s32 igb_reset_hw_82580(struct e1000_hw *hw) in igb_reset_hw_82580()
2211 s32 ret_val = 0; in igb_reset_hw_82580()
2320 static s32 igb_validate_nvm_checksum_with_offset(struct e1000_hw *hw, in igb_validate_nvm_checksum_with_offset()
2323 s32 ret_val = 0; in igb_validate_nvm_checksum_with_offset()
2356 static s32 igb_update_nvm_checksum_with_offset(struct e1000_hw *hw, u16 offset) in igb_update_nvm_checksum_with_offset()
2358 s32 ret_val; in igb_update_nvm_checksum_with_offset()
2388 static s32 igb_validate_nvm_checksum_82580(struct e1000_hw *hw) in igb_validate_nvm_checksum_82580()
2390 s32 ret_val = 0; in igb_validate_nvm_checksum_82580()
2428 static s32 igb_update_nvm_checksum_82580(struct e1000_hw *hw) in igb_update_nvm_checksum_82580()
2430 s32 ret_val; in igb_update_nvm_checksum_82580()
2470 static s32 igb_validate_nvm_checksum_i350(struct e1000_hw *hw) in igb_validate_nvm_checksum_i350()
2472 s32 ret_val = 0; in igb_validate_nvm_checksum_i350()
2496 static s32 igb_update_nvm_checksum_i350(struct e1000_hw *hw) in igb_update_nvm_checksum_i350()
2498 s32 ret_val = 0; in igb_update_nvm_checksum_i350()
2520 static s32 __igb_access_emi_reg(struct e1000_hw *hw, u16 address, in __igb_access_emi_reg()
2523 s32 ret_val = 0; in __igb_access_emi_reg()
2543 s32 igb_read_emi_reg(struct e1000_hw *hw, u16 addr, u16 *data) in igb_read_emi_reg()
2557 s32 igb_set_eee_i350(struct e1000_hw *hw, bool adv1G, bool adv100M) in igb_set_eee_i350()
2613 s32 igb_set_eee_i354(struct e1000_hw *hw, bool adv1G, bool adv100M) in igb_set_eee_i354()
2616 s32 ret_val = 0; in igb_set_eee_i354()
2692 s32 igb_get_eee_status_i354(struct e1000_hw *hw, bool *status) in igb_get_eee_status_i354()
2695 s32 ret_val = 0; in igb_get_eee_status_i354()
2736 static s32 igb_get_thermal_sensor_data_generic(struct e1000_hw *hw) in igb_get_thermal_sensor_data_generic()
2789 static s32 igb_init_thermal_sensor_thresh_generic(struct e1000_hw *hw) in igb_init_thermal_sensor_thresh_generic()