Home
last modified time | relevance | path

Searched refs:n_channels (Results 1 – 25 of 69) sorted by relevance

123

/drivers/net/wireless/iwlwifi/
Diwl-eeprom-parse.c388 int n_channels, s8 max_txpower_avg) in iwl_eeprom_enh_txp_read_element() argument
396 for (ch_idx = 0; ch_idx < n_channels; ch_idx++) { in iwl_eeprom_enh_txp_read_element()
416 int n_channels) in iwl_eeprom_enhanced_txpower() argument
466 iwl_eeprom_enh_txp_read_element(data, txp, n_channels, in iwl_eeprom_enhanced_txpower()
526 struct iwl_nvm_data *data, int n_channels, in iwl_mod_ht40_chan_info() argument
534 for (i = 0; i < n_channels; i++) { in iwl_mod_ht40_chan_info()
576 int n_channels = 0; in iwl_init_channel_map() local
603 channel = &data->channels[n_channels]; in iwl_init_channel_map()
604 n_channels++; in iwl_init_channel_map()
656 n_channels); in iwl_init_channel_map()
[all …]
Diwl-nvm-parse.c176 int n_channels = 0; in iwl_init_channel_map() local
193 channel = &data->channels[n_channels]; in iwl_init_channel_map()
194 n_channels++; in iwl_init_channel_map()
254 return n_channels; in iwl_init_channel_map()
297 int n_channels = iwl_init_channel_map(dev, cfg, data, in iwl_init_sbands() local
306 n_used += iwl_init_sband_channels(data, sband, n_channels, in iwl_init_sbands()
314 n_used += iwl_init_sband_channels(data, sband, n_channels, in iwl_init_sbands()
319 if (n_channels != n_used) in iwl_init_sbands()
321 n_used, n_channels); in iwl_init_sbands()
Diwl-eeprom-parse.h131 int n_channels, enum ieee80211_band band);
/drivers/net/wireless/ti/wlcore/
Dscan.c114 u32 n_channels, in wlcore_scan_get_channels() argument
164 i < n_channels && j < max_channels; in wlcore_scan_get_channels()
236 u32 n_channels, in wlcore_set_scan_chan_params() argument
245 n_channels, in wlcore_set_scan_chan_params()
256 n_channels, in wlcore_set_scan_chan_params()
268 n_channels, in wlcore_set_scan_chan_params()
279 n_channels, in wlcore_set_scan_chan_params()
291 n_channels, in wlcore_set_scan_chan_params()
329 BUG_ON(req->n_channels > WL1271_MAX_CHANNELS); in wlcore_scan()
Dscan.h163 u32 n_channels,
/drivers/net/ethernet/sfc/
Defx.c342 BUG_ON(channel->channel >= efx->n_channels); in efx_process_channel_now()
816 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
832 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
841 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
853 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
871 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
1326 unsigned int n_channels; in efx_probe_interrupts() local
1328 n_channels = efx_wanted_parallelism(efx); in efx_probe_interrupts()
1330 n_channels *= 2; in efx_probe_interrupts()
1331 n_channels += extra_channels; in efx_probe_interrupts()
[all …]
Dnet_driver.h819 unsigned n_channels; member
1029 EFX_BUG_ON_PARANOID(index >= efx->n_channels); in efx_get_channel()
1037 _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \
1042 for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \
/drivers/staging/comedi/drivers/
Djr3_pci.c67 int n_channels; member
329 for (i = 0; i < devpriv->n_channels; i++) { in jr3_pci_open()
401 for (i = 0; i < p->n_channels; i++) { in jr3_download_firmware()
637 for (i = 0; i < devpriv->n_channels; i++) { in jr3_pci_poll_dev()
686 devpriv->n_channels = 1; in jr3_pci_auto_attach()
689 devpriv->n_channels = 2; in jr3_pci_auto_attach()
692 devpriv->n_channels = 3; in jr3_pci_auto_attach()
695 devpriv->n_channels = 4; in jr3_pci_auto_attach()
712 result = comedi_alloc_subdevices(dev, devpriv->n_channels); in jr3_pci_auto_attach()
717 for (i = 0; i < devpriv->n_channels; i++) { in jr3_pci_auto_attach()
[all …]
/drivers/net/wireless/libertas/
Dcfg.c76 .n_channels = ARRAY_SIZE(lbs_2ghz_channels),
726 if (last_channel > priv->scan_req->n_channels) in lbs_scan_worker()
727 last_channel = priv->scan_req->n_channels; in lbs_scan_worker()
734 if (priv->scan_channel < priv->scan_req->n_channels) { in lbs_scan_worker()
752 if (priv->scan_channel >= priv->scan_req->n_channels) { in lbs_scan_worker()
782 request->n_ssids, request->n_channels, request->ie_len); in _internal_start_scan()
1271 int i, n_channels = 0; in _new_connect_scan_req() local
1276 n_channels += wiphy->bands[band]->n_channels; in _new_connect_scan_req()
1280 n_channels * sizeof(void *), in _new_connect_scan_req()
1286 creq->ssids = (void *)&creq->channels[n_channels]; in _new_connect_scan_req()
[all …]
/drivers/edac/
Di3200_edac.c109 int n_channels; in how_many_channels() local
117 n_channels = 1; in how_many_channels()
120 n_channels = 2; in how_many_channels()
128 return n_channels; in how_many_channels()
/drivers/net/wireless/ti/wl1251/
Dcmd.c408 unsigned int n_channels, unsigned int n_probes) in wl1251_cmd_scan() argument
424 cmd->params.num_channels = n_channels; in wl1251_cmd_scan()
429 for (i = 0; i < n_channels; i++) { in wl1251_cmd_scan()
/drivers/net/wireless/brcm80211/brcmsmac/
Dchannel.c648 for (i = 0; i < sband->n_channels; i++) { in brcms_reg_apply_radar_flags()
679 for (i = 0; i < sband->n_channels; i++) { in brcms_reg_apply_beaconing_flags()
726 for (i = 0; !ch_found && i < sband->n_channels; i++) { in brcms_reg_notifier()
770 for (i = 0; i < sband->n_channels; i++) { in brcms_c_regd_init()
/drivers/net/wireless/rtlwifi/
Dregd.c169 for (i = 0; i < sband->n_channels; i++) { in _rtl_reg_apply_beaconing_flags()
269 for (i = 0; i < sband->n_channels; i++) { in _rtl_reg_apply_radar_flags()
/drivers/net/wireless/ti/wl18xx/
Dscan.c87 req->n_channels, req->n_ssids, in wl18xx_scan_send()
218 req->n_channels, req->n_ssids, in wl18xx_scan_sched_scan_config()
/drivers/net/wireless/mwifiex/
Dcfp.c355 for (i = 0; i < sband->n_channels; i++) { in mwifiex_get_cfp()
371 if (i == sband->n_channels) { in mwifiex_get_cfp()
/drivers/net/wireless/ath/
Dregd.c206 for (i = 0; i < sband->n_channels; i++) { in ath_reg_apply_beaconing_flags()
307 for (i = 0; i < sband->n_channels; i++) { in ath_reg_apply_radar_flags()
/drivers/staging/wlan-ng/
Dcfg80211.c379 (i < request->n_channels) && i < ARRAY_SIZE(prism2_channels); in prism2_scan()
383 msg1.channellist.data.len = request->n_channels; in prism2_scan()
756 priv->band.n_channels = ARRAY_SIZE(prism2_channels); in wlan_create_wiphy()
/drivers/net/wireless/brcm80211/brcmfmac/
Dwl_cfg80211.c190 .n_channels = ARRAY_SIZE(__wl_2ghz_channels),
198 .n_channels = ARRAY_SIZE(__wl_5ghz_a_channels),
715 u32 n_channels; in brcmf_escan_prep() local
737 n_channels = request->n_channels; in brcmf_escan_prep()
740 n_channels); in brcmf_escan_prep()
741 if (n_channels > 0) { in brcmf_escan_prep()
742 for (i = 0; i < n_channels; i++) { in brcmf_escan_prep()
756 n_channels * sizeof(u16); in brcmf_escan_prep()
788 (n_channels & BRCMF_SCAN_PARAMS_COUNT_MASK)); in brcmf_escan_prep()
804 params_size += sizeof(u32) * ((request->n_channels + 1) / 2); in brcmf_run_escan()
[all …]
/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c126 .n_channels = ARRAY_SIZE(ath6kl_2ghz_channels),
135 .n_channels = ARRAY_SIZE(ath6kl_5ghz_a_channels),
994 s8 n_channels = 0; in ath6kl_cfg80211_scan() local
1033 if (request->n_channels > 0 && in ath6kl_cfg80211_scan()
1034 request->n_channels <= WMI_MAX_CHANNELS) { in ath6kl_cfg80211_scan()
1037 n_channels = request->n_channels; in ath6kl_cfg80211_scan()
1039 channels = kzalloc(n_channels * sizeof(u16), GFP_KERNEL); in ath6kl_cfg80211_scan()
1042 n_channels = 0; in ath6kl_cfg80211_scan()
1045 for (i = 0; i < n_channels; i++) in ath6kl_cfg80211_scan()
1058 n_channels, channels, in ath6kl_cfg80211_scan()
/drivers/net/wireless/ath/wil6210/
Dcfg80211.c38 .n_channels = ARRAY_SIZE(wil_60ghz_channels),
209 n = min(request->n_channels, 4U); in wil_cfg80211_scan()
/drivers/net/wireless/iwlwifi/mvm/
Dmac80211.c201 if (mvm->nvm_data->bands[IEEE80211_BAND_2GHZ].n_channels) in iwl_mvm_mac_setup_register()
204 if (mvm->nvm_data->bands[IEEE80211_BAND_5GHZ].n_channels) in iwl_mvm_mac_setup_register()
894 if (req->n_channels == 0 || req->n_channels > MAX_NUM_SCAN_CHANNELS) in iwl_mvm_mac_hw_scan()
/drivers/net/wireless/ti/wl12xx/
Dscan.c37 i < req->n_channels && j < WL1271_SCAN_MAX_CHANNELS; in wl1271_get_scan_channels()
367 req->n_channels, req->n_ssids, in wl1271_scan_sched_scan_config()
/drivers/net/ppp/
Dppp_generic.c118 int n_channels; /* how many channels are attached 54 */ member
442 if (ppp->n_channels == 0 && in ppp_read()
530 if (ppp->n_channels == 0 && in ppp_poll()
2786 if (!ppp->file.dead || ppp->n_channels) { in ppp_destroy_interface()
2790 ppp, ppp->file.dead, ppp->n_channels); in ppp_destroy_interface()
2883 ++ppp->n_channels; in ppp_connect_channel()
2913 if (--ppp->n_channels == 0) in ppp_disconnect_channel()
/drivers/net/wireless/iwlwifi/dvm/
Dscan.c472 for (i = 0; i < sband->n_channels; i++) { in iwl_get_single_channel_number()
550 for (i = 0, added = 0; i < priv->scan_request->n_channels; i++) { in iwl_get_channels_for_scan()
678 priv->scan_request->n_channels > MAX_SCAN_CHANNEL))) in iwlagn_request_scan()
/drivers/net/wireless/ath/ath9k/
Dinit.c460 sc->sbands[IEEE80211_BAND_2GHZ].n_channels = in ath9k_init_channels_rates()
477 sc->sbands[IEEE80211_BAND_5GHZ].n_channels = in ath9k_init_channels_rates()
690 for (i = 0; i < sband->n_channels; i++) { in ath9k_init_band_txpower()

123