Lines Matching refs:s32
35 static s32 e1000_check_downshift(struct e1000_hw *hw);
36 static s32 e1000_check_polarity(struct e1000_hw *hw,
40 static s32 e1000_config_dsp_after_link_change(struct e1000_hw *hw,
42 static s32 e1000_config_fc_after_link_up(struct e1000_hw *hw);
43 static s32 e1000_detect_gig_phy(struct e1000_hw *hw);
44 static s32 e1000_get_auto_rd_done(struct e1000_hw *hw);
45 static s32 e1000_get_cable_length(struct e1000_hw *hw, u16 *min_length,
47 static s32 e1000_get_phy_cfg_done(struct e1000_hw *hw);
48 static s32 e1000_id_led_init(struct e1000_hw *hw);
50 static s32 e1000_phy_igp_get_info(struct e1000_hw *hw,
52 static s32 e1000_phy_m88_get_info(struct e1000_hw *hw,
54 static s32 e1000_set_d3_lplu_state(struct e1000_hw *hw, bool active);
55 static s32 e1000_wait_autoneg(struct e1000_hw *hw);
57 static s32 e1000_set_phy_type(struct e1000_hw *hw);
59 static s32 e1000_setup_copper_link(struct e1000_hw *hw);
60 static s32 e1000_setup_fiber_serdes_link(struct e1000_hw *hw);
61 static s32 e1000_adjust_serdes_amplitude(struct e1000_hw *hw);
62 static s32 e1000_phy_force_speed_duplex(struct e1000_hw *hw);
63 static s32 e1000_config_mac_to_phy(struct e1000_hw *hw);
68 static s32 e1000_phy_reset_dsp(struct e1000_hw *hw);
69 static s32 e1000_write_eeprom_spi(struct e1000_hw *hw, u16 offset,
71 static s32 e1000_write_eeprom_microwire(struct e1000_hw *hw, u16 offset,
73 static s32 e1000_spi_eeprom_ready(struct e1000_hw *hw);
77 static s32 e1000_write_phy_reg_ex(struct e1000_hw *hw, u32 reg_addr,
79 static s32 e1000_read_phy_reg_ex(struct e1000_hw *hw, u32 reg_addr,
82 static s32 e1000_acquire_eeprom(struct e1000_hw *hw);
85 static s32 e1000_set_vco_speed(struct e1000_hw *hw);
86 static s32 e1000_polarity_reversal_workaround(struct e1000_hw *hw);
87 static s32 e1000_set_phy_mode(struct e1000_hw *hw);
88 static s32 e1000_do_read_eeprom(struct e1000_hw *hw, u16 offset, u16 words,
90 static s32 e1000_do_write_eeprom(struct e1000_hw *hw, u16 offset, u16 words,
116 static s32 e1000_set_phy_type(struct e1000_hw *hw) in e1000_set_phy_type()
250 s32 e1000_set_mac_type(struct e1000_hw *hw) in e1000_set_mac_type()
401 s32 e1000_reset_hw(struct e1000_hw *hw) in e1000_reset_hw()
408 s32 ret_val; in e1000_reset_hw()
551 s32 e1000_init_hw(struct e1000_hw *hw) in e1000_init_hw()
555 s32 ret_val; in e1000_init_hw()
669 static s32 e1000_adjust_serdes_amplitude(struct e1000_hw *hw) in e1000_adjust_serdes_amplitude()
672 s32 ret_val; in e1000_adjust_serdes_amplitude()
713 s32 e1000_setup_link(struct e1000_hw *hw) in e1000_setup_link()
716 s32 ret_val; in e1000_setup_link()
826 static s32 e1000_setup_fiber_serdes_link(struct e1000_hw *hw) in e1000_setup_fiber_serdes_link()
833 s32 ret_val; in e1000_setup_fiber_serdes_link()
968 static s32 e1000_copper_link_rtl_setup(struct e1000_hw *hw) in e1000_copper_link_rtl_setup()
970 s32 ret_val; in e1000_copper_link_rtl_setup()
982 static s32 gbe_dhg_phy_setup(struct e1000_hw *hw) in gbe_dhg_phy_setup()
984 s32 ret_val; in gbe_dhg_phy_setup()
1029 static s32 e1000_copper_link_preconfig(struct e1000_hw *hw) in e1000_copper_link_preconfig()
1032 s32 ret_val; in e1000_copper_link_preconfig()
1088 static s32 e1000_copper_link_igp_setup(struct e1000_hw *hw) in e1000_copper_link_igp_setup()
1091 s32 ret_val; in e1000_copper_link_igp_setup()
1229 static s32 e1000_copper_link_mgp_setup(struct e1000_hw *hw) in e1000_copper_link_mgp_setup()
1231 s32 ret_val; in e1000_copper_link_mgp_setup()
1335 static s32 e1000_copper_link_autoneg(struct e1000_hw *hw) in e1000_copper_link_autoneg()
1337 s32 ret_val; in e1000_copper_link_autoneg()
1405 static s32 e1000_copper_link_postconfig(struct e1000_hw *hw) in e1000_copper_link_postconfig()
1407 s32 ret_val; in e1000_copper_link_postconfig()
1442 static s32 e1000_setup_copper_link(struct e1000_hw *hw) in e1000_setup_copper_link()
1444 s32 ret_val; in e1000_setup_copper_link()
1521 s32 e1000_phy_setup_autoneg(struct e1000_hw *hw) in e1000_phy_setup_autoneg()
1523 s32 ret_val; in e1000_phy_setup_autoneg()
1669 static s32 e1000_phy_force_speed_duplex(struct e1000_hw *hw) in e1000_phy_force_speed_duplex()
1672 s32 ret_val; in e1000_phy_force_speed_duplex()
1931 static s32 e1000_config_mac_to_phy(struct e1000_hw *hw) in e1000_config_mac_to_phy()
1934 s32 ret_val; in e1000_config_mac_to_phy()
2010 s32 e1000_force_mac_fc(struct e1000_hw *hw) in e1000_force_mac_fc()
2074 static s32 e1000_config_fc_after_link_up(struct e1000_hw *hw) in e1000_config_fc_after_link_up()
2076 s32 ret_val; in e1000_config_fc_after_link_up()
2291 static s32 e1000_check_for_serdes_link_generic(struct e1000_hw *hw) in e1000_check_for_serdes_link_generic()
2296 s32 ret_val = E1000_SUCCESS; in e1000_check_for_serdes_link_generic()
2397 s32 e1000_check_for_link(struct e1000_hw *hw) in e1000_check_for_link()
2405 s32 ret_val; in e1000_check_for_link()
2583 s32 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 *speed, u16 *duplex) in e1000_get_speed_and_duplex()
2586 s32 ret_val; in e1000_get_speed_and_duplex()
2648 static s32 e1000_wait_autoneg(struct e1000_hw *hw) in e1000_wait_autoneg()
2650 s32 ret_val; in e1000_wait_autoneg()
2815 s32 e1000_read_phy_reg(struct e1000_hw *hw, u32 reg_addr, u16 *phy_data) in e1000_read_phy_reg()
2839 static s32 e1000_read_phy_reg_ex(struct e1000_hw *hw, u32 reg_addr, in e1000_read_phy_reg_ex()
2953 s32 e1000_write_phy_reg(struct e1000_hw *hw, u32 reg_addr, u16 phy_data) in e1000_write_phy_reg()
2977 static s32 e1000_write_phy_reg_ex(struct e1000_hw *hw, u32 reg_addr, in e1000_write_phy_reg_ex()
3070 s32 e1000_phy_hw_reset(struct e1000_hw *hw) in e1000_phy_hw_reset()
3128 s32 e1000_phy_reset(struct e1000_hw *hw) in e1000_phy_reset()
3130 s32 ret_val; in e1000_phy_reset()
3165 static s32 e1000_detect_gig_phy(struct e1000_hw *hw) in e1000_detect_gig_phy()
3167 s32 phy_init_status, ret_val; in e1000_detect_gig_phy()
3238 static s32 e1000_phy_reset_dsp(struct e1000_hw *hw) in e1000_phy_reset_dsp()
3240 s32 ret_val; in e1000_phy_reset_dsp()
3265 static s32 e1000_phy_igp_get_info(struct e1000_hw *hw, in e1000_phy_igp_get_info()
3268 s32 ret_val; in e1000_phy_igp_get_info()
3344 static s32 e1000_phy_m88_get_info(struct e1000_hw *hw, in e1000_phy_m88_get_info()
3347 s32 ret_val; in e1000_phy_m88_get_info()
3417 s32 e1000_phy_get_info(struct e1000_hw *hw, struct e1000_phy_info *phy_info) in e1000_phy_get_info()
3419 s32 ret_val; in e1000_phy_get_info()
3458 s32 e1000_validate_mdi_setting(struct e1000_hw *hw) in e1000_validate_mdi_setting()
3475 s32 e1000_init_eeprom_params(struct e1000_hw *hw) in e1000_init_eeprom_params()
3479 s32 ret_val = E1000_SUCCESS; in e1000_init_eeprom_params()
3694 static s32 e1000_acquire_eeprom(struct e1000_hw *hw) in e1000_acquire_eeprom()
3840 static s32 e1000_spi_eeprom_ready(struct e1000_hw *hw) in e1000_spi_eeprom_ready()
3882 s32 e1000_read_eeprom(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000_read_eeprom()
3884 s32 ret; in e1000_read_eeprom()
3891 static s32 e1000_do_read_eeprom(struct e1000_hw *hw, u16 offset, u16 words, in e1000_do_read_eeprom()
3992 s32 e1000_validate_eeprom_checksum(struct e1000_hw *hw) in e1000_validate_eeprom_checksum()
4026 s32 e1000_update_eeprom_checksum(struct e1000_hw *hw) in e1000_update_eeprom_checksum()
4056 s32 e1000_write_eeprom(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000_write_eeprom()
4058 s32 ret; in e1000_write_eeprom()
4065 static s32 e1000_do_write_eeprom(struct e1000_hw *hw, u16 offset, u16 words, in e1000_do_write_eeprom()
4069 s32 status = 0; in e1000_do_write_eeprom()
4114 static s32 e1000_write_eeprom_spi(struct e1000_hw *hw, u16 offset, u16 words, in e1000_write_eeprom_spi()
4179 static s32 e1000_write_eeprom_microwire(struct e1000_hw *hw, u16 offset, in e1000_write_eeprom_microwire()
4260 s32 e1000_read_mac_addr(struct e1000_hw *hw) in e1000_read_mac_addr()
4451 static s32 e1000_id_led_init(struct e1000_hw *hw) in e1000_id_led_init()
4526 s32 e1000_setup_led(struct e1000_hw *hw) in e1000_setup_led()
4529 s32 ret_val = E1000_SUCCESS; in e1000_setup_led()
4577 s32 e1000_cleanup_led(struct e1000_hw *hw) in e1000_cleanup_led()
4579 s32 ret_val = E1000_SUCCESS; in e1000_cleanup_led()
4611 s32 e1000_led_on(struct e1000_hw *hw) in e1000_led_on()
4655 s32 e1000_led_off(struct e1000_hw *hw) in e1000_led_off()
4921 static s32 e1000_get_cable_length(struct e1000_hw *hw, u16 *min_length, in e1000_get_cable_length()
4924 s32 ret_val; in e1000_get_cable_length()
5037 static s32 e1000_check_polarity(struct e1000_hw *hw, in e1000_check_polarity()
5040 s32 ret_val; in e1000_check_polarity()
5104 static s32 e1000_check_downshift(struct e1000_hw *hw) in e1000_check_downshift()
5106 s32 ret_val; in e1000_check_downshift()
5137 static s32 e1000_1000Mb_check_cable_length(struct e1000_hw *hw) in e1000_1000Mb_check_cable_length()
5141 s32 ret_val; in e1000_1000Mb_check_cable_length()
5214 static s32 e1000_config_dsp_after_link_change(struct e1000_hw *hw, bool link_up) in e1000_config_dsp_after_link_change()
5216 s32 ret_val; in e1000_config_dsp_after_link_change()
5347 static s32 e1000_set_phy_mode(struct e1000_hw *hw) in e1000_set_phy_mode()
5349 s32 ret_val; in e1000_set_phy_mode()
5394 static s32 e1000_set_d3_lplu_state(struct e1000_hw *hw, bool active) in e1000_set_d3_lplu_state()
5396 s32 ret_val; in e1000_set_d3_lplu_state()
5496 static s32 e1000_set_vco_speed(struct e1000_hw *hw) in e1000_set_vco_speed()
5498 s32 ret_val; in e1000_set_vco_speed()
5577 static s32 e1000_polarity_reversal_workaround(struct e1000_hw *hw) in e1000_polarity_reversal_workaround()
5579 s32 ret_val; in e1000_polarity_reversal_workaround()
5671 static s32 e1000_get_auto_rd_done(struct e1000_hw *hw) in e1000_get_auto_rd_done()
5685 static s32 e1000_get_phy_cfg_done(struct e1000_hw *hw) in e1000_get_phy_cfg_done()