Home
last modified time | relevance | path

Searched refs:freqs (Results 1 – 25 of 43) sorted by relevance

12

/freebsd-14.2/usr.sbin/powerd/
H A Dpowerd.c219 free(*freqs); in read_freqs()
228 free(*freqs); in read_freqs()
239 if ((*freqs = realloc(*freqs, *numfreqs * sizeof(int))) == NULL) { in read_freqs()
241 free(*freqs); in read_freqs()
283 if (freqs[i] < freq) in get_freq_id()
675 freqs[0]);
760 freq = freqs[0];
791 freq = freqs[0];
826 freqs[i], freqs[j]);
831 freqs[j]);
[all …]
/freebsd-14.2/contrib/wpa/wpa_supplicant/
H A Dbgscan_learn.c224 return freqs; in bgscan_learn_get_freqs()
225 freqs = n; in bgscan_learn_get_freqs()
231 return freqs; in bgscan_learn_get_freqs()
241 return freqs; in bgscan_learn_get_probe_freq()
254 freqs = n; in bgscan_learn_get_probe_freq()
266 return freqs; in bgscan_learn_get_probe_freq()
289 freqs = bgscan_learn_get_probe_freq(data, freqs, count); in bgscan_learn_timeout()
293 for (i = 0; freqs && freqs[i]; i++) { in bgscan_learn_timeout()
304 params.freqs = freqs; in bgscan_learn_timeout()
369 freqs = n; in bgscan_learn_get_supp_freqs()
[all …]
H A Dscan.c517 if (!params->freqs || params->freqs[0] == 0) in wpa_supplicant_optimize_freqs()
555 if (params->freqs) in wpa_supplicant_optimize_freqs()
567 if (params->freqs) in wpa_supplicant_optimize_freqs()
860 int *freqs, i; in wpa_add_scan_freqs_list() local
871 freqs = os_realloc(params->freqs, in wpa_add_scan_freqs_list()
873 if (!freqs) in wpa_add_scan_freqs_list()
876 params->freqs = freqs; in wpa_add_scan_freqs_list()
901 if (params->freqs) in wpa_setband_scan_freqs()
1519 !scan_params->freqs && !params.freqs && in wpa_supplicant_scan()
3337 if (src->freqs) { in wpa_scan_clone_params()
[all …]
H A Drrm.c477 int *freqs) in wpas_add_channel() argument
525 if (!freqs) { in wpas_add_channels()
542 os_free(freqs); in wpas_add_channels()
549 if (!freqs[0]) { in wpas_add_channels()
550 os_free(freqs); in wpas_add_channels()
554 return freqs; in wpas_add_channels()
649 return freqs; in wpas_channel_report_freqs()
651 os_free(freqs); in wpas_channel_report_freqs()
688 if (!freqs) in wpas_beacon_request_freqs()
696 if (!freqs) in wpas_beacon_request_freqs()
[all …]
H A Dp2p_supplicant.c186 int *freqs; in wpas_p2p_num_unused_channels() local
190 if (!freqs) in wpas_p2p_num_unused_channels()
195 os_free(freqs); in wpas_p2p_num_unused_channels()
217 if (!freqs) in wpas_p2p_valid_oper_freqs()
231 os_free(freqs); in wpas_p2p_valid_oper_freqs()
5284 if (!freqs) in wpas_check_freq_conflict()
5613 params.freqs = freqs; in wpas_p2p_join_scan_req()
5646 if (params.freqs != freqs) in wpas_p2p_join_scan_req()
5800 if (!freqs) in wpas_p2p_setup_freqs()
6504 if (!freqs) in wpas_p2p_init_go_params()
[all …]
H A Dconfig.c1438 int *freqs; in wpa_config_parse_int_array() local
1462 freqs = n; in wpa_config_parse_int_array()
1473 return freqs; in wpa_config_parse_int_array()
1481 int *freqs; in wpa_config_parse_scan_freq() local
1488 freqs = NULL; in wpa_config_parse_scan_freq()
1501 int *freqs; in wpa_config_parse_freq_list() local
1508 freqs = NULL; in wpa_config_parse_freq_list()
4918 int *freqs; in wpa_config_process_freq_list() local
4925 freqs = NULL; in wpa_config_process_freq_list()
4938 int *freqs; in wpa_config_process_initial_freq_list() local
[all …]
H A Dinterworking.h27 int *freqs);
H A Dnan_usd.c487 int *freqs = NULL; in wpas_nan_usd_all_freqs() local
508 int_array_add_unique(&freqs, chan->freq); in wpas_nan_usd_all_freqs()
512 return freqs; in wpas_nan_usd_all_freqs()
H A Dwpa_priv.c142 int freqs[PRIVSEP_MAX_SCAN_FREQS + 1]; in wpa_priv_cmd_scan() local
171 freqs[i] = scan->freqs[i]; in wpa_priv_cmd_scan()
172 freqs[i] = 0; in wpa_priv_cmd_scan()
173 params.freqs = freqs; in wpa_priv_cmd_scan()
H A Dwnm_sta.c1330 int *freqs; in wnm_set_scan_freqs() local
1343 freqs = os_calloc(wpa_s->wnm_num_neighbor_report + 1, sizeof(int)); in wnm_set_scan_freqs()
1344 if (freqs == NULL) in wnm_set_scan_freqs()
1360 os_free(freqs); in wnm_set_scan_freqs()
1364 add_freq(freqs, &num_freqs, nei->freq); in wnm_set_scan_freqs()
1368 os_free(freqs); in wnm_set_scan_freqs()
1375 wpa_s->next_scan_freqs = freqs; in wnm_set_scan_freqs()
H A Dbgscan_simple.c90 params.freqs = data->ssid->scan_freq; in bgscan_simple_timeout()
H A Dwpa_supplicant.c6625 if (freqs) { in wpas_get_bands()
7029 ctx)->freqs); in radio_add_work()
8323 if (freqs[i] == freq) in add_freq()
8327 freqs[*num_freqs] = freq; in add_freq()
8336 int *freqs; in get_bss_freqs_in_ess() local
8340 if (freqs == NULL) in get_bss_freqs_in_ess()
8358 os_free(freqs); in get_bss_freqs_in_ess()
8359 freqs = NULL; in get_bss_freqs_in_ess()
8362 return freqs; in get_bss_freqs_in_ess()
8371 int *freqs = NULL; in wpas_connection_failed() local
[all …]
/freebsd-14.2/sys/contrib/zstd/lib/dictBuilder/
H A Dfastcover.c135 U32 *freqs; member
185 activeSegment.score += freqs[idx]; in FASTCOVER_selectSegment()
221 freqs[i] = 0; in FASTCOVER_selectSegment()
272 free(ctx->freqs); in FASTCOVER_ctx_destroy()
273 ctx->freqs = NULL; in FASTCOVER_ctx_destroy()
298 freqs[dmerIndex]++; in FASTCOVER_computeFrequency()
383 if (ctx->freqs == NULL) { in FASTCOVER_ctx_init()
401 U32* freqs, in FASTCOVER_buildDictionary() argument
487 if (!segmentFreqs || !dict || !freqs) { in FASTCOVER_tryParameters()
492 memcpy(freqs, ctx->freqs, ((U64)1 << ctx->f) * sizeof(U32)); in FASTCOVER_tryParameters()
[all …]
H A Dcover.c229 U32 *freqs; member
473 U32 freq = freqs[ctx->dmerAt[pos]]; in COVER_selectSegment()
486 freqs[ctx->dmerAt[pos]] = 0; in COVER_selectSegment()
528 if (ctx->freqs) { in COVER_ctx_destroy()
529 free(ctx->freqs); in COVER_ctx_destroy()
530 ctx->freqs = NULL; in COVER_ctx_destroy()
599 ctx->freqs = NULL; in COVER_ctx_init()
642 ctx->freqs = ctx->suffix; in COVER_ctx_init()
1090 if (!dict || !freqs) { in COVER_tryParameters()
1095 memcpy(freqs, ctx->freqs, ctx->suffixSize * sizeof(U32)); in COVER_tryParameters()
[all …]
/freebsd-14.2/contrib/wpa/src/drivers/
H A Ddriver_nl80211_scan.c232 if (params->freqs) { in nl80211_scan_common()
233 struct nlattr *freqs; in nl80211_scan_common() local
235 if (freqs == NULL) in nl80211_scan_common()
239 "MHz", params->freqs[i]); in nl80211_scan_common()
243 nla_nest_end(msg, freqs); in nl80211_scan_common()
1186 if (params->freqs) { in wpa_driver_nl80211_vendor_scan()
1187 struct nlattr *freqs; in wpa_driver_nl80211_vendor_scan() local
1189 freqs = nla_nest_start(msg, in wpa_driver_nl80211_vendor_scan()
1191 if (freqs == NULL) in wpa_driver_nl80211_vendor_scan()
1196 params->freqs[i]); in wpa_driver_nl80211_vendor_scan()
[all …]
H A Ddriver_privsep.c120 params->freqs && params->freqs[i]; i++) in wpa_driver_privsep_scan()
121 scan.freqs[i] = params->freqs[i]; in wpa_driver_privsep_scan()
/freebsd-14.2/sys/x86/cpufreq/
H A Dest.c860 static int est_acpi_info(device_t dev, freq_info **freqs,
862 static int est_table_info(device_t dev, uint64_t msr, freq_info **freqs,
864 static int est_msr_info(device_t dev, uint64_t msr, freq_info **freqs,
1059 est_acpi_info(device_t dev, freq_info **freqs, size_t *freqslen) in est_acpi_info() argument
1113 *freqs = table; in est_acpi_info()
1126 est_table_info(device_t dev, uint64_t msr, freq_info **freqs, size_t *freqslen) in est_table_info() argument
1146 *freqs = p->freqtab; in est_table_info()
1170 est_msr_info(device_t dev, uint64_t msr, freq_info **freqs, size_t *freqslen) in est_msr_info() argument
1232 *freqs = fp; in est_msr_info()
/freebsd-14.2/contrib/wpa/src/ap/
H A Dhw_features.c438 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_2g4()
439 if (params->freqs == NULL) in ieee80211n_scan_channels_2g4()
450 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_2g4()
479 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_5g()
480 if (params->freqs == NULL) in ieee80211n_scan_channels_5g()
491 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_5g()
517 os_free(params.freqs); in ap_ht40_scan_retry()
572 os_free(params.freqs); in ieee80211n_check_40mhz()
H A Dacs.c1410 params.freqs = os_calloc(num_channels + 1, sizeof(params.freqs[0])); in acs_request_scan()
1411 if (params.freqs == NULL) in acs_request_scan()
1414 freq = params.freqs; in acs_request_scan()
1424 if (params.freqs == freq) { in acs_request_scan()
1426 os_free(params.freqs); in acs_request_scan()
1442 os_free(params.freqs); in acs_request_scan()
/freebsd-14.2/contrib/wpa/src/common/
H A Dprivsep_commands.h40 u16 freqs[PRIVSEP_MAX_SCAN_FREQS]; member
H A Ddpp.c553 static int freq_included(const unsigned int freqs[], unsigned int num, in freq_included() argument
557 if (freqs[--num] == freq) in freq_included()
564 static void freq_to_start(unsigned int freqs[], unsigned int num, in freq_to_start() argument
570 if (freqs[i] == freq) in freq_to_start()
575 os_memmove(&freqs[1], &freqs[0], i * sizeof(freqs[0])); in freq_to_start()
576 freqs[0] = freq; in freq_to_start()
649 char freqs[DPP_BOOTSTRAP_MAX_FREQ * 6 + 10], *pos, *end; in dpp_prepare_channel_list() local
677 pos = freqs; in dpp_prepare_channel_list()
678 end = pos + sizeof(freqs); in dpp_prepare_channel_list()
687 freqs); in dpp_prepare_channel_list()
/freebsd-14.2/sys/dev/ath/ath_hal/
H A Dah_regdomain.h162 REG_DMN_FREQ_BAND *freqs; member
/freebsd-14.2/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_handlers.c1542 os_free(freqs); in wpas_dbus_get_scan_channels()
1556 os_free(freqs); in wpas_dbus_get_scan_channels()
1568 os_free(freqs); in wpas_dbus_get_scan_channels()
1569 freqs = nfreqs; in wpas_dbus_get_scan_channels()
1571 if (freqs == NULL) { in wpas_dbus_get_scan_channels()
1584 os_free(freqs); in wpas_dbus_get_scan_channels()
1585 freqs = nfreqs; in wpas_dbus_get_scan_channels()
1586 if (freqs == NULL) { in wpas_dbus_get_scan_channels()
1590 freqs[freqs_num] = 0; in wpas_dbus_get_scan_channels()
1592 params->freqs = freqs; in wpas_dbus_get_scan_channels()
[all …]
/freebsd-14.2/sys/contrib/device-tree/Bindings/media/
H A Dnvidia,tegra-vde.yaml73 Should contain freqs and voltages and opp-supported-hw property,
/freebsd-14.2/sys/contrib/device-tree/Bindings/devfreq/
H A Dnvidia,tegra30-actmon.yaml63 Should contain freqs and voltages and opp-supported-hw property, which

12