Home
last modified time | relevance | path

Searched refs:iavf_hw (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/dev/iavf/
H A Diavf_prototype.h47 enum iavf_status iavf_init_adminq(struct iavf_hw *hw);
48 enum iavf_status iavf_shutdown_adminq(struct iavf_hw *hw);
49 enum iavf_status iavf_init_asq(struct iavf_hw *hw);
50 enum iavf_status iavf_init_arq(struct iavf_hw *hw);
51 enum iavf_status iavf_alloc_adminq_asq_ring(struct iavf_hw *hw);
52 enum iavf_status iavf_alloc_adminq_arq_ring(struct iavf_hw *hw);
53 enum iavf_status iavf_shutdown_asq(struct iavf_hw *hw);
54 enum iavf_status iavf_shutdown_arq(struct iavf_hw *hw);
55 u16 iavf_clean_asq(struct iavf_hw *hw);
56 void iavf_free_adminq_asq(struct iavf_hw *hw);
[all …]
H A Diavf_osdep.c78 iavf_allocate_virt_mem(struct iavf_hw *hw __unused, struct iavf_virt_mem *mem, in iavf_allocate_virt_mem()
95 iavf_free_virt_mem(struct iavf_hw *hw __unused, struct iavf_virt_mem *mem) in iavf_free_virt_mem()
117 iavf_allocate_dma_mem(struct iavf_hw *hw, struct iavf_dma_mem *mem, in iavf_allocate_dma_mem()
186 iavf_free_dma_mem(struct iavf_hw *hw __unused, struct iavf_dma_mem *mem) in iavf_free_dma_mem()
265 iavf_debug_shared(struct iavf_hw *hw, uint64_t mask, char *fmt, ...) in iavf_debug_shared()
270 if (!(mask & ((struct iavf_hw *)hw)->debug_mask)) in iavf_debug_shared()
293 iavf_read_pci_cfg(struct iavf_hw *hw, u32 reg) in iavf_read_pci_cfg()
313 iavf_write_pci_cfg(struct iavf_hw *hw, u32 reg, u16 value) in iavf_write_pci_cfg()
331 iavf_rd32(struct iavf_hw *hw, uint32_t reg) in iavf_rd32()
352 iavf_wr32(struct iavf_hw *hw, uint32_t reg, uint32_t val) in iavf_wr32()
[all …]
H A Diavf_alloc.h35 struct iavf_hw;
51 enum iavf_status iavf_allocate_dma_mem(struct iavf_hw *hw,
55 enum iavf_status iavf_free_dma_mem(struct iavf_hw *hw,
57 enum iavf_status iavf_allocate_virt_mem(struct iavf_hw *hw,
60 enum iavf_status iavf_free_virt_mem(struct iavf_hw *hw,
H A Diavf_osdep.h226 struct iavf_hw; /* forward decl */
227 u16 iavf_read_pci_cfg(struct iavf_hw *, u32);
228 void iavf_write_pci_cfg(struct iavf_hw *, u32, u16);
234 void iavf_debug_shared(struct iavf_hw *hw, uint64_t mask,
243 uint32_t iavf_rd32(struct iavf_hw *hw, uint32_t reg);
244 void iavf_wr32(struct iavf_hw *hw, uint32_t reg, uint32_t val);
245 void iavf_flush(struct iavf_hw *hw);
H A Diavf_adminq.c44 STATIC void iavf_adminq_init_regs(struct iavf_hw *hw) in iavf_adminq_init_regs()
63 enum iavf_status iavf_alloc_adminq_asq_ring(struct iavf_hw *hw) in iavf_alloc_adminq_asq_ring()
90 enum iavf_status iavf_alloc_adminq_arq_ring(struct iavf_hw *hw) in iavf_alloc_adminq_arq_ring()
110 void iavf_free_adminq_asq(struct iavf_hw *hw) in iavf_free_adminq_asq()
123 void iavf_free_adminq_arq(struct iavf_hw *hw) in iavf_free_adminq_arq()
132 STATIC enum iavf_status iavf_alloc_arq_bufs(struct iavf_hw *hw) in iavf_alloc_arq_bufs()
199 STATIC enum iavf_status iavf_alloc_asq_bufs(struct iavf_hw *hw) in iavf_alloc_asq_bufs()
239 STATIC void iavf_free_arq_bufs(struct iavf_hw *hw) in iavf_free_arq_bufs()
258 STATIC void iavf_free_asq_bufs(struct iavf_hw *hw) in iavf_free_asq_bufs()
283 STATIC enum iavf_status iavf_config_asq_regs(struct iavf_hw *hw) in iavf_config_asq_regs()
[all …]
H A Diavf_lib.c43 static void iavf_init_hw(struct iavf_hw *hw, device_t dev);
96 struct iavf_hw *hw = &sc->hw; in iavf_allocate_pci_resources_common()
136 iavf_init_hw(struct iavf_hw *hw, device_t dev) in iavf_init_hw()
199 iavf_reset_complete(struct iavf_hw *hw) in iavf_reset_complete()
230 struct iavf_hw *hw = &sc->hw; in iavf_setup_vc()
324 struct iavf_hw *hw = &sc->hw; in iavf_reset()
368 iavf_enable_adminq_irq(struct iavf_hw *hw) in iavf_enable_adminq_irq()
386 iavf_disable_adminq_irq(struct iavf_hw *hw) in iavf_disable_adminq_irq()
405 struct iavf_hw *hw = &sc->hw; in iavf_vf_config()
537 struct iavf_hw *hw = &sc->hw; in iavf_set_mac_addresses()
[all …]
H A Diavf_common.c44 enum iavf_status iavf_set_mac_type(struct iavf_hw *hw) in iavf_set_mac_type()
78 const char *iavf_aq_str(struct iavf_hw *hw, enum iavf_admin_queue_err aq_err) in iavf_aq_str()
138 const char *iavf_stat_str(struct iavf_hw *hw, enum iavf_status stat_err) in iavf_stat_str()
291 void iavf_debug_aq(struct iavf_hw *hw, enum iavf_debug_mask mask, void *desc, in iavf_debug_aq()
357 bool iavf_check_asq_alive(struct iavf_hw *hw) in iavf_check_asq_alive()
374 enum iavf_status iavf_aq_queue_shutdown(struct iavf_hw *hw, in iavf_aq_queue_shutdown()
403 STATIC enum iavf_status iavf_aq_get_set_rss_lut(struct iavf_hw *hw, in iavf_aq_get_set_rss_lut()
456 enum iavf_status iavf_aq_get_rss_lut(struct iavf_hw *hw, u16 vsi_id, in iavf_aq_get_rss_lut()
473 enum iavf_status iavf_aq_set_rss_lut(struct iavf_hw *hw, u16 vsi_id, in iavf_aq_set_rss_lut()
488 STATIC enum iavf_status iavf_aq_get_set_rss_key(struct iavf_hw *hw, in iavf_aq_get_set_rss_key()
[all …]
H A Dif_iavf_iflib.c83 static void iavf_enable_queue_irq(struct iavf_hw *, int);
84 static void iavf_disable_queue_irq(struct iavf_hw *, int);
258 struct iavf_hw *hw; in iavf_if_attach_pre()
467 struct iavf_hw *hw; in iavf_if_attach_post()
518 struct iavf_hw *hw = &sc->hw; in iavf_if_detach()
721 struct iavf_hw *hw = &sc->hw; in iavf_if_init()
921 struct iavf_hw *hw = vsi->hw; in iavf_if_rx_queue_intr_enable()
942 struct iavf_hw *hw = vsi->hw; in iavf_if_tx_queue_intr_enable()
1128 struct iavf_hw *hw = &sc->hw; in iavf_check_aq_errors()
1197 struct iavf_hw *hw = &sc->hw; in iavf_process_adminq()
[all …]
H A Diavf_iflib.h240 struct iavf_hw *hw;
334 struct iavf_hw hw;
389 const char * iavf_vc_stat_str(struct iavf_hw *hw,
H A Diavf_lib.h436 int iavf_reset_complete(struct iavf_hw *hw);
439 void iavf_enable_adminq_irq(struct iavf_hw *hw);
440 void iavf_disable_adminq_irq(struct iavf_hw *hw);
H A Diavf_vc_common.c62 struct iavf_hw *hw = &sc->hw; in iavf_send_pf_msg()
132 struct iavf_hw *hw = &sc->hw; in iavf_verify_api_ver()
239 struct iavf_hw *hw = &sc->hw; in iavf_get_vf_config()
741 struct iavf_hw *hw = &sc->hw; in iavf_set_rss_hena()
918 iavf_vc_stat_str(struct iavf_hw *hw, enum virtchnl_status_code stat_err) in iavf_vc_stat_str()
H A Diavf_vc_common.h65 const char * iavf_vc_stat_str(struct iavf_hw *hw,
H A Diavf_type.h70 struct iavf_hw;
71 typedef void (*IAVF_ADMINQ_CALLBACK)(struct iavf_hw *, struct iavf_aq_desc *);
344 struct iavf_hw { struct