Home
last modified time | relevance | path

Searched refs:qed_hwfn (Results 1 – 25 of 49) sorted by relevance

12

/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_mcp.h307 int qed_mcp_set_link(struct qed_hwfn *p_hwfn,
410 int qed_mcp_cmd(struct qed_hwfn *p_hwfn,
427 int qed_mcp_drain(struct qed_hwfn *p_hwfn,
563 int qed_mcp_set_led(struct qed_hwfn *p_hwfn,
812 int qed_mcp_cmd_init(struct qed_hwfn *p_hwfn,
835 int qed_mcp_free(struct qed_hwfn *p_hwfn);
879 int qed_mcp_load_req(struct qed_hwfn *p_hwfn,
921 void qed_mcp_read_mb(struct qed_hwfn *p_hwfn,
956 int qed_mcp_reset(struct qed_hwfn *p_hwfn,
1180 qed_mcp_resc_lock(struct qed_hwfn *p_hwfn,
[all …]
A Dqed_ooo.h65 int qed_ooo_alloc(struct qed_hwfn *p_hwfn);
67 void qed_ooo_setup(struct qed_hwfn *p_hwfn);
69 void qed_ooo_free(struct qed_hwfn *p_hwfn);
83 qed_ooo_get_free_buffer(struct qed_hwfn *p_hwfn,
91 qed_ooo_get_ready_buffer(struct qed_hwfn *p_hwfn,
94 void qed_ooo_delete_isles(struct qed_hwfn *p_hwfn,
98 void qed_ooo_add_new_isle(struct qed_hwfn *p_hwfn,
103 void qed_ooo_add_new_buffer(struct qed_hwfn *p_hwfn,
109 void qed_ooo_join_isles(struct qed_hwfn *p_hwfn,
140 qed_ooo_get_free_buffer(struct qed_hwfn *p_hwfn, in qed_ooo_get_free_buffer()
[all …]
A Dqed_int.h64 void qed_int_igu_enable_int(struct qed_hwfn *p_hwfn,
105 int qed_int_sb_init(struct qed_hwfn *p_hwfn,
120 void qed_int_sb_setup(struct qed_hwfn *p_hwfn,
137 int qed_int_sb_release(struct qed_hwfn *p_hwfn,
161 void qed_int_get_num_sbs(struct qed_hwfn *p_hwfn,
288 int qed_int_igu_read_cam(struct qed_hwfn *p_hwfn,
311 int qed_int_register_cb(struct qed_hwfn *p_hwfn,
371 void qed_int_cau_conf_sb(struct qed_hwfn *p_hwfn,
386 int qed_int_alloc(struct qed_hwfn *p_hwfn,
396 void qed_int_free(struct qed_hwfn *p_hwfn);
[all …]
A Dqed_sp.h26 void (*function)(struct qed_hwfn *p_hwfn,
214 int qed_spq_post(struct qed_hwfn *p_hwfn,
225 int qed_spq_alloc(struct qed_hwfn *p_hwfn);
234 void qed_spq_setup(struct qed_hwfn *p_hwfn);
243 void qed_spq_free(struct qed_hwfn *p_hwfn);
255 qed_spq_get_entry(struct qed_hwfn *p_hwfn,
285 void qed_eq_setup(struct qed_hwfn *p_hwfn);
294 void qed_eq_free(struct qed_hwfn *p_hwfn);
340 u32 qed_spq_get_cid(struct qed_hwfn *p_hwfn);
424 int qed_sp_pf_start(struct qed_hwfn *p_hwfn,
[all …]
A Dqed_cxt.h38 int qed_cxt_get_cid_info(struct qed_hwfn *p_hwfn,
49 int qed_cxt_get_tid_mem_info(struct qed_hwfn *p_hwfn,
102 int qed_cxt_mngr_alloc(struct qed_hwfn *p_hwfn);
111 void qed_cxt_mngr_free(struct qed_hwfn *p_hwfn);
120 int qed_cxt_tables_alloc(struct qed_hwfn *p_hwfn);
127 void qed_cxt_mngr_setup(struct qed_hwfn *p_hwfn);
136 void qed_cxt_hw_init_common(struct qed_hwfn *p_hwfn);
157 void qed_qm_init_pf(struct qed_hwfn *p_hwfn,
202 int qed_cxt_acquire_cid(struct qed_hwfn *p_hwfn,
216 int _qed_cxt_acquire_cid(struct qed_hwfn *p_hwfn,
[all …]
A Dqed_vf.h860 int qed_vf_hw_prepare(struct qed_hwfn *p_hwfn);
875 int qed_vf_pf_rxq_start(struct qed_hwfn *p_hwfn,
895 qed_vf_pf_txq_start(struct qed_hwfn *p_hwfn,
909 int qed_vf_pf_rxq_stop(struct qed_hwfn *p_hwfn,
940 int qed_vf_pf_reset(struct qed_hwfn *p_hwfn);
949 int qed_vf_pf_release(struct qed_hwfn *p_hwfn);
971 void qed_vf_set_sb_info(struct qed_hwfn *p_hwfn,
1087 qed_vf_get_link_caps(struct qed_hwfn *p_hwfn, in qed_vf_get_link_caps()
1166 qed_vf_pf_vport_update(struct qed_hwfn *p_hwfn, in qed_vf_pf_vport_update()
1240 __qed_vf_get_link_caps(struct qed_hwfn *p_hwfn, in __qed_vf_get_link_caps()
[all …]
A Dqed_hw.h62 void qed_gtt_init(struct qed_hwfn *p_hwfn);
80 int qed_ptt_pool_alloc(struct qed_hwfn *p_hwfn);
89 void qed_ptt_pool_free(struct qed_hwfn *p_hwfn);
120 void qed_ptt_set_win(struct qed_hwfn *p_hwfn,
145 void qed_wr(struct qed_hwfn *p_hwfn,
159 u32 qed_rd(struct qed_hwfn *p_hwfn,
174 void qed_memcpy_from(struct qed_hwfn *p_hwfn,
191 void qed_memcpy_to(struct qed_hwfn *p_hwfn,
209 void qed_fid_pretend(struct qed_hwfn *p_hwfn,
222 void qed_port_pretend(struct qed_hwfn *p_hwfn,
[all …]
A Dqed_sriov.h266 bool qed_iov_is_valid_vfid(struct qed_hwfn *p_hwfn,
292 int qed_iov_hw_info(struct qed_hwfn *p_hwfn);
324 void qed_sriov_vfpf_malicious(struct qed_hwfn *p_hwfn,
348 int qed_iov_alloc(struct qed_hwfn *p_hwfn);
357 void qed_iov_setup(struct qed_hwfn *p_hwfn);
366 void qed_iov_free(struct qed_hwfn *p_hwfn);
397 void *qed_iov_search_list_tlvs(struct qed_hwfn *p_hwfn,
406 void qed_inform_vf_link_state(struct qed_hwfn *hwfn);
409 qed_iov_is_valid_vfid(struct qed_hwfn *p_hwfn, in qed_iov_is_valid_vfid()
432 static inline int qed_iov_alloc(struct qed_hwfn *p_hwfn) in qed_iov_alloc()
[all …]
A Dqed_l2.h109 qed_eth_rx_queue_stop(struct qed_hwfn *p_hwfn,
146 int qed_sp_eth_vport_start(struct qed_hwfn *p_hwfn,
201 int qed_sp_vport_update(struct qed_hwfn *p_hwfn,
354 struct qed_hwfn *p_owner;
357 int qed_l2_alloc(struct qed_hwfn *p_hwfn);
358 void qed_l2_setup(struct qed_hwfn *p_hwfn);
359 void qed_l2_free(struct qed_hwfn *p_hwfn);
365 qed_eth_queue_to_cid(struct qed_hwfn *p_hwfn,
372 qed_sp_eth_vport_start(struct qed_hwfn *p_hwfn,
389 qed_eth_rxq_start_ramrod(struct qed_hwfn *p_hwfn,
[all …]
A Dqed_dbg_hsi.h789 enum dbg_status qed_dbg_set_bin_ptr(struct qed_hwfn *p_hwfn,
803 void qed_read_regs(struct qed_hwfn *p_hwfn,
821 bool qed_read_fw_info(struct qed_hwfn *p_hwfn,
835 enum dbg_status qed_dbg_grc_config(struct qed_hwfn *p_hwfn,
846 void qed_dbg_grc_set_params_default(struct qed_hwfn *p_hwfn);
878 enum dbg_status qed_dbg_grc_dump(struct qed_hwfn *p_hwfn,
1132 enum dbg_status qed_dbg_read_attn(struct qed_hwfn *p_hwfn,
1150 enum dbg_status qed_dbg_print_attn(struct qed_hwfn *p_hwfn,
1272 void qed_dbg_mcp_trace_set_meta_data(struct qed_hwfn *p_hwfn,
1346 void qed_mcp_trace_free_meta_data(struct qed_hwfn *p_hwfn);
[all …]
A Dqed_roce.h13 void qed_roce_dpm_dcbx(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
15 static inline void qed_roce_dpm_dcbx(struct qed_hwfn *p_hwfn, in qed_roce_dpm_dcbx()
19 int qed_roce_setup(struct qed_hwfn *p_hwfn);
20 void qed_roce_stop(struct qed_hwfn *p_hwfn);
21 int qed_roce_init_hw(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
22 int qed_roce_alloc_cid(struct qed_hwfn *p_hwfn, u16 *cid);
23 int qed_roce_destroy_qp(struct qed_hwfn *p_hwfn, struct qed_rdma_qp *qp);
25 int qed_roce_query_qp(struct qed_hwfn *p_hwfn,
29 int qed_roce_modify_qp(struct qed_hwfn *p_hwfn,
A Dqed_rdma.h173 void qed_rdma_dpm_bar(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
174 void qed_rdma_dpm_conf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
175 int qed_rdma_info_alloc(struct qed_hwfn *p_hwfn);
176 void qed_rdma_info_free(struct qed_hwfn *p_hwfn);
178 static inline void qed_rdma_dpm_conf(struct qed_hwfn *p_hwfn, in qed_rdma_dpm_conf()
180 static inline void qed_rdma_dpm_bar(struct qed_hwfn *p_hwfn, in qed_rdma_dpm_bar()
182 static inline int qed_rdma_info_alloc(struct qed_hwfn *p_hwfn) in qed_rdma_info_alloc()
184 static inline void qed_rdma_info_free(struct qed_hwfn *p_hwfn) {} in qed_rdma_info_free()
188 qed_rdma_bmap_alloc(struct qed_hwfn *p_hwfn,
195 qed_rdma_bmap_alloc_id(struct qed_hwfn *p_hwfn,
[all …]
A Dqed_dev_api.h162 int qed_hw_start_fastpath(struct qed_hwfn *p_hwfn);
194 struct qed_ptt *qed_ptt_acquire(struct qed_hwfn *p_hwfn);
207 void qed_ptt_release(struct qed_hwfn *p_hwfn,
231 qed_dmae_host2grc(struct qed_hwfn *p_hwfn,
250 int qed_dmae_grc2host(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,
268 int qed_dmae_host2host(struct qed_hwfn *p_hwfn,
287 int qed_fw_l2_queue(struct qed_hwfn *p_hwfn,
300 int qed_fw_vport(struct qed_hwfn *p_hwfn,
313 int qed_fw_rss_eng(struct qed_hwfn *p_hwfn,
436 int qed_final_cleanup(struct qed_hwfn *p_hwfn,
[all …]
A Dqed_iwarp.h159 int qed_iwarp_alloc(struct qed_hwfn *p_hwfn);
161 int qed_iwarp_setup(struct qed_hwfn *p_hwfn,
164 void qed_iwarp_init_fw_ramrod(struct qed_hwfn *p_hwfn,
167 int qed_iwarp_stop(struct qed_hwfn *p_hwfn);
169 void qed_iwarp_resc_free(struct qed_hwfn *p_hwfn);
171 void qed_iwarp_init_devinfo(struct qed_hwfn *p_hwfn);
173 void qed_iwarp_init_hw(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
175 int qed_iwarp_create_qp(struct qed_hwfn *p_hwfn,
179 int qed_iwarp_modify_qp(struct qed_hwfn *p_hwfn, struct qed_rdma_qp *qp,
182 int qed_iwarp_destroy_qp(struct qed_hwfn *p_hwfn, struct qed_rdma_qp *qp);
[all …]
A Dqed_spq.c90 static int qed_spq_block(struct qed_hwfn *p_hwfn, in qed_spq_block()
417 void qed_eq_setup(struct qed_hwfn *p_hwfn) in qed_eq_setup()
422 void qed_eq_free(struct qed_hwfn *p_hwfn) in qed_eq_free()
467 void qed_spq_setup(struct qed_hwfn *p_hwfn) in qed_spq_setup()
533 int qed_spq_alloc(struct qed_hwfn *p_hwfn) in qed_spq_alloc()
584 void qed_spq_free(struct qed_hwfn *p_hwfn) in qed_spq_free()
727 u32 qed_spq_get_cid(struct qed_hwfn *p_hwfn) in qed_spq_get_cid()
814 int qed_spq_post(struct qed_hwfn *p_hwfn, in qed_spq_post()
983 int qed_consq_alloc(struct qed_hwfn *p_hwfn) in qed_consq_alloc()
1017 void qed_consq_setup(struct qed_hwfn *p_hwfn) in qed_consq_setup()
[all …]
A Dqed_rdma.c391 struct qed_hwfn *p_hwfn = (struct qed_hwfn *)rdma_cxt; in qed_rdma_free_tid()
642 struct qed_hwfn *p_hwfn = (struct qed_hwfn *)rdma_cxt; in qed_rdma_alloc_tid()
713 struct qed_hwfn *p_hwfn = (struct qed_hwfn *)rdma_cxt; in qed_rdma_stop()
780 struct qed_hwfn *p_hwfn = (struct qed_hwfn *)rdma_cxt; in qed_rdma_add_user()
814 struct qed_hwfn *p_hwfn = (struct qed_hwfn *)rdma_cxt; in qed_rdma_query_port()
835 struct qed_hwfn *p_hwfn = (struct qed_hwfn *)rdma_cxt; in qed_rdma_query_device()
953 struct qed_hwfn *p_hwfn = (struct qed_hwfn *)rdma_cxt; in qed_rdma_alloc_pd()
973 struct qed_hwfn *p_hwfn = (struct qed_hwfn *)rdma_cxt; in qed_rdma_free_pd()
985 struct qed_hwfn *p_hwfn = (struct qed_hwfn *)rdma_cxt; in qed_rdma_alloc_xrcd()
1009 struct qed_hwfn *p_hwfn = (struct qed_hwfn *)rdma_cxt; in qed_rdma_free_xrcd()
[all …]
A Dqed_fcoe.h26 int qed_fcoe_alloc(struct qed_hwfn *p_hwfn);
28 void qed_fcoe_setup(struct qed_hwfn *p_hwfn);
30 void qed_fcoe_free(struct qed_hwfn *p_hwfn);
34 static inline int qed_fcoe_alloc(struct qed_hwfn *p_hwfn) in qed_fcoe_alloc()
39 static inline void qed_fcoe_setup(struct qed_hwfn *p_hwfn) {} in qed_fcoe_setup()
40 static inline void qed_fcoe_free(struct qed_hwfn *p_hwfn) {} in qed_fcoe_free()
A Dqed_iscsi.h30 int qed_iscsi_alloc(struct qed_hwfn *p_hwfn);
32 void qed_iscsi_setup(struct qed_hwfn *p_hwfn);
34 void qed_iscsi_free(struct qed_hwfn *p_hwfn);
48 static inline int qed_iscsi_alloc(struct qed_hwfn *p_hwfn) in qed_iscsi_alloc()
53 static inline void qed_iscsi_setup(struct qed_hwfn *p_hwfn) {} in qed_iscsi_setup()
55 static inline void qed_iscsi_free(struct qed_hwfn *p_hwfn) {} in qed_iscsi_free()
A Dqed_mcp.c53 bool qed_mcp_is_init(struct qed_hwfn *p_hwfn) in qed_mcp_is_init()
101 qed_mcp_cmd_add_elem(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_add_elem()
140 int qed_mcp_free(struct qed_hwfn *p_hwfn) in qed_mcp_free()
617 int qed_mcp_cmd(struct qed_hwfn *p_hwfn, in qed_mcp_cmd()
642 qed_mcp_nvm_wr_cmd(struct qed_hwfn *p_hwfn, in qed_mcp_nvm_wr_cmd()
801 __qed_mcp_load_req(struct qed_hwfn *p_hwfn, in __qed_mcp_load_req()
939 int qed_mcp_load_req(struct qed_hwfn *p_hwfn, in qed_mcp_load_req()
1794 qed_mcp_mdump_cmd(struct qed_hwfn *p_hwfn, in qed_mcp_mdump_cmd()
2956 int qed_mcp_set_led(struct qed_hwfn *p_hwfn, in qed_mcp_set_led()
3702 __qed_mcp_resc_lock(struct qed_hwfn *p_hwfn, in __qed_mcp_resc_lock()
[all …]
A Dqed_init_ops.h34 int qed_init_run(struct qed_hwfn *p_hwfn,
47 int qed_init_alloc(struct qed_hwfn *p_hwfn);
56 void qed_init_free(struct qed_hwfn *p_hwfn);
67 void qed_init_store_rt_reg(struct qed_hwfn *p_hwfn,
77 void qed_init_store_rt_agg(struct qed_hwfn *p_hwfn,
93 void qed_gtt_init(struct qed_hwfn *p_hwfn);
A Dqed_hw.c44 int qed_ptt_pool_alloc(struct qed_hwfn *p_hwfn) in qed_ptt_pool_alloc()
69 void qed_ptt_invalidate(struct qed_hwfn *p_hwfn) in qed_ptt_invalidate()
80 void qed_ptt_pool_free(struct qed_hwfn *p_hwfn) in qed_ptt_pool_free()
140 void qed_ptt_set_win(struct qed_hwfn *p_hwfn, in qed_ptt_set_win()
164 static u32 qed_set_ptt(struct qed_hwfn *p_hwfn, in qed_set_ptt()
199 void qed_wr(struct qed_hwfn *p_hwfn, in qed_wr()
211 u32 qed_rd(struct qed_hwfn *p_hwfn, in qed_rd()
258 void qed_memcpy_from(struct qed_hwfn *p_hwfn, in qed_memcpy_from()
268 void qed_memcpy_to(struct qed_hwfn *p_hwfn, in qed_memcpy_to()
304 void qed_port_pretend(struct qed_hwfn *p_hwfn, in qed_port_pretend()
[all …]
A Dqed_sriov.c536 int qed_iov_alloc(struct qed_hwfn *p_hwfn) in qed_iov_alloc()
558 void qed_iov_setup(struct qed_hwfn *p_hwfn) in qed_iov_setup()
566 void qed_iov_free(struct qed_hwfn *p_hwfn) in qed_iov_free()
582 int qed_iov_hw_info(struct qed_hwfn *p_hwfn) in qed_iov_hw_info()
684 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_set_vf_to_disable()
4464 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_disable()
4530 struct qed_hwfn *hwfn; in qed_sriov_enable()
4631 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_pf_set_mac()
4667 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_pf_set_vlan()
4814 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_set_vf_link_state()
[all …]
A Dqed_vf.c209 int qed_vf_pf_release(struct qed_hwfn *p_hwfn) in qed_vf_pf_release()
440 int qed_vf_hw_prepare(struct qed_hwfn *p_hwfn) in qed_vf_hw_prepare()
719 qed_vf_pf_rxq_start(struct qed_hwfn *p_hwfn, in qed_vf_pf_rxq_start()
796 int qed_vf_pf_rxq_stop(struct qed_hwfn *p_hwfn, in qed_vf_pf_rxq_stop()
834 qed_vf_pf_txq_start(struct qed_hwfn *p_hwfn, in qed_vf_pf_txq_start()
929 int qed_vf_pf_vport_start(struct qed_hwfn *p_hwfn, in qed_vf_pf_vport_start()
979 int qed_vf_pf_vport_stop(struct qed_hwfn *p_hwfn) in qed_vf_pf_vport_stop()
1226 int qed_vf_pf_reset(struct qed_hwfn *p_hwfn) in qed_vf_pf_reset()
1404 qed_vf_pf_set_coalesce(struct qed_hwfn *p_hwfn, in qed_vf_pf_set_coalesce()
1459 void qed_vf_set_sb_info(struct qed_hwfn *p_hwfn, in qed_vf_set_sb_info()
[all …]
A Dqed_ooo.c21 *qed_ooo_seek_archipelago(struct qed_hwfn *p_hwfn, in qed_ooo_seek_archipelago()
64 void qed_ooo_save_history_entry(struct qed_hwfn *p_hwfn, in qed_ooo_save_history_entry()
76 int qed_ooo_alloc(struct qed_hwfn *p_hwfn) in qed_ooo_alloc()
236 void qed_ooo_setup(struct qed_hwfn *p_hwfn) in qed_ooo_setup()
245 void qed_ooo_free(struct qed_hwfn *p_hwfn) in qed_ooo_free()
276 void qed_ooo_put_free_buffer(struct qed_hwfn *p_hwfn, in qed_ooo_put_free_buffer()
298 void qed_ooo_put_ready_buffer(struct qed_hwfn *p_hwfn, in qed_ooo_put_ready_buffer()
325 void qed_ooo_delete_isles(struct qed_hwfn *p_hwfn, in qed_ooo_delete_isles()
353 void qed_ooo_add_new_isle(struct qed_hwfn *p_hwfn, in qed_ooo_add_new_isle()
412 void qed_ooo_add_new_buffer(struct qed_hwfn *p_hwfn, in qed_ooo_add_new_buffer()
[all …]
A Dqed_int.c77 int (*cb)(struct qed_hwfn *p_hwfn);
90 static int qed_mcp_attn_cb(struct qed_hwfn *p_hwfn) in qed_mcp_attn_cb()
180 static int qed_grc_attn_cb(struct qed_hwfn *p_hwfn) in qed_grc_attn_cb()
782 qed_int_aeu_translate(struct qed_hwfn *p_hwfn, in qed_int_aeu_translate()
1521 void qed_int_cau_conf_sb(struct qed_hwfn *p_hwfn, in qed_int_cau_conf_sb()
1587 void qed_int_sb_setup(struct qed_hwfn *p_hwfn, in qed_int_sb_setup()
1661 int qed_int_sb_init(struct qed_hwfn *p_hwfn, in qed_int_sb_init()
1710 int qed_int_sb_release(struct qed_hwfn *p_hwfn, in qed_int_sb_release()
1791 int qed_int_register_cb(struct qed_hwfn *p_hwfn, in qed_int_register_cb()
1875 qed_int_igu_enable(struct qed_hwfn *p_hwfn, in qed_int_igu_enable()
[all …]

Completed in 72 milliseconds

12