Lines Matching refs:int32_t
37 static int32_t e1000_swfw_sync_acquire(struct e1000_hw *hw, uint16_t mask);
39 static int32_t e1000_read_kmrn_reg(struct e1000_hw *hw, uint32_t reg_addr, uint16_t *data);
40 static int32_t e1000_write_kmrn_reg(struct e1000_hw *hw, uint32_t reg_addr, uint16_t data);
41 static int32_t e1000_get_software_semaphore(struct e1000_hw *hw);
45 static int32_t e1000_check_downshift(struct e1000_hw *hw);
46 static int32_t e1000_check_polarity(struct e1000_hw *hw, e1000_rev_polarity *polarity);
48 static int32_t e1000_commit_shadow_ram(struct e1000_hw *hw);
49 static int32_t e1000_config_dsp_after_link_change(struct e1000_hw *hw, boolean_t link_up);
50 static int32_t e1000_config_fc_after_link_up(struct e1000_hw *hw);
51 static int32_t e1000_detect_gig_phy(struct e1000_hw *hw);
52 static int32_t e1000_erase_ich8_4k_segment(struct e1000_hw *hw, uint32_t bank);
53 static int32_t e1000_get_auto_rd_done(struct e1000_hw *hw);
54 static int32_t e1000_get_cable_length(struct e1000_hw *hw, uint16_t *min_length, uint16_t *max_leng…
55 static int32_t e1000_get_hw_eeprom_semaphore(struct e1000_hw *hw);
56 static int32_t e1000_get_phy_cfg_done(struct e1000_hw *hw);
57 static int32_t e1000_get_software_flag(struct e1000_hw *hw);
58 static int32_t e1000_ich8_cycle_init(struct e1000_hw *hw);
59 static int32_t e1000_ich8_flash_cycle(struct e1000_hw *hw, uint32_t timeout);
60 static int32_t e1000_id_led_init(struct e1000_hw *hw);
61 static int32_t e1000_init_lcd_from_nvm_config_region(struct e1000_hw *hw, uint32_t cnf_base_addr, u…
62 static int32_t e1000_init_lcd_from_nvm(struct e1000_hw *hw);
66 static int32_t e1000_kumeran_lock_loss_workaround(struct e1000_hw *hw);
67 static int32_t e1000_mng_enable_host_if(struct e1000_hw *hw);
68 static int32_t e1000_mng_host_if_write(struct e1000_hw *hw, uint8_t *buffer, uint16_t length, uint1…
69 static int32_t e1000_mng_write_cmd_header(struct e1000_hw* hw, struct e1000_host_mng_command_header…
70 static int32_t e1000_mng_write_commit(struct e1000_hw *hw);
71 static int32_t e1000_phy_ife_get_info(struct e1000_hw *hw, struct e1000_phy_info *phy_info);
72 static int32_t e1000_phy_igp_get_info(struct e1000_hw *hw, struct e1000_phy_info *phy_info);
73 static int32_t e1000_read_eeprom_eerd(struct e1000_hw *hw, uint16_t offset, uint16_t words, uint16_…
74 static int32_t e1000_write_eeprom_eewr(struct e1000_hw *hw, uint16_t offset, uint16_t words, uint16…
75 static int32_t e1000_poll_eerd_eewr_done(struct e1000_hw *hw, int eerd);
76 static int32_t e1000_phy_m88_get_info(struct e1000_hw *hw, struct e1000_phy_info *phy_info);
78 static int32_t e1000_read_ich8_byte(struct e1000_hw *hw, uint32_t index, uint8_t *data);
79 static int32_t e1000_verify_write_ich8_byte(struct e1000_hw *hw, uint32_t index, uint8_t byte);
80 static int32_t e1000_write_ich8_byte(struct e1000_hw *hw, uint32_t index, uint8_t byte);
81 static int32_t e1000_read_ich8_word(struct e1000_hw *hw, uint32_t index, uint16_t *data);
82 static int32_t e1000_read_ich8_data(struct e1000_hw *hw, uint32_t index, uint32_t size, uint16_t *d…
83 static int32_t e1000_write_ich8_data(struct e1000_hw *hw, uint32_t index, uint32_t size, uint16_t d…
84 static int32_t e1000_read_eeprom_ich8(struct e1000_hw *hw, uint16_t offset, uint16_t words, uint16_…
85 static int32_t e1000_write_eeprom_ich8(struct e1000_hw *hw, uint16_t offset, uint16_t words, uint16…
87 static int32_t e1000_set_d3_lplu_state(struct e1000_hw *hw, boolean_t active);
88 static int32_t e1000_set_d0_lplu_state(struct e1000_hw *hw, boolean_t active);
89 static int32_t e1000_set_pci_ex_no_snoop(struct e1000_hw *hw, uint32_t no_snoop);
91 static int32_t e1000_wait_autoneg(struct e1000_hw *hw);
93 static int32_t e1000_set_phy_type(struct e1000_hw *hw);
95 static int32_t e1000_setup_copper_link(struct e1000_hw *hw);
96 static int32_t e1000_setup_fiber_serdes_link(struct e1000_hw *hw);
97 static int32_t e1000_adjust_serdes_amplitude(struct e1000_hw *hw);
98 static int32_t e1000_phy_force_speed_duplex(struct e1000_hw *hw);
99 static int32_t e1000_config_mac_to_phy(struct e1000_hw *hw);
105 static int32_t e1000_phy_reset_dsp(struct e1000_hw *hw);
106 static int32_t e1000_write_eeprom_spi(struct e1000_hw *hw, uint16_t offset,
108 static int32_t e1000_write_eeprom_microwire(struct e1000_hw *hw,
111 static int32_t e1000_spi_eeprom_ready(struct e1000_hw *hw);
116 static int32_t e1000_write_phy_reg_ex(struct e1000_hw *hw, uint32_t reg_addr,
118 static int32_t e1000_read_phy_reg_ex(struct e1000_hw *hw,uint32_t reg_addr,
121 static int32_t e1000_acquire_eeprom(struct e1000_hw *hw);
124 static int32_t e1000_set_vco_speed(struct e1000_hw *hw);
125 static int32_t e1000_polarity_reversal_workaround(struct e1000_hw *hw);
126 static int32_t e1000_set_phy_mode(struct e1000_hw *hw);
127 static int32_t e1000_host_if_read_cookie(struct e1000_hw *hw, uint8_t *buffer);
129 static int32_t e1000_configure_kmrn_for_10_100(struct e1000_hw *hw,
131 static int32_t e1000_configure_kmrn_for_1000(struct e1000_hw *hw);
162 static int32_t
309 int32_t
509 int32_t
519 int32_t ret_val; in e1000_reset_hw()
847 int32_t
852 int32_t ret_val; in e1000_init_hw()
1053 static int32_t
1057 int32_t ret_val; in e1000_adjust_serdes_amplitude()
1099 int32_t
1103 int32_t ret_val; in e1000_setup_link()
1232 static int32_t
1240 int32_t ret_val; in e1000_setup_fiber_serdes_link()
1379 static int32_t
1383 int32_t ret_val; in e1000_copper_link_preconfig()
1439 static int32_t
1443 int32_t ret_val; in e1000_copper_link_igp_setup()
1586 static int32_t
1589 int32_t ret_val; in e1000_copper_link_ggp_setup()
1734 static int32_t
1737 int32_t ret_val; in e1000_copper_link_mgp_setup()
1838 static int32_t
1841 int32_t ret_val; in e1000_copper_link_autoneg()
1909 static int32_t
1912 int32_t ret_val; in e1000_copper_link_postconfig()
1947 static int32_t
1950 int32_t ret_val; in e1000_setup_copper_link()
2061 static int32_t
2064 int32_t ret_val = E1000_SUCCESS; in e1000_configure_kmrn_for_10_100()
2097 static int32_t
2100 int32_t ret_val = E1000_SUCCESS; in e1000_configure_kmrn_for_1000()
2134 int32_t
2137 int32_t ret_val; in e1000_phy_setup_autoneg()
2283 static int32_t
2287 int32_t ret_val; in e1000_phy_force_speed_duplex()
2564 static int32_t
2568 int32_t ret_val; in e1000_config_mac_to_phy()
2623 int32_t
2690 static int32_t
2693 int32_t ret_val; in e1000_config_fc_after_link_up()
2895 int32_t
2904 int32_t ret_val; in e1000_check_for_link()
3131 int32_t
3137 int32_t ret_val; in e1000_get_speed_and_duplex()
3213 static int32_t
3216 int32_t ret_val; in e1000_wait_autoneg()
3383 static int32_t
3389 int32_t timeout = 200; in e1000_swfw_sync_acquire()
3463 int32_t
3522 static int32_t
3602 int32_t
3660 static int32_t
3722 static int32_t
3755 static int32_t
3787 int32_t
3792 int32_t ret_val; in e1000_phy_hw_reset()
3881 int32_t
3884 int32_t ret_val; in e1000_phy_reset()
3936 int32_t reg; in e1000_phy_powerdown_workaround()
3938 int32_t retry = 0; in e1000_phy_powerdown_workaround()
3986 static int32_t
3989 int32_t ret_val; in e1000_kumeran_lock_loss_workaround()
3990 int32_t reg; in e1000_kumeran_lock_loss_workaround()
3991 int32_t cnt; in e1000_kumeran_lock_loss_workaround()
4039 static int32_t
4042 int32_t phy_init_status, ret_val; in e1000_detect_gig_phy()
4135 static int32_t
4138 int32_t ret_val; in e1000_phy_reset_dsp()
4162 static int32_t
4166 int32_t ret_val; in e1000_phy_igp_get_info()
4239 static int32_t
4243 int32_t ret_val; in e1000_phy_ife_get_info()
4289 static int32_t
4293 int32_t ret_val; in e1000_phy_m88_get_info()
4368 int32_t
4372 int32_t ret_val; in e1000_phy_get_info()
4414 int32_t
4435 int32_t
4440 int32_t ret_val = E1000_SUCCESS; in e1000_init_eeprom_params()
4560 int32_t i = 0; in e1000_init_eeprom_params()
4760 static int32_t
4919 static int32_t
4965 int32_t
5067 static int32_t
5074 int32_t error = 0; in e1000_read_eeprom_eerd()
5101 static int32_t
5109 int32_t error = 0; in e1000_write_eeprom_eewr()
5142 static int32_t
5147 int32_t done = E1000_ERR_EEPROM; in e1000_poll_eerd_eewr_done()
5203 int32_t
5269 int32_t
5314 int32_t
5321 int32_t status = 0; in e1000_write_eeprom()
5371 static int32_t
5437 static int32_t
5524 static int32_t
5531 int32_t error = E1000_SUCCESS; in e1000_commit_shadow_ram()
5688 int32_t
6004 static int32_t
6087 int32_t
6091 int32_t ret_val = E1000_SUCCESS; in e1000_setup_led()
6146 int32_t
6181 int32_t
6184 int32_t ret_val = E1000_SUCCESS; in e1000_cleanup_led()
6223 int32_t
6274 int32_t
6575 int32_t ret_val; in e1000_get_bus_info()
6675 static int32_t
6680 int32_t ret_val; in e1000_get_cable_length()
6866 static int32_t
6870 int32_t ret_val; in e1000_check_polarity()
6942 static int32_t
6945 int32_t ret_val; in e1000_check_downshift()
6988 static int32_t
6992 int32_t ret_val; in e1000_config_dsp_after_link_change()
7176 static int32_t
7179 int32_t ret_val; in e1000_set_phy_mode()
7221 static int32_t
7226 int32_t ret_val; in e1000_set_d3_lplu_state()
7351 static int32_t
7356 int32_t ret_val; in e1000_set_d0_lplu_state()
7442 static int32_t
7445 int32_t ret_val; in e1000_set_vco_speed()
7506 static int32_t
7533 static int32_t
7567 static int32_t
7635 static int32_t
7675 static int32_t
7715 int32_t
7719 int32_t ret_val; in e1000_mng_write_dhcp_info()
7772 int32_t ret_val, checksum; in e1000_enable_tx_pkt_filtering()
7835 static int32_t
7838 int32_t ret_val; in e1000_polarity_reversal_workaround()
7955 int32_t
7958 int32_t timeout = MASTER_DISABLE_TIMEOUT; /* 80ms */ in e1000_disable_pciex_master()
7993 static int32_t
7996 int32_t timeout = AUTO_READ_DONE_TIMEOUT; in e1000_get_auto_rd_done()
8041 static int32_t
8044 int32_t timeout = PHY_CFG_TIMEOUT; in e1000_get_phy_cfg_done()
8088 static int32_t
8091 int32_t timeout; in e1000_get_hw_eeprom_semaphore()
8167 static int32_t
8170 int32_t timeout = hw->eeprom.word_size + 1; in e1000_get_software_semaphore()
8231 int32_t
8286 static int32_t
8327 static int32_t
8330 int32_t timeout = PHY_CFG_TIMEOUT; in e1000_get_software_flag()
8392 static int32_t
8396 int32_t error = E1000_SUCCESS; in e1000_read_eeprom_ich8()
8448 static int32_t
8453 int32_t error = E1000_SUCCESS; in e1000_write_eeprom_ich8()
8495 static int32_t
8499 int32_t error = E1000_ERR_EEPROM; in e1000_ich8_cycle_init()
8500 int32_t i = 0; in e1000_ich8_cycle_init()
8562 static int32_t
8567 int32_t error = E1000_ERR_EEPROM; in e1000_ich8_flash_cycle()
8597 static int32_t
8605 int32_t error = -E1000_ERR_EEPROM; in e1000_read_ich8_data()
8606 int32_t count = 0; in e1000_read_ich8_data()
8676 static int32_t
8684 int32_t error = -E1000_ERR_EEPROM; in e1000_write_ich8_data()
8685 int32_t count = 0; in e1000_write_ich8_data()
8751 static int32_t
8754 int32_t status = E1000_SUCCESS; in e1000_read_ich8_byte()
8774 static int32_t
8777 int32_t error = E1000_SUCCESS; in e1000_verify_write_ich8_byte()
8778 int32_t program_retries = 0; in e1000_verify_write_ich8_byte()
8807 static int32_t
8810 int32_t status = E1000_SUCCESS; in e1000_write_ich8_byte()
8825 static int32_t
8828 int32_t status = E1000_SUCCESS; in e1000_read_ich8_word()
8845 int32_t
8851 int32_t count = 0; in e1000_erase_ich8_4k_segment()
8852 int32_t error = E1000_ERR_EEPROM; in e1000_erase_ich8_4k_segment()
8853 int32_t iteration; in e1000_erase_ich8_4k_segment()
8854 int32_t sub_sector_size = 0; in e1000_erase_ich8_4k_segment()
8855 int32_t bank_size; in e1000_erase_ich8_4k_segment()
8856 int32_t j = 0; in e1000_erase_ich8_4k_segment()
8857 int32_t error_flag = 0; in e1000_erase_ich8_4k_segment()
8936 static int32_t
8978 static int32_t