/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
H A 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_hwf [all...] |
H A 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_hwf [all...] |
H A 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_hwf [all...] |
H A 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_hwf [all...] |
H A 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_hwf [all...] |
H A D | qed_vf.h | 653 /* This data is held in the qed_hwfn structure for VFs only. */ 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_hwf [all...] |
H A 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_hwf [all...] |
H A D | qed_sriov.h | 221 /* This structure is part of qed_hwfn and used only for PFs that have sriov 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_hwf [all...] |
H A 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_owne [all...] |
H A 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,
|
H A 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_hwf [all...] |
H A 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_hwf [all...] |
H A 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_hwf [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_mcp.h | 275 struct qed_mcp_link_params *qed_mcp_get_link_params(struct qed_hwfn *); 284 struct qed_mcp_link_state *qed_mcp_get_link_state(struct qed_hwfn *); 294 *qed_mcp_get_link_capabilities(struct qed_hwfn *p_hwfn); 305 int qed_mcp_set_link(struct qed_hwfn *p_hwfn, 319 int qed_mcp_get_mfw_ver(struct qed_hwfn *p_hwfn, 332 int qed_mcp_get_mbi_ver(struct qed_hwfn *p_hwfn, 346 int qed_mcp_get_media_type(struct qed_hwfn *p_hwfn, 361 int qed_mcp_get_transceiver_data(struct qed_hwfn *p_hwfn, 378 int qed_mcp_trans_speed_mask(struct qed_hwfn *p_hwfn, 392 int qed_mcp_get_board_config(struct qed_hwfn *p_hwf [all...] |
H A D | qed_cxt.h | 39 int qed_cxt_get_cid_info(struct qed_hwfn *p_hwfn, 50 int qed_cxt_get_tid_mem_info(struct qed_hwfn *p_hwfn, 63 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); 91 u32 qed_cxt_cfg_ilt_compute_excess(struct qed_hwfn *p_hwfn, u32 used_lines); 100 int qed_cxt_mngr_alloc(struct qed_hwfn *p_hwfn); 107 void qed_cxt_mngr_free(struct qed_hwfn *p_hwfn); 116 int qed_cxt_tables_alloc(struct qed_hwfn *p_hwfn); 123 void qed_cxt_mngr_setup(struct qed_hwfn *p_hwf [all...] |
H A 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_hwf [all...] |
H A D | qed_int.h | 62 void qed_int_igu_enable_int(struct qed_hwfn *p_hwfn, 72 void qed_int_igu_disable_int(struct qed_hwfn *p_hwfn, 83 u64 qed_int_igu_read_sisr_reg(struct qed_hwfn *p_hwfn); 102 int qed_int_sb_init(struct qed_hwfn *p_hwfn, 115 void qed_int_sb_setup(struct qed_hwfn *p_hwfn, 132 int qed_int_sb_release(struct qed_hwfn *p_hwfn, 154 void qed_int_get_num_sbs(struct qed_hwfn *p_hwfn, 186 int qed_db_rec_handler(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); 231 int qed_int_igu_reset_cam(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); 241 u16 qed_get_igu_sb_id(struct qed_hwfn *p_hwf [all...] |
H A D | qed_sp.h | 26 void (*function)(struct qed_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, 213 int qed_spq_post(struct qed_hwfn *p_hwfn, 224 int qed_spq_alloc(struct qed_hwfn *p_hwfn); 231 void qed_spq_setup(struct qed_hwfn *p_hwfn); 238 void qed_spq_free(struct qed_hwfn *p_hwfn); 252 qed_spq_get_entry(struct qed_hwfn *p_hwf [all...] |
H A D | qed_vf.h | 653 /* This data is held in the qed_hwfn structure for VFs only. */ 700 int qed_vf_pf_set_coalesce(struct qed_hwfn *p_hwfn, 712 int qed_vf_pf_get_coalesce(struct qed_hwfn *p_hwfn, 724 int qed_vf_read_bulletin(struct qed_hwfn *p_hwfn, u8 *p_change); 732 void qed_vf_get_link_params(struct qed_hwfn *p_hwfn, 741 void qed_vf_get_link_state(struct qed_hwfn *p_hwfn, 750 void qed_vf_get_link_caps(struct qed_hwfn *p_hwfn, 759 void qed_vf_get_num_rxqs(struct qed_hwfn *p_hwfn, u8 *num_rxqs); 767 void qed_vf_get_num_txqs(struct qed_hwfn *p_hwfn, u8 *num_txqs); 775 void qed_vf_get_num_cids(struct qed_hwfn *p_hwf [all...] |
H A D | qed_hw.h | 60 void qed_gtt_init(struct qed_hwfn *p_hwfn); 67 void qed_ptt_invalidate(struct qed_hwfn *p_hwfn); 76 int qed_ptt_pool_alloc(struct qed_hwfn *p_hwfn); 83 void qed_ptt_pool_free(struct qed_hwfn *p_hwfn); 93 u32 qed_ptt_get_hw_addr(struct qed_hwfn *p_hwfn, 113 void qed_ptt_set_win(struct qed_hwfn *p_hwfn, 125 struct qed_ptt *qed_get_reserved_ptt(struct qed_hwfn *p_hwfn, 136 void qed_wr(struct qed_hwfn *p_hwfn, 149 u32 qed_rd(struct qed_hwfn *p_hwfn, 163 void qed_memcpy_from(struct qed_hwfn *p_hwf [all...] |
H A D | qed_sriov.h | 221 /* This structure is part of qed_hwfn and used only for PFs that have sriov 266 bool qed_iov_is_valid_vfid(struct qed_hwfn *p_hwfn, 278 u16 qed_iov_get_next_active_vf(struct qed_hwfn *p_hwfn, u16 rel_vf_id); 280 void qed_iov_bulletin_set_udp_ports(struct qed_hwfn *p_hwfn, 291 int qed_iov_hw_info(struct qed_hwfn *p_hwfn); 303 void *qed_add_tlv(struct qed_hwfn *p_hwfn, u8 **offset, u16 type, u16 length); 311 void qed_dp_tlv_list(struct qed_hwfn *p_hwfn, void *tlvs_list); 320 int qed_iov_alloc(struct qed_hwfn *p_hwfn); 327 void qed_iov_setup(struct qed_hwfn *p_hwfn); 334 void qed_iov_free(struct qed_hwfn *p_hwf [all...] |
H A 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, 202 int qed_sp_vport_update(struct qed_hwfn *p_hwfn, 219 int qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id); 221 int qed_sp_eth_filter_ucast(struct qed_hwfn *p_hwfn, 247 qed_sp_eth_rx_queues_update(struct qed_hwfn *p_hwfn, 270 void qed_arfs_mode_configure(struct qed_hwfn *p_hwfn, 286 qed_configure_rfs_ntuple_filter(struct qed_hwfn *p_hwfn, 355 struct qed_hwfn *p_owne [all...] |
H A 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,
|
H A D | qed_rdma.h | 172 void qed_rdma_dpm_bar(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); 173 void qed_rdma_dpm_conf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); 174 int qed_rdma_info_alloc(struct qed_hwfn *p_hwfn); 175 void qed_rdma_info_free(struct qed_hwfn *p_hwfn); 177 static inline void qed_rdma_dpm_conf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) {} in qed_rdma_dpm_conf() 178 static inline void qed_rdma_dpm_bar(struct qed_hwfn *p_hwfn, in qed_rdma_dpm_bar() 180 static inline int qed_rdma_info_alloc(struct qed_hwfn *p_hwfn) {return -EINVAL;} in qed_rdma_info_alloc() 181 static inline void qed_rdma_info_free(struct qed_hwfn *p_hwfn) {} in qed_rdma_info_free() 185 qed_rdma_bmap_alloc(struct qed_hwfn *p_hwfn, 189 qed_rdma_bmap_free(struct qed_hwfn *p_hwf [all...] |
H A D | qed_dev_api.h | 154 int qed_hw_start_fastpath(struct qed_hwfn *p_hwfn); 185 struct qed_ptt *qed_ptt_acquire(struct qed_hwfn *p_hwfn); 197 void qed_ptt_release(struct qed_hwfn *p_hwfn, 219 qed_dmae_host2grc(struct qed_hwfn *p_hwfn, 236 int qed_dmae_grc2host(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, 251 int qed_dmae_host2host(struct qed_hwfn *p_hwfn, 270 int qed_fw_l2_queue(struct qed_hwfn *p_hwfn, 283 int qed_fw_vport(struct qed_hwfn *p_hwfn, 296 int qed_fw_rss_eng(struct qed_hwfn *p_hwfn, 413 int qed_final_cleanup(struct qed_hwfn *p_hwf [all...] |