n_channels 204 drivers/dma/sh/rcar-dmac.c unsigned int n_channels; n_channels 816 drivers/dma/sh/rcar-dmac.c for (i = 0; i < dmac->n_channels; ++i) { n_channels 1789 drivers/dma/sh/rcar-dmac.c ret = of_property_read_u32(np, "dma-channels", &dmac->n_channels); n_channels 1796 drivers/dma/sh/rcar-dmac.c if (dmac->n_channels <= 0 || n_channels 1797 drivers/dma/sh/rcar-dmac.c dmac->n_channels >= RCAR_DMAC_MAX_CHANNELS) { n_channels 1799 drivers/dma/sh/rcar-dmac.c dmac->n_channels); n_channels 1803 drivers/dma/sh/rcar-dmac.c dmac->channels_mask = GENMASK(dmac->n_channels - 1, 0); n_channels 1845 drivers/dma/sh/rcar-dmac.c dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, n_channels 1900 drivers/dma/sh/rcar-dmac.c for (i = 0; i < dmac->n_channels; ++i) { n_channels 102 drivers/dma/sh/usb-dmac.c unsigned int n_channels; n_channels 350 drivers/dma/sh/usb-dmac.c for (i = 0; i < dmac->n_channels; ++i) { n_channels 677 drivers/dma/sh/usb-dmac.c for (i = 0; i < dmac->n_channels; ++i) { n_channels 749 drivers/dma/sh/usb-dmac.c ret = of_property_read_u32(np, "dma-channels", &dmac->n_channels); n_channels 755 drivers/dma/sh/usb-dmac.c if (dmac->n_channels <= 0 || dmac->n_channels >= 100) { n_channels 757 drivers/dma/sh/usb-dmac.c dmac->n_channels); n_channels 784 drivers/dma/sh/usb-dmac.c dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, n_channels 813 drivers/dma/sh/usb-dmac.c for (i = 0; i < dmac->n_channels; ++i) { n_channels 874 drivers/dma/sh/usb-dmac.c for (i = 0; i < dmac->n_channels; ++i) n_channels 107 drivers/edac/i3200_edac.c int n_channels; n_channels 115 drivers/edac/i3200_edac.c n_channels = 1; n_channels 118 drivers/edac/i3200_edac.c n_channels = 2; n_channels 126 drivers/edac/i3200_edac.c return n_channels; n_channels 208 drivers/edac/ie31200_edac.c int n_channels; n_channels 216 drivers/edac/ie31200_edac.c n_channels = 1; n_channels 219 drivers/edac/ie31200_edac.c n_channels = 2; n_channels 228 drivers/edac/ie31200_edac.c return n_channels; n_channels 1298 drivers/net/ethernet/sfc/ef10.c channel_vis = max(efx->n_channels, n_channels 844 drivers/net/ethernet/sfc/efx.c for (i = 0; i < efx->n_channels; i++) { n_channels 860 drivers/net/ethernet/sfc/efx.c for (i = 0; i < efx->n_channels; i++) { n_channels 869 drivers/net/ethernet/sfc/efx.c for (i = 0; i < efx->n_channels; i++) { n_channels 881 drivers/net/ethernet/sfc/efx.c for (i = 0; i < efx->n_channels; i++) { n_channels 906 drivers/net/ethernet/sfc/efx.c for (i = 0; i < efx->n_channels; i++) { n_channels 1454 drivers/net/ethernet/sfc/efx.c unsigned int n_channels; n_channels 1456 drivers/net/ethernet/sfc/efx.c n_channels = efx_wanted_parallelism(efx); n_channels 1458 drivers/net/ethernet/sfc/efx.c n_channels *= 2; n_channels 1459 drivers/net/ethernet/sfc/efx.c n_channels += extra_channels; n_channels 1460 drivers/net/ethernet/sfc/efx.c n_channels = min(n_channels, efx->max_channels); n_channels 1462 drivers/net/ethernet/sfc/efx.c for (i = 0; i < n_channels; i++) n_channels 1465 drivers/net/ethernet/sfc/efx.c xentries, 1, n_channels); n_channels 1474 drivers/net/ethernet/sfc/efx.c } else if (rc < n_channels) { n_channels 1477 drivers/net/ethernet/sfc/efx.c " available (%d < %u).\n", rc, n_channels); n_channels 1480 drivers/net/ethernet/sfc/efx.c n_channels = rc; n_channels 1484 drivers/net/ethernet/sfc/efx.c efx->n_channels = n_channels; n_channels 1485 drivers/net/ethernet/sfc/efx.c if (n_channels > extra_channels) n_channels 1486 drivers/net/ethernet/sfc/efx.c n_channels -= extra_channels; n_channels 1488 drivers/net/ethernet/sfc/efx.c efx->n_tx_channels = min(max(n_channels / 2, n_channels 1491 drivers/net/ethernet/sfc/efx.c efx->n_rx_channels = max(n_channels - n_channels 1495 drivers/net/ethernet/sfc/efx.c efx->n_tx_channels = min(n_channels, n_channels 1497 drivers/net/ethernet/sfc/efx.c efx->n_rx_channels = n_channels; n_channels 1499 drivers/net/ethernet/sfc/efx.c for (i = 0; i < efx->n_channels; i++) n_channels 1507 drivers/net/ethernet/sfc/efx.c efx->n_channels = 1; n_channels 1525 drivers/net/ethernet/sfc/efx.c efx->n_channels = 1 + (efx_separate_tx_channels ? 1 : 0); n_channels 1533 drivers/net/ethernet/sfc/efx.c j = efx->n_channels; n_channels 1538 drivers/net/ethernet/sfc/efx.c efx->n_channels <= extra_channels) { n_channels 1735 drivers/net/ethernet/sfc/efx.c efx->n_channels - efx->n_tx_channels : 0; n_channels 1793 drivers/net/ethernet/sfc/efx.c if (efx->n_channels > 1) n_channels 803 drivers/net/ethernet/sfc/falcon/efx.c for (i = 0; i < efx->n_channels; i++) { n_channels 819 drivers/net/ethernet/sfc/falcon/efx.c for (i = 0; i < efx->n_channels; i++) { n_channels 828 drivers/net/ethernet/sfc/falcon/efx.c for (i = 0; i < efx->n_channels; i++) { n_channels 840 drivers/net/ethernet/sfc/falcon/efx.c for (i = 0; i < efx->n_channels; i++) { n_channels 865 drivers/net/ethernet/sfc/falcon/efx.c for (i = 0; i < efx->n_channels; i++) { n_channels 1376 drivers/net/ethernet/sfc/falcon/efx.c unsigned int n_channels; n_channels 1378 drivers/net/ethernet/sfc/falcon/efx.c n_channels = ef4_wanted_parallelism(efx); n_channels 1380 drivers/net/ethernet/sfc/falcon/efx.c n_channels *= 2; n_channels 1381 drivers/net/ethernet/sfc/falcon/efx.c n_channels += extra_channels; n_channels 1382 drivers/net/ethernet/sfc/falcon/efx.c n_channels = min(n_channels, efx->max_channels); n_channels 1384 drivers/net/ethernet/sfc/falcon/efx.c for (i = 0; i < n_channels; i++) n_channels 1387 drivers/net/ethernet/sfc/falcon/efx.c xentries, 1, n_channels); n_channels 1393 drivers/net/ethernet/sfc/falcon/efx.c } else if (rc < n_channels) { n_channels 1396 drivers/net/ethernet/sfc/falcon/efx.c " available (%d < %u).\n", rc, n_channels); n_channels 1399 drivers/net/ethernet/sfc/falcon/efx.c n_channels = rc; n_channels 1403 drivers/net/ethernet/sfc/falcon/efx.c efx->n_channels = n_channels; n_channels 1404 drivers/net/ethernet/sfc/falcon/efx.c if (n_channels > extra_channels) n_channels 1405 drivers/net/ethernet/sfc/falcon/efx.c n_channels -= extra_channels; n_channels 1407 drivers/net/ethernet/sfc/falcon/efx.c efx->n_tx_channels = min(max(n_channels / 2, n_channels 1410 drivers/net/ethernet/sfc/falcon/efx.c efx->n_rx_channels = max(n_channels - n_channels 1414 drivers/net/ethernet/sfc/falcon/efx.c efx->n_tx_channels = min(n_channels, n_channels 1416 drivers/net/ethernet/sfc/falcon/efx.c efx->n_rx_channels = n_channels; n_channels 1418 drivers/net/ethernet/sfc/falcon/efx.c for (i = 0; i < efx->n_channels; i++) n_channels 1426 drivers/net/ethernet/sfc/falcon/efx.c efx->n_channels = 1; n_channels 1441 drivers/net/ethernet/sfc/falcon/efx.c efx->n_channels = 1 + (ef4_separate_tx_channels ? 1 : 0); n_channels 1448 drivers/net/ethernet/sfc/falcon/efx.c j = efx->n_channels; n_channels 1453 drivers/net/ethernet/sfc/falcon/efx.c efx->n_channels <= extra_channels) { n_channels 1600 drivers/net/ethernet/sfc/falcon/efx.c efx->n_channels - efx->n_tx_channels : 0; n_channels 1658 drivers/net/ethernet/sfc/falcon/efx.c if (efx->n_channels > 1) n_channels 1121 drivers/net/ethernet/sfc/falcon/farch.c if (qid >= efx->n_channels) n_channels 1653 drivers/net/ethernet/sfc/falcon/farch.c efx->n_channels * EF4_MAX_EVQ_SIZE) n_channels 1655 drivers/net/ethernet/sfc/falcon/farch.c vi_count = max(efx->n_channels, efx->n_tx_channels * EF4_TXQ_TYPES); n_channels 809 drivers/net/ethernet/sfc/falcon/net_driver.h unsigned n_channels; n_channels 1169 drivers/net/ethernet/sfc/falcon/net_driver.h EF4_BUG_ON_PARANOID(index >= efx->n_channels); n_channels 1177 drivers/net/ethernet/sfc/falcon/net_driver.h _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \ n_channels 1182 drivers/net/ethernet/sfc/falcon/net_driver.h for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \ n_channels 921 drivers/net/ethernet/sfc/falcon/rx.c if (++channel_idx == efx->n_channels) n_channels 1109 drivers/net/ethernet/sfc/farch.c if (qid >= efx->n_channels) n_channels 1681 drivers/net/ethernet/sfc/farch.c efx->n_channels * EFX_MAX_EVQ_SIZE) n_channels 1683 drivers/net/ethernet/sfc/farch.c vi_count = max(efx->n_channels, total_tx_channels * EFX_TXQ_TYPES); n_channels 981 drivers/net/ethernet/sfc/net_driver.h unsigned n_channels; n_channels 1450 drivers/net/ethernet/sfc/net_driver.h EFX_WARN_ON_ONCE_PARANOID(index >= efx->n_channels); n_channels 1458 drivers/net/ethernet/sfc/net_driver.h _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \ n_channels 1463 drivers/net/ethernet/sfc/net_driver.h for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \ n_channels 1016 drivers/net/ethernet/sfc/rx.c if (++channel_idx == efx->n_channels) n_channels 117 drivers/net/ppp/ppp_generic.c int n_channels; /* how many channels are attached 54 */ n_channels 454 drivers/net/ppp/ppp_generic.c if (ppp->n_channels == 0 && n_channels 547 drivers/net/ppp/ppp_generic.c if (ppp->n_channels == 0 && n_channels 3096 drivers/net/ppp/ppp_generic.c if (!ppp->file.dead || ppp->n_channels) { n_channels 3100 drivers/net/ppp/ppp_generic.c ppp, ppp->file.dead, ppp->n_channels); n_channels 3208 drivers/net/ppp/ppp_generic.c ++ppp->n_channels; n_channels 3238 drivers/net/ppp/ppp_generic.c if (--ppp->n_channels == 0) n_channels 186 drivers/net/wireless/admtek/adm8211.c priv->band.n_channels = ARRAY_SIZE(adm8211_channels); n_channels 1472 drivers/net/wireless/ath/ar5523/ar5523.c ar->band.n_channels = ARRAY_SIZE(ar5523_channels); n_channels 3094 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < bands[band]->n_channels; i++) { n_channels 3099 drivers/net/wireless/ath/ath10k/mac.c arg.n_channels++; n_channels 3103 drivers/net/wireless/ath/ath10k/mac.c len = sizeof(struct wmi_channel_arg) * arg.n_channels; n_channels 3113 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < bands[band]->n_channels; i++) { n_channels 3165 drivers/net/wireless/ath/ath10k/mac.c ch - arg.channels, arg.n_channels, n_channels 3237 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < band->n_channels; i++) { n_channels 6013 drivers/net/wireless/ath/ath10k/mac.c if (req->n_channels) { n_channels 6014 drivers/net/wireless/ath/ath10k/mac.c arg.n_channels = req->n_channels; n_channels 6015 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < arg.n_channels; i++) n_channels 6026 drivers/net/wireless/ath/ath10k/mac.c (arg.n_channels - 1) + (req->duration + n_channels 6028 drivers/net/wireless/ath/ath10k/mac.c arg.n_channels, arg.max_scan_time + 200); n_channels 6937 drivers/net/wireless/ath/ath10k/mac.c arg.n_channels = 1; n_channels 7169 drivers/net/wireless/ath/ath10k/mac.c if (sband && idx >= sband->n_channels) { n_channels 7170 drivers/net/wireless/ath/ath10k/mac.c idx -= sband->n_channels; n_channels 7177 drivers/net/wireless/ath/ath10k/mac.c if (!sband || idx >= sband->n_channels) { n_channels 8726 drivers/net/wireless/ath/ath10k/mac.c band->n_channels = ARRAY_SIZE(ath10k_2ghz_channels); n_channels 8750 drivers/net/wireless/ath/ath10k/mac.c band->n_channels = ARRAY_SIZE(ath10k_5ghz_channels); n_channels 1819 drivers/net/wireless/ath/ath10k/wmi-tlv.c chan_len = arg->n_channels * sizeof(__le32); n_channels 1841 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->num_channels = __cpu_to_le32(arg->n_channels); n_channels 1861 drivers/net/wireless/ath/ath10k/wmi-tlv.c for (i = 0; i < arg->n_channels; i++) n_channels 2675 drivers/net/wireless/ath/ath10k/wmi-tlv.c chans_len = arg->n_channels * (sizeof(*tlv) + sizeof(*ci)); n_channels 2688 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->num_scan_chans = __cpu_to_le32(arg->n_channels); n_channels 2698 drivers/net/wireless/ath/ath10k/wmi-tlv.c for (i = 0; i < arg->n_channels; i++) { n_channels 2569 drivers/net/wireless/ath/ath10k/wmi.c for (ch = 0; ch < sband->n_channels; ch++, idx++) n_channels 6756 drivers/net/wireless/ath/ath10k/wmi.c if (arg->n_channels > ARRAY_SIZE(arg->channels)) n_channels 6776 drivers/net/wireless/ath/ath10k/wmi.c if (arg->n_channels) { n_channels 6778 drivers/net/wireless/ath/ath10k/wmi.c len += sizeof(__le32) * arg->n_channels; n_channels 6834 drivers/net/wireless/ath/ath10k/wmi.c if (arg->n_channels) { n_channels 6837 drivers/net/wireless/ath/ath10k/wmi.c channels->num_chan = __cpu_to_le32(arg->n_channels); n_channels 6839 drivers/net/wireless/ath/ath10k/wmi.c for (i = 0; i < arg->n_channels; i++) n_channels 6844 drivers/net/wireless/ath/ath10k/wmi.c ptr += sizeof(__le32) * arg->n_channels; n_channels 7451 drivers/net/wireless/ath/ath10k/wmi.c len = sizeof(*cmd) + arg->n_channels * sizeof(struct wmi_channel); n_channels 7458 drivers/net/wireless/ath/ath10k/wmi.c cmd->num_scan_chans = __cpu_to_le32(arg->n_channels); n_channels 7460 drivers/net/wireless/ath/ath10k/wmi.c for (i = 0; i < arg->n_channels; i++) { n_channels 3237 drivers/net/wireless/ath/ath10k/wmi.h u32 n_channels; n_channels 3307 drivers/net/wireless/ath/ath10k/wmi.h u32 n_channels; n_channels 186 drivers/net/wireless/ath/ath10k/wow.c if (nd_config->n_channels > WMI_PNO_MAX_NETW_CHANNELS_EX) n_channels 206 drivers/net/wireless/ath/ath10k/wow.c pno->a_networks[i].channel_count = nd_config->n_channels; n_channels 209 drivers/net/wireless/ath/ath10k/wow.c for (j = 0; j < nd_config->n_channels; j++) { n_channels 381 drivers/net/wireless/ath/ath5k/base.c sband->n_channels = ath5k_setup_channels(ah, sband->channels, n_channels 385 drivers/net/wireless/ath/ath5k/base.c count_c = sband->n_channels; n_channels 407 drivers/net/wireless/ath/ath5k/base.c sband->n_channels = ath5k_setup_channels(ah, sband->channels, n_channels 411 drivers/net/wireless/ath/ath5k/base.c count_c = sband->n_channels; n_channels 427 drivers/net/wireless/ath/ath5k/base.c sband->n_channels = ath5k_setup_channels(ah, sband->channels, n_channels 1047 drivers/net/wireless/ath/ath5k/debug.c band->n_channels, band->n_bitrates); n_channels 1049 drivers/net/wireless/ath/ath5k/debug.c for (i = 0; i < band->n_channels; i++) n_channels 125 drivers/net/wireless/ath/ath6kl/cfg80211.c .n_channels = ARRAY_SIZE(ath6kl_2ghz_channels), n_channels 134 drivers/net/wireless/ath/ath6kl/cfg80211.c .n_channels = ARRAY_SIZE(ath6kl_5ghz_a_channels), n_channels 999 drivers/net/wireless/ath/ath6kl/cfg80211.c s8 n_channels = 0; n_channels 1038 drivers/net/wireless/ath/ath6kl/cfg80211.c if (request->n_channels > 0 && n_channels 1039 drivers/net/wireless/ath/ath6kl/cfg80211.c request->n_channels <= WMI_MAX_CHANNELS) { n_channels 1042 drivers/net/wireless/ath/ath6kl/cfg80211.c n_channels = request->n_channels; n_channels 1044 drivers/net/wireless/ath/ath6kl/cfg80211.c channels = kcalloc(n_channels, sizeof(u16), GFP_KERNEL); n_channels 1047 drivers/net/wireless/ath/ath6kl/cfg80211.c n_channels = 0; n_channels 1050 drivers/net/wireless/ath/ath6kl/cfg80211.c for (i = 0; i < n_channels; i++) n_channels 1063 drivers/net/wireless/ath/ath6kl/cfg80211.c n_channels, channels, n_channels 112 drivers/net/wireless/ath/ath9k/channel.c if (!sband->n_channels) n_channels 886 drivers/net/wireless/ath/ath9k/channel.c if (sc->offchannel.scan_idx >= req->n_channels) { n_channels 891 drivers/net/wireless/ath/ath9k/channel.c req->n_channels); n_channels 1342 drivers/net/wireless/ath/ath9k/channel.c if (!sband->n_channels) n_channels 144 drivers/net/wireless/ath/ath9k/common-init.c common->sbands[NL80211_BAND_2GHZ].n_channels = n_channels 161 drivers/net/wireless/ath/ath9k/common-init.c common->sbands[NL80211_BAND_5GHZ].n_channels = n_channels 803 drivers/net/wireless/ath/ath9k/init.c for (i = 0; i < sband->n_channels; i++) { n_channels 1973 drivers/net/wireless/ath/ath9k/main.c if (sband && idx >= sband->n_channels) { n_channels 1974 drivers/net/wireless/ath/ath9k/main.c idx -= sband->n_channels; n_channels 1981 drivers/net/wireless/ath/ath9k/main.c if (!sband || idx >= sband->n_channels) { n_channels 170 drivers/net/wireless/ath/carl9170/main.c .n_channels = ARRAY_SIZE(carl9170_2ghz_chantable), n_channels 178 drivers/net/wireless/ath/carl9170/main.c .n_channels = ARRAY_SIZE(carl9170_5ghz_chantable), n_channels 1670 drivers/net/wireless/ath/carl9170/main.c for (i = 0; i < band->n_channels; i++) { n_channels 1943 drivers/net/wireless/ath/carl9170/main.c chans += carl9170_band_2GHz.n_channels; n_channels 1949 drivers/net/wireless/ath/carl9170/main.c chans += carl9170_band_5GHz.n_channels; n_channels 352 drivers/net/wireless/ath/regd.c for (i = 0; i < sband->n_channels; i++) { n_channels 415 drivers/net/wireless/ath/regd.c for (i = 0; i < sband->n_channels; i++) { n_channels 130 drivers/net/wireless/ath/wcn36xx/main.c .n_channels = ARRAY_SIZE(wcn_2ghz_channels), n_channels 151 drivers/net/wireless/ath/wcn36xx/main.c .n_channels = ARRAY_SIZE(wcn_5ghz_channels), n_channels 626 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_dbg(WCN36XX_DBG_MAC, "mac80211 scan %d channels worker\n", req->n_channels); n_channels 628 drivers/net/wireless/ath/wcn36xx/main.c for (i = 0; i < req->n_channels; i++) n_channels 631 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_update_scan_params(wcn, channels, req->n_channels); n_channels 634 drivers/net/wireless/ath/wcn36xx/main.c for (i = 0; i < req->n_channels; i++) { n_channels 675 drivers/net/wireless/ath/wcn36xx/smd.c msg_body->num_channel = min_t(u8, req->n_channels, n_channels 132 drivers/net/wireless/ath/wil6210/cfg80211.c wiphy->bands[NL80211_BAND_60GHZ]->n_channels = n_channels 269 drivers/net/wireless/ath/wil6210/cfg80211.c .n_channels = ARRAY_SIZE(wil_60ghz_channels), n_channels 970 drivers/net/wireless/ath/wil6210/cfg80211.c n = min(request->n_channels, 4U); n_channels 2495 drivers/net/wireless/ath/wil6210/cfg80211.c for (i = 0; i < request->n_channels; i++) n_channels 2497 drivers/net/wireless/ath/wil6210/cfg80211.c i == request->n_channels - 1 ? "\n" : ""); n_channels 66 drivers/net/wireless/ath/wil6210/p2p.c return (request->n_channels == 1) && n_channels 3481 drivers/net/wireless/ath/wil6210/wmi.c u32 n_channels, n_channels 3486 drivers/net/wireless/ath/wil6210/wmi.c if (n_channels > WMI_MAX_CHANNEL_NUM) { n_channels 3488 drivers/net/wireless/ath/wil6210/wmi.c n_channels, WMI_MAX_CHANNEL_NUM); n_channels 3489 drivers/net/wireless/ath/wil6210/wmi.c n_channels = WMI_MAX_CHANNEL_NUM; n_channels 3491 drivers/net/wireless/ath/wil6210/wmi.c cmd->num_of_channels = n_channels; n_channels 3493 drivers/net/wireless/ath/wil6210/wmi.c for (i = 0; i < n_channels; i++) { n_channels 3550 drivers/net/wireless/ath/wil6210/wmi.c request->n_channels, request->channels); n_channels 2309 drivers/net/wireless/atmel/at76c50x-usb.c .n_channels = ARRAY_SIZE(at76_channels), n_channels 325 drivers/net/wireless/broadcom/b43/main.c .n_channels = ARRAY_SIZE(b43_5ghz_nphy_chantable), n_channels 333 drivers/net/wireless/broadcom/b43/main.c .n_channels = ARRAY_SIZE(b43_5ghz_nphy_chantable_limited), n_channels 341 drivers/net/wireless/broadcom/b43/main.c .n_channels = ARRAY_SIZE(b43_5ghz_aphy_chantable), n_channels 349 drivers/net/wireless/broadcom/b43/main.c .n_channels = ARRAY_SIZE(b43_2ghz_chantable), n_channels 357 drivers/net/wireless/broadcom/b43/main.c .n_channels = b43_2ghz_chantable_limited_size, n_channels 137 drivers/net/wireless/broadcom/b43legacy/main.c .n_channels = ARRAY_SIZE(b43legacy_bg_chantable), n_channels 144 drivers/net/wireless/broadcom/b43legacy/main.c .n_channels = ARRAY_SIZE(b43legacy_bg_chantable), n_channels 950 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c u32 n_channels; n_channels 968 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c n_channels = request->n_channels; n_channels 972 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c n_channels); n_channels 973 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (n_channels > 0) { n_channels 974 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c for (i = 0; i < n_channels; i++) { n_channels 988 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c n_channels * sizeof(u16); n_channels 1012 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c (n_channels & BRCMF_SCAN_PARAMS_COUNT_MASK)); n_channels 1029 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c params_size += sizeof(u32) * ((request->n_channels + 1) / 2); n_channels 3265 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c for (i = 0; i < req->n_channels; i++) { n_channels 3269 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (i == req->n_channels) n_channels 3270 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c req->channels[req->n_channels++] = chan; n_channels 3547 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c cfg->wowl.nd->n_channels = 1; n_channels 6048 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c for (i = 0; i < band->n_channels; i++) n_channels 6052 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c for (i = 0; i < band->n_channels; i++) n_channels 6079 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c for (j = 0; j < band->n_channels; j++) { n_channels 6208 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c for (j = 0; j < band->n_channels; j++) { n_channels 6212 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (WARN_ON(j == band->n_channels)) n_channels 6703 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->n_channels = ARRAY_SIZE(__wl_2ghz_channels); n_channels 6720 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->n_channels = ARRAY_SIZE(__wl_5ghz_channels); n_channels 770 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (request->n_channels) { n_channels 771 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c chanspecs = kcalloc(request->n_channels, sizeof(*chanspecs), n_channels 780 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (request->n_channels == 3 && n_channels 799 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c for (i = 0; i < request->n_channels; i++) { n_channels 276 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.c for (i = 0; i < r->n_channels; i++) { n_channels 643 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c for (i = 0; i < sband->n_channels; i++) { n_channels 673 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c for (i = 0; i < sband->n_channels; i++) { n_channels 717 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c for (i = 0; !ch_found && i < sband->n_channels; i++) { n_channels 761 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c for (i = 0; i < sband->n_channels; i++) { n_channels 222 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c .n_channels = ARRAY_SIZE(brcms_2ghz_chantable), n_channels 243 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c .n_channels = ARRAY_SIZE(brcms_5ghz_nphy_chantable), n_channels 1903 drivers/net/wireless/intel/ipw2x00/ipw2100.c bg_band->n_channels = geo->bg_channels; n_channels 11336 drivers/net/wireless/intel/ipw2x00/ipw2200.c bg_band->n_channels = geo->bg_channels; n_channels 11375 drivers/net/wireless/intel/ipw2x00/ipw2200.c a_band->n_channels = geo->a_channels; n_channels 1550 drivers/net/wireless/intel/iwlegacy/3945-mac.c for (i = 0, added = 0; i < il->scan_request->n_channels; i++) { n_channels 3557 drivers/net/wireless/intel/iwlegacy/3945-mac.c if (il->bands[NL80211_BAND_2GHZ].n_channels) n_channels 3561 drivers/net/wireless/intel/iwlegacy/3945-mac.c if (il->bands[NL80211_BAND_5GHZ].n_channels) n_channels 776 drivers/net/wireless/intel/iwlegacy/4965-mac.c for (i = 0, added = 0; i < il->scan_request->n_channels; i++) { n_channels 5771 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (il->bands[NL80211_BAND_2GHZ].n_channels) n_channels 5774 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (il->bands[NL80211_BAND_5GHZ].n_channels) n_channels 1565 drivers/net/wireless/intel/iwlegacy/common.c if (req->n_channels == 0) { n_channels 3485 drivers/net/wireless/intel/iwlegacy/common.c geo_ch = &sband->channels[sband->n_channels++]; n_channels 3523 drivers/net/wireless/intel/iwlegacy/common.c if (il->bands[NL80211_BAND_5GHZ].n_channels == 0 && n_channels 3532 drivers/net/wireless/intel/iwlegacy/common.c il->bands[NL80211_BAND_2GHZ].n_channels, n_channels 3533 drivers/net/wireless/intel/iwlegacy/common.c il->bands[NL80211_BAND_5GHZ].n_channels); n_channels 523 drivers/net/wireless/intel/iwlegacy/debug.c supp_band->n_channels); n_channels 525 drivers/net/wireless/intel/iwlegacy/debug.c for (i = 0; i < supp_band->n_channels; i++) n_channels 550 drivers/net/wireless/intel/iwlegacy/debug.c supp_band->n_channels); n_channels 552 drivers/net/wireless/intel/iwlegacy/debug.c for (i = 0; i < supp_band->n_channels; i++) n_channels 302 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c supp_band->n_channels); n_channels 304 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c for (i = 0; i < supp_band->n_channels; i++) n_channels 325 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c supp_band->n_channels); n_channels 327 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c for (i = 0; i < supp_band->n_channels; i++) n_channels 191 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (priv->nvm_data->bands[NL80211_BAND_2GHZ].n_channels) n_channels 194 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (priv->nvm_data->bands[NL80211_BAND_5GHZ].n_channels) n_channels 1494 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (req->n_channels == 0) n_channels 438 drivers/net/wireless/intel/iwlwifi/dvm/scan.c for (i = 0; i < sband->n_channels; i++) { n_channels 516 drivers/net/wireless/intel/iwlwifi/dvm/scan.c for (i = 0, added = 0; i < priv->scan_request->n_channels; i++) { n_channels 643 drivers/net/wireless/intel/iwlwifi/dvm/scan.c priv->scan_request->n_channels > MAX_SCAN_CHANNEL))) n_channels 259 drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h __le32 n_channels; n_channels 353 drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h __le32 n_channels; n_channels 382 drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h __le32 n_channels; n_channels 367 drivers/net/wireless/intel/iwlwifi/fw/api/scan.h u8 n_channels; n_channels 387 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c int n_channels, s8 max_txpower_avg) n_channels 395 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c for (ch_idx = 0; ch_idx < n_channels; ch_idx++) { n_channels 415 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c int n_channels) n_channels 465 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c iwl_eeprom_enh_txp_read_element(data, txp, n_channels, n_channels 525 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c struct iwl_nvm_data *data, int n_channels, n_channels 533 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c for (i = 0; i < n_channels; i++) { n_channels 575 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c int n_channels = 0; n_channels 602 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c channel = &data->channels[n_channels]; n_channels 603 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c n_channels++; n_channels 655 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c n_channels); n_channels 662 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c for (i = 0; i < n_channels; i++) n_channels 673 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c return n_channels; n_channels 690 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c iwl_mod_ht40_chan_info(dev, data, n_channels, ieeeband, n_channels 696 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c iwl_mod_ht40_chan_info(dev, data, n_channels, ieeeband, n_channels 703 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c return n_channels; n_channels 708 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c int n_channels, enum nl80211_band band) n_channels 713 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c while (idx < n_channels && chan->band != band) n_channels 718 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c while (idx < n_channels && chan->band == band) { n_channels 723 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c sband->n_channels = n; n_channels 814 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c int n_channels = iwl_init_channel_map(dev, cfg, data, n_channels 823 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c n_used += iwl_init_sband_channels(data, sband, n_channels, n_channels 832 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c n_used += iwl_init_sband_channels(data, sband, n_channels, n_channels 837 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c if (n_channels != n_used) n_channels 839 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c n_used, n_channels); n_channels 124 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h int n_channels, enum nl80211_band band); n_channels 336 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c int n_channels = 0; n_channels 389 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c channel = &data->channels[n_channels]; n_channels 390 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c n_channels++; n_channels 421 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c return n_channels; n_channels 706 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c int n_channels; n_channels 710 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c n_channels = iwl_init_channel_map(dev, cfg, data, nvm_ch_flags, n_channels 716 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c n_used += iwl_init_sband_channels(data, sband, n_channels, n_channels 728 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c n_used += iwl_init_sband_channels(data, sband, n_channels, n_channels 739 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c if (n_channels != n_used) n_channels 741 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c n_used, n_channels); n_channels 936 drivers/net/wireless/intel/iwlwifi/mvm/d3.c nd_config->n_channels, n_channels 939 drivers/net/wireless/intel/iwlwifi/mvm/d3.c mvm->n_nd_channels = nd_config->n_channels; n_channels 1785 drivers/net/wireless/intel/iwlwifi/mvm/d3.c match->channels[match->n_channels++] = n_channels 1793 drivers/net/wireless/intel/iwlwifi/mvm/d3.c match->channels[match->n_channels++] = n_channels 1845 drivers/net/wireless/intel/iwlwifi/mvm/d3.c int idx, n_channels = 0; n_channels 1847 drivers/net/wireless/intel/iwlwifi/mvm/d3.c n_channels = iwl_mvm_query_num_match_chans(mvm, &query, i); n_channels 1849 drivers/net/wireless/intel/iwlwifi/mvm/d3.c match = kzalloc(struct_size(match, channels, n_channels), n_channels 1864 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (mvm->n_nd_channels < n_channels) n_channels 656 drivers/net/wireless/intel/iwlwifi/mvm/fw.c mvm->nvm_data->bands[0].n_channels = 1; n_channels 254 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c __le32_to_cpu(resp->n_channels), n_channels 584 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (mvm->nvm_data->bands[NL80211_BAND_2GHZ].n_channels) n_channels 587 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (mvm->nvm_data->bands[NL80211_BAND_5GHZ].n_channels) { n_channels 2697 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (hw_req->req.n_channels == 0 || n_channels 2698 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c hw_req->req.n_channels > mvm->fw->ucode_capa.n_scan_channels) n_channels 488 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c int resp_len, n_channels; n_channels 510 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c n_channels = __le32_to_cpu(mcc_resp->n_channels); n_channels 512 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c n_channels * sizeof(__le32); n_channels 521 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c n_channels = __le32_to_cpu(mcc_resp_v3->n_channels); n_channels 523 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c n_channels * sizeof(__le32); n_channels 536 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c resp_cp->n_channels = mcc_resp_v3->n_channels; n_channels 538 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c n_channels * sizeof(__le32)); n_channels 553 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c status, mcc, mcc >> 8, mcc & 0xff, n_channels); n_channels 128 drivers/net/wireless/intel/iwlwifi/mvm/scan.c u32 n_channels; n_channels 726 drivers/net/wireless/intel/iwlwifi/mvm/scan.c int n_channels, u32 ssid_bitmap, n_channels 732 drivers/net/wireless/intel/iwlwifi/mvm/scan.c for (i = 0; i < n_channels; i++) { n_channels 874 drivers/net/wireless/intel/iwlwifi/mvm/scan.c int n_channels) n_channels 877 drivers/net/wireless/intel/iwlwifi/mvm/scan.c (n_channels <= mvm->fw->ucode_capa.n_scan_channels) & n_channels 996 drivers/net/wireless/intel/iwlwifi/mvm/scan.c cmd->n_channels = (u8)params->n_channels; n_channels 1047 drivers/net/wireless/intel/iwlwifi/mvm/scan.c params->n_channels, ssid_bitmap, cmd); n_channels 1109 drivers/net/wireless/intel/iwlwifi/mvm/scan.c for (i = 0; i < band->n_channels && j < max_channels; i++, j++) n_channels 1112 drivers/net/wireless/intel/iwlwifi/mvm/scan.c for (i = 0; i < band->n_channels && j < max_channels; i++, j++) n_channels 1198 drivers/net/wireless/intel/iwlwifi/mvm/scan.c mvm->nvm_data->bands[NL80211_BAND_2GHZ].n_channels + n_channels 1199 drivers/net/wireless/intel/iwlwifi/mvm/scan.c mvm->nvm_data->bands[NL80211_BAND_5GHZ].n_channels; n_channels 1420 drivers/net/wireless/intel/iwlwifi/mvm/scan.c int n_channels, u32 ssid_bitmap, n_channels 1425 drivers/net/wireless/intel/iwlwifi/mvm/scan.c for (i = 0; i < n_channels; i++) { n_channels 1592 drivers/net/wireless/intel/iwlwifi/mvm/scan.c chan_param->count = params->n_channels; n_channels 1625 drivers/net/wireless/intel/iwlwifi/mvm/scan.c params->n_channels, ssid_bitmap, n_channels 1760 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (!iwl_mvm_scan_fits(mvm, req->n_ssids, ies, req->n_channels)) n_channels 1765 drivers/net/wireless/intel/iwlwifi/mvm/scan.c params.n_channels = req->n_channels; n_channels 1853 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (!iwl_mvm_scan_fits(mvm, req->n_ssids, ies, req->n_channels)) n_channels 1858 drivers/net/wireless/intel/iwlwifi/mvm/scan.c params.n_channels = req->n_channels; n_channels 68 drivers/net/wireless/intersil/orinoco/cfg.c priv->band.n_channels = channels; n_channels 213 drivers/net/wireless/intersil/p54/eeprom.c tmp->n_channels = j; n_channels 2016 drivers/net/wireless/mac80211_hwsim.c if (hwsim->scan_chan_idx >= req->n_channels) { n_channels 2940 drivers/net/wireless/mac80211_hwsim.c sband->n_channels = ARRAY_SIZE(hwsim_channels_2ghz); n_channels 2946 drivers/net/wireless/mac80211_hwsim.c sband->n_channels = ARRAY_SIZE(hwsim_channels_5ghz); n_channels 77 drivers/net/wireless/marvell/libertas/cfg.c .n_channels = ARRAY_SIZE(lbs_2ghz_channels), n_channels 715 drivers/net/wireless/marvell/libertas/cfg.c if (last_channel > priv->scan_req->n_channels) n_channels 716 drivers/net/wireless/marvell/libertas/cfg.c last_channel = priv->scan_req->n_channels; n_channels 723 drivers/net/wireless/marvell/libertas/cfg.c if (priv->scan_channel < priv->scan_req->n_channels) { n_channels 741 drivers/net/wireless/marvell/libertas/cfg.c if (priv->scan_channel >= priv->scan_req->n_channels) { n_channels 766 drivers/net/wireless/marvell/libertas/cfg.c request->n_ssids, request->n_channels, request->ie_len); n_channels 1228 drivers/net/wireless/marvell/libertas/cfg.c int i, n_channels = ieee80211_get_num_supported_channels(wiphy); n_channels 1232 drivers/net/wireless/marvell/libertas/cfg.c n_channels * sizeof(void *), n_channels 1238 drivers/net/wireless/marvell/libertas/cfg.c creq->ssids = (void *)&creq->channels[n_channels]; n_channels 1239 drivers/net/wireless/marvell/libertas/cfg.c creq->n_channels = n_channels; n_channels 1250 drivers/net/wireless/marvell/libertas/cfg.c for (j = 0; j < wiphy->bands[band]->n_channels; j++) { n_channels 1262 drivers/net/wireless/marvell/libertas/cfg.c creq->n_channels = i; n_channels 744 drivers/net/wireless/marvell/libertas/cmd.c (i < bands[band]->n_channels) && (num_triplet < MAX_11D_TRIPLETS); n_channels 582 drivers/net/wireless/marvell/libertas_tf/main.c priv->band.n_channels = ARRAY_SIZE(lbtf_channels); n_channels 70 drivers/net/wireless/marvell/mwifiex/11h.c ie_header->len = cpu_to_le16(2 * sband->n_channels + 2); n_channels 73 drivers/net/wireless/marvell/mwifiex/11h.c *(*buffer)++ = 2 * sband->n_channels; n_channels 74 drivers/net/wireless/marvell/mwifiex/11h.c for (i = 0; i < sband->n_channels; i++) { n_channels 565 drivers/net/wireless/marvell/mwifiex/cfg80211.c for (i = 0; i < sband->n_channels ; i++) { n_channels 628 drivers/net/wireless/marvell/mwifiex/cfg80211.c for (i = 0; i < sband->n_channels; i++) { n_channels 1607 drivers/net/wireless/marvell/mwifiex/cfg80211.c .n_channels = ARRAY_SIZE(mwifiex_channels_2ghz), n_channels 1648 drivers/net/wireless/marvell/mwifiex/cfg80211.c .n_channels = ARRAY_SIZE(mwifiex_channels_5ghz), n_channels 2618 drivers/net/wireless/marvell/mwifiex/cfg80211.c for (i = 0; i < min_t(u32, request->n_channels, n_channels 2688 drivers/net/wireless/marvell/mwifiex/cfg80211.c request->n_channels, request->scan_plans->interval, n_channels 2716 drivers/net/wireless/marvell/mwifiex/cfg80211.c for (i = 0; i < min_t(u32, request->n_channels, n_channels 2732 drivers/net/wireless/marvell/mwifiex/cfg80211.c bgscan_cfg->chan_per_scan = min_t(u32, request->n_channels, n_channels 4275 drivers/net/wireless/marvell/mwifiex/cfg80211.c n_channels_bg = mwifiex_band_2ghz.n_channels; n_channels 4278 drivers/net/wireless/marvell/mwifiex/cfg80211.c n_channels_a = mwifiex_band_5ghz.n_channels; n_channels 334 drivers/net/wireless/marvell/mwifiex/cfp.c for (i = 0; i < sband->n_channels; i++) { n_channels 350 drivers/net/wireless/marvell/mwifiex/cfp.c if (i == sband->n_channels) { n_channels 475 drivers/net/wireless/marvell/mwifiex/scan.c for (i = 0; (i < sband->n_channels) ; i++) { n_channels 542 drivers/net/wireless/marvell/mwifiex/scan.c for (i = 0; (i < sband->n_channels) ; i++) { n_channels 2239 drivers/net/wireless/marvell/mwifiex/scan.c pmatch->n_channels = 1; n_channels 2318 drivers/net/wireless/marvell/mwl8k.c priv->band_24.n_channels = ARRAY_SIZE(mwl8k_channels_24); n_channels 2337 drivers/net/wireless/marvell/mwl8k.c priv->band_50.n_channels = ARRAY_SIZE(mwl8k_channels_50); n_channels 3088 drivers/net/wireless/marvell/mwl8k.c for (ch = 0; ch < sband->n_channels; ch++, idx++) n_channels 5406 drivers/net/wireless/marvell/mwl8k.c if (sband && idx >= sband->n_channels) { n_channels 5407 drivers/net/wireless/marvell/mwl8k.c idx -= sband->n_channels; n_channels 5414 drivers/net/wireless/marvell/mwl8k.c if (!sband || idx >= sband->n_channels) n_channels 179 drivers/net/wireless/mediatek/mt76/mac80211.c sband->n_channels = n_chan; n_channels 247 drivers/net/wireless/mediatek/mt76/mac80211.c for (i = 0; i < sband->n_channels; i++) { n_channels 258 drivers/net/wireless/mediatek/mt76/mac80211.c sband->n_channels = 0; n_channels 439 drivers/net/wireless/mediatek/mt76/mac80211.c if (idx >= sband->sband.n_channels) { n_channels 440 drivers/net/wireless/mediatek/mt76/mac80211.c idx -= sband->sband.n_channels; n_channels 444 drivers/net/wireless/mediatek/mt76/mac80211.c if (idx >= sband->sband.n_channels) n_channels 502 drivers/net/wireless/mediatek/mt76/mt7603/init.c for (i = 0; i < sband->n_channels; i++) { n_channels 422 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if (i < sband->n_channels) n_channels 189 drivers/net/wireless/mediatek/mt76/mt7615/init.c for (i = 0; i < sband->n_channels; i++) { n_channels 268 drivers/net/wireless/mediatek/mt76/mt76x0/init.c for (i = 0; i < sband->n_channels; i++) { n_channels 159 drivers/net/wireless/mediatek/mt76/mt76x2/init.c for (i = 0; i < sband->n_channels; i++) { n_channels 532 drivers/net/wireless/mediatek/mt7601u/init.c sband->n_channels = n_chan; n_channels 739 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (sband && idx >= sband->n_channels) { n_channels 740 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c idx -= sband->n_channels; n_channels 747 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (!sband || idx >= sband->n_channels) n_channels 1316 drivers/net/wireless/quantenna/qtnfmac/commands.c if (band->n_channels == resp->num_chans) { n_channels 1318 drivers/net/wireless/quantenna/qtnfmac/commands.c sizeof(*band->channels) * band->n_channels); n_channels 1321 drivers/net/wireless/quantenna/qtnfmac/commands.c band->n_channels = 0; n_channels 1326 drivers/net/wireless/quantenna/qtnfmac/commands.c band->n_channels = resp->num_chans; n_channels 1327 drivers/net/wireless/quantenna/qtnfmac/commands.c if (band->n_channels == 0) n_channels 1331 drivers/net/wireless/quantenna/qtnfmac/commands.c band->channels = kcalloc(band->n_channels, sizeof(*chan), n_channels 1334 drivers/net/wireless/quantenna/qtnfmac/commands.c band->n_channels = 0; n_channels 1359 drivers/net/wireless/quantenna/qtnfmac/commands.c if (chidx == band->n_channels) { n_channels 1462 drivers/net/wireless/quantenna/qtnfmac/commands.c if (band->n_channels != chidx) { n_channels 1464 drivers/net/wireless/quantenna/qtnfmac/commands.c band->n_channels, chidx); n_channels 1473 drivers/net/wireless/quantenna/qtnfmac/commands.c band->n_channels = 0; n_channels 2120 drivers/net/wireless/quantenna/qtnfmac/commands.c int n_channels; n_channels 2145 drivers/net/wireless/quantenna/qtnfmac/commands.c if (scan_req->n_channels) { n_channels 2146 drivers/net/wireless/quantenna/qtnfmac/commands.c n_channels = scan_req->n_channels; n_channels 2149 drivers/net/wireless/quantenna/qtnfmac/commands.c while (n_channels != 0) { n_channels 2152 drivers/net/wireless/quantenna/qtnfmac/commands.c n_channels--; n_channels 2161 drivers/net/wireless/quantenna/qtnfmac/commands.c n_channels--; n_channels 2444 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd->num_channels += cfg_band->n_channels; n_channels 2446 drivers/net/wireless/quantenna/qtnfmac/commands.c for (i = 0; i < cfg_band->n_channels; ++i) { n_channels 522 drivers/net/wireless/quantenna/qtnfmac/core.c wiphy->bands[band]->n_channels = 0; n_channels 1050 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rt2x00dev->bands[NL80211_BAND_2GHZ].n_channels = 14; n_channels 1066 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rt2x00dev->bands[NL80211_BAND_5GHZ].n_channels = n_channels 1802 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->band.n_channels = ARRAY_SIZE(rtl818x_channels); n_channels 1473 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c priv->band.n_channels = ARRAY_SIZE(rtl818x_channels); n_channels 125 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c .n_channels = ARRAY_SIZE(rtl8xxxu_channels_2g), n_channels 115 drivers/net/wireless/realtek/rtlwifi/base.c .n_channels = ARRAY_SIZE(rtl_channeltable_2g), n_channels 127 drivers/net/wireless/realtek/rtlwifi/base.c .n_channels = ARRAY_SIZE(rtl_channeltable_5g), n_channels 661 drivers/net/wireless/realtek/rtlwifi/core.c mac->n_channels++; n_channels 1480 drivers/net/wireless/realtek/rtlwifi/core.c if (mac->n_channels == 3) n_channels 1484 drivers/net/wireless/realtek/rtlwifi/core.c mac->n_channels = 0; n_channels 147 drivers/net/wireless/realtek/rtlwifi/regd.c for (i = 0; i < sband->n_channels; i++) { n_channels 247 drivers/net/wireless/realtek/rtlwifi/regd.c for (i = 0; i < sband->n_channels; i++) { n_channels 1495 drivers/net/wireless/realtek/rtlwifi/wifi.h int n_channels; n_channels 91 drivers/net/wireless/realtek/rtw88/main.c .n_channels = ARRAY_SIZE(rtw_channeltable_2g), n_channels 104 drivers/net/wireless/realtek/rtw88/main.c .n_channels = ARRAY_SIZE(rtw_channeltable_5g), n_channels 276 drivers/net/wireless/realtek/rtw88/regd.c for (i = 0; i < sband->n_channels; i++) { n_channels 308 drivers/net/wireless/realtek/rtw88/regd.c for (i = 0; i < sband->n_channels; i++) { n_channels 318 drivers/net/wireless/realtek/rtw88/regd.c for (i = 0; i < sband->n_channels; i++) { n_channels 3478 drivers/net/wireless/rndis_wlan.c priv->band.n_channels = ARRAY_SIZE(rndis_channels); n_channels 204 drivers/net/wireless/rsi/rsi_91x_mac80211.c sbands->n_channels = ARRAY_SIZE(rsi_2ghz_channels); n_channels 213 drivers/net/wireless/rsi/rsi_91x_mac80211.c sbands->n_channels = ARRAY_SIZE(rsi_5ghz_channels); n_channels 249 drivers/net/wireless/rsi/rsi_91x_mac80211.c scan_req->n_channels == 0) n_channels 1703 drivers/net/wireless/rsi/rsi_91x_mac80211.c for (i = 0; i < sband->n_channels; i++) { n_channels 1836 drivers/net/wireless/rsi/rsi_91x_mgmt.c bgscan->num_bgscan_channels = scan_req->n_channels; n_channels 160 drivers/net/wireless/st/cw1200/main.c .n_channels = ARRAY_SIZE(cw1200_2ghz_chantable), n_channels 180 drivers/net/wireless/st/cw1200/main.c .n_channels = ARRAY_SIZE(cw1200_5ghz_chantable), n_channels 320 drivers/net/wireless/st/cw1200/main.c for (i = 0; i < sband->n_channels; i++) { n_channels 113 drivers/net/wireless/st/cw1200/scan.c priv->scan.end = &req->channels[req->n_channels]; n_channels 427 drivers/net/wireless/ti/wl1251/cmd.c unsigned int n_channels, unsigned int n_probes) n_channels 432 drivers/net/wireless/ti/wl1251/cmd.c wl1251_debug(DEBUG_CMD, "cmd scan channels %d", n_channels); n_channels 434 drivers/net/wireless/ti/wl1251/cmd.c WARN_ON(n_channels > SCAN_MAX_NUM_OF_CHANNELS); n_channels 452 drivers/net/wireless/ti/wl1251/cmd.c cmd->params.num_channels = n_channels; n_channels 457 drivers/net/wireless/ti/wl1251/cmd.c for (i = 0; i < n_channels; i++) { n_channels 35 drivers/net/wireless/ti/wl1251/cmd.h unsigned int n_channels, unsigned int n_probes); n_channels 1034 drivers/net/wireless/ti/wl1251/main.c req->n_channels, WL1251_SCAN_NUM_PROBES); n_channels 1347 drivers/net/wireless/ti/wl1251/main.c .n_channels = ARRAY_SIZE(wl1251_channels), n_channels 23 drivers/net/wireless/ti/wl12xx/scan.c i < req->n_channels && j < WL1271_SCAN_MAX_CHANNELS; n_channels 358 drivers/net/wireless/ti/wl12xx/scan.c req->n_channels, req->n_ssids, n_channels 77 drivers/net/wireless/ti/wl18xx/scan.c req->n_channels, req->n_ssids, n_channels 212 drivers/net/wireless/ti/wl18xx/scan.c req->n_channels, req->n_ssids, n_channels 1710 drivers/net/wireless/ti/wlcore/cmd.c for (i = 0; i < band->n_channels; i++) { n_channels 2368 drivers/net/wireless/ti/wlcore/main.c wiphy->bands[NL80211_BAND_5GHZ]->n_channels = 0; n_channels 5921 drivers/net/wireless/ti/wlcore/main.c .n_channels = ARRAY_SIZE(wl1271_channels), n_channels 5991 drivers/net/wireless/ti/wlcore/main.c .n_channels = ARRAY_SIZE(wl1271_channels_5ghz), n_channels 128 drivers/net/wireless/ti/wlcore/scan.c u32 n_channels, n_channels 178 drivers/net/wireless/ti/wlcore/scan.c i < n_channels && j < max_channels; n_channels 249 drivers/net/wireless/ti/wlcore/scan.c u32 n_channels, n_channels 258 drivers/net/wireless/ti/wlcore/scan.c n_channels, n_channels 269 drivers/net/wireless/ti/wlcore/scan.c n_channels, n_channels 281 drivers/net/wireless/ti/wlcore/scan.c n_channels, n_channels 292 drivers/net/wireless/ti/wlcore/scan.c n_channels, n_channels 304 drivers/net/wireless/ti/wlcore/scan.c n_channels, n_channels 342 drivers/net/wireless/ti/wlcore/scan.c BUG_ON(req->n_channels > WL1271_MAX_CHANNELS); n_channels 155 drivers/net/wireless/ti/wlcore/scan.h u32 n_channels, n_channels 46 drivers/net/wireless/virt_wifi.c .n_channels = 1, n_channels 99 drivers/net/wireless/virt_wifi.c .n_channels = 1, n_channels 1381 drivers/net/wireless/zydas/zd1211rw/zd_mac.c mac->band.n_channels = ARRAY_SIZE(zd_channels); n_channels 118 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c int n_channels, n_bitrates; n_channels 122 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c n_channels = RTW_2G_CHANNELS_NUM; n_channels 131 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c sizeof(struct ieee80211_channel) * n_channels + n_channels 137 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c spt_band->bitrates = (struct ieee80211_rate*)(((u8 *)spt_band->channels)+sizeof(struct ieee80211_channel)*n_channels); n_channels 139 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c spt_band->n_channels = n_channels; n_channels 298 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (request->n_ssids == 1 && request->n_channels == 1) /* it means under processing WPS */ n_channels 1619 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c for (i = 0;i<request->n_channels && i<RTW_CHANNEL_SCAN_AMOUNT;i++) { n_channels 1628 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (request->n_channels == 1) { n_channels 1632 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c } else if (request->n_channels <= 4) { n_channels 1633 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c for (j =request->n_channels-1;j>= 0;j--) n_channels 1638 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c _status = rtw_sitesurvey_cmd(padapter, ssid, RTW_SSID_SCAN_AMOUNT, ch, survey_times * request->n_channels); n_channels 78 drivers/staging/rtl8723bs/os_dep/wifi_regd.c for (j = 0; j < sband->n_channels; j++) { n_channels 105 drivers/staging/vt6655/channel.c .n_channels = ARRAY_SIZE(vnt_channels_2ghz), n_channels 112 drivers/staging/vt6655/channel.c .n_channels = ARRAY_SIZE(vnt_channels_5ghz), n_channels 118 drivers/staging/vt6656/channel.c .n_channels = ARRAY_SIZE(vnt_channels_2ghz), n_channels 125 drivers/staging/vt6656/channel.c .n_channels = ARRAY_SIZE(vnt_channels_5ghz), n_channels 235 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (request->n_channels > WILC_MAX_NUM_SCANNED_CH) { n_channels 242 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c for (i = 0; i < request->n_channels; i++) { n_channels 254 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c request->n_channels, cfg_scan_result, (void *)priv, n_channels 1882 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->band.n_channels = ARRAY_SIZE(wilc_2ghz_channels); n_channels 324 drivers/staging/wlan-ng/cfg80211.c (i < request->n_channels) && i < ARRAY_SIZE(prism2_channels); n_channels 329 drivers/staging/wlan-ng/cfg80211.c msg1.channellist.data.len = request->n_channels; n_channels 687 drivers/staging/wlan-ng/cfg80211.c priv->band.n_channels = ARRAY_SIZE(prism2_channels); n_channels 414 include/net/cfg80211.h int n_channels; n_channels 1933 include/net/cfg80211.h u32 n_channels; n_channels 2073 include/net/cfg80211.h u32 n_channels; n_channels 2754 include/net/cfg80211.h int n_channels; n_channels 1675 net/mac80211/ieee80211_i.h unsigned int n_channels, n_channels 968 net/mac80211/main.c channels += sband->n_channels; n_channels 696 net/mac80211/mlme.c 2 + 2 * sband->n_channels + /* supported channels */ n_channels 805 net/mac80211/mlme.c pos = skb_put(skb, 2 * sband->n_channels + 2); n_channels 807 net/mac80211/mlme.c *pos++ = 2 * sband->n_channels; n_channels 808 net/mac80211/mlme.c for (i = 0; i < sband->n_channels; i++) { n_channels 4822 net/mac80211/mlme.c for (i = 0; i < sband->n_channels; i++) { n_channels 325 net/mac80211/scan.c for (i = 0; i < req->n_channels; i++) { n_channels 330 net/mac80211/scan.c n_chans = req->n_channels; n_channels 338 net/mac80211/scan.c for (i = 0; i < req->n_channels; i++) { n_channels 352 net/mac80211/scan.c local->hw_scan_req->req.n_channels = n_chans; n_channels 679 net/mac80211/scan.c for (i = 0; i < req->n_channels; i++) { n_channels 691 net/mac80211/scan.c req->n_channels * sizeof(req->channels[0]) + n_channels 700 net/mac80211/scan.c req->n_channels * sizeof(req->channels[0]); n_channels 731 net/mac80211/scan.c } else if ((req->n_channels == 1) && n_channels 1053 net/mac80211/scan.c if (local->scan_channel_idx >= scan_req->n_channels) { n_channels 1101 net/mac80211/scan.c unsigned int n_channels, n_channels 1122 net/mac80211/scan.c max_n = local->hw.wiphy->bands[band]->n_channels; n_channels 1139 net/mac80211/scan.c local->int_scan_req->n_channels = n_ch; n_channels 1141 net/mac80211/scan.c for (i = 0; i < n_channels; i++) { n_channels 1153 net/mac80211/scan.c local->int_scan_req->n_channels = n_ch; n_channels 1776 net/mac80211/util.c for (i = 0; i < sband->n_channels; i++) { n_channels 136 net/mac80211/vht.c for (i = 0; i < sband->n_channels; i++) { n_channels 797 net/wireless/core.c if (WARN_ON(!sband->n_channels)) n_channels 827 net/wireless/core.c for (i = 0; i < sband->n_channels; i++) { n_channels 82 net/wireless/debugfs.c for (i = 0; i < sband->n_channels; i++) n_channels 261 net/wireless/ibss.c for (i = 0; i < sband->n_channels; i++) { n_channels 143 net/wireless/mesh.c for (i = 0; i < sband->n_channels; i++) { n_channels 787 net/wireless/mlme.c for (i = 0; i < sband->n_channels; i++) { n_channels 2073 net/wireless/nl80211.c i < sband->n_channels; n_channels 2091 net/wireless/nl80211.c if (i < sband->n_channels) n_channels 7269 net/wireless/nl80211.c int n_channels = 0, tmp1, tmp2; n_channels 7276 net/wireless/nl80211.c n_channels++; n_channels 7292 net/wireless/nl80211.c return n_channels; n_channels 7508 net/wireless/nl80211.c int err, tmp, n_ssids = 0, n_channels, i; n_channels 7525 net/wireless/nl80211.c n_channels = validate_scan_freqs( n_channels 7527 net/wireless/nl80211.c if (!n_channels) { n_channels 7532 net/wireless/nl80211.c n_channels = ieee80211_get_num_supported_channels(wiphy); n_channels 7556 net/wireless/nl80211.c + sizeof(*request->channels) * n_channels n_channels 7564 net/wireless/nl80211.c request->ssids = (void *)&request->channels[n_channels]; n_channels 7570 net/wireless/nl80211.c request->ie = (void *)(request->channels + n_channels); n_channels 7602 net/wireless/nl80211.c for (j = 0; j < wiphy->bands[band]->n_channels; j++) { n_channels 7621 net/wireless/nl80211.c request->n_channels = i; n_channels 7627 net/wireless/nl80211.c if (request->n_channels != 1) { n_channels 7895 net/wireless/nl80211.c int err, tmp, n_ssids = 0, n_match_sets = 0, n_channels, i, n_plans = 0; n_channels 7902 net/wireless/nl80211.c n_channels = validate_scan_freqs( n_channels 7904 net/wireless/nl80211.c if (!n_channels) n_channels 7907 net/wireless/nl80211.c n_channels = ieee80211_get_num_supported_channels(wiphy); n_channels 8010 net/wireless/nl80211.c + sizeof(*request->channels) * n_channels n_channels 8016 net/wireless/nl80211.c request->ssids = (void *)&request->channels[n_channels]; n_channels 8022 net/wireless/nl80211.c request->ie = (void *)(request->channels + n_channels); n_channels 8033 net/wireless/nl80211.c (void *)(request->channels + n_channels); n_channels 8045 net/wireless/nl80211.c request->scan_plans = (void *)(request->channels + n_channels); n_channels 8078 net/wireless/nl80211.c for (j = 0; j < wiphy->bands[band]->n_channels; j++) { n_channels 8097 net/wireless/nl80211.c request->n_channels = i; n_channels 11252 net/wireless/nl80211.c for (i = 0; i < req->n_channels; i++) { n_channels 14838 net/wireless/nl80211.c for (i = 0; i < req->n_channels; i++) { n_channels 16547 net/wireless/nl80211.c if (match->n_channels) { n_channels 16555 net/wireless/nl80211.c for (j = 0; j < match->n_channels; j++) { n_channels 57 net/wireless/of.c for (i = 0; i < sband->n_channels; i++) { n_channels 1812 net/wireless/reg.c for (i = 0; i < sband->n_channels; i++) n_channels 1977 net/wireless/reg.c for (i = 0; i < sband->n_channels; i++) n_channels 1994 net/wireless/reg.c for (i = 0; i < sband->n_channels; i++) n_channels 2041 net/wireless/reg.c for (i = 0; i < sband->n_channels; i++) { n_channels 2087 net/wireless/reg.c for (i = 0; i < sband->n_channels; i++) n_channels 2333 net/wireless/reg.c for (i = 0; i < sband->n_channels; i++) n_channels 2695 net/wireless/reg.c for (i = 0; i < dst_sband->n_channels; i++) { n_channels 2697 net/wireless/reg.c for (j = 0; j < src_sband->n_channels; j++) { n_channels 3143 net/wireless/reg.c for (i = 0; i < sband->n_channels; i++) { n_channels 2123 net/wireless/scan.c int i, err, n_channels = 0; n_channels 2146 net/wireless/scan.c n_channels = wreq->num_channels; n_channels 2148 net/wireless/scan.c n_channels = ieee80211_get_num_supported_channels(wiphy); n_channels 2151 net/wireless/scan.c n_channels * sizeof(void *), n_channels 2161 net/wireless/scan.c creq->ssids = (void *)&creq->channels[n_channels]; n_channels 2162 net/wireless/scan.c creq->n_channels = n_channels; n_channels 2174 net/wireless/scan.c for (j = 0; j < wiphy->bands[band]->n_channels; j++) { n_channels 2212 net/wireless/scan.c creq->n_channels = i; n_channels 68 net/wireless/sme.c int n_channels, err; n_channels 77 net/wireless/sme.c n_channels = 1; n_channels 79 net/wireless/sme.c n_channels = ieee80211_get_num_supported_channels(wdev->wiphy); n_channels 82 net/wireless/sme.c sizeof(request->channels[0]) * n_channels, n_channels 108 net/wireless/sme.c for (j = 0; j < bands->n_channels; j++) { n_channels 116 net/wireless/sme.c n_channels = i; n_channels 118 net/wireless/sme.c request->n_channels = n_channels; n_channels 119 net/wireless/sme.c request->ssids = (void *)&request->channels[n_channels]; n_channels 3128 net/wireless/trace.h __field(u32, n_channels) n_channels 143 net/wireless/util.c for (i = 0; i < sband->n_channels; i++) { n_channels 1891 net/wireless/util.c unsigned int n_channels = 0; n_channels 1895 net/wireless/util.c n_channels += wiphy->bands[band]->n_channels; n_channels 1897 net/wireless/util.c return n_channels; n_channels 193 net/wireless/wext-compat.c for (i = 0; i < sband->n_channels && c < IW_MAX_FREQUENCIES; i++) { n_channels 622 sound/pci/rme32.c snd_rme32_setframelog(struct rme32 * rme32, int n_channels, int is_playback) n_channels 626 sound/pci/rme32.c if (n_channels == 2) { n_channels 904 sound/pci/rme96.c int n_channels, n_channels 909 sound/pci/rme96.c if (n_channels == 2) {