Home
last modified time | relevance | path

Searched refs:p_hwfn (Results 1 – 25 of 58) sorted by relevance

123

/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_dev.c2563 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_start_fastpath()
2734 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2736 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2738 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2740 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2743 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2745 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2747 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2749 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2754 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
[all …]
H A Decore_int.c199 tmp = ecore_rd(p_hwfn, p_hwfn->p_dpc_ptt, in ecore_pswhst_attn_cb()
270 tmp = ecore_rd(p_hwfn, p_hwfn->p_dpc_ptt, in ecore_grc_attn_cb()
276 tmp = ecore_rd(p_hwfn, p_hwfn->p_dpc_ptt, in ecore_grc_attn_cb()
297 ecore_wr(p_hwfn, p_hwfn->p_dpc_ptt, in ecore_grc_attn_cb()
319 tmp = ecore_rd(p_hwfn, p_hwfn->p_dpc_ptt, in ecore_pglub_rbc_attn_cb()
401 ecore_wr(p_hwfn, p_hwfn->p_dpc_ptt, in ecore_pglub_rbc_attn_cb()
441 ecore_rd(p_hwfn, p_hwfn->p_dpc_ptt, in ecore_dorq_attn_cb()
748 ecore_wr(p_hwfn, p_hwfn->p_dpc_ptt, in ecore_int_assertion()
1161 p_hwfn, p_hwfn->my_id); in ecore_int_sp_dpc()
1613 sb_info->p_hwfn = p_hwfn; in ecore_int_sb_init()
[all …]
H A Decore_hw.c114 if (p_hwfn->p_ptt_pool) in ecore_ptt_pool_free()
117 OSAL_FREE(p_hwfn->p_dev, p_hwfn->p_ptt_pool); in ecore_ptt_pool_free()
200 REG_WR(p_hwfn, in ecore_ptt_set_win()
216 DP_NOTICE(p_hwfn, true, in ecore_set_ptt()
234 DP_NOTICE(p_hwfn, true, in ecore_get_reserved_ptt()
395 REG_WR(p_hwfn, in ecore_fid_pretend()
411 REG_WR(p_hwfn, in ecore_port_pretend()
428 REG_WR(p_hwfn, in ecore_port_unpretend()
466 p_hwfn->rel_pf_id *
678 ecore_wr(p_hwfn, p_ptt, in ecore_dmae_post_command()
[all …]
H A Decore_spq.c189 rc = ecore_mcp_drain(p_hwfn, p_hwfn->p_main_ptt); in ecore_spq_block()
277 if (ECORE_IS_BB(p_hwfn->p_dev) || ECORE_IS_AH(p_hwfn->p_dev)) { in ecore_spq_hw_initialize()
394 DP_NOTICE(p_hwfn, in ecore_async_event_completion()
524 if (!p_hwfn->p_eq) in ecore_eq_free()
527 ecore_chain_free(p_hwfn->p_dev, &p_hwfn->p_eq->chain); in ecore_eq_free()
529 OSAL_FREE(p_hwfn->p_dev, p_hwfn->p_eq); in ecore_eq_free()
890 struct ecore_spq *p_spq = p_hwfn ? p_hwfn->p_spq : OSAL_NULL; in ecore_spq_post()
893 if (!p_hwfn) in ecore_spq_post()
991 if (!p_hwfn) { in ecore_spq_completion()
1119 ecore_chain_free(p_hwfn->p_dev, &p_hwfn->p_consq->chain); in ecore_consq_free()
[all …]
H A Decore_mcp.c91 if (!p_hwfn->mcp_info || !p_hwfn->mcp_info->public_base) in ecore_mcp_is_init()
107 p_hwfn->mcp_info->port_addr, MFW_PORT(p_hwfn)); in ecore_mcp_cmd_port_init()
138 OSAL_FREE(p_hwfn->p_dev, p_hwfn->mcp_info->mfw_mb_cur); in ecore_mcp_free()
145 OSAL_FREE(p_hwfn->p_dev, p_hwfn->mcp_info); in ecore_mcp_free()
212 p_hwfn->mcp_info = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, in ecore_mcp_cmd_init()
1623 if (p_hwfn != ECORE_LEADING_HWFN(p_hwfn->p_dev)) in ecore_mcp_handle_fan_failure()
1843 if (p_hwfn != ECORE_LEADING_HWFN(p_hwfn->p_dev)) in ecore_mcp_handle_critical_error()
2251 if (!p_hwfn || !p_hwfn->mcp_info) in ecore_mcp_get_link_params()
2259 if (!p_hwfn || !p_hwfn->mcp_info) in ecore_mcp_get_link_state()
2275 if (!p_hwfn || !p_hwfn->mcp_info) in ecore_mcp_get_link_capabilities()
[all …]
H A Decore_iov_api.h49 #define IS_PF_SRIOV(p_hwfn) (!!((p_hwfn)->p_dev->p_iov_info)) argument
51 #define IS_PF_SRIOV(p_hwfn) (0) argument
53 #define IS_PF_SRIOV_ALLOC(p_hwfn) (!!((p_hwfn)->pf_iov_info)) argument
54 #define IS_PF_PDA(p_hwfn) 0 /* @@TBD Michalk */ argument
159 ecore_iov_get_vf_sw_mbx(struct ecore_hwfn *p_hwfn,
222 ecore_iov_init_hw_for_vf(struct ecore_hwfn *p_hwfn,
302 void ecore_iov_set_link(struct ecore_hwfn *p_hwfn,
317 void ecore_iov_get_link(struct ecore_hwfn *p_hwfn,
347 bool ecore_iov_is_valid_vfid(struct ecore_hwfn *p_hwfn,
639 void *ecore_iov_get_vf_ctx(struct ecore_hwfn *p_hwfn,
[all …]
H A Decore_cxt.c628 p_hwfn->my_id, p_hwfn->p_cxt_mngr->pf_start_line); in ecore_cxt_cfg_ilt_compute()
792 p_hwfn->qm_info.num_pqs, p_hwfn->qm_info.num_vf_pqs, total); in ecore_cxt_cfg_ilt_compute()
1353 OSAL_FREE(p_hwfn->p_dev, p_hwfn->p_cxt_mngr); in ecore_cxt_mngr_free()
1568 ecore_qm_pf_rt_init(p_hwfn, p_hwfn->p_main_ptt, p_hwfn->port_id, in ecore_qm_init_pf()
1649 STORE_RT_REG(p_hwfn, in ecore_ilt_bounds_init()
1652 STORE_RT_REG(p_hwfn, in ecore_ilt_bounds_init()
1655 STORE_RT_REG(p_hwfn, in ecore_ilt_bounds_init()
1670 STORE_RT_REG(p_hwfn, in ecore_ilt_vf_bounds_init()
1673 STORE_RT_REG(p_hwfn, in ecore_ilt_vf_bounds_init()
1848 (NUM_OF_VFS(p_hwfn->p_dev) + p_hwfn->rel_pf_id); in ecore_tm_init_pf()
[all …]
H A Decore_init_ops.c146 if (IS_VF(p_hwfn->p_dev)) in ecore_init_alloc()
167 OSAL_FREE(p_hwfn->p_dev, p_hwfn->rt_data.init_val); in ecore_init_free()
169 OSAL_FREE(p_hwfn->p_dev, p_hwfn->rt_data.b_valid); in ecore_init_free()
267 p_hwfn->unzip_buf,
270 DP_NOTICE(p_hwfn, true,
275 DP_NOTICE(p_hwfn, true,
325 DP_NOTICE(p_hwfn, true,
506 p_hwfn->unzip_buf = OSAL_ZALLOC(p_hwfn->p_dev, GFP_ATOMIC,
554 OSAL_FREE(p_hwfn->p_dev, p_hwfn->unzip_buf);
578 ecore_wr(p_hwfn, p_hwfn->p_main_ptt,
[all …]
H A Decore_init_fw_funcs.c622 if (!ecore_poll_on_qm_cmd_ready(p_hwfn, p_ptt)) in ecore_send_qm_cmd()
628 ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDGO, 1); in ecore_send_qm_cmd()
629 ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDGO, 0); in ecore_send_qm_cmd()
672 ecore_enable_pf_rl(p_hwfn, pf_rl_en); in ecore_qm_common_rt_init()
675 ecore_enable_pf_wfq(p_hwfn, pf_wfq_en); in ecore_qm_common_rt_init()
678 ecore_enable_vport_rl(p_hwfn, vport_rl_en); in ecore_qm_common_rt_init()
681 ecore_enable_vport_wfq(p_hwfn, vport_wfq_en); in ecore_qm_common_rt_init()
736 if (ecore_pf_rl_rt_init(p_hwfn, pf_id, pf_rl)) in ecore_qm_pf_rt_init()
750 int ecore_init_pf_wfq(struct ecore_hwfn *p_hwfn, in ecore_init_pf_wfq() argument
768 int ecore_init_pf_rl(struct ecore_hwfn *p_hwfn, in ecore_init_pf_rl() argument
[all …]
H A Decore_vf.h151 ecore_vf_pf_txq_start(struct ecore_hwfn *p_hwfn,
220 enum _ecore_status_t ecore_vf_pf_reset(struct ecore_hwfn *p_hwfn);
240 u16 ecore_vf_get_igu_sb_id(struct ecore_hwfn *p_hwfn,
250 void ecore_vf_set_sb_info(struct ecore_hwfn *p_hwfn,
267 struct ecore_hwfn *p_hwfn,
285 struct ecore_hwfn *p_hwfn,
288 void ecore_vf_pf_filter_mcast(struct ecore_hwfn *p_hwfn,
307 void __ecore_vf_get_link_params(struct ecore_hwfn *p_hwfn,
318 void __ecore_vf_get_link_state(struct ecore_hwfn *p_hwfn,
329 void __ecore_vf_get_link_caps(struct ecore_hwfn *p_hwfn,
[all …]
H A Decore_dcbx.c311 DP_ERR(p_hwfn, in ecore_dcbx_get_app_protocol_type()
418 p_info = &p_hwfn->hw_info; in ecore_dcbx_process_mib_info()
473 DP_ERR(p_hwfn, in ecore_dcbx_copy_mib()
1029 ecore_dcbx_get_params(p_hwfn, p_ptt, &p_hwfn->p_dcbx_info->get, type); in ecore_dcbx_mib_update_event()
1053 OSAL_DCBX_AEN(p_hwfn, type); in ecore_dcbx_mib_update_event()
1069 p_hwfn->p_dcbx_info = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, in ecore_dcbx_info_alloc()
1071 if (!p_hwfn->p_dcbx_info) { in ecore_dcbx_info_alloc()
1072 DP_NOTICE(p_hwfn, true, in ecore_dcbx_info_alloc()
1085 OSAL_FREE(p_hwfn->p_dev, p_hwfn->p_dcbx_info); in ecore_dcbx_info_free()
1147 if (IS_VF(p_hwfn->p_dev)) in ecore_dcbx_query_params()
[all …]
H A Decore_sp_commands.c264 DP_NOTICE(p_hwfn, true, in ecore_set_hw_tunn_mode_port()
270 ecore_set_vxlan_dest_port(p_hwfn, p_hwfn->p_main_ptt, in ecore_set_hw_tunn_mode_port()
274 ecore_set_geneve_dest_port(p_hwfn, p_hwfn->p_main_ptt, in ecore_set_hw_tunn_mode_port()
277 ecore_set_hw_tunn_mode(p_hwfn, p_hwfn->p_main_ptt, p_tunn); in ecore_set_hw_tunn_mode_port()
288 DP_NOTICE(p_hwfn, true, in ecore_tunn_set_pf_start_params()
336 ecore_eq_prod_update(p_hwfn, in ecore_sp_pf_start()
387 if (IS_MF_SI(p_hwfn)) in ecore_sp_pf_start()
430 ecore_set_hw_tunn_mode_port(p_hwfn, &p_hwfn->p_dev->tunnel); in ecore_sp_pf_start()
513 if (IS_VF(p_hwfn->p_dev)) in ecore_sp_pf_update_tunn_cfg()
517 DP_NOTICE(p_hwfn, true, in ecore_sp_pf_update_tunn_cfg()
[all …]
H A Decore_mcp.h51 #define MCP_PF_ID_BY_REL(p_hwfn, rel_pfid) (ECORE_IS_BB((p_hwfn)->p_dev) ? \ argument
53 ((p_hwfn)->abs_pf_id & 1) << 3) : \
55 #define MCP_PF_ID(p_hwfn) MCP_PF_ID_BY_REL(p_hwfn, (p_hwfn)->rel_pf_id) argument
135 enum _ecore_status_t ecore_mcp_cmd_init(struct ecore_hwfn *p_hwfn,
145 void ecore_mcp_cmd_port_init(struct ecore_hwfn *p_hwfn,
156 enum _ecore_status_t ecore_mcp_free(struct ecore_hwfn *p_hwfn);
187 enum _ecore_status_t ecore_issue_pulse(struct ecore_hwfn *p_hwfn,
248 void ecore_mcp_read_mb(struct ecore_hwfn *p_hwfn,
282 enum _ecore_status_t ecore_mcp_reset(struct ecore_hwfn *p_hwfn,
342 bool ecore_mcp_is_init(struct ecore_hwfn *p_hwfn);
[all …]
H A Decore_vf_api.h60 void ecore_vf_get_link_params(struct ecore_hwfn *p_hwfn,
69 void ecore_vf_get_link_state(struct ecore_hwfn *p_hwfn,
78 void ecore_vf_get_link_caps(struct ecore_hwfn *p_hwfn,
87 void ecore_vf_get_num_rxqs(struct ecore_hwfn *p_hwfn,
96 void ecore_vf_get_num_txqs(struct ecore_hwfn *p_hwfn,
105 void ecore_vf_get_port_mac(struct ecore_hwfn *p_hwfn,
114 void ecore_vf_get_num_vlan_filters(struct ecore_hwfn *p_hwfn,
123 void ecore_vf_get_num_mac_filters(struct ecore_hwfn *p_hwfn,
134 bool ecore_vf_check_mac(struct ecore_hwfn *p_hwfn, u8 *mac);
169 bool ecore_vf_get_pre_fp_hsi(struct ecore_hwfn *p_hwfn);
[all …]
H A Decore_l2.c81 if (IS_PF(p_hwfn->p_dev)) { in ecore_l2_alloc()
138 OSAL_VFREE(p_hwfn->p_dev, in ecore_l2_free()
148 OSAL_VFREE(p_hwfn->p_dev, p_hwfn->p_l2_info->pp_qid_usage); in ecore_l2_free()
151 OSAL_VFREE(p_hwfn->p_dev, p_hwfn->p_l2_info); in ecore_l2_free()
167 DP_NOTICE(p_hwfn, true, in ecore_eth_queue_qid_usage_add()
237 p_cid->p_owner = p_hwfn; in _ecore_eth_queue_to_cid()
471 if (IS_VF(p_hwfn->p_dev)) in ecore_sp_vport_start()
982 p_hwfn->regview + in ecore_eth_pf_rx_queue_start()
1478 DP_ERR(p_hwfn, in ecore_sp_eth_filter_ucast()
2088 ecore_set_rfs_mode_enable(p_hwfn, p_ptt, p_hwfn->rel_pf_id, in ecore_arfs_mode_configure()
[all …]
H A Decore_dbg_fw_funcs.c1845 if (ECORE_IS_K2(p_hwfn->p_dev)) { in ecore_dbg_dev_init()
1849 else if (ECORE_IS_BB_B0(p_hwfn->p_dev)) { in ecore_dbg_dev_init()
1861 if (CHIP_REV_IS_ASIC(p_hwfn->p_dev)) { in ecore_dbg_dev_init()
1885 ecore_dbg_grc_init_params(p_hwfn); in ecore_dbg_dev_init()
1941 dest[i] = ecore_rd(p_hwfn, p_ptt, addr); in ecore_read_fw_info()
3172 ecore_fid_pretend(p_hwfn, p_ptt, (p_hwfn->rel_pf_id << PXP_PRETEND_CONCRETE_FID_PFID_SHIFT)); in ecore_grc_dump_registers()
3815 halted = !ecore_mcp_halt(p_hwfn, p_ptt); in ecore_grc_dump_mcp()
4977 ecore_wr(p_hwfn, p_ptt, DBG_REG_PCI_FUNC_NUM, OPAQUE_FID(p_hwfn->rel_pf_id)); in ecore_dbg_bus_set_pci_output()
5691 ecore_assign_hw_ids(p_hwfn, hw_ids); in ecore_config_block_inputs()
5937 ecore_bus_free_pci_buf(p_hwfn); in ecore_dbg_bus_dump()
[all …]
H A Decore_dbg_fw_funcs.h74 enum chip_ids ecore_dbg_get_chip_id(struct ecore_hwfn *p_hwfn);
106 enum dbg_status ecore_dbg_bus_reset(struct ecore_hwfn *p_hwfn,
486 enum dbg_status ecore_dbg_bus_start(struct ecore_hwfn *p_hwfn,
498 enum dbg_status ecore_dbg_bus_stop(struct ecore_hwfn *p_hwfn,
539 enum dbg_status ecore_dbg_bus_dump(struct ecore_hwfn *p_hwfn,
557 enum dbg_status ecore_dbg_grc_config(struct ecore_hwfn *p_hwfn,
567 void ecore_dbg_grc_set_params_default(struct ecore_hwfn *p_hwfn);
599 enum dbg_status ecore_dbg_grc_dump(struct ecore_hwfn *p_hwfn,
853 enum dbg_status ecore_dbg_read_attn(struct ecore_hwfn *p_hwfn,
871 enum dbg_status ecore_dbg_print_attn(struct ecore_hwfn *p_hwfn,
[all …]
H A Decore_cxt.h54 u32 ecore_cxt_get_proto_cid_count(struct ecore_hwfn *p_hwfn,
58 u32 ecore_cxt_get_proto_tid_count(struct ecore_hwfn *p_hwfn,
63 u32 ecore_cxt_get_srq_count(struct ecore_hwfn *p_hwfn);
108 void ecore_cxt_mngr_free(struct ecore_hwfn *p_hwfn);
124 void ecore_cxt_mngr_setup(struct ecore_hwfn *p_hwfn);
131 void ecore_cxt_hw_init_common(struct ecore_hwfn *p_hwfn);
138 void ecore_cxt_hw_init_pf(struct ecore_hwfn *p_hwfn);
145 void ecore_qm_init_pf(struct ecore_hwfn *p_hwfn);
175 void _ecore_cxt_release_cid(struct ecore_hwfn *p_hwfn,
218 ecore_cxt_dynamic_ilt_alloc(struct ecore_hwfn *p_hwfn,
[all …]
H A Decore_selftest.c74 struct ecore_hwfn *p_hwfn; in ecore_selftest_register() local
82 p_hwfn = &p_dev->hwfns[i]; in ecore_selftest_register()
89 ecore_ptt_release(p_hwfn, p_ptt); in ecore_selftest_register()
99 struct ecore_hwfn *p_hwfn; in ecore_selftest_clock() local
106 p_hwfn = &p_dev->hwfns[i]; in ecore_selftest_clock()
113 ecore_ptt_release(p_hwfn, p_ptt); in ecore_selftest_clock()
151 DP_ERR(p_hwfn, in ecore_selftest_nvram()
169 DP_ERR(p_hwfn, in ecore_selftest_nvram()
180 DP_ERR(p_hwfn, in ecore_selftest_nvram()
208 OSAL_FREE(p_hwfn->p_dev, buf); in ecore_selftest_nvram()
[all …]
H A Decore_init_fw_funcs.h80 int ecore_qm_common_rt_init(struct ecore_hwfn *p_hwfn,
121 int ecore_qm_pf_rt_init(struct ecore_hwfn *p_hwfn,
150 int ecore_init_pf_wfq(struct ecore_hwfn *p_hwfn,
165 int ecore_init_pf_rl(struct ecore_hwfn *p_hwfn,
182 int ecore_init_vport_wfq(struct ecore_hwfn *p_hwfn,
198 int ecore_init_vport_rl(struct ecore_hwfn *p_hwfn,
237 void ecore_init_nig_ets(struct ecore_hwfn *p_hwfn,
251 void ecore_init_nig_lb_rl(struct ecore_hwfn *p_hwfn,
281 void ecore_init_prs_ets(struct ecore_hwfn *p_hwfn,
297 void ecore_init_brb_ram(struct ecore_hwfn *p_hwfn,
[all …]
H A Decore_int.h48 #define SB_ALIGNED_SIZE(p_hwfn) \ argument
49 ALIGNED_TYPE_SIZE(struct status_block, p_hwfn)
91 int ecore_int_igu_reset_cam(struct ecore_hwfn *p_hwfn,
100 int ecore_int_igu_reset_cam_default(struct ecore_hwfn *p_hwfn,
125 void ecore_int_igu_init_pure_rt(struct ecore_hwfn *p_hwfn,
130 void ecore_int_igu_init_rt(struct ecore_hwfn *p_hwfn);
194 u16 ecore_int_get_sp_sb_id(struct ecore_hwfn *p_hwfn);
223 void ecore_int_cau_conf_sb(struct ecore_hwfn *p_hwfn,
246 void ecore_int_free(struct ecore_hwfn *p_hwfn);
254 void ecore_int_setup(struct ecore_hwfn *p_hwfn,
[all …]
H A Decore_phy.c56 return ecore_mcp_phy_read(p_hwfn->p_dev, cmd, in ecore_phy_read()
70 return ecore_mcp_phy_write(p_hwfn->p_dev, cmd, in ecore_phy_write()
235 core_cfg = ecore_rd(p_hwfn, p_ptt, nvm_cfg1_addr + in ecore_phy_info()
640 data_lo = ecore_rd(p_hwfn, p_ptt, in ecore_ah_e5_phy_mac_stat()
644 data_hi = ecore_rd(p_hwfn, p_ptt, in ecore_ah_e5_phy_mac_stat()
672 if (ECORE_IS_BB(p_hwfn->p_dev)) in ecore_phy_mac_stat()
1337 transceiver_state = ecore_rd(p_hwfn, p_ptt, in ecore_phy_sfp_get_inserted()
1454 nvm_cfg_addr = ecore_rd(p_hwfn, p_ptt, in ecore_phy_sfp_set_txdisable()
1456 nvm_cfg1_offset = ecore_rd(p_hwfn, p_ptt, in ecore_phy_sfp_set_txdisable()
1460 gpio = (u16)ecore_rd(p_hwfn, p_ptt, in ecore_phy_sfp_set_txdisable()
[all …]
H A Decore_hw.h102 void ecore_gtt_init(struct ecore_hwfn *p_hwfn);
125 void ecore_ptt_pool_free(struct ecore_hwfn *p_hwfn);
135 u32 ecore_ptt_get_hw_addr(struct ecore_hwfn *p_hwfn,
155 void ecore_ptt_set_win(struct ecore_hwfn *p_hwfn,
178 void ecore_wr(struct ecore_hwfn *p_hwfn,
191 u32 ecore_rd(struct ecore_hwfn *p_hwfn,
205 void ecore_memcpy_from(struct ecore_hwfn *p_hwfn,
221 void ecore_memcpy_to(struct ecore_hwfn *p_hwfn,
237 void ecore_fid_pretend(struct ecore_hwfn *p_hwfn,
249 void ecore_port_pretend(struct ecore_hwfn *p_hwfn,
[all …]
H A Decore_phy_api.h67 int ecore_phy_core_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
100 int ecore_phy_raw_read(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
113 int ecore_phy_mac_stat(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
125 int ecore_phy_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
186 int ecore_phy_sfp_get_inserted(struct ecore_hwfn *p_hwfn,
200 int ecore_phy_sfp_get_txdisable(struct ecore_hwfn *p_hwfn,
215 int ecore_phy_sfp_set_txdisable(struct ecore_hwfn *p_hwfn,
230 int ecore_phy_sfp_get_txreset(struct ecore_hwfn *p_hwfn,
244 int ecore_phy_sfp_get_rxlos(struct ecore_hwfn *p_hwfn,
258 int ecore_phy_sfp_get_eeprom(struct ecore_hwfn *p_hwfn,
[all …]
H A Decore_sriov.h158 #define ECORE_VF_ABS_ID(p_hwfn, p_vf) (ECORE_PATH_ID(p_hwfn) ? \ argument
231 enum _ecore_status_t ecore_iov_hw_info(struct ecore_hwfn *p_hwfn);
243 void *ecore_add_tlv(struct ecore_hwfn *p_hwfn,
254 void ecore_dp_tlv_list(struct ecore_hwfn *p_hwfn,
264 enum _ecore_status_t ecore_iov_alloc(struct ecore_hwfn *p_hwfn);
272 void ecore_iov_setup(struct ecore_hwfn *p_hwfn,
280 void ecore_iov_free(struct ecore_hwfn *p_hwfn);
297 enum _ecore_status_t ecore_sriov_eqe_event(struct ecore_hwfn *p_hwfn,
310 bool ecore_iov_mark_vf_flr(struct ecore_hwfn *p_hwfn,
322 void *ecore_iov_search_list_tlvs(struct ecore_hwfn *p_hwfn,
[all …]

123