bands             233 drivers/media/dvb-frontends/cx24110.c 	static const u32 bands[]={5000000UL,15000000UL,90999000UL/2};
bands             242 drivers/media/dvb-frontends/cx24110.c 	for(i = 0; (i < ARRAY_SIZE(bands)) && (srate>bands[i]); i++)
bands             287 drivers/media/dvb-frontends/cx24110.c 	dprintk("srate= %d (range %d, up to %d)\n", srate,i,bands[i]);
bands              94 drivers/media/radio/radio-cadet.c static const struct v4l2_frequency_band bands[] = {
bands             220 drivers/media/radio/radio-cadet.c 	freq = clamp(freq, bands[dev->is_fm_band].rangelow,
bands             221 drivers/media/radio/radio-cadet.c 			   bands[dev->is_fm_band].rangehigh);
bands             372 drivers/media/radio/radio-cadet.c 	v->capability = bands[0].capability | bands[1].capability;
bands             373 drivers/media/radio/radio-cadet.c 	v->rangelow = bands[0].rangelow;	   /* 520 kHz (start of AM band) */
bands             374 drivers/media/radio/radio-cadet.c 	v->rangehigh = bands[1].rangehigh;    /* 108.0 MHz (end of FM band) */
bands             404 drivers/media/radio/radio-cadet.c 	if (band->index >= ARRAY_SIZE(bands))
bands             406 drivers/media/radio/radio-cadet.c 	*band = bands[band->index];
bands             431 drivers/media/radio/radio-cadet.c 		f->frequency >= (bands[0].rangehigh + bands[1].rangelow) / 2;
bands             573 drivers/media/radio/radio-cadet.c 			cadet_setfreq(dev, bands[1].rangelow);
bands             574 drivers/media/radio/radio-cadet.c 			if (cadet_getfreq(dev) == bands[1].rangelow) {
bands             638 drivers/media/radio/radio-cadet.c 	dev->curfreq = bands[dev->is_fm_band].rangelow;
bands              73 drivers/media/radio/radio-raremono.c static const struct v4l2_frequency_band bands[] = {
bands             196 drivers/media/radio/radio-raremono.c 	if (band->index >= ARRAY_SIZE(bands))
bands             199 drivers/media/radio/radio-raremono.c 	*band = bands[band->index];
bands             256 drivers/media/radio/radio-raremono.c 	freq = clamp_t(u32, f->frequency, bands[band].rangelow, bands[band].rangehigh);
bands             138 drivers/media/radio/radio-tea5777.c static const struct v4l2_frequency_band bands[] = {
bands             178 drivers/media/radio/radio-tea5777.c 	freq = clamp(tea->freq, bands[tea->band].rangelow,
bands             179 drivers/media/radio/radio-tea5777.c 				bands[tea->band].rangehigh);
bands             271 drivers/media/radio/radio-tea5777.c 	if (band->tuner != 0 || band->index >= ARRAY_SIZE(bands) ||
bands             275 drivers/media/radio/radio-tea5777.c 	*band = bands[band->index];
bands             302 drivers/media/radio/radio-tea5777.c 	v->rangelow   = tea->has_am ? bands[BAND_AM].rangelow :
bands             303 drivers/media/radio/radio-tea5777.c 				      bands[BAND_FM].rangelow;
bands             304 drivers/media/radio/radio-tea5777.c 	v->rangehigh  = bands[BAND_FM].rangehigh;
bands             386 drivers/media/radio/radio-tea5777.c 		for (i = 0; i < ARRAY_SIZE(bands); i++) {
bands             389 drivers/media/radio/radio-tea5777.c 			if (bands[i].rangelow  >= rangelow &&
bands             390 drivers/media/radio/radio-tea5777.c 			    bands[i].rangehigh <= rangehigh)
bands             393 drivers/media/radio/radio-tea5777.c 		if (i == ARRAY_SIZE(bands))
bands             405 drivers/media/radio/radio-tea5777.c 		rangelow  = bands[tea->band].rangelow;
bands             406 drivers/media/radio/radio-tea5777.c 		rangehigh = bands[tea->band].rangehigh;
bands             133 drivers/media/radio/si470x/radio-si470x-common.c static const struct v4l2_frequency_band bands[] = {
bands             268 drivers/media/radio/si470x/radio-si470x-common.c 	*freq = chan * si470x_get_step(radio) + bands[radio->band].rangelow;
bands             281 drivers/media/radio/si470x/radio-si470x-common.c 	freq = clamp(freq, bands[radio->band].rangelow,
bands             282 drivers/media/radio/si470x/radio-si470x-common.c 			   bands[radio->band].rangehigh);
bands             284 drivers/media/radio/si470x/radio-si470x-common.c 	chan = (freq - bands[radio->band].rangelow) / si470x_get_step(radio);
bands             304 drivers/media/radio/si470x/radio-si470x-common.c 		for (band = 0; band < ARRAY_SIZE(bands); band++) {
bands             305 drivers/media/radio/si470x/radio-si470x-common.c 			if (bands[band].rangelow  == seek->rangelow &&
bands             306 drivers/media/radio/si470x/radio-si470x-common.c 			    bands[band].rangehigh == seek->rangehigh)
bands             309 drivers/media/radio/si470x/radio-si470x-common.c 		if (band == ARRAY_SIZE(bands))
bands             711 drivers/media/radio/si470x/radio-si470x-common.c 	if (freq->frequency < bands[radio->band].rangelow ||
bands             712 drivers/media/radio/si470x/radio-si470x-common.c 	    freq->frequency > bands[radio->band].rangehigh) {
bands             747 drivers/media/radio/si470x/radio-si470x-common.c 	if (band->index >= ARRAY_SIZE(bands))
bands             749 drivers/media/radio/si470x/radio-si470x-common.c 	*band = bands[band->index];
bands              49 drivers/media/radio/tea575x.c static const struct v4l2_frequency_band bands[] = {
bands             170 drivers/media/radio/tea575x.c 	return clamp(freq * 16, bands[tea->band].rangelow,
bands             171 drivers/media/radio/tea575x.c 				bands[tea->band].rangehigh); /* from kHz */
bands             257 drivers/media/radio/tea575x.c 	*band = bands[index];
bands             287 drivers/media/radio/tea575x.c 	v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : band_fm.rangelow;
bands             350 drivers/media/radio/tea575x.c 	tea->freq = clamp_t(u32, f->frequency, bands[tea->band].rangelow,
bands             351 drivers/media/radio/tea575x.c 					bands[tea->band].rangehigh);
bands             371 drivers/media/radio/tea575x.c 		for (i = 0; i < ARRAY_SIZE(bands); i++) {
bands             376 drivers/media/radio/tea575x.c 			if (bands[i].rangelow  == a->rangelow &&
bands             377 drivers/media/radio/tea575x.c 			    bands[i].rangehigh == a->rangehigh)
bands             380 drivers/media/radio/tea575x.c 		if (i == ARRAY_SIZE(bands))
bands             384 drivers/media/radio/tea575x.c 			tea->freq = clamp(tea->freq, bands[i].rangelow,
bands             385 drivers/media/radio/tea575x.c 						     bands[i].rangehigh);
bands             261 drivers/media/tuners/e4000.c static const struct v4l2_frequency_band bands[] = {
bands             305 drivers/media/tuners/e4000.c 	v->rangelow  = bands[0].rangelow;
bands             306 drivers/media/tuners/e4000.c 	v->rangehigh = bands[1].rangehigh;
bands             339 drivers/media/tuners/e4000.c 				   bands[0].rangelow, bands[1].rangehigh);
bands             352 drivers/media/tuners/e4000.c 	if (band->index >= ARRAY_SIZE(bands))
bands             355 drivers/media/tuners/e4000.c 	band->capability = bands[band->index].capability;
bands             356 drivers/media/tuners/e4000.c 	band->rangelow = bands[band->index].rangelow;
bands             357 drivers/media/tuners/e4000.c 	band->rangehigh = bands[band->index].rangehigh;
bands             690 drivers/media/tuners/e4000.c 	dev->f_frequency = bands[0].rangelow;
bands             361 drivers/media/tuners/fc2580.c static const struct v4l2_frequency_band bands[] = {
bands             398 drivers/media/tuners/fc2580.c 	v->rangelow  = bands[0].rangelow;
bands             399 drivers/media/tuners/fc2580.c 	v->rangehigh = bands[0].rangehigh;
bands             432 drivers/media/tuners/fc2580.c 				   bands[0].rangelow, bands[0].rangehigh);
bands             445 drivers/media/tuners/fc2580.c 	if (band->index >= ARRAY_SIZE(bands))
bands             448 drivers/media/tuners/fc2580.c 	band->capability = bands[band->index].capability;
bands             449 drivers/media/tuners/fc2580.c 	band->rangelow = bands[band->index].rangelow;
bands             450 drivers/media/tuners/fc2580.c 	band->rangehigh = bands[band->index].rangehigh;
bands             572 drivers/media/tuners/fc2580.c 	dev->f_frequency = bands[0].rangelow;
bands              14 drivers/media/tuners/msi001.c static const struct v4l2_frequency_band bands[] = {
bands             337 drivers/media/tuners/msi001.c 	if (f->frequency < ((bands[0].rangehigh + bands[1].rangelow) / 2))
bands             342 drivers/media/tuners/msi001.c 			       bands[band].rangelow, bands[band].rangehigh);
bands             356 drivers/media/tuners/msi001.c 	if (band->index >= ARRAY_SIZE(bands))
bands             359 drivers/media/tuners/msi001.c 	band->capability = bands[band->index].capability;
bands             360 drivers/media/tuners/msi001.c 	band->rangelow = bands[band->index].rangelow;
bands             361 drivers/media/tuners/msi001.c 	band->rangehigh = bands[band->index].rangehigh;
bands             436 drivers/media/tuners/msi001.c 	dev->f_tuner = bands[0].rangelow;
bands              50 drivers/media/usb/airspy/airspy.c static const struct v4l2_frequency_band bands[] = {
bands             710 drivers/media/usb/airspy/airspy.c 		v->rangelow  = bands[0].rangelow;
bands             711 drivers/media/usb/airspy/airspy.c 		v->rangehigh = bands[0].rangehigh;
bands             759 drivers/media/usb/airspy/airspy.c 				bands[0].rangelow,
bands             760 drivers/media/usb/airspy/airspy.c 				bands[0].rangehigh);
bands             786 drivers/media/usb/airspy/airspy.c 		if (band->index >= ARRAY_SIZE(bands)) {
bands             789 drivers/media/usb/airspy/airspy.c 			*band = bands[band->index];
bands             980 drivers/media/usb/airspy/airspy.c 	s->f_adc = bands[0].rangelow;
bands              56 drivers/media/usb/msi2500/msi2500.c static const struct v4l2_frequency_band bands[] = {
bands            1047 drivers/media/usb/msi2500/msi2500.c 				     bands[0].rangelow,
bands            1048 drivers/media/usb/msi2500/msi2500.c 				     bands[0].rangehigh);
bands            1070 drivers/media/usb/msi2500/msi2500.c 		if (band->index >= ARRAY_SIZE(bands)) {
bands            1073 drivers/media/usb/msi2500/msi2500.c 			*band = bands[band->index];
bands            1190 drivers/media/usb/msi2500/msi2500.c 	dev->f_adc = bands[0].rangelow;
bands             512 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (p->bands > IEEE_8021QAZ_MAX_TCS)
bands             529 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	for (band = 0; band < p->bands; band++) {
bands            1914 drivers/net/wireless/admtek/adm8211.c 	dev->wiphy->bands[NL80211_BAND_2GHZ] = &priv->band;
bands            1153 drivers/net/wireless/ath/ar5523/ar5523.c 	band = ar->hw->wiphy->bands[ar->hw->conf.chandef.chan->band];
bands            1201 drivers/net/wireless/ath/ar5523/ar5523.c 	band = ar->hw->wiphy->bands[ar->hw->conf.chandef.chan->band];
bands            1475 drivers/net/wireless/ath/ar5523/ar5523.c 	ar->hw->wiphy->bands[NL80211_BAND_2GHZ] = &ar->band;
bands            2240 drivers/net/wireless/ath/ath10k/mac.c 	sband = ar->hw->wiphy->bands[band];
bands            3077 drivers/net/wireless/ath/ath10k/mac.c 	struct ieee80211_supported_band **bands;
bands            3089 drivers/net/wireless/ath/ath10k/mac.c 	bands = hw->wiphy->bands;
bands            3091 drivers/net/wireless/ath/ath10k/mac.c 		if (!bands[band])
bands            3094 drivers/net/wireless/ath/ath10k/mac.c 		for (i = 0; i < bands[band]->n_channels; i++) {
bands            3095 drivers/net/wireless/ath/ath10k/mac.c 			if (bands[band]->channels[i].flags &
bands            3110 drivers/net/wireless/ath/ath10k/mac.c 		if (!bands[band])
bands            3113 drivers/net/wireless/ath/ath10k/mac.c 		for (i = 0; i < bands[band]->n_channels; i++) {
bands            3114 drivers/net/wireless/ath/ath10k/mac.c 			channel = &bands[band]->channels[i];
bands            3272 drivers/net/wireless/ath/ath10k/mac.c 					       ar->hw->wiphy->bands[NL80211_BAND_5GHZ]);
bands            5883 drivers/net/wireless/ath/ath10k/mac.c 		sband = ar->hw->wiphy->bands[def.chan->band];
bands            7168 drivers/net/wireless/ath/ath10k/mac.c 	sband = hw->wiphy->bands[NL80211_BAND_2GHZ];
bands            7175 drivers/net/wireless/ath/ath10k/mac.c 		sband = hw->wiphy->bands[NL80211_BAND_5GHZ];
bands            8737 drivers/net/wireless/ath/ath10k/mac.c 		ar->hw->wiphy->bands[NL80211_BAND_2GHZ] = band;
bands            8754 drivers/net/wireless/ath/ath10k/mac.c 		ar->hw->wiphy->bands[NL80211_BAND_5GHZ] = band;
bands            2565 drivers/net/wireless/ath/ath10k/wmi.c 		sband = ar->hw->wiphy->bands[band];
bands             384 drivers/net/wireless/ath/ath5k/base.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] = sband;
bands             410 drivers/net/wireless/ath/ath5k/base.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] = sband;
bands             430 drivers/net/wireless/ath/ath5k/base.c 		hw->wiphy->bands[NL80211_BAND_5GHZ] = sband;
bands             708 drivers/net/wireless/ath/ath5k/base.c 	return &hw->wiphy->bands[info->band]->bitrates[ bf->rates[idx].idx ];
bands            2623 drivers/net/wireless/ath/ath6kl/cfg80211.c 		if (!wiphy->bands[band])
bands            2627 drivers/net/wireless/ath/ath6kl/cfg80211.c 				wiphy->bands[band]->ht_cap.ht_supported);
bands            3568 drivers/net/wireless/ath/ath6kl/cfg80211.c 		if (wiphy->bands[i])
bands            3569 drivers/net/wireless/ath/ath6kl/cfg80211.c 			rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1;
bands            3960 drivers/net/wireless/ath/ath6kl/cfg80211.c 		wiphy->bands[NL80211_BAND_2GHZ] = &ath6kl_band_2ghz;
bands            3962 drivers/net/wireless/ath/ath6kl/cfg80211.c 		wiphy->bands[NL80211_BAND_5GHZ] = &ath6kl_band_5ghz;
bands            2057 drivers/net/wireless/ath/ath6kl/wmi.c 		sband = ar->wiphy->bands[band];
bands             181 drivers/net/wireless/ath/ath9k/common.c 	sband = hw->wiphy->bands[band];
bands             766 drivers/net/wireless/ath/ath9k/htc_drv_init.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] =
bands             769 drivers/net/wireless/ath/ath9k/htc_drv_init.c 		hw->wiphy->bands[NL80211_BAND_5GHZ] =
bands             602 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band];
bands             999 drivers/net/wireless/ath/ath9k/init.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] =
bands            1002 drivers/net/wireless/ath/ath9k/init.c 		hw->wiphy->bands[NL80211_BAND_5GHZ] =
bands            1972 drivers/net/wireless/ath/ath9k/main.c 	sband = hw->wiphy->bands[NL80211_BAND_2GHZ];
bands            1979 drivers/net/wireless/ath/ath9k/main.c 		sband = hw->wiphy->bands[NL80211_BAND_5GHZ];
bands            1665 drivers/net/wireless/ath/carl9170/main.c 		band = ar->hw->wiphy->bands[b];
bands            1918 drivers/net/wireless/ath/carl9170/main.c 	int bands = 0;
bands            1941 drivers/net/wireless/ath/carl9170/main.c 		ar->hw->wiphy->bands[NL80211_BAND_2GHZ] =
bands            1944 drivers/net/wireless/ath/carl9170/main.c 		bands++;
bands            1947 drivers/net/wireless/ath/carl9170/main.c 		ar->hw->wiphy->bands[NL80211_BAND_5GHZ] =
bands            1950 drivers/net/wireless/ath/carl9170/main.c 		bands++;
bands            1953 drivers/net/wireless/ath/carl9170/main.c 	if (!bands)
bands             349 drivers/net/wireless/ath/regd.c 		if (!wiphy->bands[band])
bands             351 drivers/net/wireless/ath/regd.c 		sband = wiphy->bands[band];
bands             381 drivers/net/wireless/ath/regd.c 	sband = wiphy->bands[NL80211_BAND_2GHZ];
bands             410 drivers/net/wireless/ath/regd.c 	if (!wiphy->bands[NL80211_BAND_5GHZ])
bands             413 drivers/net/wireless/ath/regd.c 	sband = wiphy->bands[NL80211_BAND_5GHZ];
bands            1184 drivers/net/wireless/ath/wcn36xx/main.c 	wcn->hw->wiphy->bands[NL80211_BAND_2GHZ] = &wcn_band_2ghz;
bands            1186 drivers/net/wireless/ath/wcn36xx/main.c 		wcn->hw->wiphy->bands[NL80211_BAND_5GHZ] = &wcn_band_5ghz;
bands             132 drivers/net/wireless/ath/wil6210/cfg80211.c 	wiphy->bands[NL80211_BAND_60GHZ]->n_channels =
bands             136 drivers/net/wireless/ath/wil6210/cfg80211.c 		wiphy->bands[NL80211_BAND_60GHZ]->edmg_cap.channels =
bands             138 drivers/net/wireless/ath/wil6210/cfg80211.c 		wiphy->bands[NL80211_BAND_60GHZ]->edmg_cap.bw_config =
bands            2655 drivers/net/wireless/ath/wil6210/cfg80211.c 	wiphy->bands[NL80211_BAND_60GHZ] = &wil_band_60ghz;
bands            2768 drivers/net/wireless/ath/wil6210/cfg80211.c 	ch = wiphy->bands[NL80211_BAND_60GHZ]->channels;
bands            2360 drivers/net/wireless/atmel/at76c50x-usb.c 	priv->hw->wiphy->bands[NL80211_BAND_2GHZ] = &at76_supported_band;
bands            4053 drivers/net/wireless/broadcom/b43/main.c 		dev->wl->hw->wiphy->bands[b43_current_band(dev->wl)];
bands            5264 drivers/net/wireless/broadcom/b43/main.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] = limited_2g ?
bands            5268 drivers/net/wireless/broadcom/b43/main.c 			hw->wiphy->bands[NL80211_BAND_5GHZ] = limited_5g ?
bands            5273 drivers/net/wireless/broadcom/b43/main.c 			hw->wiphy->bands[NL80211_BAND_5GHZ] = &b43_band_5GHz_aphy;
bands            2763 drivers/net/wireless/broadcom/b43legacy/main.c 		dev->wl->hw->wiphy->bands[NL80211_BAND_2GHZ];
bands            3600 drivers/net/wireless/broadcom/b43legacy/main.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] =
bands            3606 drivers/net/wireless/broadcom/b43legacy/main.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] =
bands            2938 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		band = wiphy->bands[NL80211_BAND_2GHZ];
bands            2940 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		band = wiphy->bands[NL80211_BAND_5GHZ];
bands            5537 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		band = wiphy->bands[NL80211_BAND_2GHZ];
bands            5539 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		band = wiphy->bands[NL80211_BAND_5GHZ];
bands            6046 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	band = wiphy->bands[NL80211_BAND_2GHZ];
bands            6050 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	band = wiphy->bands[NL80211_BAND_5GHZ];
bands            6061 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			band = wiphy->bands[NL80211_BAND_2GHZ];
bands            6063 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			band = wiphy->bands[NL80211_BAND_5GHZ];
bands            6198 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		band = cfg_to_wiphy(cfg)->bands[NL80211_BAND_2GHZ];
bands            6385 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	for (i = 0; i < ARRAY_SIZE(wiphy->bands); i++) {
bands            6386 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		band = wiphy->bands[i];
bands            6704 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			wiphy->bands[NL80211_BAND_2GHZ] = band;
bands            6721 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			wiphy->bands[NL80211_BAND_5GHZ] = band;
bands            6725 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (wiphy->bands[NL80211_BAND_5GHZ] &&
bands            7006 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (wiphy->bands[NL80211_BAND_2GHZ]) {
bands            7007 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		kfree(wiphy->bands[NL80211_BAND_2GHZ]->channels);
bands            7008 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		kfree(wiphy->bands[NL80211_BAND_2GHZ]);
bands            7010 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (wiphy->bands[NL80211_BAND_5GHZ]) {
bands            7011 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		kfree(wiphy->bands[NL80211_BAND_5GHZ]->channels);
bands            7012 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		kfree(wiphy->bands[NL80211_BAND_5GHZ]);
bands            7094 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (wiphy->bands[NL80211_BAND_2GHZ]) {
bands            7095 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		cap = &wiphy->bands[NL80211_BAND_2GHZ]->ht_cap.cap;
bands             639 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 	sband = wiphy->bands[NL80211_BAND_5GHZ];
bands             669 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 		sband = wiphy->bands[band];
bands             713 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 		sband = wiphy->bands[band];
bands             757 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 			sband = wiphy->bands[NL80211_BAND_2GHZ];
bands             759 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 			sband = wiphy->bands[NL80211_BAND_5GHZ];
bands             641 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 		bi = hw->wiphy->bands[brcms_c_get_curband(wl->wlc)];
bands            1055 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 	hw->wiphy->bands[NL80211_BAND_2GHZ] = NULL;
bands            1056 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 	hw->wiphy->bands[NL80211_BAND_5GHZ] = NULL;
bands            1067 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] = band;
bands            1078 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 			hw->wiphy->bands[NL80211_BAND_5GHZ] = band;
bands            1330 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	     int bands)
bands            1342 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	switch (bands) {
bands            1373 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if (bands == BRCM_BAND_ALL) {
bands            6306 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				hw->wiphy->bands[tx_info->band]->n_bitrates)) {
bands            6308 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 				    hw->wiphy->bands[tx_info->band]->
bands             644 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h 		 int bands);
bands             111 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.c 	       u16 val, int bands)
bands             113 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.c 	brcms_b_mhf(physhim->wlc_hw, idx, mask, val, bands);
bands             146 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.h 		    int bands);
bands            1934 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		wdev->wiphy->bands[NL80211_BAND_2GHZ] = bg_band;
bands            11367 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		wdev->wiphy->bands[NL80211_BAND_2GHZ] = bg_band;
bands            11406 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		wdev->wiphy->bands[NL80211_BAND_5GHZ] = a_band;
bands            3557 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	if (il->bands[NL80211_BAND_2GHZ].n_channels)
bands            3558 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		il->hw->wiphy->bands[NL80211_BAND_2GHZ] =
bands            3559 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		    &il->bands[NL80211_BAND_2GHZ];
bands            3561 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	if (il->bands[NL80211_BAND_5GHZ].n_channels)
bands            3562 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		il->hw->wiphy->bands[NL80211_BAND_5GHZ] =
bands            3563 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		    &il->bands[NL80211_BAND_5GHZ];
bands            3729 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	il_set_rxon_channel(il, &il->bands[NL80211_BAND_2GHZ].channels[5]);
bands             334 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	sband = hw->wiphy->bands[conf->chandef.chan->band];
bands            1574 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		rate_idx = rate_lowest_index(&il->bands[info->band], sta);
bands            5771 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	if (il->bands[NL80211_BAND_2GHZ].n_channels)
bands            5772 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		il->hw->wiphy->bands[NL80211_BAND_2GHZ] =
bands            5773 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		    &il->bands[NL80211_BAND_2GHZ];
bands            5774 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	if (il->bands[NL80211_BAND_5GHZ].n_channels)
bands            5775 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		il->hw->wiphy->bands[NL80211_BAND_5GHZ] =
bands            5776 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		    &il->bands[NL80211_BAND_5GHZ];
bands            2281 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	sband = hw->wiphy->bands[conf->chandef.chan->band];
bands            3434 drivers/net/wireless/intel/iwlegacy/common.c 	if (il->bands[NL80211_BAND_2GHZ].n_bitrates ||
bands            3435 drivers/net/wireless/intel/iwlegacy/common.c 	    il->bands[NL80211_BAND_5GHZ].n_bitrates) {
bands            3456 drivers/net/wireless/intel/iwlegacy/common.c 	sband = &il->bands[NL80211_BAND_5GHZ];
bands            3465 drivers/net/wireless/intel/iwlegacy/common.c 	sband = &il->bands[NL80211_BAND_2GHZ];
bands            3483 drivers/net/wireless/intel/iwlegacy/common.c 		sband = &il->bands[ch->band];
bands            3523 drivers/net/wireless/intel/iwlegacy/common.c 	if (il->bands[NL80211_BAND_5GHZ].n_channels == 0 &&
bands            3532 drivers/net/wireless/intel/iwlegacy/common.c 		il->bands[NL80211_BAND_2GHZ].n_channels,
bands            3533 drivers/net/wireless/intel/iwlegacy/common.c 		il->bands[NL80211_BAND_5GHZ].n_channels);
bands            1136 drivers/net/wireless/intel/iwlegacy/common.h 	struct ieee80211_supported_band bands[NUM_NL80211_BANDS];
bands            1946 drivers/net/wireless/intel/iwlegacy/common.h 	return il->hw->wiphy->bands[band];
bands             186 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 	return priv->hw->wiphy->bands[band];
bands             191 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	if (priv->nvm_data->bands[NL80211_BAND_2GHZ].n_channels)
bands             192 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		priv->hw->wiphy->bands[NL80211_BAND_2GHZ] =
bands             193 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			&priv->nvm_data->bands[NL80211_BAND_2GHZ];
bands             194 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	if (priv->nvm_data->bands[NL80211_BAND_5GHZ].n_channels)
bands             195 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		priv->hw->wiphy->bands[NL80211_BAND_5GHZ] =
bands             196 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			&priv->nvm_data->bands[NL80211_BAND_5GHZ];
bands            2788 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	sband = hw->wiphy->bands[conf->chandef.chan->band];
bands             932 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c 		sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band];
bands             434 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 	struct ieee80211_supported_band *sband = priv->hw->wiphy->bands[band];
bands             161 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 				&priv->nvm_data->bands[info->band], sta);
bands             819 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	sband = &data->bands[NL80211_BAND_2GHZ];
bands             828 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c 	sband = &data->bands[NL80211_BAND_5GHZ];
bands             101 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h 	struct ieee80211_supported_band bands[NUM_NL80211_BANDS];
bands             712 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	sband = &data->bands[NL80211_BAND_2GHZ];
bands             724 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c 	sband = &data->bands[NL80211_BAND_5GHZ];
bands             655 drivers/net/wireless/intel/iwlwifi/mvm/fw.c 		mvm->nvm_data->bands[0].channels = mvm->nvm_data->channels;
bands             656 drivers/net/wireless/intel/iwlwifi/mvm/fw.c 		mvm->nvm_data->bands[0].n_channels = 1;
bands             657 drivers/net/wireless/intel/iwlwifi/mvm/fw.c 		mvm->nvm_data->bands[0].n_bitrates = 1;
bands             658 drivers/net/wireless/intel/iwlwifi/mvm/fw.c 		mvm->nvm_data->bands[0].bitrates =
bands             660 drivers/net/wireless/intel/iwlwifi/mvm/fw.c 		mvm->nvm_data->bands[0].bitrates->hw_value = 10;
bands            1411 drivers/net/wireless/intel/iwlwifi/mvm/fw.c 		sband = mvm->hw->wiphy->bands[i++];
bands             383 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 	sband = mvm->hw->wiphy->bands[band];
bands             584 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (mvm->nvm_data->bands[NL80211_BAND_2GHZ].n_channels)
bands             585 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] =
bands             586 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			&mvm->nvm_data->bands[NL80211_BAND_2GHZ];
bands             587 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (mvm->nvm_data->bands[NL80211_BAND_5GHZ].n_channels) {
bands             588 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		hw->wiphy->bands[NL80211_BAND_5GHZ] =
bands             589 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			&mvm->nvm_data->bands[NL80211_BAND_5GHZ];
bands             595 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			hw->wiphy->bands[NL80211_BAND_5GHZ]->vht_cap.cap |=
bands             296 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c 			sband = mvm->hw->wiphy->bands[band++];
bands             442 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	struct ieee80211_supported_band *sband = hw->wiphy->bands[band];
bands            2974 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	sband = hw->wiphy->bands[band];
bands            1080 drivers/net/wireless/intel/iwlwifi/mvm/scan.c 	band = &mvm->nvm_data->bands[NL80211_BAND_2GHZ];
bands            1083 drivers/net/wireless/intel/iwlwifi/mvm/scan.c 	band = &mvm->nvm_data->bands[NL80211_BAND_5GHZ];
bands            1108 drivers/net/wireless/intel/iwlwifi/mvm/scan.c 	band = &mvm->nvm_data->bands[NL80211_BAND_2GHZ];
bands            1111 drivers/net/wireless/intel/iwlwifi/mvm/scan.c 	band = &mvm->nvm_data->bands[NL80211_BAND_5GHZ];
bands            1198 drivers/net/wireless/intel/iwlwifi/mvm/scan.c 		mvm->nvm_data->bands[NL80211_BAND_2GHZ].n_channels +
bands            1199 drivers/net/wireless/intel/iwlwifi/mvm/scan.c 		mvm->nvm_data->bands[NL80211_BAND_5GHZ].n_channels;
bands             342 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 				&mvm->nvm_data->bands[info->band], sta);
bands              70 drivers/net/wireless/intersil/orinoco/cfg.c 	wiphy->bands[NL80211_BAND_2GHZ] = &priv->band;
bands             904 drivers/net/wireless/intersil/p54/eeprom.c 		dev->wiphy->bands[NL80211_BAND_2GHZ] =
bands             907 drivers/net/wireless/intersil/p54/eeprom.c 		dev->wiphy->bands[NL80211_BAND_5GHZ] =
bands             484 drivers/net/wireless/mac80211_hwsim.c 	struct ieee80211_supported_band bands[NUM_NL80211_BANDS];
bands            2933 drivers/net/wireless/mac80211_hwsim.c 		struct ieee80211_supported_band *sband = &data->bands[band];
bands            2992 drivers/net/wireless/mac80211_hwsim.c 		hw->wiphy->bands[band] = sband;
bands            1247 drivers/net/wireless/marvell/libertas/cfg.c 		if (!wiphy->bands[band])
bands            1250 drivers/net/wireless/marvell/libertas/cfg.c 		for (j = 0; j < wiphy->bands[band]->n_channels; j++) {
bands            1252 drivers/net/wireless/marvell/libertas/cfg.c 			if (wiphy->bands[band]->channels[j].flags &
bands            1256 drivers/net/wireless/marvell/libertas/cfg.c 			creq->channels[i] = &wiphy->bands[band]->channels[j];
bands            2120 drivers/net/wireless/marvell/libertas/cfg.c 	wdev->wiphy->bands[NL80211_BAND_2GHZ] = &lbs_band_2ghz;
bands             700 drivers/net/wireless/marvell/libertas/cmd.c 	struct ieee80211_supported_band **bands = wiphy->bands;
bands             740 drivers/net/wireless/marvell/libertas/cmd.c 		if (!bands[band])
bands             744 drivers/net/wireless/marvell/libertas/cmd.c 		     (i < bands[band]->n_channels) && (num_triplet < MAX_11D_TRIPLETS);
bands             746 drivers/net/wireless/marvell/libertas/cmd.c 			ch = &bands[band]->channels[i];
bands             584 drivers/net/wireless/marvell/libertas_tf/main.c 	hw->wiphy->bands[NL80211_BAND_2GHZ] = &priv->band;
bands              56 drivers/net/wireless/marvell/mwifiex/11ac.c 				  u8 bands, u16 mcs_map)
bands              63 drivers/net/wireless/marvell/mwifiex/11ac.c 	if (bands & BAND_AAC)
bands              99 drivers/net/wireless/marvell/mwifiex/11ac.c 			  struct ieee80211_vht_cap *vht_cap, u8 bands)
bands             103 drivers/net/wireless/marvell/mwifiex/11ac.c 	if (bands & BAND_A)
bands             112 drivers/net/wireless/marvell/mwifiex/11ac.c 			      struct ieee80211_vht_cap *vht_cap, u8 bands)
bands             119 drivers/net/wireless/marvell/mwifiex/11ac.c 	mwifiex_fill_vht_cap_info(priv, vht_cap, bands);
bands             141 drivers/net/wireless/marvell/mwifiex/11ac.c 	tmp = mwifiex_convert_mcsmap_to_maxrate(priv, bands, mcs_map_result);
bands             163 drivers/net/wireless/marvell/mwifiex/11ac.c 	tmp = mwifiex_convert_mcsmap_to_maxrate(priv, bands, mcs_map_result);
bands              44 drivers/net/wireless/marvell/mwifiex/11ac.h 			      struct ieee80211_vht_cap *vht_cap, u8 bands);
bands              52 drivers/net/wireless/marvell/mwifiex/11h.c 	sband = priv->wdev.wiphy->bands[radio_type];
bands              42 drivers/net/wireless/marvell/mwifiex/11n.c 					priv->wdev.wiphy->bands[radio_type];
bands             329 drivers/net/wireless/marvell/mwifiex/11n.c 	sband = priv->wdev.wiphy->bands[radio_type];
bands             557 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	if (!wiphy->bands[band]) {
bands             563 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	sband = wiphy->bands[band];
bands             624 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	if (!wiphy->bands[NL80211_BAND_5GHZ])
bands             626 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	sband = wiphy->bands[NL80211_BAND_5GHZ];
bands            1908 drivers/net/wireless/marvell/mwifiex/cfg80211.c 			if (!adapter->wiphy->bands[band])
bands            1911 drivers/net/wireless/marvell/mwifiex/cfg80211.c 			ht_info = &adapter->wiphy->bands[band]->ht_cap;
bands            3035 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	mwifiex_setup_ht_caps(&wiphy->bands[NL80211_BAND_2GHZ]->ht_cap, priv);
bands            3038 drivers/net/wireless/marvell/mwifiex/cfg80211.c 			&wiphy->bands[NL80211_BAND_2GHZ]->vht_cap, priv);
bands            3042 drivers/net/wireless/marvell/mwifiex/cfg80211.c 			&wiphy->bands[NL80211_BAND_5GHZ]->ht_cap, priv);
bands            3046 drivers/net/wireless/marvell/mwifiex/cfg80211.c 			&wiphy->bands[NL80211_BAND_5GHZ]->vht_cap, priv);
bands            4330 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	wiphy->bands[NL80211_BAND_2GHZ] = &mwifiex_band_2ghz;
bands            4332 drivers/net/wireless/marvell/mwifiex/cfg80211.c 		wiphy->bands[NL80211_BAND_5GHZ] = &mwifiex_band_5ghz;
bands            4334 drivers/net/wireless/marvell/mwifiex/cfg80211.c 		wiphy->bands[NL80211_BAND_5GHZ] = NULL;
bands             323 drivers/net/wireless/marvell/mwifiex/cfp.c 		sband = priv->wdev.wiphy->bands[NL80211_BAND_2GHZ];
bands             325 drivers/net/wireless/marvell/mwifiex/cfp.c 		sband = priv->wdev.wiphy->bands[NL80211_BAND_5GHZ];
bands             400 drivers/net/wireless/marvell/mwifiex/cfp.c 		sband = wiphy->bands[NL80211_BAND_5GHZ];
bands             405 drivers/net/wireless/marvell/mwifiex/cfp.c 		sband = wiphy->bands[NL80211_BAND_2GHZ];
bands             470 drivers/net/wireless/marvell/mwifiex/scan.c 		if (!priv->wdev.wiphy->bands[band])
bands             473 drivers/net/wireless/marvell/mwifiex/scan.c 		sband = priv->wdev.wiphy->bands[band];
bands             537 drivers/net/wireless/marvell/mwifiex/scan.c 		if (!priv->wdev.wiphy->bands[band])
bands             540 drivers/net/wireless/marvell/mwifiex/scan.c 		sband = priv->wdev.wiphy->bands[band];
bands            2322 drivers/net/wireless/marvell/mwl8k.c 	hw->wiphy->bands[NL80211_BAND_2GHZ] = &priv->band_24;
bands            2341 drivers/net/wireless/marvell/mwl8k.c 	hw->wiphy->bands[NL80211_BAND_5GHZ] = &priv->band_50;
bands            3084 drivers/net/wireless/marvell/mwl8k.c 		sband = priv->hw->wiphy->bands[band];
bands            5404 drivers/net/wireless/marvell/mwl8k.c 		sband = hw->wiphy->bands[NL80211_BAND_2GHZ];
bands            5412 drivers/net/wireless/marvell/mwl8k.c 			sband = hw->wiphy->bands[NL80211_BAND_5GHZ];
bands             217 drivers/net/wireless/mediatek/mt76/mac80211.c 	dev->hw->wiphy->bands[NL80211_BAND_2GHZ] = &dev->sband_2g.sband;
bands             229 drivers/net/wireless/mediatek/mt76/mac80211.c 	dev->hw->wiphy->bands[NL80211_BAND_5GHZ] = &dev->sband_5g.sband;
bands             240 drivers/net/wireless/mediatek/mt76/mac80211.c 	struct ieee80211_supported_band *sband = dev->hw->wiphy->bands[band];
bands             259 drivers/net/wireless/mediatek/mt76/mac80211.c 	dev->hw->wiphy->bands[band] = NULL;
bands             571 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		r = &mt76_hw(dev)->wiphy->bands[band]->bitrates[rate->idx];
bands             166 drivers/net/wireless/mediatek/mt76/mt7603/main.c 		mt76_hw(dev)->wiphy->bands[def->chan->band]->channels) << 1;
bands             283 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		r = &mt76_hw(dev)->wiphy->bands[band]->bitrates[rate->idx];
bands             185 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 		r = &dev->mt76.hw->wiphy->bands[band]->bitrates[rate->idx];
bands              84 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c 			r = &wiphy->bands[band]->bitrates[rate->idx];
bands             563 drivers/net/wireless/mediatek/mt7601u/init.c 	dev->hw->wiphy->bands[NL80211_BAND_2GHZ] = dev->sband_2g;
bands             125 drivers/net/wireless/mediatek/mt7601u/mac.c 		r = &dev->hw->wiphy->bands[band]->bitrates[rate->idx];
bands             738 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 	sband = wiphy->bands[NL80211_BAND_2GHZ];
bands             745 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 		sband = wiphy->bands[NL80211_BAND_5GHZ];
bands            1019 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 		if (!wiphy->bands[band])
bands            1022 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 		ret = qtnf_cmd_band_info_get(mac, wiphy->bands[band]);
bands             801 drivers/net/wireless/quantenna/qtnfmac/commands.c 			if (!wiphy->bands[band])
bands             804 drivers/net/wireless/quantenna/qtnfmac/commands.c 			qtnf_cmd_band_info_get(vif->mac, wiphy->bands[band]);
bands            2440 drivers/net/wireless/quantenna/qtnfmac/commands.c 		cfg_band = wiphy->bands[band];
bands             216 drivers/net/wireless/quantenna/qtnfmac/core.c 	wiphy->bands[band] = kzalloc(sizeof(*wiphy->bands[band]), GFP_KERNEL);
bands             217 drivers/net/wireless/quantenna/qtnfmac/core.c 	if (!wiphy->bands[band])
bands             220 drivers/net/wireless/quantenna/qtnfmac/core.c 	wiphy->bands[band]->band = band;
bands             222 drivers/net/wireless/quantenna/qtnfmac/core.c 	ret = qtnf_cmd_band_info_get(mac, wiphy->bands[band]);
bands             229 drivers/net/wireless/quantenna/qtnfmac/core.c 	qtnf_band_init_rates(wiphy->bands[band]);
bands             518 drivers/net/wireless/quantenna/qtnfmac/core.c 		if (!wiphy->bands[band])
bands             521 drivers/net/wireless/quantenna/qtnfmac/core.c 		kfree(wiphy->bands[band]->channels);
bands             522 drivers/net/wireless/quantenna/qtnfmac/core.c 		wiphy->bands[band]->n_channels = 0;
bands             524 drivers/net/wireless/quantenna/qtnfmac/core.c 		kfree(wiphy->bands[band]);
bands             525 drivers/net/wireless/quantenna/qtnfmac/core.c 		wiphy->bands[band] = NULL;
bands             754 drivers/net/wireless/ralink/rt2x00/rt2x00.h 	struct ieee80211_supported_band bands[NUM_NL80211_BANDS];
bands             710 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		sband = &rt2x00dev->bands[rt2x00dev->curr_band];
bands            1050 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		rt2x00dev->bands[NL80211_BAND_2GHZ].n_channels = 14;
bands            1051 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		rt2x00dev->bands[NL80211_BAND_2GHZ].n_bitrates = num_rates;
bands            1052 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		rt2x00dev->bands[NL80211_BAND_2GHZ].channels = channels;
bands            1053 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		rt2x00dev->bands[NL80211_BAND_2GHZ].bitrates = rates;
bands            1054 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] =
bands            1055 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		    &rt2x00dev->bands[NL80211_BAND_2GHZ];
bands            1056 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		memcpy(&rt2x00dev->bands[NL80211_BAND_2GHZ].ht_cap,
bands            1066 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		rt2x00dev->bands[NL80211_BAND_5GHZ].n_channels =
bands            1068 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		rt2x00dev->bands[NL80211_BAND_5GHZ].n_bitrates =
bands            1070 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		rt2x00dev->bands[NL80211_BAND_5GHZ].channels = &channels[14];
bands            1071 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		rt2x00dev->bands[NL80211_BAND_5GHZ].bitrates = &rates[4];
bands            1072 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		hw->wiphy->bands[NL80211_BAND_5GHZ] =
bands            1073 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		    &rt2x00dev->bands[NL80211_BAND_5GHZ];
bands            1074 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		memcpy(&rt2x00dev->bands[NL80211_BAND_5GHZ].ht_cap,
bands            1091 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 	if (likely(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ])) {
bands            1092 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		kfree(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels);
bands            1093 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		kfree(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ]->bitrates);
bands            1094 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ] = NULL;
bands            1095 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		rt2x00dev->hw->wiphy->bands[NL80211_BAND_5GHZ] = NULL;
bands            1805 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 	dev->wiphy->bands[NL80211_BAND_2GHZ] = &priv->band;
bands            1476 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c 	dev->wiphy->bands[NL80211_BAND_2GHZ] = &priv->band;
bands            6122 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	hw->wiphy->bands[NL80211_BAND_2GHZ] = sband;
bands             308 drivers/net/wireless/realtek/rtlwifi/base.c 		sband = &(rtlmac->bands[NL80211_BAND_2GHZ]);
bands             312 drivers/net/wireless/realtek/rtlwifi/base.c 		memcpy(&(rtlmac->bands[NL80211_BAND_2GHZ]), &rtl_band_2ghz,
bands             319 drivers/net/wireless/realtek/rtlwifi/base.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] = sband;
bands             323 drivers/net/wireless/realtek/rtlwifi/base.c 		sband = &(rtlmac->bands[NL80211_BAND_5GHZ]);
bands             327 drivers/net/wireless/realtek/rtlwifi/base.c 		memcpy(&(rtlmac->bands[NL80211_BAND_5GHZ]), &rtl_band_5ghz,
bands             335 drivers/net/wireless/realtek/rtlwifi/base.c 		hw->wiphy->bands[NL80211_BAND_5GHZ] = sband;
bands             339 drivers/net/wireless/realtek/rtlwifi/base.c 			sband = &(rtlmac->bands[NL80211_BAND_2GHZ]);
bands             343 drivers/net/wireless/realtek/rtlwifi/base.c 			memcpy(&(rtlmac->bands[NL80211_BAND_2GHZ]),
bands             351 drivers/net/wireless/realtek/rtlwifi/base.c 			hw->wiphy->bands[NL80211_BAND_2GHZ] = sband;
bands             354 drivers/net/wireless/realtek/rtlwifi/base.c 			sband = &(rtlmac->bands[NL80211_BAND_5GHZ]);
bands             358 drivers/net/wireless/realtek/rtlwifi/base.c 			memcpy(&(rtlmac->bands[NL80211_BAND_5GHZ]),
bands             367 drivers/net/wireless/realtek/rtlwifi/base.c 			hw->wiphy->bands[NL80211_BAND_5GHZ] = sband;
bands             142 drivers/net/wireless/realtek/rtlwifi/regd.c 		if (!wiphy->bands[band])
bands             145 drivers/net/wireless/realtek/rtlwifi/regd.c 		sband = wiphy->bands[band];
bands             190 drivers/net/wireless/realtek/rtlwifi/regd.c 	if (!wiphy->bands[NL80211_BAND_2GHZ])
bands             192 drivers/net/wireless/realtek/rtlwifi/regd.c 	sband = wiphy->bands[NL80211_BAND_2GHZ];
bands             242 drivers/net/wireless/realtek/rtlwifi/regd.c 	if (!wiphy->bands[NL80211_BAND_5GHZ])
bands             245 drivers/net/wireless/realtek/rtlwifi/regd.c 	sband = wiphy->bands[NL80211_BAND_5GHZ];
bands            1486 drivers/net/wireless/realtek/rtlwifi/wifi.h 	struct ieee80211_supported_band bands[NUM_NL80211_BANDS];
bands             848 drivers/net/wireless/realtek/rtw88/main.c 		hw->wiphy->bands[NL80211_BAND_2GHZ] = sband;
bands             859 drivers/net/wireless/realtek/rtw88/main.c 		hw->wiphy->bands[NL80211_BAND_5GHZ] = sband;
bands             872 drivers/net/wireless/realtek/rtw88/main.c 	kfree(hw->wiphy->bands[NL80211_BAND_2GHZ]);
bands             873 drivers/net/wireless/realtek/rtw88/main.c 	kfree(hw->wiphy->bands[NL80211_BAND_5GHZ]);
bands             272 drivers/net/wireless/realtek/rtw88/regd.c 		if (!wiphy->bands[band])
bands             275 drivers/net/wireless/realtek/rtw88/regd.c 		sband = wiphy->bands[band];
bands             304 drivers/net/wireless/realtek/rtw88/regd.c 	sband = wiphy->bands[NL80211_BAND_2GHZ];
bands             314 drivers/net/wireless/realtek/rtw88/regd.c 	sband = wiphy->bands[NL80211_BAND_5GHZ];
bands            3481 drivers/net/wireless/rndis_wlan.c 	wiphy->bands[NL80211_BAND_2GHZ] = &priv->band;
bands            1701 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		sband = wiphy->bands[NL80211_BAND_5GHZ];
bands            2072 drivers/net/wireless/rsi/rsi_91x_mac80211.c 	wiphy->bands[NL80211_BAND_2GHZ] =
bands            2079 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		wiphy->bands[NL80211_BAND_5GHZ] =
bands             311 drivers/net/wireless/st/cw1200/main.c 	hw->wiphy->bands[NL80211_BAND_2GHZ] = &cw1200_band_2ghz;
bands             313 drivers/net/wireless/st/cw1200/main.c 		hw->wiphy->bands[NL80211_BAND_5GHZ] = &cw1200_band_5ghz;
bands             317 drivers/net/wireless/st/cw1200/main.c 		struct ieee80211_supported_band *sband = hw->wiphy->bands[band];
bands             432 drivers/net/wireless/st/cw1200/txrx.c 	return &priv->hw->wiphy->bands[priv->channel->band]->
bands             847 drivers/net/wireless/st/cw1200/wsm.c 		priv->hw->wiphy->bands[NL80211_BAND_2GHZ] = NULL;
bands             849 drivers/net/wireless/st/cw1200/wsm.c 		priv->hw->wiphy->bands[NL80211_BAND_5GHZ] = NULL;
bands            1523 drivers/net/wireless/ti/wl1251/main.c 	wl->hw->wiphy->bands[NL80211_BAND_2GHZ] = &wl1251_band_2ghz;
bands            1709 drivers/net/wireless/ti/wlcore/cmd.c 		band = wiphy->bands[b];
bands            2368 drivers/net/wireless/ti/wlcore/main.c 		wiphy->bands[NL80211_BAND_5GHZ]->n_channels = 0;
bands            6299 drivers/net/wireless/ti/wlcore/main.c 	memcpy(&wl->bands[NL80211_BAND_2GHZ], &wl1271_band_2ghz,
bands            6301 drivers/net/wireless/ti/wlcore/main.c 	memcpy(&wl->bands[NL80211_BAND_2GHZ].ht_cap,
bands            6304 drivers/net/wireless/ti/wlcore/main.c 	memcpy(&wl->bands[NL80211_BAND_5GHZ], &wl1271_band_5ghz,
bands            6306 drivers/net/wireless/ti/wlcore/main.c 	memcpy(&wl->bands[NL80211_BAND_5GHZ].ht_cap,
bands            6310 drivers/net/wireless/ti/wlcore/main.c 	wl->hw->wiphy->bands[NL80211_BAND_2GHZ] =
bands            6311 drivers/net/wireless/ti/wlcore/main.c 		&wl->bands[NL80211_BAND_2GHZ];
bands            6312 drivers/net/wireless/ti/wlcore/main.c 	wl->hw->wiphy->bands[NL80211_BAND_5GHZ] =
bands            6313 drivers/net/wireless/ti/wlcore/main.c 		&wl->bands[NL80211_BAND_5GHZ];
bands             446 drivers/net/wireless/ti/wlcore/tx.c 	band = wl->hw->wiphy->bands[rate_band];
bands             366 drivers/net/wireless/ti/wlcore/wlcore.h 	struct ieee80211_supported_band bands[WLCORE_NUM_BANDS];
bands             359 drivers/net/wireless/virt_wifi.c 	wiphy->bands[NL80211_BAND_2GHZ] = &band_2ghz;
bands             360 drivers/net/wireless/virt_wifi.c 	wiphy->bands[NL80211_BAND_5GHZ] = &band_5ghz;
bands             361 drivers/net/wireless/virt_wifi.c 	wiphy->bands[NL80211_BAND_60GHZ] = NULL;
bands            1384 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 	hw->wiphy->bands[NL80211_BAND_2GHZ] = &mac->band;
bands            3309 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct ieee80211_supported_band *bands;
bands            3318 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		bands = wiphy->bands[NL80211_BAND_2GHZ];
bands            3319 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		if (bands)
bands            3320 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			rtw_cfg80211_init_ht_capab(&bands->ht_cap, NL80211_BAND_2GHZ, rf_type);
bands            3356 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	wiphy->bands[NL80211_BAND_2GHZ] = rtw_spt_band_alloc(NL80211_BAND_2GHZ);
bands            3502 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	rtw_spt_band_free(wdev->wiphy->bands[NL80211_BAND_2GHZ]);
bands              75 drivers/staging/rtl8723bs/os_dep/wifi_regd.c 		sband = wiphy->bands[i];
bands             134 drivers/staging/vt6655/channel.c 		priv->hw->wiphy->bands[NL80211_BAND_5GHZ] =
bands             149 drivers/staging/vt6655/channel.c 		priv->hw->wiphy->bands[NL80211_BAND_2GHZ] =
bands              54 drivers/staging/vt6655/dpc.c 	sband = hw->wiphy->bands[hw->conf.chandef.chan->band];
bands             146 drivers/staging/vt6656/channel.c 		priv->hw->wiphy->bands[NL80211_BAND_5GHZ] =
bands             160 drivers/staging/vt6656/channel.c 		priv->hw->wiphy->bands[NL80211_BAND_2GHZ] =
bands              86 drivers/staging/vt6656/dpc.c 	sband = hw->wiphy->bands[hw->conf.chandef.chan->band];
bands            1890 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	wiphy->bands[NL80211_BAND_2GHZ] = &wl->band;
bands             692 drivers/staging/wlan-ng/cfg80211.c 	wiphy->bands[NL80211_BAND_2GHZ] = &priv->band;
bands            2912 include/net/cfg80211.h 	u8 bands;
bands            4628 include/net/cfg80211.h 	struct ieee80211_supported_band *bands[NUM_NL80211_BANDS];
bands            2603 include/net/mac80211.h 	return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[0].idx];
bands            2612 include/net/mac80211.h 	return &hw->wiphy->bands[c->band]->bitrates[c->control.rts_cts_rate_idx];
bands            2621 include/net/mac80211.h 	return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[idx + 1].idx];
bands             797 include/net/pkt_cls.h 	int bands;
bands             149 include/uapi/linux/pkt_sched.h 	int	bands;			/* Number of bands */
bands             156 include/uapi/linux/pkt_sched.h 	__u16	bands;			/* Number of bands */
bands             255 net/mac80211/cfg.c 		new_conf.bands = conf->bands;
bands            2188 net/mac80211/cfg.c 					 wiphy->bands[sband->band],
bands            2891 net/mac80211/cfg.c 		struct ieee80211_supported_band *sband = wiphy->bands[i];
bands              93 net/mac80211/ibss.c 	sband = local->hw.wiphy->bands[chandef->chan->band];
bands             444 net/mac80211/ibss.c 	sband = sdata->local->hw.wiphy->bands[cbss->channel->band];
bands             653 net/mac80211/ibss.c 	sband = local->hw.wiphy->bands[band];
bands            1004 net/mac80211/ibss.c 	sband = local->hw.wiphy->bands[band];
bands            1243 net/mac80211/ibss.c 	sband = local->hw.wiphy->bands[band];
bands            1804 net/mac80211/ibss.c 	sband = local->hw.wiphy->bands[params->chandef.chan->band];
bands            1443 net/mac80211/ieee80211_i.h 	return local->hw.wiphy->bands[band];
bands            1836 net/mac80211/iface.c 		sband = local->hw.wiphy->bands[i];
bands             952 net/mac80211/main.c 		sband = local->hw.wiphy->bands[band];
bands            1024 net/mac80211/main.c 		if (!local->hw.wiphy->bands[band])
bands            1219 net/mac80211/main.c 		sband = local->hw.wiphy->bands[band];
bands            1241 net/mac80211/main.c 		local->hw.wiphy->bands[band] = sband;
bands            1389 net/mac80211/main.c 		kfree(local->hw.wiphy->bands[band]);
bands             452 net/mac80211/mesh.c 	sband = local->hw.wiphy->bands[channel->band];
bands             516 net/mac80211/mesh.c 	sband = local->hw.wiphy->bands[channel->band];
bands             331 net/mac80211/mlme.c 		local->hw.wiphy->bands[chan->band];
bands             664 net/mac80211/mlme.c 	sband = local->hw.wiphy->bands[chan->band];
bands            1150 net/mac80211/mlme.c 				local->hw.wiphy->bands[sdata->csa_chandef.chan->band];
bands            4751 net/mac80211/mlme.c 	sband = local->hw.wiphy->bands[cbss->channel->band];
bands            4917 net/mac80211/mlme.c 	sband = local->hw.wiphy->bands[cbss->channel->band];
bands            5302 net/mac80211/mlme.c 	sband = local->hw.wiphy->bands[req->bss->channel->band];
bands              76 net/mac80211/ocb.c 	sband = local->hw.wiphy->bands[band];
bands              52 net/mac80211/rate.c 	sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band];
bands             274 net/mac80211/rate.c 	sband = local->hw.wiphy->bands[band];
bands             857 net/mac80211/rate.c 	sband = sdata->local->hw.wiphy->bands[info->band];
bands            1566 net/mac80211/rc80211_minstrel_ht.c 		sband = hw->wiphy->bands[i];
bands            1610 net/mac80211/rc80211_minstrel_ht.c 	sband = mp->hw->wiphy->bands[NL80211_BAND_2GHZ];
bands            3108 net/mac80211/rx.c 			sband = rx->local->hw.wiphy->bands[status->band];
bands            3142 net/mac80211/rx.c 			sband = rx->local->hw.wiphy->bands[status->band];
bands            3594 net/mac80211/rx.c 		sband = rx->local->hw.wiphy->bands[status->band];
bands            4532 net/mac80211/rx.c 	sband = local->hw.wiphy->bands[status->band];
bands             129 net/mac80211/scan.c 			local->hw.wiphy->bands[rx_status->band];
bands            1119 net/mac80211/scan.c 			if (!local->hw.wiphy->bands[band])
bands            1122 net/mac80211/scan.c 			max_n = local->hw.wiphy->bands[band]->n_channels;
bands            1125 net/mac80211/scan.c 				    &local->hw.wiphy->bands[band]->channels[i];
bands            1252 net/mac80211/scan.c 		if (local->hw.wiphy->bands[i]) {
bands             409 net/mac80211/sta_info.c 		if (!hw->wiphy->bands[i])
bands             435 net/mac80211/sta_info.c 		for (r = 0; r < hw->wiphy->bands[i]->n_bitrates; r++) {
bands             438 net/mac80211/sta_info.c 			rate = &hw->wiphy->bands[i]->bitrates[r];
bands            2085 net/mac80211/sta_info.c 		sband = local->hw.wiphy->bands[band];
bands             882 net/mac80211/status.c 	sband = local->hw.wiphy->bands[info->band];
bands            1113 net/mac80211/status.c 	sband = hw->wiphy->bands[info->band];
bands            1166 net/mac80211/status.c 	struct ieee80211_supported_band *sband = hw->wiphy->bands[info->band];
bands            1262 net/mac80211/tdls.c 		sband = local->hw.wiphy->bands[conf->def.chan->band];
bands            1793 net/mac80211/trace.h 		__field(u8, bands)
bands            1800 net/mac80211/trace.h 		__entry->bands = conf->bands;
bands            1807 net/mac80211/trace.h 		__entry->bands
bands            1844 net/mac80211/trace.h 		__field(u8, bands)
bands            1852 net/mac80211/trace.h 		__entry->bands = conf->bands;
bands            1860 net/mac80211/trace.h 		__entry->bands, __entry->changes
bands              80 net/mac80211/tx.c 	sband = local->hw.wiphy->bands[info->band];
bands             681 net/mac80211/tx.c 	sband = tx->local->hw.wiphy->bands[info->band];
bands            1548 net/mac80211/tx.c 		sband = local->hw.wiphy->bands[band];
bands            2033 net/mac80211/tx.c 		local->hw.wiphy->bands[info->band];
bands            4625 net/mac80211/tx.c 	txrc.sband = local->hw.wiphy->bands[band];
bands             167 net/mac80211/util.c 	sband = local->hw.wiphy->bands[frame_txctl->band];
bands             211 net/mac80211/util.c 	sband = local->hw.wiphy->bands[frame_txctl->band];
bands            1655 net/mac80211/util.c 	sband = local->hw.wiphy->bands[band];
bands            1935 net/mac80211/util.c 	sband = sdata->local->hw.wiphy->bands[band];
bands            3003 net/mac80211/util.c 	vht_cap = hw->wiphy->bands[chandef->chan->band]->vht_cap.cap;
bands            3113 net/mac80211/util.c 	sband = local->hw.wiphy->bands[band];
bands            3158 net/mac80211/util.c 	sband = local->hw.wiphy->bands[band];
bands            3281 net/mac80211/util.c 		sband = local->hw.wiphy->bands[status->band];
bands             596 net/mac80211/vht.c 	struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band];
bands             131 net/openvswitch/meter.c 	band = meter->bands;
bands             206 net/openvswitch/meter.c 	meter = kzalloc(struct_size(meter, bands, n_bands), GFP_KERNEL);
bands             222 net/openvswitch/meter.c 	band = meter->bands;
bands             492 net/openvswitch/meter.c 		band = &meter->bands[i];
bands             509 net/openvswitch/meter.c 		band = &meter->bands[band_exceeded_max];
bands              42 net/openvswitch/meter.h 	struct dp_meter_band bands[];
bands             713 net/sched/sch_generic.c 	struct tc_prio_qopt opt = { .bands = PFIFO_FAST_BANDS };
bands             773 net/sched/sch_generic.c 	struct skb_array *bands[PFIFO_FAST_BANDS];
bands             779 net/sched/sch_generic.c 		bands[prio] = q;
bands             782 net/sched/sch_generic.c 	return skb_array_resize_multiple(bands, PFIFO_FAST_BANDS, new_len,
bands              20 net/sched/sch_multiq.c 	u16 bands;
bands              53 net/sched/sch_multiq.c 	if (band >= q->bands)
bands              94 net/sched/sch_multiq.c 	for (band = 0; band < q->bands; band++) {
bands              97 net/sched/sch_multiq.c 		if (q->curband >= q->bands)
bands             126 net/sched/sch_multiq.c 	for (band = 0; band < q->bands; band++) {
bands             129 net/sched/sch_multiq.c 		if (curband >= q->bands)
bands             153 net/sched/sch_multiq.c 	for (band = 0; band < q->bands; band++)
bands             166 net/sched/sch_multiq.c 	for (band = 0; band < q->bands; band++)
bands             187 net/sched/sch_multiq.c 	qopt->bands = qdisc_dev(sch)->real_num_tx_queues;
bands             189 net/sched/sch_multiq.c 	removed = kmalloc(sizeof(*removed) * (q->max_bands - q->bands),
bands             195 net/sched/sch_multiq.c 	q->bands = qopt->bands;
bands             196 net/sched/sch_multiq.c 	for (i = q->bands; i < q->max_bands; i++) {
bands             212 net/sched/sch_multiq.c 	for (i = 0; i < q->bands; i++) {
bands             268 net/sched/sch_multiq.c 	opt.bands = q->bands;
bands             308 net/sched/sch_multiq.c 	if (band - 1 >= q->bands)
bands             357 net/sched/sch_multiq.c 	for (band = 0; band < q->bands; band++) {
bands              22 net/sched/sch_prio.c 	int bands;
bands              62 net/sched/sch_prio.c 	if (band >= q->bands)
bands             102 net/sched/sch_prio.c 	for (prio = 0; prio < q->bands; prio++) {
bands             116 net/sched/sch_prio.c 	for (prio = 0; prio < q->bands; prio++) {
bands             136 net/sched/sch_prio.c 	for (prio = 0; prio < q->bands; prio++)
bands             155 net/sched/sch_prio.c 		opt.replace_params.bands = qopt->bands;
bands             174 net/sched/sch_prio.c 	for (prio = 0; prio < q->bands; prio++)
bands             183 net/sched/sch_prio.c 	int oldbands = q->bands, i;
bands             190 net/sched/sch_prio.c 	if (qopt->bands > TCQ_PRIO_BANDS || qopt->bands < 2)
bands             194 net/sched/sch_prio.c 		if (qopt->priomap[i] >= qopt->bands)
bands             199 net/sched/sch_prio.c 	for (i = oldbands; i < qopt->bands; i++) {
bands             212 net/sched/sch_prio.c 	q->bands = qopt->bands;
bands             215 net/sched/sch_prio.c 	for (i = q->bands; i < oldbands; i++)
bands             218 net/sched/sch_prio.c 	for (i = oldbands; i < q->bands; i++) {
bands             226 net/sched/sch_prio.c 	for (i = q->bands; i < oldbands; i++)
bands             271 net/sched/sch_prio.c 	opt.bands = q->bands;
bands             332 net/sched/sch_prio.c 	if (band - 1 >= q->bands)
bands             380 net/sched/sch_prio.c 	for (prio = 0; prio < q->bands; prio++) {
bands             890 net/wireless/chan.c 	ht_cap = &wiphy->bands[chandef->chan->band]->ht_cap;
bands             891 net/wireless/chan.c 	vht_cap = &wiphy->bands[chandef->chan->band]->vht_cap;
bands             892 net/wireless/chan.c 	edmg_cap = &wiphy->bands[chandef->chan->band]->edmg_cap;
bands             792 net/wireless/core.c 		sband = wiphy->bands[band];
bands              79 net/wireless/debugfs.c 		sband = wiphy->bands[band];
bands             119 net/wireless/ibss.c 		sband = rdev->wiphy.bands[band];
bands             257 net/wireless/ibss.c 			sband = rdev->wiphy.bands[band];
bands             139 net/wireless/mesh.c 			sband = rdev->wiphy.bands[band];
bands             172 net/wireless/mesh.c 				rdev->wiphy.bands[setup->chandef.chan->band];
bands             783 net/wireless/mlme.c 		sband = wiphy->bands[bandid];
bands            2048 net/wireless/nl80211.c 			sband = rdev->wiphy.bands[band];
bands            4250 net/wireless/nl80211.c 		sband = rdev->wiphy.bands[i];
bands            4281 net/wireless/nl80211.c 		sband = rdev->wiphy.bands[band];
bands            4325 net/wireless/nl80211.c 			if (!(rdev->wiphy.bands[band]->ht_cap.ht_supported ||
bands            4326 net/wireless/nl80211.c 			      rdev->wiphy.bands[band]->vht_cap.vht_supported))
bands            4785 net/wireless/nl80211.c 	if (params.pbss && !rdev->wiphy.bands[NL80211_BAND_60GHZ])
bands            7297 net/wireless/nl80211.c 	return b < NUM_NL80211_BANDS && wiphy->bands[b];
bands            7600 net/wireless/nl80211.c 			if (!wiphy->bands[band])
bands            7602 net/wireless/nl80211.c 			for (j = 0; j < wiphy->bands[band]->n_channels; j++) {
bands            7605 net/wireless/nl80211.c 				chan = &wiphy->bands[band]->channels[j];
bands            7663 net/wireless/nl80211.c 		if (wiphy->bands[i])
bands            7665 net/wireless/nl80211.c 				(1 << wiphy->bands[i]->n_bitrates) - 1;
bands            7678 net/wireless/nl80211.c 			if (!wiphy->bands[band])
bands            7681 net/wireless/nl80211.c 			err = ieee80211_get_ratemask(wiphy->bands[band],
bands            8076 net/wireless/nl80211.c 			if (!wiphy->bands[band])
bands            8078 net/wireless/nl80211.c 			for (j = 0; j < wiphy->bands[band]->n_channels; j++) {
bands            8081 net/wireless/nl80211.c 				chan = &wiphy->bands[band]->channels[j];
bands            9413 net/wireless/nl80211.c 		sband = wiphy->bands[band];
bands            9517 net/wireless/nl80211.c 			wiphy->bands[ibss.chandef.chan->band];
bands            10036 net/wireless/nl80211.c 	if (connect.pbss && !rdev->wiphy.bands[NL80211_BAND_60GHZ]) {
bands            11084 net/wireless/nl80211.c 		sband = rdev->wiphy.bands[setup.chandef.chan->band];
bands            12245 net/wireless/nl80211.c 		u32 bands = nla_get_u32(info->attrs[NL80211_ATTR_BANDS]);
bands            12247 net/wireless/nl80211.c 		if (bands & ~(u32)wdev->wiphy->nan_supported_bands)
bands            12250 net/wireless/nl80211.c 		if (bands && !(bands & BIT(NL80211_BAND_2GHZ)))
bands            12253 net/wireless/nl80211.c 		conf.bands = bands;
bands            12616 net/wireless/nl80211.c 		u32 bands = nla_get_u32(info->attrs[NL80211_ATTR_BANDS]);
bands            12618 net/wireless/nl80211.c 		if (bands & ~(u32)wdev->wiphy->nan_supported_bands)
bands            12621 net/wireless/nl80211.c 		if (bands && !(bands & BIT(NL80211_BAND_2GHZ)))
bands            12624 net/wireless/nl80211.c 		conf.bands = bands;
bands              52 net/wireless/of.c 		struct ieee80211_supported_band *sband = wiphy->bands[band];
bands            1934 net/wireless/reg.c 	sband = wiphy->bands[reg_beacon->chan.band];
bands            1972 net/wireless/reg.c 	if (!wiphy->bands[reg_beacon->chan.band])
bands            1975 net/wireless/reg.c 	sband = wiphy->bands[reg_beacon->chan.band];
bands            1991 net/wireless/reg.c 		if (!wiphy->bands[reg_beacon->chan.band])
bands            1993 net/wireless/reg.c 		sband = wiphy->bands[reg_beacon->chan.band];
bands            2026 net/wireless/reg.c 	struct ieee80211_supported_band *sband = wiphy->bands[channel->band];
bands            2099 net/wireless/reg.c 		reg_process_ht_flags_band(wiphy, wiphy->bands[band]);
bands            2240 net/wireless/reg.c 		handle_band(wiphy, initiator, wiphy->bands[band]);
bands            2350 net/wireless/reg.c 		if (!wiphy->bands[band])
bands            2352 net/wireless/reg.c 		handle_band_custom(wiphy, wiphy->bands[band], regd);
bands            2690 net/wireless/reg.c 		dst_sband = dst_wiphy->bands[band];
bands            2691 net/wireless/reg.c 		src_sband = src_wiphy->bands[band];
bands            2877 net/wireless/reg.c 			handle_band_custom(wiphy, wiphy->bands[band], regd);
bands            3140 net/wireless/reg.c 		sband = wiphy->bands[band];
bands            2171 net/wireless/scan.c 		if (!wiphy->bands[band])
bands            2174 net/wireless/scan.c 		for (j = 0; j < wiphy->bands[band]->n_channels; j++) {
bands            2176 net/wireless/scan.c 			if (wiphy->bands[band]->channels[j].flags &
bands            2186 net/wireless/scan.c 				int wiphy_freq = wiphy->bands[band]->channels[j].center_freq;
bands            2200 net/wireless/scan.c 			creq->channels[i] = &wiphy->bands[band]->channels[j];
bands            2229 net/wireless/scan.c 		if (wiphy->bands[i])
bands            2230 net/wireless/scan.c 			creq->rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1;
bands              90 net/wireless/sme.c 			wdev->wiphy->bands[band];
bands             101 net/wireless/sme.c 		struct ieee80211_supported_band *bands;
bands             105 net/wireless/sme.c 			bands = wdev->wiphy->bands[band];
bands             106 net/wireless/sme.c 			if (!bands)
bands             108 net/wireless/sme.c 			for (j = 0; j < bands->n_channels; j++) {
bands             109 net/wireless/sme.c 				channel = &bands->channels[j];
bands             114 net/wireless/sme.c 			request->rates[band] = (1 << bands->n_bitrates) - 1;
bands            2017 net/wireless/trace.h 		__field(u8, bands);
bands            2023 net/wireless/trace.h 		__entry->bands = conf->bands;
bands            2028 net/wireless/trace.h 		  __entry->bands)
bands            2039 net/wireless/trace.h 		__field(u8, bands);
bands            2046 net/wireless/trace.h 		__entry->bands = conf->bands;
bands            2052 net/wireless/trace.h 		  __entry->bands, __entry->changes)
bands             138 net/wireless/util.c 		sband = wiphy->bands[band];
bands             217 net/wireless/util.c 		if (wiphy->bands[band])
bands             218 net/wireless/util.c 			set_mandatory_flags_band(wiphy->bands[band]);
bands            1894 net/wireless/util.c 		if (wiphy->bands[band])
bands            1895 net/wireless/util.c 			n_channels += wiphy->bands[band]->n_channels;
bands             188 net/wireless/wext-compat.c 		sband = wdev->wiphy->bands[band];
bands            1226 net/wireless/wext-compat.c 		sband = wdev->wiphy->bands[band];
bands             148 tools/include/uapi/linux/pkt_sched.h 	int	bands;			/* Number of bands */
bands             155 tools/include/uapi/linux/pkt_sched.h 	__u16	bands;			/* Number of bands */