Searched refs:ixgbe_hw (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-13-stable/sys/dev/ixgbe/
H A Dixgbe_82598.h39 u32 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw);
40 s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw);
41 s32 ixgbe_start_hw_82598(struct ixgbe_hw *hw);
42 void ixgbe_enable_relaxed_ordering_82598(struct ixgbe_hw *hw);
43 s32 ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq);
44 s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on,
46 s32 ixgbe_read_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 *val);
47 s32 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 val);
48 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
50 u64 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *h
[all...]
H A Dixgbe_82599.h39 s32 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw,
41 enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw);
42 void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
43 void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
44 void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
45 void ixgbe_set_hard_rate_select_speed(struct ixgbe_hw *hw,
47 s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw,
50 s32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw,
52 s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed,
54 s32 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *h
[all...]
H A Dixgbe_x540.h41 s32 ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw,
43 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw);
44 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed,
46 s32 ixgbe_reset_hw_X540(struct ixgbe_hw *hw);
47 s32 ixgbe_start_hw_X540(struct ixgbe_hw *hw);
48 u64 ixgbe_get_supported_physical_layer_X540(struct ixgbe_hw *hw);
50 s32 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw);
51 s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data);
52 s32 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words,
54 s32 ixgbe_write_eewr_X540(struct ixgbe_hw *h
[all...]
H A Dixgbe_api.h41 void ixgbe_dcb_get_rtrup2tc(struct ixgbe_hw *hw, u8 *map);
43 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw);
45 extern s32 ixgbe_init_ops_82598(struct ixgbe_hw *hw);
46 extern s32 ixgbe_init_ops_82599(struct ixgbe_hw *hw);
47 extern s32 ixgbe_init_ops_X540(struct ixgbe_hw *hw);
48 extern s32 ixgbe_init_ops_X550(struct ixgbe_hw *hw);
49 extern s32 ixgbe_init_ops_X550EM(struct ixgbe_hw *hw);
50 extern s32 ixgbe_init_ops_X550EM_x(struct ixgbe_hw *hw);
51 extern s32 ixgbe_init_ops_X550EM_a(struct ixgbe_hw *hw);
53 s32 ixgbe_set_mac_type(struct ixgbe_hw *h
[all...]
H A Dixgbe_common.h53 void ixgbe_dcb_get_rtrup2tc_generic(struct ixgbe_hw *hw, u8 *map);
55 u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw);
56 s32 ixgbe_init_ops_generic(struct ixgbe_hw *hw);
57 s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw);
58 s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw);
59 s32 ixgbe_start_hw_gen2(struct ixgbe_hw *hw);
60 s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw);
61 s32 ixgbe_read_pba_num_generic(struct ixgbe_hw *hw, u32 *pba_num);
62 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num,
64 s32 ixgbe_read_pba_raw(struct ixgbe_hw *h
[all...]
H A Dixgbe_x550.h40 s32 ixgbe_dmac_config_X550(struct ixgbe_hw *hw);
41 s32 ixgbe_dmac_config_tcs_X550(struct ixgbe_hw *hw);
42 s32 ixgbe_dmac_update_tcs_X550(struct ixgbe_hw *hw);
44 s32 ixgbe_get_bus_info_X550em(struct ixgbe_hw *hw);
45 s32 ixgbe_init_eeprom_params_X550(struct ixgbe_hw *hw);
46 s32 ixgbe_update_eeprom_checksum_X550(struct ixgbe_hw *hw);
47 s32 ixgbe_calc_eeprom_checksum_X550(struct ixgbe_hw *hw);
48 s32 ixgbe_calc_checksum_X550(struct ixgbe_hw *hw, u16 *buffer, u32 buffer_size);
49 s32 ixgbe_validate_eeprom_checksum_X550(struct ixgbe_hw *hw, u16 *checksum_val);
50 s32 ixgbe_update_flash_X550(struct ixgbe_hw *h
[all...]
H A Dixgbe_phy.h160 s32 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw);
161 bool ixgbe_validate_phy_addr(struct ixgbe_hw *hw, u32 phy_addr);
163 s32 ixgbe_get_phy_id(struct ixgbe_hw *hw);
164 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw);
165 s32 ixgbe_reset_phy_generic(struct ixgbe_hw *hw);
166 s32 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type,
168 s32 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type,
170 s32 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr,
172 s32 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr,
174 s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *h
[all...]
H A Dixgbe_dcb_82598.h83 s32 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *, u8);
86 s32 ixgbe_dcb_config_tc_stats_82598(struct ixgbe_hw *);
87 s32 ixgbe_dcb_get_tc_stats_82598(struct ixgbe_hw *,
89 s32 ixgbe_dcb_get_pfc_stats_82598(struct ixgbe_hw *,
93 s32 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *, u16 *, u16 *,
95 s32 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *, u16 *, u16 *,
97 s32 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *, u16 *, u16 *, u8 *);
100 s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *, int, u16 *, u16 *, u8 *, u8 *);
H A Dixgbe_vf.h119 s32 ixgbe_init_ops_vf(struct ixgbe_hw *hw);
120 s32 ixgbe_init_hw_vf(struct ixgbe_hw *hw);
121 s32 ixgbe_start_hw_vf(struct ixgbe_hw *hw);
122 s32 ixgbe_reset_hw_vf(struct ixgbe_hw *hw);
123 s32 ixgbe_stop_adapter_vf(struct ixgbe_hw *hw);
124 u32 ixgbe_get_num_of_tx_queues_vf(struct ixgbe_hw *hw);
125 u32 ixgbe_get_num_of_rx_queues_vf(struct ixgbe_hw *hw);
126 s32 ixgbe_get_mac_addr_vf(struct ixgbe_hw *hw, u8 *mac_addr);
127 s32 ixgbe_setup_mac_link_vf(struct ixgbe_hw *hw, ixgbe_link_speed speed,
129 s32 ixgbe_check_mac_link_vf(struct ixgbe_hw *h
[all...]
H A Dixgbe_dcb_82599.h131 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *, u8, u8 *);
134 s32 ixgbe_dcb_config_tc_stats_82599(struct ixgbe_hw *,
136 s32 ixgbe_dcb_get_tc_stats_82599(struct ixgbe_hw *,
138 s32 ixgbe_dcb_get_pfc_stats_82599(struct ixgbe_hw *,
142 s32 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *, u16 *, u16 *,
144 s32 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *, u16 *, u16 *,
146 s32 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *, u16 *, u16 *, u8 *,
150 s32 ixgbe_dcb_config_82599(struct ixgbe_hw *,
153 s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *, int, u16 *, u16 *, u8 *,
H A Dixgbe_api.c68 void ixgbe_dcb_get_rtrup2tc(struct ixgbe_hw *hw, u8 *map)
80 * other function in the shared code. The ixgbe_hw structure should be
86 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw)
132 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw)
232 s32 ixgbe_init_hw(struct ixgbe_hw *hw)
245 s32 ixgbe_reset_hw(struct ixgbe_hw *hw)
261 s32 ixgbe_start_hw(struct ixgbe_hw *hw)
275 void ixgbe_enable_relaxed_ordering(struct ixgbe_hw *hw)
288 s32 ixgbe_clear_hw_cntrs(struct ixgbe_hw *hw)
300 enum ixgbe_media_type ixgbe_get_media_type(struct ixgbe_hw *h
[all...]
H A Dixgbe_dcb.h144 s32 ixgbe_dcb_calculate_tc_credits_cee(struct ixgbe_hw *,
148 s32 ixgbe_dcb_config_pfc(struct ixgbe_hw *, u8, u8 *);
149 s32 ixgbe_dcb_config_pfc_cee(struct ixgbe_hw *, struct ixgbe_dcb_config *);
152 s32 ixgbe_dcb_config_tc_stats(struct ixgbe_hw *);
153 s32 ixgbe_dcb_get_tc_stats(struct ixgbe_hw *, struct ixgbe_hw_stats *, u8);
154 s32 ixgbe_dcb_get_pfc_stats(struct ixgbe_hw *, struct ixgbe_hw_stats *, u8);
157 s32 ixgbe_dcb_config_tx_desc_arbiter_cee(struct ixgbe_hw *,
159 s32 ixgbe_dcb_config_tx_data_arbiter_cee(struct ixgbe_hw *,
161 s32 ixgbe_dcb_config_rx_arbiter_cee(struct ixgbe_hw *,
174 s32 ixgbe_dcb_hw_config(struct ixgbe_hw *, u1
[all...]
H A Dixgbe_osdep.c38 ixgbe_read_pci_cfg(struct ixgbe_hw *hw, u32 reg)
44 ixgbe_write_pci_cfg(struct ixgbe_hw *hw, u32 reg, u16 value)
50 ixgbe_read_reg(struct ixgbe_hw *hw, u32 reg)
57 ixgbe_write_reg(struct ixgbe_hw *hw, u32 reg, u32 val)
65 ixgbe_read_reg_array(struct ixgbe_hw *hw, u32 reg, u32 offset)
73 ixgbe_write_reg_array(struct ixgbe_hw *hw, u32 reg, u32 offset, u32 val)
H A Dixgbe_mbx.c46 static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id)
78 static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id)
113 static s32 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size,
143 static s32 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size,
171 void ixgbe_init_mbx_ops_generic(struct ixgbe_hw *hw)
186 static u32 ixgbe_read_v2p_mailbox(struct ixgbe_hw *hw)
204 static s32 ixgbe_check_for_bit_vf(struct ixgbe_hw *hw, u32 mask)
224 static s32 ixgbe_check_for_msg_vf(struct ixgbe_hw *hw, u16 mbx_id)
246 static s32 ixgbe_check_for_ack_vf(struct ixgbe_hw *hw, u16 mbx_id)
268 static s32 ixgbe_check_for_rst_vf(struct ixgbe_hw *h
[all...]
H A Dixgbe_mbx.h156 void ixgbe_init_mbx_ops_generic(struct ixgbe_hw *hw);
157 void ixgbe_init_mbx_params_vf(struct ixgbe_hw *);
158 void ixgbe_init_mbx_params_pf(struct ixgbe_hw *);
H A Dixgbe_82598.c49 static s32 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw,
52 static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw);
53 static s32 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw,
55 static s32 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw,
58 static s32 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw,
61 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw,
64 static s32 ixgbe_reset_hw_82598(struct ixgbe_hw *hw);
65 static s32 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq);
66 static s32 ixgbe_clear_vfta_82598(struct ixgbe_hw *hw);
67 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *h
[all...]
H A Dixgbe_phy.c40 static void ixgbe_i2c_start(struct ixgbe_hw *hw);
41 static void ixgbe_i2c_stop(struct ixgbe_hw *hw);
42 static s32 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data);
43 static s32 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data);
44 static s32 ixgbe_get_i2c_ack(struct ixgbe_hw *hw);
45 static s32 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data);
46 static s32 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data);
47 static void ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl);
48 static void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl);
49 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *h
[all...]
H A Dixgbe_type.h3881 struct ixgbe_hw;
3884 typedef u8* (*ixgbe_mc_addr_itr) (struct ixgbe_hw *hw, u8 **mc_addr_ptr,
3889 s32 (*init_params)(struct ixgbe_hw *);
3890 s32 (*read)(struct ixgbe_hw *, u16, u16 *);
3891 s32 (*read_buffer)(struct ixgbe_hw *, u16, u16, u16 *);
3892 s32 (*write)(struct ixgbe_hw *, u16, u16);
3893 s32 (*write_buffer)(struct ixgbe_hw *, u16, u16, u16 *);
3894 s32 (*validate_checksum)(struct ixgbe_hw *, u16 *);
3895 s32 (*update_checksum)(struct ixgbe_hw *);
3896 s32 (*calc_checksum)(struct ixgbe_hw *);
4149 struct ixgbe_hw { struct
[all...]
H A Dixgbe_vf.c55 s32 ixgbe_init_ops_vf(struct ixgbe_hw *hw)
97 static void ixgbe_virt_clr_reg(struct ixgbe_hw *hw)
146 s32 ixgbe_start_hw_vf(struct ixgbe_hw *hw)
161 s32 ixgbe_init_hw_vf(struct ixgbe_hw *hw)
177 s32 ixgbe_reset_hw_vf(struct ixgbe_hw *hw)
246 * Sets the adapter_stopped flag within ixgbe_hw struct. Clears interrupts,
251 s32 ixgbe_stop_adapter_vf(struct ixgbe_hw *hw)
300 static s32 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr)
328 static s32 ixgbevf_write_msg_read_ack(struct ixgbe_hw *hw, u32 *msg,
348 s32 ixgbe_set_rar_vf(struct ixgbe_hw *h
[all...]
H A Dixgbe_dcb_82598.c49 s32 ixgbe_dcb_get_tc_stats_82598(struct ixgbe_hw *hw,
91 s32 ixgbe_dcb_get_pfc_stats_82598(struct ixgbe_hw *hw,
121 s32 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, u16 *refill,
179 s32 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw,
226 s32 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw,
271 s32 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en)
323 s32 ixgbe_dcb_config_tc_stats_82598(struct ixgbe_hw *hw)
359 s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, int link_speed,
H A Dixgbe_common.c42 static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw);
43 static s32 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw);
44 static void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw);
45 static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw);
46 static void ixgbe_standby_eeprom(struct ixgbe_hw *hw);
47 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data,
49 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count);
50 static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec);
51 static void ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec);
52 static void ixgbe_release_eeprom(struct ixgbe_hw *h
[all...]
H A Dixgbe_osdep.h215 /* These routines need struct ixgbe_hw declared */
216 struct ixgbe_hw;
219 extern u16 ixgbe_read_pci_cfg(struct ixgbe_hw *, u32);
222 extern void ixgbe_write_pci_cfg(struct ixgbe_hw *, u32, u16);
227 extern u32 ixgbe_read_reg(struct ixgbe_hw *, u32);
230 extern void ixgbe_write_reg(struct ixgbe_hw *, u32, u32);
233 extern u32 ixgbe_read_reg_array(struct ixgbe_hw *, u32, u32);
237 extern void ixgbe_write_reg_array(struct ixgbe_hw *, u32, u32, u32);
H A Dixgbe_x550.c42 static s32 ixgbe_setup_ixfi_x550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed);
43 static s32 ixgbe_acquire_swfw_sync_X550a(struct ixgbe_hw *, u32 mask);
44 static void ixgbe_release_swfw_sync_X550a(struct ixgbe_hw *, u32 mask);
45 static s32 ixgbe_read_mng_if_sel_x550em(struct ixgbe_hw *hw);
54 s32 ixgbe_init_ops_X550(struct ixgbe_hw *hw)
113 static s32 ixgbe_read_cs4227(struct ixgbe_hw *hw, u16 reg, u16 *value)
126 static s32 ixgbe_write_cs4227(struct ixgbe_hw *hw, u16 reg, u16 value)
139 static s32 ixgbe_read_pe(struct ixgbe_hw *hw, u8 reg, u8 *value)
158 static s32 ixgbe_write_pe(struct ixgbe_hw *hw, u8 reg, u8 value)
176 static s32 ixgbe_reset_cs4227(struct ixgbe_hw *h
[all...]
H A Dixgbe_82599.c49 static s32 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw,
52 static s32 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw);
53 static s32 ixgbe_read_eeprom_82599(struct ixgbe_hw *hw,
55 static s32 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset,
57 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
59 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
62 void ixgbe_init_mac_link_ops_82599(struct ixgbe_hw *hw)
116 s32 ixgbe_init_phy_ops_82599(struct ixgbe_hw *hw)
174 s32 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw)
251 s32 prot_autoc_read_82599(struct ixgbe_hw *h
[all...]
H A Dixgbe_x540.c49 static s32 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw);
50 static s32 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw);
51 static void ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw);
60 s32 ixgbe_init_ops_X540(struct ixgbe_hw *hw)
171 s32 ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw,
186 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw)
198 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw,
213 s32 ixgbe_reset_hw_X540(struct ixgbe_hw *hw)
316 s32 ixgbe_start_hw_X540(struct ixgbe_hw *hw)
338 u64 ixgbe_get_supported_physical_layer_X540(struct ixgbe_hw *h
[all...]

Completed in 213 milliseconds

12