Lines Matching refs:e1000_hw

48 static s32  e1000_init_phy_params_82575(struct e1000_hw *hw);
49 static s32 e1000_init_mac_params_82575(struct e1000_hw *hw);
50 static s32 e1000_acquire_nvm_82575(struct e1000_hw *hw);
51 static void e1000_release_nvm_82575(struct e1000_hw *hw);
52 static s32 e1000_check_for_link_82575(struct e1000_hw *hw);
53 static s32 e1000_check_for_link_media_swap(struct e1000_hw *hw);
54 static s32 e1000_get_cfg_done_82575(struct e1000_hw *hw);
55 static s32 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed,
57 static s32 e1000_phy_hw_reset_sgmii_82575(struct e1000_hw *hw);
58 static s32 e1000_read_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset,
60 static s32 e1000_reset_hw_82575(struct e1000_hw *hw);
61 static s32 e1000_init_hw_82575(struct e1000_hw *hw);
62 static s32 e1000_reset_hw_82580(struct e1000_hw *hw);
63 static s32 e1000_read_phy_reg_82580(struct e1000_hw *hw,
65 static s32 e1000_write_phy_reg_82580(struct e1000_hw *hw,
67 static s32 e1000_set_d0_lplu_state_82580(struct e1000_hw *hw,
69 static s32 e1000_set_d3_lplu_state_82580(struct e1000_hw *hw,
71 static s32 e1000_set_d0_lplu_state_82575(struct e1000_hw *hw,
73 static s32 e1000_setup_copper_link_82575(struct e1000_hw *hw);
74 static s32 e1000_setup_serdes_link_82575(struct e1000_hw *hw);
75 static s32 e1000_get_media_type_82575(struct e1000_hw *hw);
76 static s32 e1000_set_sfp_media_type_82575(struct e1000_hw *hw);
77 static s32 e1000_valid_led_default_82575(struct e1000_hw *hw, u16 *data);
78 static s32 e1000_write_phy_reg_sgmii_82575(struct e1000_hw *hw,
80 static void e1000_clear_hw_cntrs_82575(struct e1000_hw *hw);
81 static s32 e1000_get_pcs_speed_and_duplex_82575(struct e1000_hw *hw,
83 static s32 e1000_get_phy_id_82575(struct e1000_hw *hw);
84 static bool e1000_sgmii_active_82575(struct e1000_hw *hw);
85 static s32 e1000_read_mac_addr_82575(struct e1000_hw *hw);
86 static void e1000_config_collision_dist_82575(struct e1000_hw *hw);
87 static void e1000_shutdown_serdes_link_82575(struct e1000_hw *hw);
88 static void e1000_power_up_serdes_link_82575(struct e1000_hw *hw);
89 static s32 e1000_set_pcie_completion_timeout(struct e1000_hw *hw);
90 static s32 e1000_reset_mdicnfg_82580(struct e1000_hw *hw);
91 static s32 e1000_validate_nvm_checksum_82580(struct e1000_hw *hw);
92 static s32 e1000_update_nvm_checksum_82580(struct e1000_hw *hw);
93 static s32 e1000_update_nvm_checksum_with_offset(struct e1000_hw *hw,
95 static s32 e1000_validate_nvm_checksum_with_offset(struct e1000_hw *hw,
97 static s32 e1000_validate_nvm_checksum_i350(struct e1000_hw *hw);
98 static s32 e1000_update_nvm_checksum_i350(struct e1000_hw *hw);
99 static void e1000_clear_vfta_i350(struct e1000_hw *hw);
101 static void e1000_i2c_start(struct e1000_hw *hw);
102 static void e1000_i2c_stop(struct e1000_hw *hw);
103 static void e1000_clock_in_i2c_byte(struct e1000_hw *hw, u8 *data);
104 static s32 e1000_clock_out_i2c_byte(struct e1000_hw *hw, u8 data);
105 static s32 e1000_get_i2c_ack(struct e1000_hw *hw);
106 static void e1000_clock_in_i2c_bit(struct e1000_hw *hw, bool *data);
107 static s32 e1000_clock_out_i2c_bit(struct e1000_hw *hw, bool data);
108 static void e1000_raise_i2c_clk(struct e1000_hw *hw, u32 *i2cctl);
109 static void e1000_lower_i2c_clk(struct e1000_hw *hw, u32 *i2cctl);
110 static s32 e1000_set_i2c_data(struct e1000_hw *hw, u32 *i2cctl, bool data);
127 static bool e1000_sgmii_uses_mdio_82575(struct e1000_hw *hw) in e1000_sgmii_uses_mdio_82575()
158 static s32 e1000_init_phy_params_82575(struct e1000_hw *hw) in e1000_init_phy_params_82575()
323 static s32 e1000_init_mac_params_82575(struct e1000_hw *hw) in e1000_init_mac_params_82575()
440 s32 e1000_init_nvm_params_82575(struct e1000_hw *hw) in e1000_init_nvm_params_82575()
525 void e1000_init_function_pointers_82575(struct e1000_hw *hw) in e1000_init_function_pointers_82575()
544 static s32 e1000_read_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, in e1000_read_phy_reg_sgmii_82575()
577 static s32 e1000_write_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, in e1000_write_phy_reg_sgmii_82575()
608 static s32 e1000_get_phy_id_82575(struct e1000_hw *hw) in e1000_get_phy_id_82575()
710 static s32 e1000_phy_hw_reset_sgmii_82575(struct e1000_hw *hw) in e1000_phy_hw_reset_sgmii_82575()
758 static s32 e1000_set_d0_lplu_state_82575(struct e1000_hw *hw, bool active) in e1000_set_d0_lplu_state_82575()
844 static s32 e1000_set_d0_lplu_state_82580(struct e1000_hw *hw, bool active) in e1000_set_d0_lplu_state_82580()
891 s32 e1000_set_d3_lplu_state_82580(struct e1000_hw *hw, bool active) in e1000_set_d3_lplu_state_82580()
933 static s32 e1000_acquire_nvm_82575(struct e1000_hw *hw) in e1000_acquire_nvm_82575()
983 static void e1000_release_nvm_82575(struct e1000_hw *hw) in e1000_release_nvm_82575()
1002 static s32 e1000_get_cfg_done_82575(struct e1000_hw *hw) in e1000_get_cfg_done_82575()
1042 static s32 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, in e1000_get_link_up_info_82575()
1066 static s32 e1000_check_for_link_82575(struct e1000_hw *hw) in e1000_check_for_link_82575()
1105 static s32 e1000_check_for_link_media_swap(struct e1000_hw *hw) in e1000_check_for_link_media_swap()
1165 static void e1000_power_up_serdes_link_82575(struct e1000_hw *hw) in e1000_power_up_serdes_link_82575()
1199 static s32 e1000_get_pcs_speed_and_duplex_82575(struct e1000_hw *hw, in e1000_get_pcs_speed_and_duplex_82575()
1263 void e1000_shutdown_serdes_link_82575(struct e1000_hw *hw) in e1000_shutdown_serdes_link_82575()
1298 static s32 e1000_reset_hw_82575(struct e1000_hw *hw) in e1000_reset_hw_82575()
1362 static s32 e1000_init_hw_82575(struct e1000_hw *hw) in e1000_init_hw_82575()
1402 static s32 e1000_setup_copper_link_82575(struct e1000_hw *hw) in e1000_setup_copper_link_82575()
1494 static s32 e1000_setup_serdes_link_82575(struct e1000_hw *hw) in e1000_setup_serdes_link_82575()
1637 static s32 e1000_get_media_type_82575(struct e1000_hw *hw) in e1000_get_media_type_82575()
1715 static s32 e1000_set_sfp_media_type_82575(struct e1000_hw *hw) in e1000_set_sfp_media_type_82575()
1788 static s32 e1000_valid_led_default_82575(struct e1000_hw *hw, u16 *data) in e1000_valid_led_default_82575()
1823 static bool e1000_sgmii_active_82575(struct e1000_hw *hw) in e1000_sgmii_active_82575()
1836 s32 e1000_reset_init_script_82575(struct e1000_hw *hw) in e1000_reset_init_script_82575()
1871 static s32 e1000_read_mac_addr_82575(struct e1000_hw *hw) in e1000_read_mac_addr_82575()
1899 static void e1000_config_collision_dist_82575(struct e1000_hw *hw) in e1000_config_collision_dist_82575()
1920 static void e1000_clear_hw_cntrs_82575(struct e1000_hw *hw) in e1000_clear_hw_cntrs_82575()
1989 static s32 e1000_set_pcie_completion_timeout(struct e1000_hw *hw) in e1000_set_pcie_completion_timeout()
2038 void e1000_vmdq_set_anti_spoofing_pf(struct e1000_hw *hw, bool enable, int pf) in e1000_vmdq_set_anti_spoofing_pf()
2076 void e1000_vmdq_set_loopback_pf(struct e1000_hw *hw, bool enable) in e1000_vmdq_set_loopback_pf()
2113 void e1000_vmdq_set_replication_pf(struct e1000_hw *hw, bool enable) in e1000_vmdq_set_replication_pf()
2134 static s32 e1000_read_phy_reg_82580(struct e1000_hw *hw, u32 offset, u16 *data) in e1000_read_phy_reg_82580()
2160 static s32 e1000_write_phy_reg_82580(struct e1000_hw *hw, u32 offset, u16 data) in e1000_write_phy_reg_82580()
2186 static s32 e1000_reset_mdicnfg_82580(struct e1000_hw *hw) in e1000_reset_mdicnfg_82580()
2224 static s32 e1000_reset_hw_82580(struct e1000_hw *hw) in e1000_reset_hw_82580()
2343 s32 e1000_validate_nvm_checksum_with_offset(struct e1000_hw *hw, u16 offset) in e1000_validate_nvm_checksum_with_offset()
2380 s32 e1000_update_nvm_checksum_with_offset(struct e1000_hw *hw, u16 offset) in e1000_update_nvm_checksum_with_offset()
2414 static s32 e1000_validate_nvm_checksum_82580(struct e1000_hw *hw) in e1000_validate_nvm_checksum_82580()
2455 static s32 e1000_update_nvm_checksum_82580(struct e1000_hw *hw) in e1000_update_nvm_checksum_82580()
2499 static s32 e1000_validate_nvm_checksum_i350(struct e1000_hw *hw) in e1000_validate_nvm_checksum_i350()
2527 static s32 e1000_update_nvm_checksum_i350(struct e1000_hw *hw) in e1000_update_nvm_checksum_i350()
2553 static s32 __e1000_access_emi_reg(struct e1000_hw *hw, u16 address, in __e1000_access_emi_reg()
2578 s32 e1000_read_emi_reg(struct e1000_hw *hw, u16 addr, u16 *data) in e1000_read_emi_reg()
2591 s32 e1000_initialize_M88E1512_phy(struct e1000_hw *hw) in e1000_initialize_M88E1512_phy()
2680 s32 e1000_initialize_M88E1543_phy(struct e1000_hw *hw) in e1000_initialize_M88E1543_phy()
2782 s32 e1000_set_eee_i350(struct e1000_hw *hw, bool adv1G, bool adv100M) in e1000_set_eee_i350()
2837 s32 e1000_set_eee_i354(struct e1000_hw *hw, bool adv1G, bool adv100M) in e1000_set_eee_i354()
2919 s32 e1000_get_eee_status_i354(struct e1000_hw *hw, bool *status) in e1000_get_eee_status_i354()
2958 void e1000_clear_vfta_i350(struct e1000_hw *hw) in e1000_clear_vfta_i350()
2982 void e1000_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value) in e1000_write_vfta_i350()
3002 s32 e1000_set_i2c_bb(struct e1000_hw *hw) in e1000_set_i2c_bb()
3034 s32 e1000_read_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, in e1000_read_i2c_byte_generic()
3123 s32 e1000_write_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, in e1000_write_i2c_byte_generic()
3192 static void e1000_i2c_start(struct e1000_hw *hw) in e1000_i2c_start()
3223 static void e1000_i2c_stop(struct e1000_hw *hw) in e1000_i2c_stop()
3249 static void e1000_clock_in_i2c_byte(struct e1000_hw *hw, u8 *data) in e1000_clock_in_i2c_byte()
3270 static s32 e1000_clock_out_i2c_byte(struct e1000_hw *hw, u8 data) in e1000_clock_out_i2c_byte()
3303 static s32 e1000_get_i2c_ack(struct e1000_hw *hw) in e1000_get_i2c_ack()
3349 static void e1000_clock_in_i2c_bit(struct e1000_hw *hw, bool *data) in e1000_clock_in_i2c_bit()
3376 static s32 e1000_clock_out_i2c_bit(struct e1000_hw *hw, bool data) in e1000_clock_out_i2c_bit()
3410 static void e1000_raise_i2c_clk(struct e1000_hw *hw, u32 *i2cctl) in e1000_raise_i2c_clk()
3430 static void e1000_lower_i2c_clk(struct e1000_hw *hw, u32 *i2cctl) in e1000_lower_i2c_clk()
3452 static s32 e1000_set_i2c_data(struct e1000_hw *hw, u32 *i2cctl, bool data) in e1000_set_i2c_data()
3507 void e1000_i2c_bus_clear(struct e1000_hw *hw) in e1000_i2c_bus_clear()