Home
last modified time | relevance | path

Searched refs:ecore_dev (Results 1 – 25 of 26) sorted by relevance

12

/dpdk/drivers/net/qede/
H A Dqede_if.h13 struct ecore_dev;
83 int (*fill_dev_info)(struct ecore_dev *edev,
85 void (*sriov_configure)(struct ecore_dev *edev, int num_vfs);
140 int (*probe)(struct ecore_dev *edev,
143 void (*set_name)(struct ecore_dev *edev, char name[]);
145 (*chain_alloc)(struct ecore_dev *edev,
155 void (*chain_free)(struct ecore_dev *edev,
158 void (*get_link)(struct ecore_dev *edev,
160 int (*set_link)(struct ecore_dev *edev,
163 int (*drain)(struct ecore_dev *edev);
[all …]
H A Dqede_debug.h11 struct ecore_dev;
14 int qed_dbg_grc(struct ecore_dev *edev, void *buffer, u32 *num_dumped_bytes);
15 int qed_dbg_grc_size(struct ecore_dev *edev);
16 int qed_dbg_idle_chk(struct ecore_dev *edev, void *buffer,
18 int qed_dbg_idle_chk_size(struct ecore_dev *edev);
19 int qed_dbg_reg_fifo(struct ecore_dev *edev, void *buffer,
21 int qed_dbg_reg_fifo_size(struct ecore_dev *edev);
22 int qed_dbg_igu_fifo(struct ecore_dev *edev, void *buffer,
24 int qed_dbg_igu_fifo_size(struct ecore_dev *edev);
25 int qed_dbg_protection_override(struct ecore_dev *edev, void *buffer,
[all …]
H A Dqede_main.c28 qed_update_pf_params(struct ecore_dev *edev, struct ecore_pf_params *params) in qed_update_pf_params()
38 static void qed_init_pci(struct ecore_dev *edev, struct rte_pci_device *pci_dev) in qed_init_pci()
47 qed_probe(struct ecore_dev *edev, struct rte_pci_device *pci_dev, in qed_probe()
90 static int qed_nic_setup(struct ecore_dev *edev) in qed_nic_setup()
105 static int qed_alloc_stream_mem(struct ecore_dev *edev) in qed_alloc_stream_mem()
121 static void qed_free_stream_mem(struct ecore_dev *edev) in qed_free_stream_mem()
137 static int qed_load_firmware_data(struct ecore_dev *edev) in qed_load_firmware_data()
202 static void qed_start_iov_task(struct ecore_dev *edev) in qed_start_iov_task()
215 static void qed_stop_iov_task(struct ecore_dev *edev) in qed_stop_iov_task()
228 static int qed_slowpath_start(struct ecore_dev *edev, in qed_slowpath_start()
[all …]
H A Dqede_ethdev.c236 struct ecore_dev *edev = &qdev->edev; in qede_fw_version_get()
292 struct ecore_dev *edev = &qdev->edev; in qede_interrupt_handler_intx()
310 struct ecore_dev *edev = &qdev->edev; in qede_interrupt_handler()
322 struct ecore_dev *edev = &qdev->edev; in qede_assign_rxtx_handlers()
369 struct ecore_dev *edev = &qdev->edev; in qede_print_adapter_info()
393 struct ecore_dev *edev = QEDE_INIT_EDEV(qdev); in qede_reset_queue_stats()
446 qede_stop_vport(struct ecore_dev *edev) in qede_stop_vport()
472 struct ecore_dev *edev = QEDE_INIT_EDEV(qdev); in qede_start_vport()
510 struct ecore_dev *edev = QEDE_INIT_EDEV(qdev); in qede_activate_vport()
572 struct ecore_dev *edev = QEDE_INIT_EDEV(qdev); in qede_enable_tpa()
[all …]
H A Dqede_sriov.h7 void qed_sriov_configure(struct ecore_dev *edev, int num_vfs_param);
H A Dqede_regs.c18 struct ecore_dev *edev = &qdev->edev; in qede_get_regs_len()
79 struct ecore_dev *edev = &qdev->edev; in qede_get_regs()
250 struct ecore_dev *edev = &qdev->edev; in qede_save_fw_dump()
H A Dqede_sriov.c42 static void qed_sriov_enable(struct ecore_dev *edev, int num) in qed_sriov_enable()
84 void qed_sriov_configure(struct ecore_dev *edev, int num_vfs_param) in qed_sriov_configure()
H A Dqede_debug.c7641 int qed_dbg_grc(struct ecore_dev *edev, void *buffer, u32 *num_dumped_bytes) in qed_dbg_grc()
7646 int qed_dbg_grc_size(struct ecore_dev *edev) in qed_dbg_grc_size()
7652 qed_dbg_idle_chk(struct ecore_dev *edev, void *buffer, u32 *num_dumped_bytes) in qed_dbg_idle_chk()
7658 int qed_dbg_idle_chk_size(struct ecore_dev *edev) in qed_dbg_idle_chk_size()
7664 qed_dbg_reg_fifo(struct ecore_dev *edev, void *buffer, u32 *num_dumped_bytes) in qed_dbg_reg_fifo()
7670 int qed_dbg_reg_fifo_size(struct ecore_dev *edev) in qed_dbg_reg_fifo_size()
7676 qed_dbg_igu_fifo(struct ecore_dev *edev, void *buffer, u32 *num_dumped_bytes) in qed_dbg_igu_fifo()
7682 int qed_dbg_igu_fifo_size(struct ecore_dev *edev) in qed_dbg_igu_fifo_size()
7703 int qed_dbg_protection_override(struct ecore_dev *edev, void *buffer, in qed_dbg_protection_override()
7710 int qed_dbg_protection_override_size(struct ecore_dev *edev) in qed_dbg_protection_override_size()
[all …]
/dpdk/drivers/net/qede/base/
H A Decore_dev_api.h22 void ecore_init_dp(struct ecore_dev *p_dev,
33 enum _ecore_status_t ecore_init_struct(struct ecore_dev *p_dev);
40 void ecore_resc_free(struct ecore_dev *p_dev);
49 enum _ecore_status_t ecore_resc_alloc(struct ecore_dev *p_dev);
56 void ecore_resc_setup(struct ecore_dev *p_dev);
132 enum _ecore_status_t ecore_hw_init(struct ecore_dev *p_dev,
142 void ecore_hw_timers_stop_all(struct ecore_dev *p_dev);
151 enum _ecore_status_t ecore_hw_stop(struct ecore_dev *p_dev);
162 enum _ecore_status_t ecore_hw_stop_fastpath(struct ecore_dev *p_dev);
172 void ecore_prepare_hibernate(struct ecore_dev *p_dev);
[all …]
H A Decore_l2_api.h168 ecore_filter_ucast_cmd(struct ecore_dev *p_dev,
175 ecore_filter_mcast_cmd(struct ecore_dev *p_dev,
183 struct ecore_dev *p_dev,
433 void ecore_get_vport_stats(struct ecore_dev *p_dev,
436 void ecore_reset_vport_stats(struct ecore_dev *p_dev);
H A Decore_dev.c76 bool ecore_db_rec_sanity(struct ecore_dev *p_dev, void OSAL_IOMEM *db_addr, in ecore_db_rec_sanity()
99 struct ecore_hwfn *ecore_db_rec_find_hwfn(struct ecore_dev *p_dev, in ecore_db_rec_find_hwfn()
117 enum _ecore_status_t ecore_db_recovery_add(struct ecore_dev *p_dev, in ecore_db_recovery_add()
166 enum _ecore_status_t ecore_db_recovery_del(struct ecore_dev *p_dev, in ecore_db_recovery_del()
402 static void ecore_llh_free(struct ecore_dev *p_dev) in ecore_llh_free()
420 static enum _ecore_status_t ecore_llh_alloc(struct ecore_dev *p_dev) in ecore_llh_alloc()
458 static enum _ecore_status_t ecore_llh_shadow_sanity(struct ecore_dev *p_dev, in ecore_llh_shadow_sanity()
484 ecore_llh_shadow_search_filter(struct ecore_dev *p_dev, u8 ppfid, in ecore_llh_shadow_search_filter()
512 ecore_llh_shadow_get_free_idx(struct ecore_dev *p_dev, u8 ppfid, in ecore_llh_shadow_get_free_idx()
538 __ecore_llh_shadow_add_filter(struct ecore_dev *p_dev, u8 ppfid, u8 filter_idx, in __ecore_llh_shadow_add_filter()
[all …]
H A Dbcm_osal.c150 void *osal_dma_alloc_coherent(struct ecore_dev *p_dev, in osal_dma_alloc_coherent()
189 void *osal_dma_alloc_coherent_aligned(struct ecore_dev *p_dev, in osal_dma_alloc_coherent_aligned()
228 void osal_dma_free_mem(struct ecore_dev *p_dev, dma_addr_t phys) in osal_dma_free_mem()
283 qede_get_mcp_proto_stats(struct ecore_dev *edev, in qede_get_mcp_proto_stats()
305 struct ecore_dev *edev = dev; in qede_hw_err_handler()
H A Decore.h586 struct ecore_dev *p_dev;
760 struct ecore_dev { struct
966 u32 ecore_get_hsi_def_val(struct ecore_dev *p_dev, argument
1023 int ecore_configure_vport_wfq(struct ecore_dev *p_dev, u16 vp_id, u32 rate);
1024 void ecore_configure_vp_wfq_on_link_change(struct ecore_dev *p_dev,
1028 int ecore_configure_pf_max_bandwidth(struct ecore_dev *p_dev, u8 max_bw);
1029 int ecore_configure_pf_min_bandwidth(struct ecore_dev *p_dev, u8 min_bw);
1031 int ecore_device_num_engines(struct ecore_dev *p_dev);
1032 int ecore_device_num_ports(struct ecore_dev *p_dev);
1093 enum _ecore_status_t ecore_llh_dump_ppfid(struct ecore_dev *p_dev, u8 ppfid);
[all …]
H A Decore_mcp_api.h783 enum _ecore_status_t ecore_recovery_prolog(struct ecore_dev *p_dev);
887 enum _ecore_status_t ecore_mcp_nvm_set_secure_mode(struct ecore_dev *p_dev,
901 enum _ecore_status_t ecore_mcp_phy_write(struct ecore_dev *p_dev, u32 cmd,
915 enum _ecore_status_t ecore_mcp_nvm_write(struct ecore_dev *p_dev, u32 cmd,
926 enum _ecore_status_t ecore_mcp_nvm_put_file_begin(struct ecore_dev *p_dev,
937 enum _ecore_status_t ecore_mcp_nvm_del_file(struct ecore_dev *p_dev,
948 enum _ecore_status_t ecore_mcp_nvm_resp(struct ecore_dev *p_dev, u8 *p_buf);
961 enum _ecore_status_t ecore_mcp_phy_read(struct ecore_dev *p_dev, u32 cmd,
974 enum _ecore_status_t ecore_mcp_nvm_read(struct ecore_dev *p_dev, u32 addr,
H A Decore_int_api.h44 struct ecore_dev *p_dev;
310 void ecore_int_disable_post_isr_release(struct ecore_dev *p_dev);
321 void ecore_int_attn_clr_enable(struct ecore_dev *p_dev, bool clr_enable);
H A Decore_iov_api.h186 void ecore_iov_set_vfs_to_disable(struct ecore_dev *p_dev,
197 void ecore_iov_set_vf_to_disable(struct ecore_dev *p_dev,
717 enum _ecore_status_t ecore_iov_configure_min_tx_rate(struct ecore_dev *p_dev,
H A Decore_init_ops.h18 void ecore_init_iro_array(struct ecore_dev *p_dev);
H A Decore_init_ops.c24 void ecore_init_iro_array(struct ecore_dev *p_dev) in ecore_init_iro_array()
214 struct ecore_dev *p_dev = p_hwfn->p_dev;
421 struct ecore_dev *p_dev = p_hwfn->p_dev;
474 struct ecore_dev *p_dev = p_hwfn->p_dev;
538 enum _ecore_status_t ecore_init_fw_data(struct ecore_dev *p_dev,
H A Dmeson.build8 'ecore_dev.c',
H A Decore_hw.h307 enum _ecore_status_t ecore_init_fw_data(struct ecore_dev *p_dev,
H A Decore_sriov.h257 void ecore_iov_free_hw_info(struct ecore_dev *p_dev);
H A Decore_mcp.c1603 struct ecore_dev *p_dev = p_hwfn->p_dev; in ecore_mcp_handle_process_kill()
2737 struct ecore_dev *p_dev = p_hwfn->p_dev; in ecore_start_recovery_process()
3123 enum _ecore_status_t ecore_mcp_nvm_read(struct ecore_dev *p_dev, u32 addr, in ecore_mcp_nvm_read()
3179 enum _ecore_status_t ecore_mcp_phy_read(struct ecore_dev *p_dev, u32 cmd, in ecore_mcp_phy_read()
3205 enum _ecore_status_t ecore_mcp_nvm_resp(struct ecore_dev *p_dev, u8 *p_buf) in ecore_mcp_nvm_resp()
3220 enum _ecore_status_t ecore_mcp_nvm_del_file(struct ecore_dev *p_dev, u32 addr) in ecore_mcp_nvm_del_file()
3238 enum _ecore_status_t ecore_mcp_nvm_put_file_begin(struct ecore_dev *p_dev, in ecore_mcp_nvm_put_file_begin()
3260 enum _ecore_status_t ecore_mcp_nvm_write(struct ecore_dev *p_dev, u32 cmd, in ecore_mcp_nvm_write()
3334 enum _ecore_status_t ecore_mcp_phy_write(struct ecore_dev *p_dev, u32 cmd, in ecore_mcp_phy_write()
3358 enum _ecore_status_t ecore_mcp_nvm_set_secure_mode(struct ecore_dev *p_dev, in ecore_mcp_nvm_set_secure_mode()
[all …]
H A Decore_l2.c855 ecore_filter_accept_cmd(struct ecore_dev *p_dev, in ecore_filter_accept_cmd()
1648 ecore_filter_mcast_cmd(struct ecore_dev *p_dev, in ecore_filter_mcast_cmd()
1682 ecore_filter_ucast_cmd(struct ecore_dev *p_dev, in ecore_filter_ucast_cmd()
1993 static void _ecore_get_vport_stats(struct ecore_dev *p_dev, in _ecore_get_vport_stats()
2030 void ecore_get_vport_stats(struct ecore_dev *p_dev, in ecore_get_vport_stats()
2051 void ecore_reset_vport_stats(struct ecore_dev *p_dev) in ecore_reset_vport_stats()
H A Decore_int.c1456 struct ecore_dev *p_dev = p_hwfn->p_dev; in ecore_int_sb_attn_alloc()
1492 struct ecore_dev *p_dev = p_hwfn->p_dev; in ecore_init_cau_sb_entry()
2664 void ecore_int_disable_post_isr_release(struct ecore_dev *p_dev) in ecore_int_disable_post_isr_release()
2672 void ecore_int_attn_clr_enable(struct ecore_dev *p_dev, bool clr_enable) in ecore_int_attn_clr_enable()
H A Decore_sriov.c414 static enum _ecore_status_t ecore_iov_pci_cfg_info(struct ecore_dev *p_dev) in ecore_iov_pci_cfg_info()
658 void ecore_iov_free_hw_info(struct ecore_dev *p_dev) in ecore_iov_free_hw_info()
665 struct ecore_dev *p_dev = p_hwfn->p_dev; in ecore_iov_hw_info()
758 void ecore_iov_set_vf_to_disable(struct ecore_dev *p_dev, in ecore_iov_set_vf_to_disable()
775 void ecore_iov_set_vfs_to_disable(struct ecore_dev *p_dev, in ecore_iov_set_vfs_to_disable()
4908 enum _ecore_status_t ecore_iov_configure_min_tx_rate(struct ecore_dev *p_dev, in ecore_iov_configure_min_tx_rate()

12