Lines Matching refs:phy_ctxt

1114 		mvmvif->link[link_id]->phy_ctxt = NULL;  in iwl_mvm_cleanup_iterator()
1881 mvmvif->deflink.phy_ctxt = NULL; in iwl_mvm_mac_add_interface()
1974 if (mvmvif->deflink.phy_ctxt) { in iwl_mvm_mac_remove_interface()
1975 iwl_mvm_phy_ctxt_unref(mvm, mvmvif->deflink.phy_ctxt); in iwl_mvm_mac_remove_interface()
1976 mvmvif->deflink.phy_ctxt = NULL; in iwl_mvm_mac_remove_interface()
3799 if (!conf || !link_sta || !mvmvif->link[link_id]->phy_ctxt) in iwl_mvm_rs_rate_init_all_links()
3803 mvmvif->link[link_id]->phy_ctxt->channel->band); in iwl_mvm_rs_rate_init_all_links()
4154 !mvmvif->link[link_id]->phy_ctxt)) { in iwl_mvm_mac_sta_state_common()
4865 if (mvmvif->deflink.phy_ctxt && in iwl_mvm_p2p_find_phy_ctxt()
4866 channel == mvmvif->deflink.phy_ctxt->channel) in iwl_mvm_p2p_find_phy_ctxt()
4871 struct iwl_mvm_phy_ctxt *phy_ctxt = &mvm->phy_ctxts[i]; in iwl_mvm_p2p_find_phy_ctxt() local
4873 if (!phy_ctxt->ref || mvmvif->deflink.phy_ctxt == phy_ctxt) in iwl_mvm_p2p_find_phy_ctxt()
4876 if (channel == phy_ctxt->channel) { in iwl_mvm_p2p_find_phy_ctxt()
4877 if (mvmvif->deflink.phy_ctxt) in iwl_mvm_p2p_find_phy_ctxt()
4879 mvmvif->deflink.phy_ctxt); in iwl_mvm_p2p_find_phy_ctxt()
4881 mvmvif->deflink.phy_ctxt = phy_ctxt; in iwl_mvm_p2p_find_phy_ctxt()
4882 iwl_mvm_phy_ctxt_ref(mvm, mvmvif->deflink.phy_ctxt); in iwl_mvm_p2p_find_phy_ctxt()
4888 if (mvmvif->deflink.phy_ctxt) in iwl_mvm_p2p_find_phy_ctxt()
4889 iwl_mvm_phy_ctxt_unref(mvm, mvmvif->deflink.phy_ctxt); in iwl_mvm_p2p_find_phy_ctxt()
4891 mvmvif->deflink.phy_ctxt = iwl_mvm_get_free_phy_ctxt(mvm); in iwl_mvm_p2p_find_phy_ctxt()
4892 if (!mvmvif->deflink.phy_ctxt) in iwl_mvm_p2p_find_phy_ctxt()
4897 return iwl_mvm_phy_ctxt_add(mvm, mvmvif->deflink.phy_ctxt, in iwl_mvm_p2p_find_phy_ctxt()
5010 struct iwl_mvm_phy_ctxt *phy_ctxt; in __iwl_mvm_add_chanctx() local
5018 phy_ctxt = iwl_mvm_get_free_phy_ctxt(mvm); in __iwl_mvm_add_chanctx()
5019 if (!phy_ctxt) { in __iwl_mvm_add_chanctx()
5024 ret = iwl_mvm_phy_ctxt_add(mvm, phy_ctxt, def, &ctx->ap, in __iwl_mvm_add_chanctx()
5032 *phy_ctxt_id = phy_ctxt->id; in __iwl_mvm_add_chanctx()
5050 struct iwl_mvm_phy_ctxt *phy_ctxt = &mvm->phy_ctxts[*phy_ctxt_id]; in __iwl_mvm_remove_chanctx() local
5054 iwl_mvm_phy_ctxt_unref(mvm, phy_ctxt); in __iwl_mvm_remove_chanctx()
5071 struct iwl_mvm_phy_ctxt *phy_ctxt = &mvm->phy_ctxts[*phy_ctxt_id]; in iwl_mvm_change_chanctx() local
5074 if (WARN_ONCE((phy_ctxt->ref > 1) && in iwl_mvm_change_chanctx()
5080 phy_ctxt->ref, changed)) in iwl_mvm_change_chanctx()
5087 if (phy_ctxt->width == def->width) in iwl_mvm_change_chanctx()
5091 if (phy_ctxt->width <= NL80211_CHAN_WIDTH_20 && in iwl_mvm_change_chanctx()
5097 iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, def, &ctx->ap, in iwl_mvm_change_chanctx()
5115 struct iwl_mvm_phy_ctxt *phy_ctxt = &mvm->phy_ctxts[*phy_ctxt_id]; in __iwl_mvm_assign_vif_chanctx_common() local
5120 mvmvif->deflink.phy_ctxt = phy_ctxt; in __iwl_mvm_assign_vif_chanctx_common()
5232 mvmvif->deflink.phy_ctxt = NULL; in __iwl_mvm_assign_vif_chanctx()
5321 mvmvif->deflink.phy_ctxt = NULL; in __iwl_mvm_unassign_vif_chanctx()