Home
last modified time | relevance | path

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

1234

/drivers/net/wireless/iwlwifi/
Diwl-eeprom-parse.c390 int n_channels, s8 max_txpower_avg) in iwl_eeprom_enh_txp_read_element() argument
398 for (ch_idx = 0; ch_idx < n_channels; ch_idx++) { in iwl_eeprom_enh_txp_read_element()
418 int n_channels) in iwl_eeprom_enhanced_txpower() argument
468 iwl_eeprom_enh_txp_read_element(data, txp, n_channels, in iwl_eeprom_enhanced_txpower()
528 struct iwl_nvm_data *data, int n_channels, in iwl_mod_ht40_chan_info() argument
536 for (i = 0; i < n_channels; i++) { in iwl_mod_ht40_chan_info()
578 int n_channels = 0; in iwl_init_channel_map() local
605 channel = &data->channels[n_channels]; in iwl_init_channel_map()
606 n_channels++; in iwl_init_channel_map()
658 n_channels); in iwl_init_channel_map()
[all …]
Diwl-nvm-parse.c264 int n_channels = 0; in iwl_init_channel_map() local
310 channel = &data->channels[n_channels]; in iwl_init_channel_map()
311 n_channels++; in iwl_init_channel_map()
354 return n_channels; in iwl_init_channel_map()
418 int n_channels; in iwl_init_sbands() local
423 n_channels = iwl_init_channel_map( in iwl_init_sbands()
428 n_channels = iwl_init_channel_map( in iwl_init_sbands()
438 n_used += iwl_init_sband_channels(data, sband, n_channels, in iwl_init_sbands()
447 n_used += iwl_init_sband_channels(data, sband, n_channels, in iwl_init_sbands()
455 if (n_channels != n_used) in iwl_init_sbands()
[all …]
Diwl-eeprom-parse.h136 int n_channels, enum ieee80211_band band);
/drivers/net/wireless/ti/wlcore/
Dscan.c136 u32 n_channels, in wlcore_scan_get_channels() argument
186 i < n_channels && j < max_channels; in wlcore_scan_get_channels()
257 u32 n_channels, in wlcore_set_scan_chan_params() argument
266 n_channels, in wlcore_set_scan_chan_params()
277 n_channels, in wlcore_set_scan_chan_params()
289 n_channels, in wlcore_set_scan_chan_params()
300 n_channels, in wlcore_set_scan_chan_params()
312 n_channels, in wlcore_set_scan_chan_params()
350 BUG_ON(req->n_channels > WL1271_MAX_CHANNELS); in wlcore_scan()
Dscan.h169 u32 n_channels,
/drivers/net/wireless/iwlwifi/mvm/
Dscan.c129 u32 n_channels; member
591 int n_channels, u32 ssid_bitmap, in iwl_mvm_lmac_scan_cfg_channels() argument
597 for (i = 0; i < n_channels; i++) { in iwl_mvm_lmac_scan_cfg_channels()
729 int n_channels) in iwl_mvm_scan_fits() argument
732 (n_channels <= mvm->fw->ucode_capa.n_scan_channels) & in iwl_mvm_scan_fits()
806 cmd->n_channels = (u8)params->n_channels; in iwl_mvm_scan_lmac()
856 params->n_channels, ssid_bitmap, cmd); in iwl_mvm_scan_lmac()
907 mvm->nvm_data->bands[IEEE80211_BAND_2GHZ].n_channels + in iwl_mvm_config_scan()
908 mvm->nvm_data->bands[IEEE80211_BAND_5GHZ].n_channels; in iwl_mvm_config_scan()
950 for (i = 0; i < band->n_channels; i++, j++) in iwl_mvm_config_scan()
[all …]
Dnvm.c639 int resp_len, n_channels; in iwl_mvm_update_mcc() local
668 n_channels = __le32_to_cpu(mcc_resp->n_channels); in iwl_mvm_update_mcc()
671 status, mcc, mcc >> 8, mcc & 0xff, n_channels); in iwl_mvm_update_mcc()
673 resp_len = sizeof(*mcc_resp) + n_channels * sizeof(__le32); in iwl_mvm_update_mcc()
Dfw-api-scan.h345 u8 n_channels; member
628 u8 n_channels; member
/drivers/net/ethernet/sfc/
Defx.c808 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
824 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
833 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
845 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
870 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
1392 unsigned int n_channels; in efx_probe_interrupts() local
1394 n_channels = efx_wanted_parallelism(efx); in efx_probe_interrupts()
1396 n_channels *= 2; in efx_probe_interrupts()
1397 n_channels += extra_channels; in efx_probe_interrupts()
1398 n_channels = min(n_channels, efx->max_channels); in efx_probe_interrupts()
[all …]
Dnet_driver.h961 unsigned n_channels; member
1382 EFX_BUG_ON_PARANOID(index >= efx->n_channels); in efx_get_channel()
1390 _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \
1395 for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \
/drivers/dma/sh/
Dusb-dmac.c105 unsigned int n_channels; member
353 for (i = 0; i < dmac->n_channels; ++i) { in usb_dmac_soft_reset()
685 for (i = 0; i < dmac->n_channels; ++i) { in usb_dmac_runtime_suspend()
759 ret = of_property_read_u32(np, "dma-channels", &dmac->n_channels); in usb_dmac_parse_of()
765 if (dmac->n_channels <= 0 || dmac->n_channels >= 100) { in usb_dmac_parse_of()
767 dmac->n_channels); in usb_dmac_parse_of()
794 dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, in usb_dmac_probe()
823 for (i = 0; i < dmac->n_channels; ++i) { in usb_dmac_probe()
884 for (i = 0; i < dmac->n_channels; ++i) in usb_dmac_remove()
Drcar-dmac.c183 unsigned int n_channels; member
763 for (i = 0; i < dmac->n_channels; ++i) { in rcar_dmac_abort()
1580 ret = of_property_read_u32(np, "dma-channels", &dmac->n_channels); in rcar_dmac_parse_of()
1586 if (dmac->n_channels <= 0 || dmac->n_channels >= 100) { in rcar_dmac_parse_of()
1588 dmac->n_channels); in rcar_dmac_parse_of()
1630 dmac->n_channels--; in rcar_dmac_probe()
1634 dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, in rcar_dmac_probe()
1683 for (i = 0; i < dmac->n_channels; ++i) { in rcar_dmac_probe()
/drivers/net/wireless/ti/wl1251/
Dcmd.c426 unsigned int n_channels, unsigned int n_probes) in wl1251_cmd_scan() argument
431 wl1251_debug(DEBUG_CMD, "cmd scan channels %d", n_channels); in wl1251_cmd_scan()
433 WARN_ON(n_channels > SCAN_MAX_NUM_OF_CHANNELS); in wl1251_cmd_scan()
451 cmd->params.num_channels = n_channels; in wl1251_cmd_scan()
456 for (i = 0; i < n_channels; i++) { in wl1251_cmd_scan()
/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()
Die31200_edac.c169 int n_channels; in how_many_channels() local
177 n_channels = 1; in how_many_channels()
180 n_channels = 2; in how_many_channels()
189 return n_channels; in how_many_channels()
/drivers/net/wireless/libertas/
Dcfg.c76 .n_channels = ARRAY_SIZE(lbs_2ghz_channels),
728 if (last_channel > priv->scan_req->n_channels) in lbs_scan_worker()
729 last_channel = priv->scan_req->n_channels; in lbs_scan_worker()
736 if (priv->scan_channel < priv->scan_req->n_channels) { in lbs_scan_worker()
754 if (priv->scan_channel >= priv->scan_req->n_channels) { in lbs_scan_worker()
784 request->n_ssids, request->n_channels, request->ie_len); in _internal_start_scan()
1271 int i, n_channels = ieee80211_get_num_supported_channels(wiphy); in _new_connect_scan_req() local
1275 n_channels * sizeof(void *), in _new_connect_scan_req()
1281 creq->ssids = (void *)&creq->channels[n_channels]; in _new_connect_scan_req()
1282 creq->n_channels = n_channels; in _new_connect_scan_req()
[all …]
/drivers/net/wireless/mwifiex/
D11h.c70 ie_header->len = cpu_to_le16(2 * sband->n_channels + 2); in mwifiex_11h_process_infra_join()
73 *(*buffer)++ = 2 * sband->n_channels; in mwifiex_11h_process_infra_join()
74 for (i = 0; i < sband->n_channels; i++) { in mwifiex_11h_process_infra_join()
Dcfp.c336 for (i = 0; i < sband->n_channels; i++) { in mwifiex_get_cfp()
352 if (i == sband->n_channels) { in mwifiex_get_cfp()
/drivers/staging/vt6656/
Dchannel.c132 .n_channels = ARRAY_SIZE(vnt_channels_2ghz),
139 .n_channels = ARRAY_SIZE(vnt_channels_5ghz),
/drivers/net/wireless/realtek/rtlwifi/
Dregd.c170 for (i = 0; i < sband->n_channels; i++) { in _rtl_reg_apply_beaconing_flags()
270 for (i = 0; i < sband->n_channels; i++) { in _rtl_reg_apply_radar_flags()
313 for (i = 0; i < sband->n_channels; i++) in _rtl_dump_channel_map()
/drivers/net/wireless/ath/ath9k/
Dcommon-init.c144 common->sbands[IEEE80211_BAND_2GHZ].n_channels = in ath9k_cmn_init_channels_rates()
161 common->sbands[IEEE80211_BAND_5GHZ].n_channels = in ath9k_cmn_init_channels_rates()
/drivers/staging/vt6655/
Dchannel.c118 .n_channels = ARRAY_SIZE(vnt_channels_2ghz),
125 .n_channels = ARRAY_SIZE(vnt_channels_5ghz),
/drivers/net/wireless/brcm80211/brcmsmac/
Dchannel.c643 for (i = 0; i < sband->n_channels; i++) { in brcms_reg_apply_radar_flags()
674 for (i = 0; i < sband->n_channels; i++) { in brcms_reg_apply_beaconing_flags()
718 for (i = 0; !ch_found && i < sband->n_channels; i++) { in brcms_reg_notifier()
762 for (i = 0; i < sband->n_channels; i++) { in brcms_c_regd_init()
/drivers/net/wireless/cw1200/
Dmain.c163 .n_channels = ARRAY_SIZE(cw1200_2ghz_chantable),
183 .n_channels = ARRAY_SIZE(cw1200_5ghz_chantable),
323 for (i = 0; i < sband->n_channels; i++) { in cw1200_init_common()
/drivers/net/wireless/ti/wl18xx/
Dscan.c91 req->n_channels, req->n_ssids, in wl18xx_scan_send()
226 req->n_channels, req->n_ssids, in wl18xx_scan_sched_scan_config()

1234