Searched refs:i40e_hw (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-13-stable/sys/dev/ixl/
H A Di40e_prototype.h50 enum i40e_status_code i40e_init_adminq(struct i40e_hw *hw);
51 enum i40e_status_code i40e_shutdown_adminq(struct i40e_hw *hw);
52 enum i40e_status_code i40e_init_asq(struct i40e_hw *hw);
53 enum i40e_status_code i40e_init_arq(struct i40e_hw *hw);
54 enum i40e_status_code i40e_alloc_adminq_asq_ring(struct i40e_hw *hw);
55 enum i40e_status_code i40e_alloc_adminq_arq_ring(struct i40e_hw *hw);
56 enum i40e_status_code i40e_shutdown_asq(struct i40e_hw *hw);
57 enum i40e_status_code i40e_shutdown_arq(struct i40e_hw *hw);
58 u16 i40e_clean_asq(struct i40e_hw *hw);
59 void i40e_free_adminq_asq(struct i40e_hw *h
[all...]
H A Di40e_alloc.h38 struct i40e_hw;
54 enum i40e_status_code i40e_allocate_dma_mem(struct i40e_hw *hw,
58 enum i40e_status_code i40e_free_dma_mem(struct i40e_hw *hw,
60 enum i40e_status_code i40e_allocate_virt_mem(struct i40e_hw *hw,
63 enum i40e_status_code i40e_free_virt_mem(struct i40e_hw *hw,
H A Di40e_lan_hmc.h39 struct i40e_hw;
171 enum i40e_status_code i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num,
174 enum i40e_status_code i40e_configure_lan_hmc(struct i40e_hw *hw,
176 enum i40e_status_code i40e_shutdown_lan_hmc(struct i40e_hw *hw);
180 enum i40e_status_code i40e_get_lan_tx_queue_context(struct i40e_hw *hw,
183 enum i40e_status_code i40e_clear_lan_tx_queue_context(struct i40e_hw *hw,
185 enum i40e_status_code i40e_set_lan_tx_queue_context(struct i40e_hw *hw,
188 enum i40e_status_code i40e_get_lan_rx_queue_context(struct i40e_hw *hw,
191 enum i40e_status_code i40e_clear_lan_rx_queue_context(struct i40e_hw *hw,
193 enum i40e_status_code i40e_set_lan_rx_queue_context(struct i40e_hw *h
[all...]
H A Di40e_osdep.c52 i40e_allocate_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem, u32 size)
59 i40e_free_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem)
68 i40e_allocate_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem,
128 i40e_free_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem)
179 i40e_debug_shared(struct i40e_hw *hw, enum i40e_debug_mask mask, char *fmt, ...)
184 if (!(mask & ((struct i40e_hw *)hw)->debug_mask))
248 i40e_read_pci_cfg(struct i40e_hw *hw, u32 reg)
259 i40e_write_pci_cfg(struct i40e_hw *hw, u32 reg, u16 value)
H A Di40e_dcb.h222 enum i40e_status_code i40e_get_dcbx_status(struct i40e_hw *hw,
226 enum i40e_status_code i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type,
229 enum i40e_status_code i40e_get_dcb_config(struct i40e_hw *hw);
230 enum i40e_status_code i40e_init_dcb(struct i40e_hw *hw,
233 i40e_get_fw_lldp_status(struct i40e_hw *hw,
235 enum i40e_status_code i40e_set_dcb_config(struct i40e_hw *hw);
H A Di40e_hmc.h41 struct i40e_hw;
222 enum i40e_status_code i40e_add_sd_table_entry(struct i40e_hw *hw,
228 enum i40e_status_code i40e_add_pd_table_entry(struct i40e_hw *hw,
232 enum i40e_status_code i40e_remove_pd_bp(struct i40e_hw *hw,
237 enum i40e_status_code i40e_remove_sd_bp_new(struct i40e_hw *hw,
242 enum i40e_status_code i40e_remove_pd_page_new(struct i40e_hw *hw,
H A Di40e_nvm.c47 enum i40e_status_code i40e_init_nvm(struct i40e_hw *hw)
88 enum i40e_status_code i40e_acquire_nvm(struct i40e_hw *hw,
147 void i40e_release_nvm(struct i40e_hw *hw)
177 static enum i40e_status_code i40e_poll_sr_srctl_done_bit(struct i40e_hw *hw)
206 enum i40e_status_code i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset,
259 static enum i40e_status_code i40e_read_nvm_aq(struct i40e_hw *hw,
309 static enum i40e_status_code i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset,
333 enum i40e_status_code __i40e_read_nvm_word(struct i40e_hw *hw,
352 enum i40e_status_code i40e_read_nvm_word(struct i40e_hw *hw, u16 offset,
379 i40e_read_nvm_module_data(struct i40e_hw *h
[all...]
H A Dixl_pf_i2c.c65 static s32 ixl_wait_for_i2c_completion(struct i40e_hw *hw, u8 portnum);
77 struct i40e_hw *hw = &pf->hw;
114 struct i40e_hw *hw = &pf->hw;
165 struct i40e_hw *hw = &pf->hw;
200 struct i40e_hw *hw = &pf->hw;
251 struct i40e_hw *hw = &pf->hw;
286 struct i40e_hw *hw = &pf->hw;
322 struct i40e_hw *hw = &pf->hw;
344 struct i40e_hw *hw = &pf->hw;
395 struct i40e_hw *h
[all...]
H A Dixl_pf.h116 struct i40e_hw hw;
310 void ixl_enable_queue(struct i40e_hw *, int);
311 void ixl_disable_queue(struct i40e_hw *, int);
312 void ixl_enable_intr0(struct i40e_hw *);
313 void ixl_disable_intr0(struct i40e_hw *);
314 void ixl_nvm_version_str(struct i40e_hw *hw, struct sbuf *buf);
315 void ixl_stat_update48(struct i40e_hw *, u32, u32, bool,
317 void ixl_stat_update32(struct i40e_hw *, u32, bool,
H A Di40e_common.c48 enum i40e_status_code i40e_set_mac_type(struct i40e_hw *hw)
111 const char *i40e_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err)
171 const char *i40e_stat_str(struct i40e_hw *hw, enum i40e_status_code stat_err)
324 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc,
395 bool i40e_check_asq_alive(struct i40e_hw *hw)
416 enum i40e_status_code i40e_aq_queue_shutdown(struct i40e_hw *hw,
445 static enum i40e_status_code i40e_aq_get_set_rss_lut(struct i40e_hw *hw,
498 enum i40e_status_code i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id,
515 enum i40e_status_code i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id,
530 static enum i40e_status_code i40e_aq_get_set_rss_key(struct i40e_hw *h
[all...]
H A Di40e_adminq.c47 static void i40e_adminq_init_regs(struct i40e_hw *hw)
79 enum i40e_status_code i40e_alloc_adminq_asq_ring(struct i40e_hw *hw)
106 enum i40e_status_code i40e_alloc_adminq_arq_ring(struct i40e_hw *hw)
126 void i40e_free_adminq_asq(struct i40e_hw *hw)
139 void i40e_free_adminq_arq(struct i40e_hw *hw)
148 static enum i40e_status_code i40e_alloc_arq_bufs(struct i40e_hw *hw)
215 static enum i40e_status_code i40e_alloc_asq_bufs(struct i40e_hw *hw)
255 static void i40e_free_arq_bufs(struct i40e_hw *hw)
274 static void i40e_free_asq_bufs(struct i40e_hw *hw)
299 static enum i40e_status_code i40e_config_asq_regs(struct i40e_hw *h
[all...]
H A Di40e_hmc.c50 enum i40e_status_code i40e_add_sd_table_entry(struct i40e_hw *hw,
143 enum i40e_status_code i40e_add_pd_table_entry(struct i40e_hw *hw,
224 enum i40e_status_code i40e_remove_pd_bp(struct i40e_hw *hw,
308 enum i40e_status_code i40e_remove_sd_bp_new(struct i40e_hw *hw,
357 enum i40e_status_code i40e_remove_pd_page_new(struct i40e_hw *hw,
H A Di40e_osdep.h174 struct i40e_hw; /* forward decl */
175 u16 i40e_read_pci_cfg(struct i40e_hw *, u32);
176 void i40e_write_pci_cfg(struct i40e_hw *, u32, u16);
183 extern void i40e_debug_shared(struct i40e_hw *hw, enum i40e_debug_mask mask,
242 enum i40e_status_code i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset,
H A Dixl_pf_iflib.c40 struct i40e_hw *hw = &pf->hw;
59 struct i40e_hw *hw = &pf->hw;
79 struct i40e_hw *hw = &pf->hw;
137 struct i40e_hw *hw = &pf->hw;
245 struct i40e_hw *hw = &pf->hw;
283 struct i40e_hw *hw = &pf->hw;
354 struct i40e_hw *hw = &pf->hw;
404 struct i40e_hw *hw = &pf->hw;
441 struct i40e_hw *hw = vsi->hw;
622 struct i40e_hw *h
[all...]
H A Dixl_pf_iov.c38 static void ixl_vf_map_vsi_queue(struct i40e_hw *hw, struct ixl_vf *vf, int qnum, uint32_t val);
39 static void ixl_vf_disable_queue_intr(struct i40e_hw *hw, uint32_t vfint_reg);
40 static void ixl_vf_unregister_intr(struct i40e_hw *hw, uint32_t vpint_reg);
93 struct i40e_hw *hw = &pf->hw;
128 struct i40e_hw *hw;
200 struct i40e_hw *hw;
224 ixl_vf_map_vsi_queue(struct i40e_hw *hw, struct ixl_vf *vf, int qnum,
247 struct i40e_hw *hw;
294 struct i40e_hw *hw;
305 ixl_vf_disable_queue_intr(struct i40e_hw *h
[all...]
H A Dixl_pf_main.c125 ixl_nvm_version_str(struct i40e_hw *hw, struct sbuf *buf)
146 struct i40e_hw *hw = &pf->hw;
170 struct i40e_hw *hw = &pf->hw;
206 struct i40e_hw *hw = &pf->hw;
251 struct i40e_hw *hw = &pf->hw;
282 struct i40e_hw *hw = &pf->hw;
315 struct i40e_hw *hw = &pf->hw;
432 struct i40e_hw *hw = &pf->hw;
534 struct i40e_hw *hw = vsi->hw;
599 struct i40e_hw *h
[all...]
H A Dif_iavf.c98 static int iavf_reset_complete(struct i40e_hw *);
107 static void iavf_enable_adminq_irq(struct i40e_hw *);
108 static void iavf_disable_adminq_irq(struct i40e_hw *);
109 static void iavf_enable_queue_irq(struct i40e_hw *, int);
110 static void iavf_disable_queue_irq(struct i40e_hw *, int);
285 struct i40e_hw *hw = &sc->hw;
331 struct i40e_hw *hw;
489 struct i40e_hw *hw;
534 struct i40e_hw *hw = &sc->hw;
638 struct i40e_hw *h
[all...]
H A Di40e_lan_hmc.c107 enum i40e_status_code i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num,
267 static enum i40e_status_code i40e_remove_pd_page(struct i40e_hw *hw,
294 static enum i40e_status_code i40e_remove_sd_bp(struct i40e_hw *hw,
314 enum i40e_status_code i40e_create_lan_hmc_object(struct i40e_hw *hw,
473 enum i40e_status_code i40e_configure_lan_hmc(struct i40e_hw *hw,
558 enum i40e_status_code i40e_delete_lan_hmc_object(struct i40e_hw *hw,
670 enum i40e_status_code i40e_shutdown_lan_hmc(struct i40e_hw *hw)
1175 static enum i40e_status_code i40e_clear_hmc_context(struct i40e_hw *hw,
1234 enum i40e_status_code i40e_hmc_get_object_va(struct i40e_hw *hw,
1300 enum i40e_status_code i40e_get_lan_tx_queue_context(struct i40e_hw *h
[all...]
H A Dif_ixl.c365 struct i40e_hw *hw = &pf->hw;
409 struct i40e_hw *hw = &pf->hw;
458 struct i40e_hw *hw = &pf->hw;
480 struct i40e_hw *hw;
668 struct i40e_hw *hw;
828 struct i40e_hw *hw = &pf->hw;
922 struct i40e_hw *hw = &pf->hw;
1118 struct i40e_hw *hw = vsi->hw;
1138 struct i40e_hw *hw = vsi->hw;
1156 struct i40e_hw *h
[all...]
H A Di40e_dcb.c46 enum i40e_status_code i40e_get_dcbx_status(struct i40e_hw *hw, u16 *status)
584 enum i40e_status_code i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type,
800 static enum i40e_status_code i40e_get_ieee_dcb_config(struct i40e_hw *hw)
830 enum i40e_status_code i40e_get_dcb_config(struct i40e_hw *hw)
900 enum i40e_status_code i40e_init_dcb(struct i40e_hw *hw, bool enable_mib_change)
974 i40e_get_fw_lldp_status(struct i40e_hw *hw,
1271 enum i40e_status_code i40e_set_dcb_config(struct i40e_hw *hw)
1346 static enum i40e_status_code _i40e_read_lldp_cfg(struct i40e_hw *hw,
1408 enum i40e_status_code i40e_read_lldp_cfg(struct i40e_hw *hw,
H A Diavf.h122 struct i40e_hw hw;
H A Dixl.h427 struct i40e_hw *hw;
538 const char * i40e_vc_stat_str(struct i40e_hw *hw,
H A Dixl_iw.c54 struct i40e_hw *hw = &pf->hw;
328 struct i40e_hw *hw = &pf->hw;
H A Diavf_vc.c57 struct i40e_hw *hw = &sc->hw;
121 struct i40e_hw *hw = &sc->hw;
219 struct i40e_hw *hw = &sc->hw;
786 struct i40e_hw *hw = &sc->hw;
H A Di40e_type.h84 struct i40e_hw;
85 typedef void (*I40E_ADMINQ_CALLBACK)(struct i40e_hw *, struct i40e_aq_desc *);
689 struct i40e_hw { struct
778 static INLINE bool i40e_is_vf(struct i40e_hw *hw)

Completed in 217 milliseconds

12