Searched refs:ecore_hwfn (Results 1 - 25 of 58) sorted by relevance

123

/freebsd-13-stable/sys/dev/qlnx/qlnxe/
H A Decore_fcoe.h46 enum _ecore_status_t ecore_fcoe_alloc(struct ecore_hwfn *p_hwfn);
48 void ecore_fcoe_setup(struct ecore_hwfn *p_hwfn);
50 void ecore_fcoe_free(struct ecore_hwfn *p_hwfn);
52 static inline enum _ecore_status_t ecore_fcoe_alloc(struct ecore_hwfn OSAL_UNUSED *p_hwfn)
56 static inline void ecore_fcoe_setup(struct ecore_hwfn OSAL_UNUSED *p_hwfn) {}
57 static inline void ecore_fcoe_free(struct ecore_hwfn OSAL_UNUSED *p_hwfn) {}
62 ecore_sp_fcoe_conn_offload(struct ecore_hwfn *p_hwfn,
68 ecore_sp_fcoe_conn_destroy(struct ecore_hwfn *p_hwfn,
H A Decore_cxt.h60 u32 ecore_cxt_get_proto_cid_count(struct ecore_hwfn *p_hwfn,
64 u32 ecore_cxt_get_proto_tid_count(struct ecore_hwfn *p_hwfn,
67 u32 ecore_cxt_get_proto_cid_start(struct ecore_hwfn *p_hwfn,
70 u32 ecore_cxt_get_srq_count(struct ecore_hwfn *p_hwfn);
72 u32 ecore_cxt_get_xrc_srq_count(struct ecore_hwfn *p_hwfn);
81 enum _ecore_status_t ecore_cxt_set_pf_params(struct ecore_hwfn *p_hwfn,
92 enum _ecore_status_t ecore_cxt_cfg_ilt_compute(struct ecore_hwfn *p_hwfn,
101 u32 ecore_cxt_cfg_ilt_compute_excess(struct ecore_hwfn *p_hwfn, u32 used_lines);
110 enum _ecore_status_t ecore_cxt_mngr_alloc(struct ecore_hwfn *p_hwfn);
117 void ecore_cxt_mngr_free(struct ecore_hwfn *p_hwf
[all...]
H A Decore_iscsi.h52 enum _ecore_status_t ecore_iscsi_alloc(struct ecore_hwfn *p_hwfn);
54 void ecore_iscsi_setup(struct ecore_hwfn *p_hwfn);
56 void ecore_iscsi_free(struct ecore_hwfn *p_hwfn);
59 ecore_iscsi_alloc(struct ecore_hwfn OSAL_UNUSED *p_hwfn)
65 ecore_iscsi_setup(struct ecore_hwfn OSAL_UNUSED *p_hwfn) {}
68 ecore_iscsi_free(struct ecore_hwfn OSAL_UNUSED *p_hwfn) {}
72 void ecore_iscsi_free_connection(struct ecore_hwfn *p_hwfn,
88 ecore_sp_iscsi_conn_offload(struct ecore_hwfn *p_hwfn,
106 ecore_sp_iscsi_conn_update(struct ecore_hwfn *p_hwfn,
124 ecore_sp_iscsi_mac_update(struct ecore_hwfn *p_hwf
[all...]
H A Decore_vf_api.h46 enum _ecore_status_t ecore_vf_read_bulletin(struct ecore_hwfn *p_hwfn,
55 void ecore_vf_get_link_params(struct ecore_hwfn *p_hwfn,
64 void ecore_vf_get_link_state(struct ecore_hwfn *p_hwfn,
73 void ecore_vf_get_link_caps(struct ecore_hwfn *p_hwfn,
82 void ecore_vf_get_num_rxqs(struct ecore_hwfn *p_hwfn,
91 void ecore_vf_get_num_txqs(struct ecore_hwfn *p_hwfn,
100 void ecore_vf_get_num_cids(struct ecore_hwfn *p_hwfn, u8 *num_cids);
108 void ecore_vf_get_port_mac(struct ecore_hwfn *p_hwfn,
117 void ecore_vf_get_num_vlan_filters(struct ecore_hwfn *p_hwfn,
126 void ecore_vf_get_num_mac_filters(struct ecore_hwfn *p_hwf
[all...]
H A Decore_sp_api.h42 struct ecore_hwfn;
47 void (*function)(struct ecore_hwfn *,
63 enum _ecore_status_t ecore_eth_cqe_completion(struct ecore_hwfn *p_hwfn,
82 ecore_sp_pf_update_tunn_cfg(struct ecore_hwfn *p_hwfn,
H A Decore_cxt_api.h34 struct ecore_hwfn;
59 enum _ecore_status_t ecore_cxt_get_cid_info(struct ecore_hwfn *p_hwfn,
70 enum _ecore_status_t ecore_cxt_get_tid_mem_info(struct ecore_hwfn *p_hwfn,
H A Decore_int.h86 int ecore_int_igu_reset_cam(struct ecore_hwfn *p_hwfn,
95 int ecore_int_igu_reset_cam_default(struct ecore_hwfn *p_hwfn,
106 u16 ecore_get_igu_sb_id(struct ecore_hwfn *p_hwfn, u16 sb_id);
117 ecore_get_igu_free_sb(struct ecore_hwfn *p_hwfn, bool b_is_pf);
120 void ecore_int_igu_init_pure_rt(struct ecore_hwfn *p_hwfn,
125 void ecore_int_igu_init_rt(struct ecore_hwfn *p_hwfn);
138 enum _ecore_status_t ecore_int_igu_read_cam(struct ecore_hwfn *p_hwfn,
141 typedef enum _ecore_status_t(*ecore_int_comp_cb_t)(struct ecore_hwfn *p_hwfn,
163 enum _ecore_status_t ecore_int_register_cb(struct ecore_hwfn *p_hwfn,
179 enum _ecore_status_t ecore_int_unregister_cb(struct ecore_hwfn *p_hwf
[all...]
H A Decore_init_ops.h55 enum _ecore_status_t ecore_init_run(struct ecore_hwfn *p_hwfn,
69 enum _ecore_status_t ecore_init_alloc(struct ecore_hwfn *p_hwfn);
77 void ecore_init_free(struct ecore_hwfn *p_hwfn);
85 void ecore_init_clear_rt_data(struct ecore_hwfn *p_hwfn);
95 void ecore_init_store_rt_reg(struct ecore_hwfn *p_hwfn,
115 void ecore_init_store_rt_agg(struct ecore_hwfn *p_hwfn,
130 void ecore_gtt_init(struct ecore_hwfn *p_hwfn,
H A Decore_hw.h97 void ecore_ptt_invalidate(struct ecore_hwfn *p_hwfn);
106 enum _ecore_status_t ecore_ptt_pool_alloc(struct ecore_hwfn *p_hwfn);
113 void ecore_ptt_pool_free(struct ecore_hwfn *p_hwfn);
132 void ecore_ptt_set_win(struct ecore_hwfn *p_hwfn,
144 struct ecore_ptt *ecore_get_reserved_ptt(struct ecore_hwfn *p_hwfn,
155 void ecore_wr(struct ecore_hwfn *p_hwfn,
167 u32 ecore_rd(struct ecore_hwfn *p_hwfn,
181 void ecore_memcpy_from(struct ecore_hwfn *p_hwfn,
197 void ecore_memcpy_to(struct ecore_hwfn *p_hwfn,
213 void ecore_fid_pretend(struct ecore_hwfn *p_hwf
[all...]
H A Decore_init_fw_funcs.h73 int ecore_qm_common_rt_init(struct ecore_hwfn *p_hwfn,
116 int ecore_qm_pf_rt_init(struct ecore_hwfn *p_hwfn,
146 int ecore_init_pf_wfq(struct ecore_hwfn *p_hwfn,
161 int ecore_init_pf_rl(struct ecore_hwfn *p_hwfn,
178 int ecore_init_vport_wfq(struct ecore_hwfn *p_hwfn,
195 int ecore_init_vport_rl(struct ecore_hwfn *p_hwfn,
214 bool ecore_send_qm_stop_cmd(struct ecore_hwfn *p_hwfn,
235 void ecore_init_nig_ets(struct ecore_hwfn *p_hwfn,
249 void ecore_init_nig_lb_rl(struct ecore_hwfn *p_hwfn,
264 void ecore_init_nig_pri_tc_map(struct ecore_hwfn *p_hwf
[all...]
H A Decore_mcp.h136 enum _ecore_status_t ecore_mcp_cmd_init(struct ecore_hwfn *p_hwfn,
146 void ecore_mcp_cmd_port_init(struct ecore_hwfn *p_hwfn,
157 enum _ecore_status_t ecore_mcp_free(struct ecore_hwfn *p_hwfn);
171 enum _ecore_status_t ecore_mcp_handle_events(struct ecore_hwfn *p_hwfn,
188 enum _ecore_status_t ecore_issue_pulse(struct ecore_hwfn *p_hwfn,
217 enum _ecore_status_t ecore_mcp_load_req(struct ecore_hwfn *p_hwfn,
229 enum _ecore_status_t ecore_mcp_load_done(struct ecore_hwfn *p_hwfn,
240 enum _ecore_status_t ecore_mcp_cancel_load_req(struct ecore_hwfn *p_hwfn,
251 enum _ecore_status_t ecore_mcp_unload_req(struct ecore_hwfn *p_hwfn,
262 enum _ecore_status_t ecore_mcp_unload_done(struct ecore_hwfn *p_hwf
[all...]
H A Decore_roce.h43 ecore_roce_dpm_dcbx(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
46 ecore_rdma_dpm_bar(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
49 ecore_roce_dcqcn_cfg(struct ecore_hwfn *p_hwfn,
55 ecore_roce_setup(struct ecore_hwfn *p_hwfn);
58 ecore_roce_stop_rl(struct ecore_hwfn *p_hwfn);
61 ecore_roce_stop(struct ecore_hwfn *p_hwfn);
64 ecore_roce_query_qp(struct ecore_hwfn *p_hwfn,
69 ecore_roce_destroy_qp(struct ecore_hwfn *p_hwfn,
74 ecore_roce_alloc_qp_idx(struct ecore_hwfn *p_hwfn,
90 ecore_roce_modify_qp(struct ecore_hwfn *p_hwf
[all...]
H A Decore_l2.h109 struct ecore_hwfn *p_owner;
112 enum _ecore_status_t ecore_l2_alloc(struct ecore_hwfn *p_hwfn);
113 void ecore_l2_setup(struct ecore_hwfn *p_hwfn);
114 void ecore_l2_free(struct ecore_hwfn *p_hwfn);
116 void ecore_eth_queue_cid_release(struct ecore_hwfn *p_hwfn,
120 ecore_eth_queue_to_cid(struct ecore_hwfn *p_hwfn, u16 opaque_fid,
126 ecore_sp_eth_vport_start(struct ecore_hwfn *p_hwfn,
142 ecore_eth_rxq_start_ramrod(struct ecore_hwfn *p_hwfn,
161 ecore_eth_txq_start_ramrod(struct ecore_hwfn *p_hwfn,
168 enum _ecore_status_t ecore_set_rxq_coalesce(struct ecore_hwfn *p_hwf
[all...]
H A Decore_dbg_fw_funcs.h69 enum chip_ids ecore_dbg_get_chip_id(struct ecore_hwfn *p_hwfn);
80 void ecore_read_regs(struct ecore_hwfn *p_hwfn,
116 enum dbg_status ecore_dbg_bus_reset(struct ecore_hwfn *p_hwfn,
139 enum dbg_status ecore_dbg_bus_set_pci_output(struct ecore_hwfn *p_hwfn,
179 enum dbg_status ecore_dbg_bus_set_nw_output(struct ecore_hwfn *p_hwfn,
215 enum dbg_status ecore_dbg_bus_enable_block(struct ecore_hwfn *p_hwfn,
239 enum dbg_status ecore_dbg_bus_enable_storm(struct ecore_hwfn *p_hwfn,
265 enum dbg_status ecore_dbg_bus_enable_timestamp(struct ecore_hwfn *p_hwfn,
285 enum dbg_status ecore_dbg_bus_add_eid_range_sem_filter(struct ecore_hwfn *p_hwfn,
303 enum dbg_status ecore_dbg_bus_add_eid_mask_sem_filter(struct ecore_hwfn *p_hwf
[all...]
H A Decore_vf.h45 /* This data is held in the ecore_hwfn structure for VFs only. */
97 enum _ecore_status_t ecore_vf_pf_get_coalesce(struct ecore_hwfn *p_hwfn,
110 enum _ecore_status_t ecore_vf_pf_set_coalesce(struct ecore_hwfn *p_hwfn,
123 enum _ecore_status_t ecore_vf_hw_prepare(struct ecore_hwfn *p_hwfn);
139 enum _ecore_status_t ecore_vf_pf_rxq_start(struct ecore_hwfn *p_hwfn,
160 ecore_vf_pf_txq_start(struct ecore_hwfn *p_hwfn,
174 enum _ecore_status_t ecore_vf_pf_rxq_stop(struct ecore_hwfn *p_hwfn,
186 enum _ecore_status_t ecore_vf_pf_txq_stop(struct ecore_hwfn *p_hwfn,
204 enum _ecore_status_t ecore_vf_pf_rxqs_update(struct ecore_hwfn *p_hwfn,
219 enum _ecore_status_t ecore_vf_pf_vport_update(struct ecore_hwfn *p_hwf
[all...]
H A Decore_iov_api.h155 ecore_iov_get_vf_sw_mbx(struct ecore_hwfn *p_hwfn,
218 ecore_iov_init_hw_for_vf(struct ecore_hwfn *p_hwfn,
230 void ecore_iov_process_mbx_req(struct ecore_hwfn *p_hwfn,
246 enum _ecore_status_t ecore_iov_release_hw_for_vf(struct ecore_hwfn *p_hwfn,
259 enum _ecore_status_t ecore_iov_set_vf_ctx(struct ecore_hwfn *p_hwfn,
271 enum _ecore_status_t ecore_iov_vf_flr_cleanup(struct ecore_hwfn *p_hwfn,
284 ecore_iov_single_vf_flr_cleanup(struct ecore_hwfn *p_hwfn,
298 void ecore_iov_set_link(struct ecore_hwfn *p_hwfn,
313 void ecore_iov_get_link(struct ecore_hwfn *p_hwfn,
327 bool ecore_iov_is_vf_pending_flr(struct ecore_hwfn *p_hwf
[all...]
H A Decore_sp_commands.h66 enum _ecore_status_t ecore_sp_init_request(struct ecore_hwfn *p_hwfn,
92 enum _ecore_status_t ecore_sp_pf_start(struct ecore_hwfn *p_hwfn,
110 enum _ecore_status_t ecore_sp_pf_update_dcbx(struct ecore_hwfn *p_hwfn);
126 enum _ecore_status_t ecore_sp_pf_stop(struct ecore_hwfn *p_hwfn);
136 enum _ecore_status_t ecore_sp_heartbeat_ramrod(struct ecore_hwfn *p_hwfn);
165 enum _ecore_status_t ecore_sp_rl_update(struct ecore_hwfn *p_hwfn,
176 enum _ecore_status_t ecore_sp_pf_update_stag(struct ecore_hwfn *p_hwfn);
185 enum _ecore_status_t ecore_sp_pf_update_ufp(struct ecore_hwfn *p_hwfn);
H A Decore_dcbx.h72 ecore_dcbx_mib_update_event(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
75 enum _ecore_status_t ecore_dcbx_info_alloc(struct ecore_hwfn *p_hwfn);
76 void ecore_dcbx_info_free(struct ecore_hwfn *p_hwfn);
81 u8 ecore_dcbx_get_dscp_value(struct ecore_hwfn *p_hwfn, u8 pri);
84 ecore_lldp_mib_update_event(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
H A Decore_sriov.h196 /* This structure is part of ecore_hwfn and used only for PFs that have sriov
231 enum _ecore_status_t ecore_iov_hw_info(struct ecore_hwfn *p_hwfn);
250 void ecore_dp_tlv_list(struct ecore_hwfn *p_hwfn,
260 enum _ecore_status_t ecore_iov_alloc(struct ecore_hwfn *p_hwfn);
267 void ecore_iov_setup(struct ecore_hwfn *p_hwfn);
274 void ecore_iov_free(struct ecore_hwfn *p_hwfn);
291 bool ecore_iov_mark_vf_flr(struct ecore_hwfn *p_hwfn,
303 void *ecore_iov_search_list_tlvs(struct ecore_hwfn *p_hwfn,
317 struct ecore_vf_info *ecore_iov_get_vf_info(struct ecore_hwfn *p_hwfn,
321 static OSAL_INLINE enum _ecore_status_t ecore_iov_hw_info(struct ecore_hwfn OSAL_UNUSE
[all...]
H A Decore_fcoe_api.h102 ecore_fcoe_acquire_connection(struct ecore_hwfn *p_hwfn,
106 void OSAL_IOMEM *ecore_fcoe_get_db_addr(struct ecore_hwfn *p_hwfn,
109 void OSAL_IOMEM *ecore_fcoe_get_global_cmdq_cons(struct ecore_hwfn *p_hwfn,
112 void OSAL_IOMEM *ecore_fcoe_get_primary_bdq_prod(struct ecore_hwfn *p_hwfn,
115 void OSAL_IOMEM *ecore_fcoe_get_secondary_bdq_prod(struct ecore_hwfn *p_hwfn,
119 ecore_fcoe_offload_connection(struct ecore_hwfn *p_hwfn,
123 ecore_fcoe_terminate_connection(struct ecore_hwfn *p_hwfn,
126 void ecore_fcoe_release_connection(struct ecore_hwfn *p_hwfn,
130 ecore_sp_fcoe_func_start(struct ecore_hwfn *p_hwfn,
135 ecore_sp_fcoe_func_stop(struct ecore_hwfn *p_hwf
[all...]
H A Decore_ooo.h83 enum _ecore_status_t ecore_ooo_alloc(struct ecore_hwfn *p_hwfn);
85 void ecore_ooo_setup(struct ecore_hwfn *p_hwfn);
87 void ecore_ooo_free(struct ecore_hwfn *p_hwfn);
90 ecore_ooo_alloc(struct ecore_hwfn OSAL_UNUSED *p_hwfn)
96 ecore_ooo_setup(struct ecore_hwfn OSAL_UNUSED *p_hwfn) {}
99 ecore_ooo_free(struct ecore_hwfn OSAL_UNUSED *p_hwfn) {}
122 void ecore_ooo_delete_isles(struct ecore_hwfn *p_hwfn,
128 void ecore_ooo_add_new_isle(struct ecore_hwfn *p_hwfn,
134 void ecore_ooo_add_new_buffer(struct ecore_hwfn *p_hwfn,
141 void ecore_ooo_join_isles(struct ecore_hwfn *p_hwf
[all...]
H A Decore_iwarp.h213 ecore_iwarp_alloc(struct ecore_hwfn *p_hwfn);
216 ecore_iwarp_setup(struct ecore_hwfn *p_hwfn,
220 ecore_iwarp_init_fw_ramrod(struct ecore_hwfn *p_hwfn,
224 ecore_iwarp_stop(struct ecore_hwfn *p_hwfn);
227 ecore_iwarp_resc_free(struct ecore_hwfn *p_hwfn);
230 ecore_iwarp_init_devinfo(struct ecore_hwfn *p_hwfn);
233 ecore_iwarp_init_hw(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
236 ecore_iwarp_create_qp(struct ecore_hwfn *p_hwfn,
241 ecore_iwarp_modify_qp(struct ecore_hwfn *p_hwfn,
247 ecore_iwarp_destroy_qp(struct ecore_hwfn *p_hwf
[all...]
H A Decore_int_api.h63 struct ecore_hwfn *p_hwfn;
153 static OSAL_INLINE void __internal_ram_wr(struct ecore_hwfn *p_hwfn,
170 static OSAL_INLINE void internal_ram_wr(struct ecore_hwfn *p_hwfn,
185 struct ecore_hwfn;
204 void ecore_int_cau_conf_pi(struct ecore_hwfn *p_hwfn,
218 void ecore_int_igu_enable_int(struct ecore_hwfn *p_hwfn,
228 void ecore_int_igu_disable_int(struct ecore_hwfn *p_hwfn,
239 u64 ecore_int_igu_read_sisr_reg(struct ecore_hwfn *p_hwfn);
259 enum _ecore_status_t ecore_int_sb_init(struct ecore_hwfn *p_hwfn,
273 struct ecore_hwfn *p_hwf
[all...]
H A Decore_spq.h160 (*ecore_spq_async_comp_cb)(struct ecore_hwfn *p_hwfn,
167 ecore_spq_register_async_cb(struct ecore_hwfn *p_hwfn,
172 ecore_spq_unregister_async_cb(struct ecore_hwfn *p_hwfn,
221 struct ecore_hwfn;
232 enum _ecore_status_t ecore_spq_post(struct ecore_hwfn *p_hwfn,
243 enum _ecore_status_t ecore_spq_alloc(struct ecore_hwfn *p_hwfn);
250 void ecore_spq_setup(struct ecore_hwfn *p_hwfn);
257 void ecore_spq_free(struct ecore_hwfn *p_hwfn);
271 ecore_spq_get_entry(struct ecore_hwfn *p_hwfn,
281 void ecore_spq_return_entry(struct ecore_hwfn *p_hwf
[all...]
H A Decore_mcp_api.h584 struct ecore_mcp_link_params *ecore_mcp_get_link_params(struct ecore_hwfn
594 struct ecore_mcp_link_state *ecore_mcp_get_link_state(struct ecore_hwfn
605 *ecore_mcp_get_link_capabilities(struct ecore_hwfn *p_hwfn);
616 enum _ecore_status_t ecore_mcp_set_link(struct ecore_hwfn *p_hwfn,
630 enum _ecore_status_t ecore_mcp_get_mfw_ver(struct ecore_hwfn *p_hwfn,
644 enum _ecore_status_t ecore_mcp_get_mbi_ver(struct ecore_hwfn *p_hwfn,
659 enum _ecore_status_t ecore_mcp_get_media_type(struct ecore_hwfn *p_hwfn,
674 enum _ecore_status_t ecore_mcp_get_transceiver_data(struct ecore_hwfn *p_hwfn,
690 enum _ecore_status_t ecore_mcp_trans_speed_mask(struct ecore_hwfn *p_hwfn,
705 enum _ecore_status_t ecore_mcp_get_board_config(struct ecore_hwfn *p_hwf
[all...]

Completed in 221 milliseconds

123