Home
last modified time | relevance | path

Searched defs:p_hwfn (Results 1 – 25 of 29) sorted by relevance

12

/f-stack/dpdk/drivers/net/qede/base/
H A Decore_spq.c294 ecore_async_event_completion(struct ecore_hwfn *p_hwfn, in ecore_async_event_completion()
325 ecore_spq_register_async_cb(struct ecore_hwfn *p_hwfn, in ecore_spq_register_async_cb()
459 void ecore_eq_setup(struct ecore_hwfn *p_hwfn) in ecore_eq_setup()
464 void ecore_eq_free(struct ecore_hwfn *p_hwfn) in ecore_eq_free()
511 void ecore_spq_setup(struct ecore_hwfn *p_hwfn) in ecore_spq_setup()
629 void ecore_spq_free(struct ecore_hwfn *p_hwfn) in ecore_spq_free()
697 void ecore_spq_return_entry(struct ecore_hwfn *p_hwfn, in ecore_spq_return_entry()
720 ecore_spq_add_entry(struct ecore_hwfn *p_hwfn, in ecore_spq_add_entry()
778 u32 ecore_spq_get_cid(struct ecore_hwfn *p_hwfn) in ecore_spq_get_cid()
1076 void ecore_consq_setup(struct ecore_hwfn *p_hwfn) in ecore_consq_setup()
[all …]
H A Decore_sriov.c640 void ecore_iov_setup(struct ecore_hwfn *p_hwfn) in ecore_iov_setup()
648 void ecore_iov_free(struct ecore_hwfn *p_hwfn) in ecore_iov_free()
765 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_iov_set_vf_to_disable() local
896 ecore_iov_enable_vf_access(struct ecore_hwfn *p_hwfn, in ecore_iov_enable_vf_access()
1068 void ecore_iov_set_link(struct ecore_hwfn *p_hwfn, in ecore_iov_set_link()
1115 ecore_iov_init_hw_for_vf(struct ecore_hwfn *p_hwfn, in ecore_iov_init_hw_for_vf()
1946 __ecore_iov_spoofchk_set(struct ecore_hwfn *p_hwfn, in __ecore_iov_spoofchk_set()
2948 ecore_iov_vf_pf_update_mtu(struct ecore_hwfn *p_hwfn, in ecore_iov_vf_pf_update_mtu()
3940 ecore_iov_vf_flr_poll_pbf(struct ecore_hwfn *p_hwfn, in ecore_iov_vf_flr_poll_pbf()
4187 void ecore_iov_get_link(struct ecore_hwfn *p_hwfn, in ecore_iov_get_link()
[all …]
H A Decore_vf.c54 static void ecore_vf_pf_req_end(struct ecore_hwfn *p_hwfn, in ecore_vf_pf_req_end()
75 ecore_send_msg2pf(struct ecore_hwfn *p_hwfn, in ecore_send_msg2pf()
254 ecore_vf_pf_soft_flr_acquire(struct ecore_hwfn *p_hwfn) in ecore_vf_pf_soft_flr_acquire()
508 u32 ecore_vf_hw_bar_size(struct ecore_hwfn *p_hwfn, in ecore_vf_hw_bar_size()
525 ecore_vf_hw_prepare(struct ecore_hwfn *p_hwfn, in ecore_vf_hw_prepare()
750 ecore_vf_update_tunn_param(struct ecore_hwfn *p_hwfn, in ecore_vf_update_tunn_param()
842 ecore_vf_pf_rxq_start(struct ecore_hwfn *p_hwfn, in ecore_vf_pf_rxq_start()
965 ecore_vf_pf_txq_start(struct ecore_hwfn *p_hwfn, in ecore_vf_pf_txq_start()
1261 ecore_vf_pf_vport_update(struct ecore_hwfn *p_hwfn, in ecore_vf_pf_vport_update()
1735 void ecore_vf_set_sb_info(struct ecore_hwfn *p_hwfn, in ecore_vf_set_sb_info()
[all …]
H A Decore_dev.c102 struct ecore_hwfn *p_hwfn; in ecore_db_rec_find_hwfn() local
124 struct ecore_hwfn *p_hwfn; in ecore_db_recovery_add() local
172 struct ecore_hwfn *p_hwfn; in ecore_db_recovery_del() local
1566 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_init_dp() local
1579 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_init_struct() local
1601 struct ecore_hwfn *p_hwfn = OSAL_NULL; in ecore_init_struct() local
1643 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_resc_free() local
2379 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_resc_alloc() local
3686 struct ecore_hwfn *p_hwfn; in ecore_hw_init() local
3973 struct ecore_hwfn *p_hwfn, in ecore_hw_timers_stop()
[all …]
H A Decore_mcp.c67 bool ecore_mcp_is_init(struct ecore_hwfn *p_hwfn) in ecore_mcp_is_init()
120 ecore_mcp_cmd_add_elem(struct ecore_hwfn *p_hwfn, in ecore_mcp_cmd_add_elem()
435 ecore_emul_mcp_cmd(struct ecore_hwfn *p_hwfn, in ecore_emul_mcp_cmd()
566 void ecore_mcp_print_cpu_info(struct ecore_hwfn *p_hwfn, in ecore_mcp_print_cpu_info()
698 ecore_mcp_cmd_and_union(struct ecore_hwfn *p_hwfn, in ecore_mcp_cmd_and_union()
2248 int ecore_mcp_get_mbi_ver(struct ecore_hwfn *p_hwfn, in ecore_mcp_get_mbi_ver()
2543 ecore_mcp_get_shmem_proto(struct ecore_hwfn *p_hwfn, in ecore_mcp_get_shmem_proto()
2627 *ecore_mcp_get_link_params(struct ecore_hwfn *p_hwfn) in ecore_mcp_get_link_params()
2635 *ecore_mcp_get_link_state(struct ecore_hwfn *p_hwfn) in ecore_mcp_get_link_state()
3601 struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_mcp_bist_nvm_test_get_image_att()
[all …]
H A Decore_hw.c41 void __ecore_ptt_pool_free(struct ecore_hwfn *p_hwfn) in __ecore_ptt_pool_free()
83 void ecore_gtt_init(struct ecore_hwfn *p_hwfn) in ecore_gtt_init()
97 void ecore_ptt_invalidate(struct ecore_hwfn *p_hwfn) in ecore_ptt_invalidate()
108 void ecore_ptt_pool_free(struct ecore_hwfn *p_hwfn) in ecore_ptt_pool_free()
179 void ecore_ptt_set_win(struct ecore_hwfn *p_hwfn, in ecore_ptt_set_win()
203 static u32 ecore_set_ptt(struct ecore_hwfn *p_hwfn, in ecore_set_ptt()
260 void ecore_wr(struct ecore_hwfn *p_hwfn, in ecore_wr()
346 void ecore_memcpy_from(struct ecore_hwfn *p_hwfn, in ecore_memcpy_from()
357 void ecore_memcpy_to(struct ecore_hwfn *p_hwfn, in ecore_memcpy_to()
368 void ecore_fid_pretend(struct ecore_hwfn *p_hwfn, in ecore_fid_pretend()
[all …]
H A Decore_dcbx.c91 ecore_dcbx_dp_protocol(struct ecore_hwfn *p_hwfn, in ecore_dcbx_dp_protocol()
369 ecore_dcbx_copy_mib(struct ecore_hwfn *p_hwfn, in ecore_dcbx_copy_mib()
436 ecore_dcbx_get_app_data(struct ecore_hwfn *p_hwfn, in ecore_dcbx_get_app_data()
502 ecore_dcbx_get_pfc_data(struct ecore_hwfn *p_hwfn, in ecore_dcbx_get_pfc_data()
527 ecore_dcbx_get_ets_data(struct ecore_hwfn *p_hwfn, in ecore_dcbx_get_ets_data()
715 ecore_dcbx_get_params(struct ecore_hwfn *p_hwfn, in ecore_dcbx_get_params()
797 ecore_dcbx_read_remote_mib(struct ecore_hwfn *p_hwfn, in ecore_dcbx_read_remote_mib()
942 void ecore_dcbx_info_free(struct ecore_hwfn *p_hwfn) in ecore_dcbx_info_free()
1005 ecore_dcbx_set_pfc_data(struct ecore_hwfn *p_hwfn, in ecore_dcbx_set_pfc_data()
1034 ecore_dcbx_set_ets_data(struct ecore_hwfn *p_hwfn, in ecore_dcbx_set_ets_data()
[all …]
H A Decore_int.c42 #define SB_ATTN_ALIGNED_SIZE(p_hwfn) \ argument
422 ecore_general_attention_35(struct ecore_hwfn *p_hwfn) in ecore_general_attention_35()
817 ecore_int_aeu_translate(struct ecore_hwfn *p_hwfn, in ecore_int_aeu_translate()
1568 void ecore_int_cau_conf_pi(struct ecore_hwfn *p_hwfn, in ecore_int_cau_conf_pi()
1578 void ecore_int_cau_conf_sb(struct ecore_hwfn *p_hwfn, in ecore_int_cau_conf_sb()
1651 void ecore_int_sb_setup(struct ecore_hwfn *p_hwfn, in ecore_int_sb_setup()
1920 u16 ecore_int_get_sp_sb_id(struct ecore_hwfn *p_hwfn) in ecore_int_get_sp_sb_id()
2162 int ecore_int_igu_reset_cam(struct ecore_hwfn *p_hwfn, in ecore_int_igu_reset_cam()
2564 void ecore_int_igu_init_rt(struct ecore_hwfn *p_hwfn) in ecore_int_igu_init_rt()
2635 void ecore_int_free(struct ecore_hwfn *p_hwfn) in ecore_int_free()
[all …]
H A Decore_cxt.c76 #define CONN_CXT_SIZE(p_hwfn) \ argument
81 #define TYPE0_TASK_CXT_SIZE(p_hwfn) \ argument
143 static void ecore_cxt_tm_iids(struct ecore_hwfn *p_hwfn, in ecore_cxt_tm_iids()
195 static void ecore_cxt_qm_iids(struct ecore_hwfn *p_hwfn, in ecore_cxt_qm_iids()
252 u32 ecore_cxt_get_srq_count(struct ecore_hwfn *p_hwfn) in ecore_cxt_get_srq_count()
299 ecore_cxt_set_proto_tid_count(struct ecore_hwfn *p_hwfn, in ecore_cxt_set_proto_tid_count()
710 ecore_cxt_t2_alloc_pages(struct ecore_hwfn *p_hwfn, in ecore_cxt_t2_alloc_pages()
864 ecore_ilt_blk_alloc(struct ecore_hwfn *p_hwfn, in ecore_ilt_blk_alloc()
1185 void ecore_cxt_mngr_free(struct ecore_hwfn *p_hwfn) in ecore_cxt_mngr_free()
1205 void ecore_cxt_mngr_setup(struct ecore_hwfn *p_hwfn) in ecore_cxt_mngr_setup()
[all …]
H A Decore_l2.c85 void ecore_l2_setup(struct ecore_hwfn *p_hwfn) in ecore_l2_setup()
93 void ecore_l2_free(struct ecore_hwfn *p_hwfn) in ecore_l2_free()
197 _ecore_eth_queue_to_cid(struct ecore_hwfn *p_hwfn, in _ecore_eth_queue_to_cid()
345 ecore_sp_eth_vport_start(struct ecore_hwfn *p_hwfn, in ecore_sp_eth_vport_start()
449 ecore_sp_vport_start(struct ecore_hwfn *p_hwfn, in ecore_sp_vport_start()
701 ecore_sp_vport_update(struct ecore_hwfn *p_hwfn, in ecore_sp_vport_update()
874 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_filter_accept_cmd() local
1664 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_filter_mcast_cmd() local
1691 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in ecore_filter_ucast_cmd() local
2002 struct ecore_hwfn *p_hwfn = &p_dev->hwfns[i]; in _ecore_get_vport_stats() local
[all …]
H A Decore_init_fw_funcs.c728 u32 ecore_qm_pf_mem_size(struct ecore_hwfn *p_hwfn, in ecore_qm_pf_mem_size()
792 int ecore_qm_pf_rt_init(struct ecore_hwfn *p_hwfn, in ecore_qm_pf_rt_init()
855 int ecore_init_pf_wfq(struct ecore_hwfn *p_hwfn, in ecore_init_pf_wfq()
872 int ecore_init_pf_rl(struct ecore_hwfn *p_hwfn, in ecore_init_pf_rl()
891 int ecore_init_vport_wfq(struct ecore_hwfn *p_hwfn, in ecore_init_vport_wfq()
939 int ecore_init_vport_rl(struct ecore_hwfn *p_hwfn, in ecore_init_vport_rl()
1036 void ecore_init_nig_ets(struct ecore_hwfn *p_hwfn, in ecore_init_nig_ets()
1238 void ecore_init_prs_ets(struct ecore_hwfn *p_hwfn, in ecore_init_prs_ets()
1309 void ecore_init_brb_ram(struct ecore_hwfn *p_hwfn, in ecore_init_brb_ram()
1667 void ecore_gft_disable(struct ecore_hwfn *p_hwfn, in ecore_gft_disable()
[all …]
H A Decore_sp_commands.c25 enum _ecore_status_t ecore_sp_init_request(struct ecore_hwfn *p_hwfn, in ecore_sp_init_request()
186 ecore_tunn_set_pf_update_params(struct ecore_hwfn *p_hwfn, in ecore_tunn_set_pf_update_params()
220 static void ecore_set_hw_tunn_mode(struct ecore_hwfn *p_hwfn, in ecore_set_hw_tunn_mode()
232 static void ecore_set_hw_tunn_mode_port(struct ecore_hwfn *p_hwfn, in ecore_set_hw_tunn_mode_port()
254 ecore_tunn_set_pf_start_params(struct ecore_hwfn *p_hwfn, in ecore_tunn_set_pf_start_params()
298 enum _ecore_status_t ecore_sp_pf_start(struct ecore_hwfn *p_hwfn, in ecore_sp_pf_start()
421 enum _ecore_status_t ecore_sp_pf_update_dcbx(struct ecore_hwfn *p_hwfn) in ecore_sp_pf_update_dcbx()
445 enum _ecore_status_t ecore_sp_pf_update_ufp(struct ecore_hwfn *p_hwfn) in ecore_sp_pf_update_ufp()
489 enum _ecore_status_t ecore_sp_rl_update(struct ecore_hwfn *p_hwfn, in ecore_sp_rl_update()
555 ecore_sp_pf_update_tunn_cfg(struct ecore_hwfn *p_hwfn, in ecore_sp_pf_update_tunn_cfg()
[all …]
H A Decore_init_ops.c30 void ecore_init_clear_rt_data(struct ecore_hwfn *p_hwfn) in ecore_init_clear_rt_data()
51 void ecore_init_store_rt_agg(struct ecore_hwfn *p_hwfn, in ecore_init_store_rt_agg()
70 static enum _ecore_status_t ecore_init_rt(struct ecore_hwfn *p_hwfn, in ecore_init_rt()
115 enum _ecore_status_t ecore_init_alloc(struct ecore_hwfn *p_hwfn) in ecore_init_alloc()
137 void ecore_init_free(struct ecore_hwfn *p_hwfn) in ecore_init_free()
192 static void ecore_init_fill(struct ecore_hwfn *p_hwfn,
285 static enum _ecore_status_t ecore_init_cmd_wr(struct ecore_hwfn *p_hwfn,
347 static void ecore_init_cmd_rd(struct ecore_hwfn *p_hwfn,
418 static u8 ecore_init_cmd_mode_match(struct ecore_hwfn *p_hwfn,
444 static u32 ecore_init_cmd_mode(struct ecore_hwfn *p_hwfn,
[all …]
H A Dbcm_osal.c19 int osal_pf_vf_msg(struct ecore_hwfn *p_hwfn) in osal_pf_vf_msg()
32 void osal_vf_flr_update(struct ecore_hwfn *p_hwfn) in osal_vf_flr_update()
39 struct ecore_hwfn *p_hwfn = (struct ecore_hwfn *)hwfn_cookie; in osal_poll_mode_dpc() local
227 u32 qede_unzip_data(struct ecore_hwfn *p_hwfn, u32 input_len, in qede_unzip_data()
303 qede_hw_err_notify(struct ecore_hwfn *p_hwfn, enum ecore_hw_err_type err_type) in qede_hw_err_notify()
349 void qed_set_platform_str(struct ecore_hwfn *p_hwfn, in qed_set_platform_str()
H A Decore_int_api.h42 struct ecore_hwfn *p_hwfn; member
123 static OSAL_INLINE void __internal_ram_wr(struct ecore_hwfn *p_hwfn, in __internal_ram_wr()
139 static OSAL_INLINE void __internal_ram_wr_relaxed(struct ecore_hwfn *p_hwfn, in __internal_ram_wr_relaxed()
156 static OSAL_INLINE void internal_ram_wr(struct ecore_hwfn *p_hwfn, in internal_ram_wr()
H A Decore_iov_api.h23 #define IS_PF_SRIOV(p_hwfn) (!!((p_hwfn)->p_dev->p_iov_info)) argument
25 #define IS_PF_SRIOV(p_hwfn) (0) argument
27 #define IS_PF_SRIOV_ALLOC(p_hwfn) (!!((p_hwfn)->pf_iov_info)) argument
28 #define IS_PF_PDA(p_hwfn) 0 /* @@TBD Michalk */ argument
H A Decore_mng_tlv.c1412 static enum _ecore_status_t ecore_mfw_update_tlvs(struct ecore_hwfn *p_hwfn, in ecore_mfw_update_tlvs()
1474 ecore_mfw_process_tlv_req(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt) in ecore_mfw_process_tlv_req()
H A Dbcm_osal.h379 #define OSAL_UNZIP_DATA(p_hwfn, input_len, buf, max_size, unzip_buf) \ argument
456 #define OSAL_SLOWPATH_IRQ_REQ(p_hwfn) (0) argument
462 #define OSAL_MFW_TLV_REQ(p_hwfn) nothing argument
464 #define OSAL_HW_INFO_CHANGE(p_hwfn, change) nothing argument
465 #define OSAL_MFW_CMD_PREEMPT(p_hwfn) nothing argument
466 #define OSAL_PF_VALIDATE_MODIFY_TUNN_CONFIG(p_hwfn, mask, b_update, tunn) 0 argument
469 #define OSAL_LLDP_RX_TLVS(p_hwfn, tlv_buf, tlv_size) nothing argument
472 #define OSAL_SET_PLATFORM_STR(p_hwfn, buf_str, buf_size) \ argument
474 #define OSAL_GET_EPOCH(p_hwfn) ((u32)time(NULL)) argument
477 #define OSAL_DBG_ALLOC_USER_DATA(p_hwfn, user_data_ptr) \ argument
[all …]
H A Decore_int.h19 #define SB_ALIGNED_SIZE(p_hwfn) \ argument
H A Decore_mcp.h22 #define MCP_PF_ID_BY_REL(p_hwfn, rel_pfid) (ECORE_IS_BB((p_hwfn)->p_dev) ? \ argument
26 #define MCP_PF_ID(p_hwfn) MCP_PF_ID_BY_REL(p_hwfn, (p_hwfn)->rel_pf_id) argument
/f-stack/dpdk/drivers/net/qede/
H A Dqede_debug.c951 *p_hwfn, in qed_get_dbg_block_per_chip()
1688 qed_get_block_attn_data(struct ecore_hwfn *p_hwfn, in qed_get_block_attn_data()
1700 qed_get_block_attn_regs(struct ecore_hwfn *p_hwfn, in qed_get_block_attn_regs()
1791 void qed_read_regs(struct ecore_hwfn *p_hwfn, in qed_read_regs()
4654 static u32 qed_ilt_dump(struct ecore_hwfn *p_hwfn, in qed_ilt_dump()
4874 bool qed_read_fw_info(struct ecore_hwfn *p_hwfn, in qed_read_fw_info()
7310 struct ecore_hwfn *p_hwfn, in qed_get_protection_override_results_buf_size()
7802 struct ecore_hwfn *p_hwfn = in qed_dbg_all_data() local
7942 struct ecore_hwfn *p_hwfn = in qed_dbg_all_data_size() local
8002 struct ecore_hwfn *p_hwfn = in qed_dbg_feature() local
[all …]
H A Dqede_main.c30 struct ecore_hwfn *p_hwfn = &edev->hwfns[i]; in qed_update_pf_params() local
101 struct ecore_hwfn *p_hwfn = &edev->hwfns[i]; in qed_alloc_stream_mem() local
117 struct ecore_hwfn *p_hwfn = &edev->hwfns[i]; in qed_free_stream_mem() local
193 struct ecore_hwfn *p_hwfn = arg; in qede_vf_task() local
206 struct ecore_hwfn *p_hwfn; in qed_start_iov_task() local
219 struct ecore_hwfn *p_hwfn; in qed_stop_iov_task() local
359 struct ecore_hwfn *p_hwfn = ECORE_LEADING_HWFN(edev); in qed_fill_dev_info() local
493 struct ecore_hwfn *p_hwfn; in qed_sb_init() local
693 struct ecore_hwfn *p_hwfn = &edev->hwfns[i]; in qed_nic_stop() local
H A Dqede_sriov.c45 struct ecore_hwfn *p_hwfn; in qed_sriov_enable() local
153 struct ecore_hwfn *p_hwfn = arg; in qed_iov_pf_task() local
186 int qed_schedule_iov(struct ecore_hwfn *p_hwfn, enum qed_iov_wq_flag flag) in qed_schedule_iov()
H A Dqede_ethdev.c282 static void qede_interrupt_action(struct ecore_hwfn *p_hwfn) in qede_interrupt_action()
450 struct ecore_hwfn *p_hwfn; in qede_stop_vport() local
476 struct ecore_hwfn *p_hwfn; in qede_start_vport() local
514 struct ecore_hwfn *p_hwfn; in qede_activate_vport() local
577 struct ecore_hwfn *p_hwfn; in qede_enable_tpa() local
860 struct ecore_hwfn *p_hwfn; in qede_config_accept_any_vlan() local
887 struct ecore_hwfn *p_hwfn; in qede_vlan_stripping() local
1092 struct ecore_hwfn *p_hwfn; in qede_fastpath_start() local
1944 struct ecore_hwfn *p_hwfn; in qede_update_mtu() local
2116 struct ecore_hwfn *p_hwfn; in qede_rss_hash_update() local
[all …]
H A Dqede_filter.c203 struct ecore_hwfn *p_hwfn; in qede_config_arfs_filter() local
430 struct ecore_hwfn *p_hwfn; in qede_tunnel_update() local

12