Lines Matching refs:ml_ctxt
111 static void dp_mlo_set_soc_by_chip_id(struct dp_mlo_ctxt *ml_ctxt, in dp_mlo_set_soc_by_chip_id() argument
115 qdf_spin_lock_bh(&ml_ctxt->ml_soc_list_lock); in dp_mlo_set_soc_by_chip_id()
116 ml_ctxt->ml_soc_list[chip_id] = soc; in dp_mlo_set_soc_by_chip_id()
122 ml_ctxt->ml_soc_cnt++; in dp_mlo_set_soc_by_chip_id()
124 ml_ctxt->ml_soc_cnt--; in dp_mlo_set_soc_by_chip_id()
126 dp_umac_reset_update_partner_map(ml_ctxt, chip_id, !!soc); in dp_mlo_set_soc_by_chip_id()
128 qdf_spin_unlock_bh(&ml_ctxt->ml_soc_list_lock); in dp_mlo_set_soc_by_chip_id()
132 dp_mlo_get_soc_ref_by_chip_id(struct dp_mlo_ctxt *ml_ctxt, in dp_mlo_get_soc_ref_by_chip_id() argument
137 if (!ml_ctxt) { in dp_mlo_get_soc_ref_by_chip_id()
142 qdf_spin_lock_bh(&ml_ctxt->ml_soc_list_lock); in dp_mlo_get_soc_ref_by_chip_id()
143 soc = ml_ctxt->ml_soc_list[chip_id]; in dp_mlo_get_soc_ref_by_chip_id()
146 qdf_spin_unlock_bh(&ml_ctxt->ml_soc_list_lock); in dp_mlo_get_soc_ref_by_chip_id()
151 qdf_spin_unlock_bh(&ml_ctxt->ml_soc_list_lock); in dp_mlo_get_soc_ref_by_chip_id()
290 be_soc->ml_ctxt = mlo_ctxt; in dp_mlo_soc_setup()
318 be_soc->ml_ctxt = NULL; in dp_mlo_soc_teardown()
815 be_soc->ml_ctxt = cdp_mlo_ctx_to_dp(params->ml_context); in dp_soc_mlo_fill_params()
824 struct dp_mlo_ctxt *ml_ctxt = be_soc->ml_ctxt; in dp_mlo_update_link_to_pdev_map() local
830 if (!ml_ctxt) in dp_mlo_update_link_to_pdev_map()
836 if (!ml_ctxt->link_to_pdev_map[link_id]) in dp_mlo_update_link_to_pdev_map()
837 ml_ctxt->link_to_pdev_map[link_id] = be_pdev; in dp_mlo_update_link_to_pdev_map()
848 struct dp_mlo_ctxt *ml_ctxt = be_soc->ml_ctxt; in dp_mlo_update_link_to_pdev_unmap() local
854 if (!ml_ctxt) in dp_mlo_update_link_to_pdev_unmap()
860 ml_ctxt->link_to_pdev_map[link_id] = NULL; in dp_mlo_update_link_to_pdev_unmap()
864 dp_mlo_get_be_pdev_from_link_id(struct dp_mlo_ctxt *ml_ctxt, uint8_t link_id) in dp_mlo_get_be_pdev_from_link_id() argument
867 return ml_ctxt->link_to_pdev_map[link_id]; in dp_mlo_get_be_pdev_from_link_id()
900 mlo_ctxt = be_soc->ml_ctxt; in dp_mlo_partner_chips_map()
926 struct dp_mlo_ctxt *mlo_ctxt = be_soc->ml_ctxt; in dp_mlo_partner_chips_unmap()
974 struct dp_mlo_ctxt *mlo_ctxt = be_soc->ml_ctxt; in dp_mlo_link_peer_hash_find_by_chip_id()
999 struct dp_mlo_ctxt *ml_ctxt = be_soc->ml_ctxt; in dp_mlo_get_rx_hash_key() local
1001 if (!be_soc->mlo_enabled || !ml_ctxt) in dp_mlo_get_rx_hash_key()
1004 qdf_mem_copy(lro_hash->toeplitz_hash_ipv4, ml_ctxt->toeplitz_hash_ipv4, in dp_mlo_get_rx_hash_key()
1007 qdf_mem_copy(lro_hash->toeplitz_hash_ipv6, ml_ctxt->toeplitz_hash_ipv6, in dp_mlo_get_rx_hash_key()
1016 struct dp_mlo_ctxt *mlo_ctxt = be_soc->ml_ctxt; in dp_rx_replenish_soc_get()
1037 struct dp_mlo_ctxt *mlo_ctxt = be_soc->ml_ctxt; in dp_soc_get_num_soc_be()
1049 struct dp_mlo_ctxt *mlo_ctxt = be_soc->ml_ctxt; in dp_soc_get_by_idle_bm_id()
1098 struct dp_mlo_ctxt *dp_mlo = be_soc->ml_ctxt; in dp_mlo_iter_ptnr_vdev()
1210 struct dp_mlo_ctxt *dp_mlo = be_soc->ml_ctxt; in dp_mlo_get_mcast_primary_vdev()
1267 struct dp_mlo_ctxt *dp_mlo = be_soc->ml_ctxt; in dp_mlo_iter_ptnr_soc()
1269 if (!be_soc->mlo_enabled || !be_soc->ml_ctxt) in dp_mlo_iter_ptnr_soc()
1306 struct dp_mlo_ctxt *ml_ctxt = be_soc->ml_ctxt; in dp_mlo_get_delta_tsf2_wrt_mlo_offset() local
1311 if (!ml_ctxt) in dp_mlo_get_delta_tsf2_wrt_mlo_offset()
1314 be_pdev = dp_mlo_get_be_pdev_from_link_id(ml_ctxt, hw_link_id); in dp_mlo_get_delta_tsf2_wrt_mlo_offset()
1372 mlo_ctx = be_soc->ml_ctxt; in dp_umac_reset_notify_asserted_soc()
1394 struct dp_mlo_ctxt *mlo_ctx = be_soc->ml_ctxt; in dp_umac_reset_complete_umac_recovery()
1432 struct dp_mlo_ctxt *mlo_ctx = be_soc->ml_ctxt; in dp_umac_reset_initiate_umac_recovery()
1488 struct dp_mlo_ctxt *mlo_ctx = be_soc->ml_ctxt; in dp_umac_reset_handle_action_cb()
1555 struct dp_mlo_ctxt *mlo_ctx = be_soc->ml_ctxt; in dp_umac_reset_post_tx_cmd()
1608 struct dp_mlo_ctxt *mlo_ctx = be_soc->ml_ctxt; in dp_umac_reset_initiator_check()
1626 struct dp_mlo_ctxt *mlo_ctx = be_soc->ml_ctxt; in dp_umac_reset_target_recovery_check()
1643 struct dp_mlo_ctxt *mlo_ctx = be_soc->ml_ctxt; in dp_umac_reset_is_soc_ignored()
1664 mlo_ctx = be_soc->ml_ctxt; in dp_mlo_umac_reset_stats_print()
1712 mlo_ctx = be_soc->ml_ctxt; in dp_get_umac_reset_in_progress_state()
1749 struct dp_mlo_ctxt *mlo_ctx = be_soc->ml_ctxt; in dp_get_global_tx_desc_cleanup_flag()
1777 struct dp_mlo_ctxt *mlo_ctx = be_soc->ml_ctxt; in dp_reset_global_tx_desc_cleanup_flag()
1792 struct dp_mlo_ctxt *mlo_ctxt = be_soc->ml_ctxt; in dp_get_soc_by_chip_id_be()