Home
last modified time | relevance | path

Searched refs:i40e_hw (Results 1 – 23 of 23) sorted by relevance

/freebsd/sys/dev/ixl/
H A Di40e_prototype.h49 enum i40e_status_code i40e_init_adminq(struct i40e_hw *hw);
50 enum i40e_status_code i40e_shutdown_adminq(struct i40e_hw *hw);
51 enum i40e_status_code i40e_init_asq(struct i40e_hw *hw);
52 enum i40e_status_code i40e_init_arq(struct i40e_hw *hw);
53 enum i40e_status_code i40e_alloc_adminq_asq_ring(struct i40e_hw *hw);
54 enum i40e_status_code i40e_alloc_adminq_arq_ring(struct i40e_hw *hw);
55 enum i40e_status_code i40e_shutdown_asq(struct i40e_hw *hw);
56 enum i40e_status_code i40e_shutdown_arq(struct i40e_hw *hw);
57 u16 i40e_clean_asq(struct i40e_hw *hw);
58 void i40e_free_adminq_asq(struct i40e_hw *hw);
[all …]
H A Di40e_lan_hmc.h38 struct i40e_hw;
170 enum i40e_status_code i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num,
173 enum i40e_status_code i40e_configure_lan_hmc(struct i40e_hw *hw,
175 enum i40e_status_code i40e_shutdown_lan_hmc(struct i40e_hw *hw);
179 enum i40e_status_code i40e_get_lan_tx_queue_context(struct i40e_hw *hw,
182 enum i40e_status_code i40e_clear_lan_tx_queue_context(struct i40e_hw *hw,
184 enum i40e_status_code i40e_set_lan_tx_queue_context(struct i40e_hw *hw,
187 enum i40e_status_code i40e_get_lan_rx_queue_context(struct i40e_hw *hw,
190 enum i40e_status_code i40e_clear_lan_rx_queue_context(struct i40e_hw *hw,
192 enum i40e_status_code i40e_set_lan_rx_queue_context(struct i40e_hw *hw,
[all …]
H A Di40e_nvm.c46 enum i40e_status_code i40e_init_nvm(struct i40e_hw *hw) in i40e_init_nvm()
87 enum i40e_status_code i40e_acquire_nvm(struct i40e_hw *hw, in i40e_acquire_nvm()
148 void i40e_release_nvm(struct i40e_hw *hw) in i40e_release_nvm()
178 static enum i40e_status_code i40e_poll_sr_srctl_done_bit(struct i40e_hw *hw) in i40e_poll_sr_srctl_done_bit()
207 enum i40e_status_code i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word_srctl()
260 static enum i40e_status_code i40e_read_nvm_aq(struct i40e_hw *hw, in i40e_read_nvm_aq()
310 static enum i40e_status_code i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word_aq()
334 enum i40e_status_code __i40e_read_nvm_word(struct i40e_hw *hw, in __i40e_read_nvm_word()
353 enum i40e_status_code i40e_read_nvm_word(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word()
380 i40e_read_nvm_module_data(struct i40e_hw *hw, u8 module_ptr, u16 module_offset, in i40e_read_nvm_module_data()
[all …]
H A Di40e_alloc.h37 struct i40e_hw;
53 enum i40e_status_code i40e_allocate_dma_mem(struct i40e_hw *hw,
57 enum i40e_status_code i40e_free_dma_mem(struct i40e_hw *hw,
59 enum i40e_status_code i40e_allocate_virt_mem(struct i40e_hw *hw,
62 enum i40e_status_code i40e_free_virt_mem(struct i40e_hw *hw,
H A Di40e_common.c47 enum i40e_status_code i40e_set_mac_type(struct i40e_hw *hw) in i40e_set_mac_type()
111 const char *i40e_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err) in i40e_aq_str()
171 const char *i40e_stat_str(struct i40e_hw *hw, enum i40e_status_code stat_err) in i40e_stat_str()
324 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc, in i40e_debug_aq()
395 bool i40e_check_asq_alive(struct i40e_hw *hw) in i40e_check_asq_alive()
416 enum i40e_status_code i40e_aq_queue_shutdown(struct i40e_hw *hw, in i40e_aq_queue_shutdown()
445 static enum i40e_status_code i40e_aq_get_set_rss_lut(struct i40e_hw *hw, in i40e_aq_get_set_rss_lut()
498 enum i40e_status_code i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_get_rss_lut()
515 enum i40e_status_code i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_set_rss_lut()
530 static enum i40e_status_code i40e_aq_get_set_rss_key(struct i40e_hw *hw, in i40e_aq_get_set_rss_key()
[all …]
H A Di40e_osdep.c51 i40e_allocate_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem, u32 size) in i40e_allocate_virt_mem()
58 i40e_free_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem) in i40e_free_virt_mem()
67 i40e_allocate_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem, in i40e_allocate_dma_mem()
126 i40e_free_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem) in i40e_free_dma_mem()
177 i40e_debug_shared(struct i40e_hw *hw, enum i40e_debug_mask mask, char *fmt, ...) in i40e_debug_shared()
182 if (!(mask & ((struct i40e_hw *)hw)->debug_mask)) in i40e_debug_shared()
246 i40e_read_pci_cfg(struct i40e_hw *hw, u32 reg) in i40e_read_pci_cfg()
257 i40e_write_pci_cfg(struct i40e_hw *hw, u32 reg, u16 value) in i40e_write_pci_cfg()
H A Dixl_pf_i2c.c64 static s32 ixl_wait_for_i2c_completion(struct i40e_hw *hw, u8 portnum);
76 struct i40e_hw *hw = &pf->hw; in ixl_i2c_bus_clear()
113 struct i40e_hw *hw = &pf->hw; in ixl_i2c_stop()
164 struct i40e_hw *hw = &pf->hw; in ixl_clock_in_i2c_bit()
199 struct i40e_hw *hw = &pf->hw; in ixl_get_i2c_ack()
250 struct i40e_hw *hw = &pf->hw; in ixl_clock_out_i2c_bit()
285 struct i40e_hw *hw = &pf->hw; in ixl_clock_out_i2c_byte()
321 struct i40e_hw *hw = &pf->hw; in ixl_lower_i2c_clk()
343 struct i40e_hw *hw = &pf->hw; in ixl_raise_i2c_clk()
394 struct i40e_hw *hw = &pf->hw; in ixl_set_i2c_data()
[all …]
H A Di40e_dcb.h221 enum i40e_status_code i40e_get_dcbx_status(struct i40e_hw *hw,
225 enum i40e_status_code i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type,
228 enum i40e_status_code i40e_get_dcb_config(struct i40e_hw *hw);
229 enum i40e_status_code i40e_init_dcb(struct i40e_hw *hw,
232 i40e_get_fw_lldp_status(struct i40e_hw *hw,
234 enum i40e_status_code i40e_set_dcb_config(struct i40e_hw *hw);
H A Di40e_adminq.c46 static void i40e_adminq_init_regs(struct i40e_hw *hw) in i40e_adminq_init_regs()
78 enum i40e_status_code i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_asq_ring()
105 enum i40e_status_code i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_arq_ring()
125 void i40e_free_adminq_asq(struct i40e_hw *hw) in i40e_free_adminq_asq()
138 void i40e_free_adminq_arq(struct i40e_hw *hw) in i40e_free_adminq_arq()
147 static enum i40e_status_code i40e_alloc_arq_bufs(struct i40e_hw *hw) in i40e_alloc_arq_bufs()
214 static enum i40e_status_code i40e_alloc_asq_bufs(struct i40e_hw *hw) in i40e_alloc_asq_bufs()
254 static void i40e_free_arq_bufs(struct i40e_hw *hw) in i40e_free_arq_bufs()
273 static void i40e_free_asq_bufs(struct i40e_hw *hw) in i40e_free_asq_bufs()
298 static enum i40e_status_code i40e_config_asq_regs(struct i40e_hw *hw) in i40e_config_asq_regs()
[all …]
H A Dixl_pf.h116 struct i40e_hw hw;
316 void ixl_enable_queue(struct i40e_hw *, int);
317 void ixl_disable_queue(struct i40e_hw *, int);
318 void ixl_enable_intr0(struct i40e_hw *);
319 void ixl_disable_intr0(struct i40e_hw *);
320 void ixl_nvm_version_str(struct i40e_hw *hw, struct sbuf *buf);
321 void ixl_stat_update64(struct i40e_hw *, u32, bool,
323 void ixl_stat_update48(struct i40e_hw *, u32, bool,
325 void ixl_stat_update32(struct i40e_hw *, u32, bool,
H A Di40e_hmc.h40 struct i40e_hw;
221 enum i40e_status_code i40e_add_sd_table_entry(struct i40e_hw *hw,
227 enum i40e_status_code i40e_add_pd_table_entry(struct i40e_hw *hw,
231 enum i40e_status_code i40e_remove_pd_bp(struct i40e_hw *hw,
236 enum i40e_status_code i40e_remove_sd_bp_new(struct i40e_hw *hw,
241 enum i40e_status_code i40e_remove_pd_page_new(struct i40e_hw *hw,
H A Dixl_pf_iflib.c39 struct i40e_hw *hw = &pf->hw; in ixl_configure_tx_itr()
58 struct i40e_hw *hw = &pf->hw; in ixl_configure_rx_itr()
78 struct i40e_hw *hw = &pf->hw; in ixl_intr()
136 struct i40e_hw *hw = &pf->hw; in ixl_msix_adminq()
244 struct i40e_hw *hw = &pf->hw; in ixl_configure_queue_intr_msix()
282 struct i40e_hw *hw = &pf->hw; in ixl_configure_legacy()
353 struct i40e_hw *hw = &pf->hw; in ixl_setup_interface()
403 struct i40e_hw *hw = &pf->hw; in ixl_link_event()
443 struct i40e_hw *hw = vsi->hw; in ixl_initialize_vsi()
624 struct i40e_hw *hw = vsi->hw; in ixl_set_queue_rx_itr()
[all …]
H A Dixl_pf_iov.c37 static void ixl_vf_map_vsi_queue(struct i40e_hw *hw, struct ixl_vf *vf, int qnum, uint32_t val);
38 static void ixl_vf_disable_queue_intr(struct i40e_hw *hw, uint32_t vfint_reg);
39 static void ixl_vf_unregister_intr(struct i40e_hw *hw, uint32_t vpint_reg);
92 struct i40e_hw *hw = &pf->hw; in ixl_initialize_sriov()
127 struct i40e_hw *hw; in ixl_vf_alloc_vsi()
197 struct i40e_hw *hw; in ixl_vf_setup_vsi()
221 ixl_vf_map_vsi_queue(struct i40e_hw *hw, struct ixl_vf *vf, int qnum, in ixl_vf_map_vsi_queue()
244 struct i40e_hw *hw; in ixl_vf_map_queues()
291 struct i40e_hw *hw; in ixl_vf_vsi_release()
302 ixl_vf_disable_queue_intr(struct i40e_hw *hw, uint32_t vfint_reg) in ixl_vf_disable_queue_intr()
[all …]
H A Dixl_pf_main.c191 ixl_nvm_version_str(struct i40e_hw *hw, struct sbuf *buf) in ixl_nvm_version_str()
212 struct i40e_hw *hw = &pf->hw; in ixl_print_nvm_version()
236 struct i40e_hw *hw = &pf->hw; in ixl_get_fw_mode()
272 struct i40e_hw *hw = &pf->hw; in ixl_pf_reset()
317 struct i40e_hw *hw = &pf->hw; in ixl_setup_hmc()
348 struct i40e_hw *hw = &pf->hw; in ixl_shutdown_hmc()
381 struct i40e_hw *hw = &pf->hw; in ixl_get_hw_capabilities()
498 struct i40e_hw *hw = &pf->hw; in ixl_teardown_hw_structs()
600 struct i40e_hw *hw = vsi->hw; in ixl_add_multi()
665 struct i40e_hw *hw = &pf->hw; in ixl_link_up_msg()
[all …]
H A Di40e_osdep.h170 struct i40e_hw; /* forward decl */
171 u16 i40e_read_pci_cfg(struct i40e_hw *, u32);
172 void i40e_write_pci_cfg(struct i40e_hw *, u32, u16);
179 extern void i40e_debug_shared(struct i40e_hw *hw, enum i40e_debug_mask mask,
238 enum i40e_status_code i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset,
H A Di40e_lan_hmc.c106 enum i40e_status_code i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num, in i40e_init_lan_hmc()
266 static enum i40e_status_code i40e_remove_pd_page(struct i40e_hw *hw, in i40e_remove_pd_page()
293 static enum i40e_status_code i40e_remove_sd_bp(struct i40e_hw *hw, in i40e_remove_sd_bp()
313 enum i40e_status_code i40e_create_lan_hmc_object(struct i40e_hw *hw, in i40e_create_lan_hmc_object()
472 enum i40e_status_code i40e_configure_lan_hmc(struct i40e_hw *hw, in i40e_configure_lan_hmc()
557 enum i40e_status_code i40e_delete_lan_hmc_object(struct i40e_hw *hw, in i40e_delete_lan_hmc_object()
669 enum i40e_status_code i40e_shutdown_lan_hmc(struct i40e_hw *hw) in i40e_shutdown_lan_hmc()
1174 static enum i40e_status_code i40e_clear_hmc_context(struct i40e_hw *hw, in i40e_clear_hmc_context()
1233 enum i40e_status_code i40e_hmc_get_object_va(struct i40e_hw *hw, in i40e_hmc_get_object_va()
1299 enum i40e_status_code i40e_get_lan_tx_queue_context(struct i40e_hw *hw, in i40e_get_lan_tx_queue_context()
[all …]
H A Di40e_hmc.c49 enum i40e_status_code i40e_add_sd_table_entry(struct i40e_hw *hw, in i40e_add_sd_table_entry()
142 enum i40e_status_code i40e_add_pd_table_entry(struct i40e_hw *hw, in i40e_add_pd_table_entry()
223 enum i40e_status_code i40e_remove_pd_bp(struct i40e_hw *hw, in i40e_remove_pd_bp()
307 enum i40e_status_code i40e_remove_sd_bp_new(struct i40e_hw *hw, in i40e_remove_sd_bp_new()
356 enum i40e_status_code i40e_remove_pd_page_new(struct i40e_hw *hw, in i40e_remove_pd_page_new()
H A Dif_ixl.c364 struct i40e_hw *hw = &pf->hw; in ixl_allocate_pci_resources()
408 struct i40e_hw *hw = &pf->hw; in ixl_setup_ssctx()
447 struct i40e_hw *hw = &pf->hw; in ixl_admin_timer()
480 struct i40e_hw *hw = &pf->hw; in ixl_attach_pre_recovery_mode()
502 struct i40e_hw *hw; in ixl_if_attach_pre()
690 struct i40e_hw *hw; in ixl_if_attach_post()
861 struct i40e_hw *hw = &pf->hw; in ixl_if_detach()
955 struct i40e_hw *hw = &pf->hw; in ixl_if_init()
1153 struct i40e_hw *hw = vsi->hw; in ixl_if_enable_intr()
1173 struct i40e_hw *hw = vsi->hw; in ixl_if_disable_intr()
[all …]
H A Di40e_dcb.c45 enum i40e_status_code i40e_get_dcbx_status(struct i40e_hw *hw, u16 *status) in i40e_get_dcbx_status()
589 enum i40e_status_code i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type, in i40e_aq_get_dcb_config()
805 static enum i40e_status_code i40e_get_ieee_dcb_config(struct i40e_hw *hw) in i40e_get_ieee_dcb_config()
835 enum i40e_status_code i40e_get_dcb_config(struct i40e_hw *hw) in i40e_get_dcb_config()
905 enum i40e_status_code i40e_init_dcb(struct i40e_hw *hw, bool enable_mib_change) in i40e_init_dcb()
979 i40e_get_fw_lldp_status(struct i40e_hw *hw, in i40e_get_fw_lldp_status()
1276 enum i40e_status_code i40e_set_dcb_config(struct i40e_hw *hw) in i40e_set_dcb_config()
1351 static enum i40e_status_code _i40e_read_lldp_cfg(struct i40e_hw *hw, in _i40e_read_lldp_cfg()
1413 enum i40e_status_code i40e_read_lldp_cfg(struct i40e_hw *hw, in i40e_read_lldp_cfg()
H A Dixl.h410 struct i40e_hw *hw;
521 const char * i40e_vc_stat_str(struct i40e_hw *hw,
H A Dixl_iw.c53 struct i40e_hw *hw = &pf->hw; in ixl_iw_pf_msix_reset()
327 struct i40e_hw *hw = &pf->hw; in ixl_iw_pf_msix_init()
H A Di40e_type.h83 struct i40e_hw;
84 typedef void (*I40E_ADMINQ_CALLBACK)(struct i40e_hw *, struct i40e_aq_desc *);
685 struct i40e_hw { struct
774 static INLINE bool i40e_is_vf(struct i40e_hw *hw) in i40e_is_vf() argument
H A Dixl_txrx.c112 i40e_vc_stat_str(struct i40e_hw *hw, enum virtchnl_status_code stat_err) in i40e_vc_stat_str()