Lines Matching refs:chandef

505 	struct ieee80211_channel *chan = dev->mphy.chandef.chan;  in mt76x0_phy_tssi_dc_calibrate()
546 struct ieee80211_channel *chan = dev->mphy.chandef.chan; in mt76x0_phy_tssi_adc_calibrate()
699 struct ieee80211_channel *chan = dev->mphy.chandef.chan; in mt76x0_phy_get_delta_power()
847 mt76x0_get_tx_power_per_rate(dev, dev->mphy.chandef.chan, t); in mt76x0_phy_set_txpower()
848 mt76x0_get_power_info(dev, dev->mphy.chandef.chan, &info); in mt76x0_phy_set_txpower()
861 struct ieee80211_channel *chan = dev->mphy.chandef.chan; in mt76x0_phy_calibrate()
912 struct cfg80211_chan_def *chandef) in mt76x0_phy_set_channel() argument
942 freq = chandef->chan->center_freq; in mt76x0_phy_set_channel()
943 freq1 = chandef->center_freq1; in mt76x0_phy_set_channel()
944 channel = chandef->chan->hw_value; in mt76x0_phy_set_channel()
947 switch (chandef->width) { in mt76x0_phy_set_channel()
970 mt76x0_phy_bbp_set_bw(dev, chandef->width); in mt76x0_phy_set_channel()
972 if (chandef->width == NL80211_CHAN_WIDTH_80 || in mt76x0_phy_set_channel()
973 chandef->width == NL80211_CHAN_WIDTH_40) in mt76x0_phy_set_channel()
979 mt76x02_phy_set_bw(dev, chandef->width, ch_group_index); in mt76x0_phy_set_channel()
980 mt76x02_phy_set_band(dev, chandef->chan->band, in mt76x0_phy_set_channel()
991 mt76x0_phy_set_band(dev, chandef->chan->band); in mt76x0_phy_set_channel()
1040 dev->mphy.chandef.chan->hw_value); in mt76x0_phy_temp_sensor()
1060 if ((dev->mphy.chandef.chan->flags & IEEE80211_CHAN_RADAR) && in mt76x0_phy_set_gain_val()