/linux-6.12.1/drivers/net/ethernet/qlogic/qed/ |
D | qed_mcp.h | 277 struct qed_mcp_link_params *qed_mcp_get_link_params(struct qed_hwfn *p_hwfn); 286 struct qed_mcp_link_state *qed_mcp_get_link_state(struct qed_hwfn *p_hwfn); 297 *qed_mcp_get_link_capabilities(struct qed_hwfn *p_hwfn); 309 int qed_mcp_set_link(struct qed_hwfn *p_hwfn, 323 int qed_mcp_get_mfw_ver(struct qed_hwfn *p_hwfn, 336 int qed_mcp_get_mbi_ver(struct qed_hwfn *p_hwfn, 349 int qed_mcp_get_media_type(struct qed_hwfn *p_hwfn, 363 int qed_mcp_get_transceiver_data(struct qed_hwfn *p_hwfn, 379 int qed_mcp_trans_speed_mask(struct qed_hwfn *p_hwfn, 392 int qed_mcp_get_board_config(struct qed_hwfn *p_hwfn, [all …]
|
D | qed_int.h | 64 void qed_int_igu_enable_int(struct qed_hwfn *p_hwfn, 76 void qed_int_igu_disable_int(struct qed_hwfn *p_hwfn, 87 u64 qed_int_igu_read_sisr_reg(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, 198 int qed_int_get_sb_dbg(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, 211 int qed_db_rec_handler(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); 259 int qed_int_igu_reset_cam(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); [all …]
|
D | qed_ooo.h | 61 void qed_ooo_save_history_entry(struct qed_hwfn *p_hwfn, 65 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); 71 void qed_ooo_release_connection_isles(struct qed_hwfn *p_hwfn, 75 void qed_ooo_release_all_isles(struct qed_hwfn *p_hwfn, 78 void qed_ooo_put_free_buffer(struct qed_hwfn *p_hwfn, 83 qed_ooo_get_free_buffer(struct qed_hwfn *p_hwfn, 86 void qed_ooo_put_ready_buffer(struct qed_hwfn *p_hwfn, 91 qed_ooo_get_ready_buffer(struct qed_hwfn *p_hwfn, [all …]
|
D | qed_sp.h | 26 void (*function)(struct qed_hwfn *p_hwfn, 42 int qed_eth_cqe_completion(struct qed_hwfn *p_hwfn, 157 typedef int (*qed_spq_async_comp_cb)(struct qed_hwfn *p_hwfn, u8 opcode, 162 qed_spq_register_async_cb(struct qed_hwfn *p_hwfn, 167 qed_spq_unregister_async_cb(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, [all …]
|
D | qed_cxt.h | 38 int qed_cxt_get_cid_info(struct qed_hwfn *p_hwfn, 49 int qed_cxt_get_tid_mem_info(struct qed_hwfn *p_hwfn, 62 u32 qed_cxt_get_proto_cid_count(struct qed_hwfn *p_hwfn, 73 int qed_cxt_set_pf_params(struct qed_hwfn *p_hwfn, u32 rdma_tasks); 83 int qed_cxt_cfg_ilt_compute(struct qed_hwfn *p_hwfn, u32 *last_line); 93 u32 qed_cxt_cfg_ilt_compute_excess(struct qed_hwfn *p_hwfn, u32 used_lines); 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); [all …]
|
D | qed_hw.h | 62 void qed_gtt_init(struct qed_hwfn *p_hwfn); 71 void qed_ptt_invalidate(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); 99 u32 qed_ptt_get_hw_addr(struct qed_hwfn *p_hwfn, 120 void qed_ptt_set_win(struct qed_hwfn *p_hwfn, 132 struct qed_ptt *qed_get_reserved_ptt(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, [all …]
|
D | qed_vf.h | 703 int qed_vf_pf_set_coalesce(struct qed_hwfn *p_hwfn, 716 int qed_vf_pf_get_coalesce(struct qed_hwfn *p_hwfn, 728 int qed_vf_read_bulletin(struct qed_hwfn *p_hwfn, u8 *p_change); 738 void qed_vf_get_link_params(struct qed_hwfn *p_hwfn, 749 void qed_vf_get_link_state(struct qed_hwfn *p_hwfn, 760 void qed_vf_get_link_caps(struct qed_hwfn *p_hwfn, 771 void qed_vf_get_num_rxqs(struct qed_hwfn *p_hwfn, u8 *num_rxqs); 781 void qed_vf_get_num_txqs(struct qed_hwfn *p_hwfn, u8 *num_txqs); 792 void qed_vf_get_num_cids(struct qed_hwfn *p_hwfn, u8 *num_cids); 802 void qed_vf_get_port_mac(struct qed_hwfn *p_hwfn, u8 *port_mac); [all …]
|
D | qed_sriov.h | 267 bool qed_iov_is_valid_vfid(struct qed_hwfn *p_hwfn, 280 u16 qed_iov_get_next_active_vf(struct qed_hwfn *p_hwfn, u16 rel_vf_id); 282 void qed_iov_bulletin_set_udp_ports(struct qed_hwfn *p_hwfn, 293 int qed_iov_hw_info(struct qed_hwfn *p_hwfn); 305 void *qed_add_tlv(struct qed_hwfn *p_hwfn, u8 **offset, u16 type, u16 length); 315 void qed_dp_tlv_list(struct qed_hwfn *p_hwfn, void *tlvs_list); 325 void qed_sriov_vfpf_malicious(struct qed_hwfn *p_hwfn, 339 int qed_sriov_eqe_event(struct qed_hwfn *p_hwfn, u8 opcode, __le16 echo, 349 int qed_iov_alloc(struct qed_hwfn *p_hwfn); 358 void qed_iov_setup(struct qed_hwfn *p_hwfn); [all …]
|
D | qed_l2.h | 109 qed_eth_rx_queue_stop(struct qed_hwfn *p_hwfn, 121 int qed_eth_tx_queue_stop(struct qed_hwfn *p_hwfn, void *p_txq); 146 int qed_sp_eth_vport_start(struct qed_hwfn *p_hwfn, 201 int qed_sp_vport_update(struct qed_hwfn *p_hwfn, 217 int qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id); 219 int qed_sp_eth_filter_ucast(struct qed_hwfn *p_hwfn, 244 qed_sp_eth_rx_queues_update(struct qed_hwfn *p_hwfn, 292 void qed_arfs_mode_configure(struct qed_hwfn *p_hwfn, 309 qed_configure_rfs_ntuple_filter(struct qed_hwfn *p_hwfn, 378 struct qed_hwfn *p_owner; [all …]
|
D | qed_roce.h | 13 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,
|
D | qed_dbg_hsi.h | 789 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); 860 enum dbg_status qed_dbg_grc_get_dump_buf_size(struct qed_hwfn *p_hwfn, 878 enum dbg_status qed_dbg_grc_dump(struct qed_hwfn *p_hwfn, 897 enum dbg_status qed_dbg_idle_chk_get_dump_buf_size(struct qed_hwfn *p_hwfn, 916 enum dbg_status qed_dbg_idle_chk_dump(struct qed_hwfn *p_hwfn, 937 enum dbg_status qed_dbg_mcp_trace_get_dump_buf_size(struct qed_hwfn *p_hwfn, [all …]
|
D | qed_rdma.h | 173 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, 192 qed_rdma_bmap_free(struct qed_hwfn *p_hwfn, struct qed_bmap *bmap, bool check); [all …]
|
D | qed_dev_api.h | 162 int qed_hw_start_fastpath(struct qed_hwfn *p_hwfn); 194 struct qed_ptt *qed_ptt_acquire(struct qed_hwfn *p_hwfn); 209 struct qed_ptt *qed_ptt_acquire_context(struct qed_hwfn *p_hwfn, 223 void qed_ptt_release(struct qed_hwfn *p_hwfn, 247 qed_dmae_host2grc(struct qed_hwfn *p_hwfn, 266 int qed_dmae_grc2host(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, 284 int qed_dmae_host2host(struct qed_hwfn *p_hwfn, 303 int qed_fw_l2_queue(struct qed_hwfn *p_hwfn, 316 int qed_fw_vport(struct qed_hwfn *p_hwfn, 329 int qed_fw_rss_eng(struct qed_hwfn *p_hwfn, [all …]
|
D | qed_iwarp.h | 159 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 …]
|
D | qed_fcoe.h | 26 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); 46 static inline int qed_fcoe_alloc(struct qed_hwfn *p_hwfn) in qed_fcoe_alloc() 51 static inline void qed_fcoe_setup(struct qed_hwfn *p_hwfn) {} in qed_fcoe_setup() 52 static inline void qed_fcoe_free(struct qed_hwfn *p_hwfn) {} in qed_fcoe_free()
|
D | qed_iscsi.h | 30 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); 51 static inline int qed_iscsi_alloc(struct qed_hwfn *p_hwfn) in qed_iscsi_alloc() 56 static inline void qed_iscsi_setup(struct qed_hwfn *p_hwfn) {} in qed_iscsi_setup() 58 static inline void qed_iscsi_free(struct qed_hwfn *p_hwfn) {} in qed_iscsi_free()
|
D | qed_init_ops.h | 34 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);
|
D | qed_spq.c | 48 static void qed_spq_blocking_cb(struct qed_hwfn *p_hwfn, in qed_spq_blocking_cb() 62 static int __qed_spq_block(struct qed_hwfn *p_hwfn, in __qed_spq_block() 90 static int qed_spq_block(struct qed_hwfn *p_hwfn, in qed_spq_block() 158 static int qed_spq_fill_entry(struct qed_hwfn *p_hwfn, in qed_spq_fill_entry() 196 static void qed_spq_hw_initialize(struct qed_hwfn *p_hwfn, in qed_spq_hw_initialize() 233 static int qed_spq_hw_post(struct qed_hwfn *p_hwfn, in qed_spq_hw_post() 275 qed_async_event_completion(struct qed_hwfn *p_hwfn, in qed_async_event_completion() 306 qed_spq_register_async_cb(struct qed_hwfn *p_hwfn, in qed_spq_register_async_cb() 318 qed_spq_unregister_async_cb(struct qed_hwfn *p_hwfn, in qed_spq_unregister_async_cb() 330 void qed_eq_prod_update(struct qed_hwfn *p_hwfn, u16 prod) in qed_eq_prod_update() [all …]
|
D | qed_rdma.c | 38 int qed_rdma_bmap_alloc(struct qed_hwfn *p_hwfn, in qed_rdma_bmap_alloc() 55 int qed_rdma_bmap_alloc_id(struct qed_hwfn *p_hwfn, in qed_rdma_bmap_alloc_id() 70 void qed_bmap_set_id(struct qed_hwfn *p_hwfn, in qed_bmap_set_id() 79 void qed_bmap_release_id(struct qed_hwfn *p_hwfn, in qed_bmap_release_id() 98 int qed_bmap_test_id(struct qed_hwfn *p_hwfn, in qed_bmap_test_id() 115 return FEAT_NUM((struct qed_hwfn *)p_hwfn, QED_PF_L2_QUE) + rel_sb_id; in qed_rdma_get_sb_id() 118 int qed_rdma_info_alloc(struct qed_hwfn *p_hwfn) in qed_rdma_info_alloc() 132 void qed_rdma_info_free(struct qed_hwfn *p_hwfn) in qed_rdma_info_free() 138 static int qed_rdma_alloc(struct qed_hwfn *p_hwfn) in qed_rdma_alloc() 318 void qed_rdma_bmap_free(struct qed_hwfn *p_hwfn, in qed_rdma_bmap_free() [all …]
|
D | qed_hw.c | 47 int qed_ptt_pool_alloc(struct qed_hwfn *p_hwfn) in qed_ptt_pool_alloc() 72 void qed_ptt_invalidate(struct qed_hwfn *p_hwfn) in qed_ptt_invalidate() 83 void qed_ptt_pool_free(struct qed_hwfn *p_hwfn) in qed_ptt_pool_free() 89 struct qed_ptt *qed_ptt_acquire(struct qed_hwfn *p_hwfn) in qed_ptt_acquire() 94 struct qed_ptt *qed_ptt_acquire_context(struct qed_hwfn *p_hwfn, bool is_atomic) in qed_ptt_acquire_context() 133 void qed_ptt_release(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_ptt_release() 140 u32 qed_ptt_get_hw_addr(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_ptt_get_hw_addr() 158 void qed_ptt_set_win(struct qed_hwfn *p_hwfn, in qed_ptt_set_win() 182 static u32 qed_set_ptt(struct qed_hwfn *p_hwfn, in qed_set_ptt() 205 struct qed_ptt *qed_get_reserved_ptt(struct qed_hwfn *p_hwfn, in qed_get_reserved_ptt() [all …]
|
D | qed_dcbx.h | 87 int qed_dcbx_get_config_params(struct qed_hwfn *p_hwfn, 90 int qed_dcbx_config_params(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, 96 qed_dcbx_mib_update_event(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, 99 int qed_dcbx_info_alloc(struct qed_hwfn *p_hwfn); 100 void qed_dcbx_info_free(struct qed_hwfn *p_hwfn); 106 u8 qed_dcbx_get_priority_tc(struct qed_hwfn *p_hwfn, u8 pri);
|
D | qed_ooo.c | 21 *qed_ooo_seek_archipelago(struct qed_hwfn *p_hwfn, in qed_ooo_seek_archipelago() 40 static struct qed_ooo_isle *qed_ooo_seek_isle(struct qed_hwfn *p_hwfn, in qed_ooo_seek_isle() 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() 164 void qed_ooo_release_connection_isles(struct qed_hwfn *p_hwfn, in qed_ooo_release_connection_isles() 197 void qed_ooo_release_all_isles(struct qed_hwfn *p_hwfn, in qed_ooo_release_all_isles() 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() 283 struct qed_ooo_buffer *qed_ooo_get_free_buffer(struct qed_hwfn *p_hwfn, in qed_ooo_get_free_buffer() [all …]
|
D | qed_mcp.c | 53 bool qed_mcp_is_init(struct qed_hwfn *p_hwfn) in qed_mcp_is_init() 60 void qed_mcp_cmd_port_init(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_cmd_port_init() 73 void qed_mcp_read_mb(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_read_mb() 101 qed_mcp_cmd_add_elem(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_add_elem() 119 static void qed_mcp_cmd_del_elem(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_del_elem() 127 static struct qed_mcp_cmd_elem *qed_mcp_cmd_get_elem(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_get_elem() 140 int qed_mcp_free(struct qed_hwfn *p_hwfn) in qed_mcp_free() 167 static int qed_load_mcp_offsets(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_load_mcp_offsets() 238 int qed_mcp_cmd_init(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_cmd_init() 277 static void qed_mcp_reread_offsets(struct qed_hwfn *p_hwfn, in qed_mcp_reread_offsets() [all …]
|
D | qed_vf.c | 13 static void *qed_vf_pf_prep(struct qed_hwfn *p_hwfn, u16 type, u16 length) in qed_vf_pf_prep() 47 static void qed_vf_pf_req_end(struct qed_hwfn *p_hwfn, int req_status) in qed_vf_pf_req_end() 63 static int qed_send_msg2pf(struct qed_hwfn *p_hwfn, u8 *done) in qed_send_msg2pf() 140 static void qed_vf_pf_add_qid(struct qed_hwfn *p_hwfn, in qed_vf_pf_add_qid() 156 static int _qed_vf_pf_release(struct qed_hwfn *p_hwfn, bool b_final) in _qed_vf_pf_release() 206 int qed_vf_pf_release(struct qed_hwfn *p_hwfn) in qed_vf_pf_release() 212 static void qed_vf_pf_acquire_reduce_resc(struct qed_hwfn *p_hwfn, in qed_vf_pf_acquire_reduce_resc() 242 static int qed_vf_pf_acquire(struct qed_hwfn *p_hwfn) in qed_vf_pf_acquire() 422 u32 qed_vf_hw_bar_size(struct qed_hwfn *p_hwfn, enum BAR_ID bar_id) in qed_vf_hw_bar_size() 437 int qed_vf_hw_prepare(struct qed_hwfn *p_hwfn) in qed_vf_hw_prepare() [all …]
|
D | qed_nvmetcp.h | 88 int qed_nvmetcp_alloc(struct qed_hwfn *p_hwfn); 89 void qed_nvmetcp_setup(struct qed_hwfn *p_hwfn); 90 void qed_nvmetcp_free(struct qed_hwfn *p_hwfn); 93 static inline int qed_nvmetcp_alloc(struct qed_hwfn *p_hwfn) in qed_nvmetcp_alloc() 98 static inline void qed_nvmetcp_setup(struct qed_hwfn *p_hwfn) {} in qed_nvmetcp_setup() 99 static inline void qed_nvmetcp_free(struct qed_hwfn *p_hwfn) {} in qed_nvmetcp_free()
|