| /kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
| D | qed_spq.c | 47 static void qed_spq_blocking_cb(struct qed_hwfn *p_hwfn, in qed_spq_blocking_cb() 61 static int __qed_spq_block(struct qed_hwfn *p_hwfn, in __qed_spq_block() 89 static int qed_spq_block(struct qed_hwfn *p_hwfn, in qed_spq_block() 154 static int qed_spq_fill_entry(struct qed_hwfn *p_hwfn, in qed_spq_fill_entry() 189 static void qed_spq_hw_initialize(struct qed_hwfn *p_hwfn, in qed_spq_hw_initialize() 229 static int qed_spq_hw_post(struct qed_hwfn *p_hwfn, in qed_spq_hw_post() 271 qed_async_event_completion(struct qed_hwfn *p_hwfn, in qed_async_event_completion() 292 qed_spq_register_async_cb(struct qed_hwfn *p_hwfn, in qed_spq_register_async_cb() 304 qed_spq_unregister_async_cb(struct qed_hwfn *p_hwfn, in qed_spq_unregister_async_cb() 316 void qed_eq_prod_update(struct qed_hwfn *p_hwfn, u16 prod) in qed_eq_prod_update() [all …]
|
| D | qed_rdma.c | 37 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() 112 static u32 qed_rdma_get_sb_id(void *p_hwfn, u32 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_dev.c | 61 static void qed_db_recovery_dp_entry(struct qed_hwfn *p_hwfn, in qed_db_recovery_dp_entry() 110 struct qed_hwfn *p_hwfn; in qed_db_rec_find_hwfn() local 130 struct qed_hwfn *p_hwfn; in qed_db_recovery_add() local 176 struct qed_hwfn *p_hwfn; in qed_db_recovery_del() local 216 static int qed_db_recovery_setup(struct qed_hwfn *p_hwfn) in qed_db_recovery_setup() 234 static void qed_db_recovery_teardown(struct qed_hwfn *p_hwfn) in qed_db_recovery_teardown() 257 void qed_db_recovery_dp(struct qed_hwfn *p_hwfn) in qed_db_recovery_dp() 276 static void qed_db_recovery_ring(struct qed_hwfn *p_hwfn, in qed_db_recovery_ring() 318 void qed_db_recovery_execute(struct qed_hwfn *p_hwfn) in qed_db_recovery_execute() 639 qed_llh_set_engine_affin(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_llh_set_engine_affin() [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, u32 resp_size) in qed_send_msg2pf() 143 static void qed_vf_pf_add_qid(struct qed_hwfn *p_hwfn, in qed_vf_pf_add_qid() 159 static int _qed_vf_pf_release(struct qed_hwfn *p_hwfn, bool b_final) in _qed_vf_pf_release() 209 int qed_vf_pf_release(struct qed_hwfn *p_hwfn) in qed_vf_pf_release() 215 static void qed_vf_pf_acquire_reduce_resc(struct qed_hwfn *p_hwfn, in qed_vf_pf_acquire_reduce_resc() 245 static int qed_vf_pf_acquire(struct qed_hwfn *p_hwfn) in qed_vf_pf_acquire() 425 u32 qed_vf_hw_bar_size(struct qed_hwfn *p_hwfn, enum BAR_ID bar_id) in qed_vf_hw_bar_size() 440 int qed_vf_hw_prepare(struct qed_hwfn *p_hwfn) in qed_vf_hw_prepare() [all …]
|
| D | qed_iwarp.c | 67 void qed_iwarp_init_devinfo(struct qed_hwfn *p_hwfn) in qed_iwarp_init_devinfo() 83 void qed_iwarp_init_hw(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_iwarp_init_hw() 94 static void qed_iwarp_cid_cleaned(struct qed_hwfn *p_hwfn, u32 cid) in qed_iwarp_cid_cleaned() 110 qed_iwarp_init_fw_ramrod(struct qed_hwfn *p_hwfn, in qed_iwarp_init_fw_ramrod() 122 static int qed_iwarp_alloc_cid(struct qed_hwfn *p_hwfn, u32 *cid) in qed_iwarp_alloc_cid() 142 static void qed_iwarp_set_tcp_cid(struct qed_hwfn *p_hwfn, u32 cid) in qed_iwarp_set_tcp_cid() 156 static int qed_iwarp_alloc_tcp_cid(struct qed_hwfn *p_hwfn, u32 *cid) in qed_iwarp_alloc_tcp_cid() 181 int qed_iwarp_create_qp(struct qed_hwfn *p_hwfn, in qed_iwarp_create_qp() 286 static int qed_iwarp_modify_fw(struct qed_hwfn *p_hwfn, struct qed_rdma_qp *qp) in qed_iwarp_modify_fw() 374 qed_iwarp_modify_qp(struct qed_hwfn *p_hwfn, in qed_iwarp_modify_qp() [all …]
|
| D | qed_mcp.c | 52 bool qed_mcp_is_init(struct qed_hwfn *p_hwfn) in qed_mcp_is_init() 59 void qed_mcp_cmd_port_init(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_cmd_port_init() 72 void qed_mcp_read_mb(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_read_mb() 100 qed_mcp_cmd_add_elem(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_add_elem() 118 static void qed_mcp_cmd_del_elem(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_del_elem() 126 static struct qed_mcp_cmd_elem *qed_mcp_cmd_get_elem(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_get_elem() 139 int qed_mcp_free(struct qed_hwfn *p_hwfn) in qed_mcp_free() 166 static int qed_load_mcp_offsets(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_load_mcp_offsets() 237 int qed_mcp_cmd_init(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_cmd_init() 275 static void qed_mcp_reread_offsets(struct qed_hwfn *p_hwfn, in qed_mcp_reread_offsets() [all …]
|
| D | qed_hw.c | 44 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() 86 struct qed_ptt *qed_ptt_acquire(struct qed_hwfn *p_hwfn) in qed_ptt_acquire() 115 void qed_ptt_release(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_ptt_release() 122 u32 qed_ptt_get_hw_addr(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_ptt_get_hw_addr() 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() 187 struct qed_ptt *qed_get_reserved_ptt(struct qed_hwfn *p_hwfn, in qed_get_reserved_ptt() 199 void qed_wr(struct qed_hwfn *p_hwfn, in qed_wr() [all …]
|
| D | qed_sriov.c | 44 static int qed_sp_vf_start(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf) in qed_sp_vf_start() 106 static int qed_sp_vf_stop(struct qed_hwfn *p_hwfn, in qed_sp_vf_stop() 133 bool qed_iov_is_valid_vfid(struct qed_hwfn *p_hwfn, in qed_iov_is_valid_vfid() 157 static struct qed_vf_info *qed_iov_get_vf_info(struct qed_hwfn *p_hwfn, in qed_iov_get_vf_info() 197 static bool qed_iov_validate_queue_mode(struct qed_hwfn *p_hwfn, in qed_iov_validate_queue_mode() 226 static bool qed_iov_validate_rxq(struct qed_hwfn *p_hwfn, in qed_iov_validate_rxq() 242 static bool qed_iov_validate_txq(struct qed_hwfn *p_hwfn, in qed_iov_validate_txq() 258 static bool qed_iov_validate_sb(struct qed_hwfn *p_hwfn, in qed_iov_validate_sb() 275 static bool qed_iov_validate_active_rxq(struct qed_hwfn *p_hwfn, in qed_iov_validate_active_rxq() 289 static bool qed_iov_validate_active_txq(struct qed_hwfn *p_hwfn, in qed_iov_validate_active_txq() [all …]
|
| 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() 163 void qed_ooo_release_connection_isles(struct qed_hwfn *p_hwfn, in qed_ooo_release_connection_isles() 196 void qed_ooo_release_all_isles(struct qed_hwfn *p_hwfn, in qed_ooo_release_all_isles() 235 void qed_ooo_setup(struct qed_hwfn *p_hwfn) in qed_ooo_setup() 244 void qed_ooo_free(struct qed_hwfn *p_hwfn) in qed_ooo_free() 275 void qed_ooo_put_free_buffer(struct qed_hwfn *p_hwfn, in qed_ooo_put_free_buffer() 282 struct qed_ooo_buffer *qed_ooo_get_free_buffer(struct qed_hwfn *p_hwfn, in qed_ooo_get_free_buffer() [all …]
|
| D | qed_ll2.c | 72 struct qed_hwfn *p_hwfn = cxt; in qed_ll2b_complete_tx_packet() local 141 struct qed_hwfn *p_hwfn = cxt; in qed_ll2b_complete_rx_packet() local 225 static struct qed_ll2_info *__qed_ll2_handle_sanity(struct qed_hwfn *p_hwfn, in __qed_ll2_handle_sanity() 254 static struct qed_ll2_info *qed_ll2_handle_sanity(struct qed_hwfn *p_hwfn, in qed_ll2_handle_sanity() 260 static struct qed_ll2_info *qed_ll2_handle_sanity_lock(struct qed_hwfn *p_hwfn, in qed_ll2_handle_sanity_lock() 267 *p_hwfn, in qed_ll2_handle_sanity_inactive() 273 static void qed_ll2_txq_flush(struct qed_hwfn *p_hwfn, u8 connection_handle) in qed_ll2_txq_flush() 323 static int qed_ll2_txq_completion(struct qed_hwfn *p_hwfn, void *p_cookie) in qed_ll2_txq_completion() 391 static void qed_ll2_rxq_parse_gsi(struct qed_hwfn *p_hwfn, in qed_ll2_rxq_parse_gsi() 406 static void qed_ll2_rxq_parse_reg(struct qed_hwfn *p_hwfn, in qed_ll2_rxq_parse_reg() [all …]
|
| D | qed_int.c | 47 #define SB_ATTN_ALIGNED_SIZE(p_hwfn) \ argument 90 static int qed_mcp_attn_cb(struct qed_hwfn *p_hwfn) in qed_mcp_attn_cb() 116 static int qed_pswhst_attn_cb(struct qed_hwfn *p_hwfn) in qed_pswhst_attn_cb() 180 static int qed_grc_attn_cb(struct qed_hwfn *p_hwfn) in qed_grc_attn_cb() 234 int qed_pglueb_rbc_attn_handler(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_pglueb_rbc_attn_handler() 344 static int qed_pglueb_rbc_attn_cb(struct qed_hwfn *p_hwfn) in qed_pglueb_rbc_attn_cb() 349 static int qed_fw_assertion(struct qed_hwfn *p_hwfn) in qed_fw_assertion() 357 static int qed_general_attention_35(struct qed_hwfn *p_hwfn) in qed_general_attention_35() 373 static int qed_db_rec_flush_queue(struct qed_hwfn *p_hwfn, in qed_db_rec_flush_queue() 408 int qed_db_rec_handler(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_db_rec_handler() [all …]
|
| D | qed_cxt.c | 83 #define CONN_CXT_SIZE(p_hwfn) \ argument 89 #define TYPE0_TASK_CXT_SIZE(p_hwfn) \ argument 93 #define TYPE1_TASK_CXT_SIZE(p_hwfn) sizeof(union type1_task_context) argument 164 static void qed_cxt_tm_iids(struct qed_hwfn *p_hwfn, in qed_cxt_tm_iids() 222 static void qed_cxt_qm_iids(struct qed_hwfn *p_hwfn, in qed_cxt_qm_iids() 256 static struct qed_tid_seg *qed_cxt_tid_seg_info(struct qed_hwfn *p_hwfn, in qed_cxt_tid_seg_info() 271 static void qed_cxt_set_srq_count(struct qed_hwfn *p_hwfn, in qed_cxt_set_srq_count() 280 u32 qed_cxt_get_ilt_page_size(struct qed_hwfn *p_hwfn, in qed_cxt_get_ilt_page_size() 289 static u32 qed_cxt_xrc_srqs_per_page(struct qed_hwfn *p_hwfn) in qed_cxt_xrc_srqs_per_page() 297 u32 qed_cxt_get_total_srq_count(struct qed_hwfn *p_hwfn) in qed_cxt_get_total_srq_count() [all …]
|
| D | qed_l2.c | 52 int qed_l2_alloc(struct qed_hwfn *p_hwfn) in qed_l2_alloc() 92 void qed_l2_setup(struct qed_hwfn *p_hwfn) in qed_l2_setup() 100 void qed_l2_free(struct qed_hwfn *p_hwfn) in qed_l2_free() 127 static bool qed_eth_queue_qid_usage_add(struct qed_hwfn *p_hwfn, in qed_eth_queue_qid_usage_add() 160 static void qed_eth_queue_qid_usage_del(struct qed_hwfn *p_hwfn, in qed_eth_queue_qid_usage_del() 171 void qed_eth_queue_cid_release(struct qed_hwfn *p_hwfn, in qed_eth_queue_cid_release() 190 _qed_eth_queue_to_cid(struct qed_hwfn *p_hwfn, in _qed_eth_queue_to_cid() 287 qed_eth_queue_to_cid(struct qed_hwfn *p_hwfn, in qed_eth_queue_to_cid() 332 qed_eth_queue_to_cid_pf(struct qed_hwfn *p_hwfn, in qed_eth_queue_to_cid_pf() 341 int qed_sp_eth_vport_start(struct qed_hwfn *p_hwfn, in qed_sp_eth_vport_start() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
| 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() 112 static u32 qed_rdma_get_sb_id(void *p_hwfn, u32 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_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_dev.c | 63 static void qed_db_recovery_dp_entry(struct qed_hwfn *p_hwfn, in qed_db_recovery_dp_entry() 112 struct qed_hwfn *p_hwfn; in qed_db_rec_find_hwfn() local 132 struct qed_hwfn *p_hwfn; in qed_db_recovery_add() local 178 struct qed_hwfn *p_hwfn; in qed_db_recovery_del() local 218 static int qed_db_recovery_setup(struct qed_hwfn *p_hwfn) in qed_db_recovery_setup() 236 static void qed_db_recovery_teardown(struct qed_hwfn *p_hwfn) in qed_db_recovery_teardown() 259 void qed_db_recovery_dp(struct qed_hwfn *p_hwfn) in qed_db_recovery_dp() 278 static void qed_db_recovery_ring(struct qed_hwfn *p_hwfn, in qed_db_recovery_ring() 320 void qed_db_recovery_execute(struct qed_hwfn *p_hwfn) in qed_db_recovery_execute() 641 qed_llh_set_engine_affin(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_llh_set_engine_affin() [all …]
|
| D | qed_iwarp.c | 67 void qed_iwarp_init_devinfo(struct qed_hwfn *p_hwfn) in qed_iwarp_init_devinfo() 83 void qed_iwarp_init_hw(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_iwarp_init_hw() 94 static void qed_iwarp_cid_cleaned(struct qed_hwfn *p_hwfn, u32 cid) in qed_iwarp_cid_cleaned() 110 qed_iwarp_init_fw_ramrod(struct qed_hwfn *p_hwfn, in qed_iwarp_init_fw_ramrod() 124 static int qed_iwarp_alloc_cid(struct qed_hwfn *p_hwfn, u32 *cid) in qed_iwarp_alloc_cid() 144 static void qed_iwarp_set_tcp_cid(struct qed_hwfn *p_hwfn, u32 cid) in qed_iwarp_set_tcp_cid() 158 static int qed_iwarp_alloc_tcp_cid(struct qed_hwfn *p_hwfn, u32 *cid) in qed_iwarp_alloc_tcp_cid() 183 int qed_iwarp_create_qp(struct qed_hwfn *p_hwfn, in qed_iwarp_create_qp() 288 static int qed_iwarp_modify_fw(struct qed_hwfn *p_hwfn, struct qed_rdma_qp *qp) in qed_iwarp_modify_fw() 376 qed_iwarp_modify_qp(struct qed_hwfn *p_hwfn, in qed_iwarp_modify_qp() [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_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_sriov.c | 46 static int qed_sp_vf_start(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf) in qed_sp_vf_start() 108 static int qed_sp_vf_stop(struct qed_hwfn *p_hwfn, in qed_sp_vf_stop() 135 bool qed_iov_is_valid_vfid(struct qed_hwfn *p_hwfn, in qed_iov_is_valid_vfid() 159 static struct qed_vf_info *qed_iov_get_vf_info(struct qed_hwfn *p_hwfn, in qed_iov_get_vf_info() 199 static bool qed_iov_validate_queue_mode(struct qed_hwfn *p_hwfn, in qed_iov_validate_queue_mode() 228 static bool qed_iov_validate_rxq(struct qed_hwfn *p_hwfn, in qed_iov_validate_rxq() 244 static bool qed_iov_validate_txq(struct qed_hwfn *p_hwfn, in qed_iov_validate_txq() 260 static bool qed_iov_validate_sb(struct qed_hwfn *p_hwfn, in qed_iov_validate_sb() 277 static bool qed_iov_validate_active_rxq(struct qed_hwfn *p_hwfn, in qed_iov_validate_active_rxq() 291 static bool qed_iov_validate_active_txq(struct qed_hwfn *p_hwfn, in qed_iov_validate_active_txq() [all …]
|
| D | qed_int.c | 47 #define SB_ATTN_ALIGNED_SIZE(p_hwfn) \ argument 90 static int qed_mcp_attn_cb(struct qed_hwfn *p_hwfn) in qed_mcp_attn_cb() 116 static int qed_pswhst_attn_cb(struct qed_hwfn *p_hwfn) in qed_pswhst_attn_cb() 180 static int qed_grc_attn_cb(struct qed_hwfn *p_hwfn) in qed_grc_attn_cb() 234 int qed_pglueb_rbc_attn_handler(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_pglueb_rbc_attn_handler() 344 static int qed_pglueb_rbc_attn_cb(struct qed_hwfn *p_hwfn) in qed_pglueb_rbc_attn_cb() 349 static int qed_fw_assertion(struct qed_hwfn *p_hwfn) in qed_fw_assertion() 360 static int qed_general_attention_35(struct qed_hwfn *p_hwfn) in qed_general_attention_35() 376 static int qed_db_rec_flush_queue(struct qed_hwfn *p_hwfn, in qed_db_rec_flush_queue() 411 int qed_db_rec_handler(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_db_rec_handler() [all …]
|
| 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_cxt.c | 83 #define CONN_CXT_SIZE(p_hwfn) \ argument 89 #define TYPE0_TASK_CXT_SIZE(p_hwfn) \ argument 93 #define TYPE1_TASK_CXT_SIZE(p_hwfn) sizeof(union type1_task_context) argument 164 static void qed_cxt_tm_iids(struct qed_hwfn *p_hwfn, in qed_cxt_tm_iids() 222 static void qed_cxt_qm_iids(struct qed_hwfn *p_hwfn, in qed_cxt_qm_iids() 256 static struct qed_tid_seg *qed_cxt_tid_seg_info(struct qed_hwfn *p_hwfn, in qed_cxt_tid_seg_info() 271 static void qed_cxt_set_srq_count(struct qed_hwfn *p_hwfn, in qed_cxt_set_srq_count() 280 u32 qed_cxt_get_ilt_page_size(struct qed_hwfn *p_hwfn, in qed_cxt_get_ilt_page_size() 289 static u32 qed_cxt_xrc_srqs_per_page(struct qed_hwfn *p_hwfn) in qed_cxt_xrc_srqs_per_page() 297 u32 qed_cxt_get_total_srq_count(struct qed_hwfn *p_hwfn) in qed_cxt_get_total_srq_count() [all …]
|
| D | qed_ll2.c | 68 static u8 qed_ll2_handle_to_stats_id(struct qed_hwfn *p_hwfn, in qed_ll2_handle_to_stats_id() 98 struct qed_hwfn *p_hwfn = cxt; in qed_ll2b_complete_tx_packet() local 167 struct qed_hwfn *p_hwfn = cxt; in qed_ll2b_complete_rx_packet() local 251 static struct qed_ll2_info *__qed_ll2_handle_sanity(struct qed_hwfn *p_hwfn, in __qed_ll2_handle_sanity() 280 static struct qed_ll2_info *qed_ll2_handle_sanity(struct qed_hwfn *p_hwfn, in qed_ll2_handle_sanity() 286 static struct qed_ll2_info *qed_ll2_handle_sanity_lock(struct qed_hwfn *p_hwfn, in qed_ll2_handle_sanity_lock() 293 *p_hwfn, in qed_ll2_handle_sanity_inactive() 299 static void qed_ll2_txq_flush(struct qed_hwfn *p_hwfn, u8 connection_handle) in qed_ll2_txq_flush() 349 static int qed_ll2_txq_completion(struct qed_hwfn *p_hwfn, void *p_cookie) in qed_ll2_txq_completion() 417 static void qed_ll2_rxq_parse_gsi(struct qed_hwfn *p_hwfn, in qed_ll2_rxq_parse_gsi() [all …]
|