phy_ctxt 136 drivers/net/wireless/intel/iwlwifi/mvm/binding.c if (mvmvif->phy_ctxt != data->phyctxt) phy_ctxt 193 drivers/net/wireless/intel/iwlwifi/mvm/binding.c if (WARN_ON_ONCE(!mvmvif->phy_ctxt)) phy_ctxt 203 drivers/net/wireless/intel/iwlwifi/mvm/binding.c return iwl_mvm_binding_update(mvm, vif, mvmvif->phy_ctxt, true); phy_ctxt 211 drivers/net/wireless/intel/iwlwifi/mvm/binding.c if (WARN_ON_ONCE(!mvmvif->phy_ctxt)) phy_ctxt 214 drivers/net/wireless/intel/iwlwifi/mvm/binding.c ret = iwl_mvm_binding_update(mvm, vif, mvmvif->phy_ctxt, false); phy_ctxt 373 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (mvmvif->phy_ctxt && phy_ctxt 374 drivers/net/wireless/intel/iwlwifi/mvm/coex.c (mvm->last_bt_notif.rrc_status & BIT(mvmvif->phy_ctxt->id))) phy_ctxt 613 drivers/net/wireless/intel/iwlwifi/mvm/coex.c struct iwl_mvm_phy_ctxt *phy_ctxt = mvmvif->phy_ctxt; phy_ctxt 616 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (mvm->last_bt_notif.ttc_status & BIT(phy_ctxt->id)) phy_ctxt 637 drivers/net/wireless/intel/iwlwifi/mvm/coex.c struct iwl_mvm_phy_ctxt *phy_ctxt = mvmvif->phy_ctxt; phy_ctxt 640 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (mvm->last_bt_notif.ttc_status & BIT(phy_ctxt->id)) phy_ctxt 489 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (WARN_ON(!mvmvif->phy_ctxt)) phy_ctxt 503 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ret = iwl_mvm_phy_ctxt_add(mvm, mvmvif->phy_ctxt, &chandef, phy_ctxt 520 drivers/net/wireless/intel/iwlwifi/mvm/d3.c cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, phy_ctxt 521 drivers/net/wireless/intel/iwlwifi/mvm/d3.c mvmvif->phy_ctxt->color)); phy_ctxt 524 drivers/net/wireless/intel/iwlwifi/mvm/d3.c cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, phy_ctxt 525 drivers/net/wireless/intel/iwlwifi/mvm/d3.c mvmvif->phy_ctxt->color)); phy_ctxt 557 drivers/net/wireless/intel/iwlwifi/mvm/d3.c cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, phy_ctxt 558 drivers/net/wireless/intel/iwlwifi/mvm/d3.c mvmvif->phy_ctxt->color)); phy_ctxt 641 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_phy_ctxt *phy_ctxt; phy_ctxt 660 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c phy_ctxt = &mvm->phy_ctxts[*(u16 *)chanctx_conf->drv_priv]; phy_ctxt 665 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, &chanctx_conf->min_def, phy_ctxt 161 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c struct iwl_mvm_phy_ctxt *phy_ctxt; phy_ctxt 186 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c phy_ctxt = &mvm->phy_ctxts[*phy_ctxt_id]; phy_ctxt 187 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, &ctx.def, phy_ctxt 1049 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvmvif->phy_ctxt = NULL; phy_ctxt 1493 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvmvif->phy_ctxt = iwl_mvm_get_free_phy_ctxt(mvm); phy_ctxt 1494 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!mvmvif->phy_ctxt) { phy_ctxt 1499 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_phy_ctxt_ref(mvm, mvmvif->phy_ctxt); phy_ctxt 1526 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_phy_ctxt_unref(mvm, mvmvif->phy_ctxt); phy_ctxt 1534 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvmvif->phy_ctxt = NULL; phy_ctxt 1611 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_phy_ctxt_unref(mvm, mvmvif->phy_ctxt); phy_ctxt 1612 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvmvif->phy_ctxt = NULL; phy_ctxt 3025 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (WARN_ON_ONCE(!mvmvif->phy_ctxt)) phy_ctxt 3119 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_rs_rate_init(mvm, sta, mvmvif->phy_ctxt->channel->band, phy_ctxt 3144 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_rs_rate_init(mvm, sta, mvmvif->phy_ctxt->channel->band, phy_ctxt 3217 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_rs_rate_init(mvm, sta, mvmvif->phy_ctxt->channel->band, phy_ctxt 3722 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_phy_ctxt *phy_ctxt; phy_ctxt 3758 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c phy_ctxt = &mvm->phy_ctxts[i]; phy_ctxt 3759 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (phy_ctxt->ref == 0 || mvmvif->phy_ctxt == phy_ctxt) phy_ctxt 3762 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (phy_ctxt->ref && channel == phy_ctxt->channel) { phy_ctxt 3771 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_phy_ctxt_unref(mvm, mvmvif->phy_ctxt); phy_ctxt 3774 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvmvif->phy_ctxt = phy_ctxt; phy_ctxt 3780 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_phy_ctxt_ref(mvm, mvmvif->phy_ctxt); phy_ctxt 3786 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (channel == mvmvif->phy_ctxt->channel) phy_ctxt 3795 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (mvmvif->phy_ctxt->ref == 1) { phy_ctxt 3796 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_phy_ctxt_changed(mvm, mvmvif->phy_ctxt, phy_ctxt 3806 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c phy_ctxt = iwl_mvm_get_free_phy_ctxt(mvm); phy_ctxt 3807 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!phy_ctxt) { phy_ctxt 3812 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, &chandef, phy_ctxt 3824 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_phy_ctxt_unref(mvm, mvmvif->phy_ctxt); phy_ctxt 3827 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvmvif->phy_ctxt = phy_ctxt; phy_ctxt 3833 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_phy_ctxt_ref(mvm, mvmvif->phy_ctxt); phy_ctxt 3895 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_phy_ctxt *phy_ctxt; phy_ctxt 3904 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c phy_ctxt = iwl_mvm_get_free_phy_ctxt(mvm); phy_ctxt 3905 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!phy_ctxt) { phy_ctxt 3910 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, def, phy_ctxt 3918 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_phy_ctxt_ref(mvm, phy_ctxt); phy_ctxt 3919 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c *phy_ctxt_id = phy_ctxt->id; phy_ctxt 3941 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_phy_ctxt *phy_ctxt = &mvm->phy_ctxts[*phy_ctxt_id]; phy_ctxt 3945 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_phy_ctxt_unref(mvm, phy_ctxt); phy_ctxt 3964 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_phy_ctxt *phy_ctxt = &mvm->phy_ctxts[*phy_ctxt_id]; phy_ctxt 3968 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (WARN_ONCE((phy_ctxt->ref > 1) && phy_ctxt 3974 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c phy_ctxt->ref, changed)) phy_ctxt 3981 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (phy_ctxt->width == def->width) phy_ctxt 3985 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (phy_ctxt->width <= NL80211_CHAN_WIDTH_20 && phy_ctxt 3991 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, def, phy_ctxt 4005 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_phy_ctxt *phy_ctxt = &mvm->phy_ctxts[*phy_ctxt_id]; phy_ctxt 4011 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvmvif->phy_ctxt = phy_ctxt; phy_ctxt 4097 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvmvif->phy_ctxt = NULL; phy_ctxt 4167 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvmvif->phy_ctxt = NULL; phy_ctxt 418 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct iwl_mvm_phy_ctxt *phy_ctxt; phy_ctxt 314 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c if (!mvmvif->phy_ctxt) phy_ctxt 319 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c __set_bit(mvmvif->phy_ctxt->id, data); phy_ctxt 618 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (mvmvif->phy_ctxt && mvmvif->phy_ctxt->id < NUM_PHY_CTX) phy_ctxt 627 drivers/net/wireless/intel/iwlwifi/mvm/power.c bool active = mvmvif->phy_ctxt && mvmvif->phy_ctxt->id < NUM_PHY_CTX; phy_ctxt 712 drivers/net/wireless/intel/iwlwifi/mvm/power.c client_same_channel = (bss_mvmvif->phy_ctxt->id == phy_ctxt 713 drivers/net/wireless/intel/iwlwifi/mvm/power.c p2p_mvmvif->phy_ctxt->id); phy_ctxt 715 drivers/net/wireless/intel/iwlwifi/mvm/power.c ap_same_channel = (bss_mvmvif->phy_ctxt->id == phy_ctxt 716 drivers/net/wireless/intel/iwlwifi/mvm/power.c ap_mvmvif->phy_ctxt->id); phy_ctxt 92 drivers/net/wireless/intel/iwlwifi/mvm/quota.c if (!mvmvif->phy_ctxt) phy_ctxt 96 drivers/net/wireless/intel/iwlwifi/mvm/quota.c id = mvmvif->phy_ctxt->id; phy_ctxt 126 drivers/net/wireless/intel/iwlwifi/mvm/quota.c data->colors[id] = mvmvif->phy_ctxt->color; phy_ctxt 128 drivers/net/wireless/intel/iwlwifi/mvm/quota.c WARN_ON_ONCE(data->colors[id] != mvmvif->phy_ctxt->color); phy_ctxt 158 drivers/net/wireless/intel/iwlwifi/mvm/quota.c phy_id = mvmvif->phy_ctxt->id; phy_ctxt 229 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (vif->type != NL80211_IFTYPE_P2P_DEVICE && mvmvif->phy_ctxt && phy_ctxt 230 drivers/net/wireless/intel/iwlwifi/mvm/scan.c mvmvif->phy_ctxt->id < NUM_PHY_CTX) phy_ctxt 263 drivers/net/wireless/intel/iwlwifi/mvm/scan.c other_mvmvif->phy_ctxt && curr_mvmvif->phy_ctxt && phy_ctxt 264 drivers/net/wireless/intel/iwlwifi/mvm/scan.c other_mvmvif->phy_ctxt->id != curr_mvmvif->phy_ctxt->id) phy_ctxt 82 drivers/net/wireless/intel/iwlwifi/mvm/sf.c if (vif == data->ignore_vif || !mvmvif->phy_ctxt || phy_ctxt 840 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (!mvmvif->phy_ctxt) phy_ctxt 843 drivers/net/wireless/intel/iwlwifi/mvm/utils.c band = mvmvif->phy_ctxt->channel->band; phy_ctxt 1212 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (!mvmvif->phy_ctxt) phy_ctxt 1215 drivers/net/wireless/intel/iwlwifi/mvm/utils.c band[mvmvif->id] = mvmvif->phy_ctxt->channel->band;