/freebsd-src/contrib/wpa/wpa_supplicant/ |
H A D | bgscan_learn.c | 215 int *freqs = NULL, *n; in bgscan_learn_get_freqs() local 220 if (in_array(freqs, bss->freq)) in bgscan_learn_get_freqs() 222 n = os_realloc_array(freqs, *count + 2, sizeof(int)); in bgscan_learn_get_freqs() 224 return freqs; in bgscan_learn_get_freqs() 225 freqs = n; in bgscan_learn_get_freqs() 226 freqs[*count] = bss->freq; in bgscan_learn_get_freqs() 228 freqs[*count] = 0; in bgscan_learn_get_freqs() 231 return freqs; in bgscan_learn_get_freqs() 236 int *freqs, size_t count) in bgscan_learn_get_probe_freq() argument 241 return freqs; in bgscan_learn_get_probe_freq() 275 int *freqs = NULL; bgscan_learn_timeout() local 351 int i, j, *freqs = NULL, *n; bgscan_learn_get_supp_freqs() local [all...] |
H A D | scan.c | 323 wpa_s->last_scan_all_chan = !params->freqs; in wpa_supplicant_sched_scan_timeout() 438 if (params->freqs == NULL && wpa_s->p2p_in_provisioning && in wpa_supplicant_optimize_freqs() 446 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs() 447 if (params->freqs) in wpa_supplicant_optimize_freqs() 448 params->freqs[0] = wpa_s->go_params->freq; in wpa_supplicant_optimize_freqs() 453 int_array_concat(¶ms->freqs, in wpa_supplicant_optimize_freqs() 455 if (params->freqs) in wpa_supplicant_optimize_freqs() 456 int_array_sort_unique(params->freqs); in wpa_supplicant_optimize_freqs() 461 if (params->freqs == NULL && wpa_s->p2p_in_invitation) { in wpa_supplicant_optimize_freqs() 484 params->freqs in wpa_supplicant_optimize_freqs() 717 int *freqs, i; wpa_add_scan_freqs_list() local [all...] |
H A D | rrm.c | 477 int *freqs) in wpas_add_channel() argument 484 freqs[i] = ieee80211_chan_to_freq(NULL, op_class, primary_chan); in wpas_add_channel() 488 if (freqs[i] < 0 && in wpas_add_channel() 490 freqs[i] = 5000 + 5 * primary_chan; in wpas_add_channel() 491 if (freqs[i] < 0) { in wpas_add_channel() 507 int *freqs, *next_freq; in wpas_add_channels() local 524 freqs = os_calloc(num_chans * num_primary_channels + 1, sizeof(*freqs)); in wpas_add_channels() 525 if (!freqs) { in wpas_add_channels() 527 "Beacon Report: Failed to allocate freqs arra in wpas_add_channels() 592 int *freqs = NULL, *new_freqs; wpas_channel_report_freqs() local 654 int *freqs = NULL, *ext_freqs = NULL; wpas_beacon_request_freqs() local [all...] |
H A D | p2p_supplicant.c | 156 struct wpa_used_freq_data *freqs, 162 struct wpa_used_freq_data *freqs, unsigned int num, 186 int *freqs; in wpas_p2p_num_unused_channels() 189 freqs = os_calloc(wpa_s->num_multichan_concurrent, sizeof(int)); in wpas_p2p_num_unused_channels() 190 if (!freqs) in wpas_p2p_num_unused_channels() 193 num = get_shared_radio_freqs(wpa_s, freqs, in wpas_p2p_num_unused_channels() 195 os_free(freqs); in wpas_p2p_num_unused_channels() 212 struct wpa_used_freq_data *freqs; in wpas_p2p_valid_oper_freqs() 215 freqs = os_calloc(wpa_s->num_multichan_concurrent, in wpas_p2p_valid_oper_freqs() 217 if (!freqs) in wpas_p2p_valid_oper_freqs() 184 int *freqs; wpas_p2p_num_unused_channels() local 210 struct wpa_used_freq_data *freqs; wpas_p2p_valid_oper_freqs() local 3034 wpas_p2p_pick_best_used_freq(struct wpa_supplicant * wpa_s,struct wpa_used_freq_data * freqs,unsigned int num) wpas_p2p_pick_best_used_freq() argument 3078 struct wpa_used_freq_data *freqs; wpas_invitation_process() local 5162 struct wpa_used_freq_data *freqs; wpas_check_freq_conflict() local 5461 int freqs[2] = { 0, 0 }; wpas_p2p_join_scan_req() local 5685 struct wpa_used_freq_data *freqs; wpas_p2p_setup_freqs() local 6258 const int freqs[] = { wpas_p2p_select_go_freq() local 6413 struct wpa_used_freq_data *freqs; wpas_p2p_init_go_params() local 8271 struct wpa_used_freq_data *freqs = NULL; wpas_p2p_update_channel_list() local 9576 wpas_p2p_optimize_listen_channel(struct wpa_supplicant * wpa_s,struct wpa_used_freq_data * freqs,unsigned int num) wpas_p2p_optimize_listen_channel() argument 9815 struct wpa_used_freq_data *freqs = NULL; wpas_p2p_reconsider_moving_go() local 9844 wpas_p2p_consider_moving_one_go(struct wpa_supplicant * wpa_s,struct wpa_used_freq_data * freqs,unsigned int num) wpas_p2p_consider_moving_one_go() argument 9959 wpas_p2p_consider_moving_gos(struct wpa_supplicant * wpa_s,struct wpa_used_freq_data * freqs,unsigned int num,enum wpas_p2p_channel_update_trig trig) wpas_p2p_consider_moving_gos() argument [all...] |
H A D | config.c | 1438 int *freqs; in wpa_config_parse_scan_freq() 1444 freqs = os_calloc(len + 1, sizeof(int)); in wpa_config_parse_freq_list() 1445 if (freqs == NULL) in wpa_config_parse_freq_list() local 1455 n = os_realloc_array(freqs, len * 2 + 1, sizeof(int)); in wpa_config_parse_freq_list() 1457 os_free(freqs); in wpa_config_parse_freq_list() 1462 freqs = n; in wpa_config_write_freqs() 1466 freqs[used] = atoi(pos); in wpa_config_write_freqs() 1467 if (freqs[used] == 0) in wpa_config_write_freqs() 1473 return freqs; in wpa_config_write_freqs() 1481 int *freqs; in wpa_config_write_freqs() 1382 int *freqs; wpa_config_parse_int_array() local 1425 int *freqs; wpa_config_parse_scan_freq() local 1463 wpa_config_write_freqs(const struct parse_data * data,const int * freqs) wpa_config_write_freqs() argument 4629 int *freqs; wpa_config_process_freq_list() local 4649 int *freqs; wpa_config_process_initial_freq_list() local [all...] |
H A D | interworking.h | 27 int *freqs);
|
H A D | wpa_priv.c | 142 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 D | wnm_sta.c | 1330 int *freqs; in wnm_fetch_scan_results() 1343 freqs = os_calloc(wpa_s->wnm_num_neighbor_report + 1, sizeof(int)); in wnm_fetch_scan_results() 1344 if (freqs == NULL) in wnm_fetch_scan_results() 1360 os_free(freqs); in wnm_fetch_scan_results() 1364 add_freq(freqs, &num_freqs, nei->freq); in wnm_fetch_scan_results() 1368 os_free(freqs); in wnm_fetch_scan_results() 1375 wpa_s->next_scan_freqs = freqs; in wnm_fetch_scan_results() 1274 int *freqs; wnm_set_scan_freqs() local
|
/freebsd-src/usr.sbin/powerd/ |
H A D | powerd.c | 96 static int read_freqs(int *numfreqs, int **freqs, int **power, 205 read_freqs(int *numfreqs, int **freqs, int **power, int minfreq, int maxfreq) in read_freqs() 225 if ((*freqs = malloc(*numfreqs * sizeof(int))) == NULL) { in read_freqs() 231 free(*freqs); in read_freqs() 238 if (sscanf(p, "%d/%d", &(*freqs)[j], &(*power)[i]) != 2) { in read_freqs() 240 free(*freqs); in read_freqs() 244 if (((*freqs)[j] >= minfreq || minfreq == -1) && in read_freqs() 245 ((*freqs)[j] <= maxfreq || maxfreq == -1)) in read_freqs() 251 if ((*freqs = realloc(*freqs, *numfreq in get_freq() 192 read_freqs(int * numfreqs,int ** freqs,int ** power,int minfreq,int maxfreq) read_freqs() argument 277 get_freq_id(int freq,int * freqs,int numfreqs) get_freq_id() argument 491 int freq, curfreq, initfreq, *freqs, i, j, *mwatts, numfreqs, load; global() local [all...] |
/freebsd-src/sys/contrib/zstd/lib/dictBuilder/ |
H A D | fastcover.c | 135 U32 *freqs; member 157 U32 *freqs, U32 begin, U32 end, in FASTCOVER_selectSegment() argument 185 activeSegment.score += freqs[idx]; in FASTCOVER_selectSegment() 197 activeSegment.score -= freqs[delIndex]; 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() 284 FASTCOVER_computeFrequency(U32* freqs, const FASTCOVER_ctx_t* ctx) in FASTCOVER_computeFrequency() argument 298 freqs[dmerIndex]++; in FASTCOVER_computeFrequency() 382 ctx->freqs = (U32*)calloc(((U64)1 << f), sizeof(U32)); in FASTCOVER_ctx_init() [all …]
|
H A D | cover.c | 229 U32 *freqs; member 413 static COVER_segment_t COVER_selectSegment(const COVER_ctx_t *ctx, U32 *freqs, in COVER_selectSegment() argument 443 activeSegment.score += freqs[newDmer]; in COVER_selectSegment() 458 activeSegment.score -= freqs[delDmer]; in COVER_selectSegment() 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() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BlockFrequencyInfoImpl.cpp | 295 std::vector<FrequencyData>().swap(Freqs); in clear() 303 /// Releases all memory not used downstream. In particular, saves Freqs. 305 std::vector<FrequencyData> SavedFreqs(std::move(BFI.Freqs)); in cleanup() 308 BFI.Freqs = std::move(SavedFreqs); in cleanup() 502 for (size_t Index = 0; Index < BFI.Freqs.size(); ++Index) { in convertFloatingToInteger() 503 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger() 504 BFI.Freqs[Index].Integer = std::max(UINT64_C(1), Scaled.toInt<uint64_t>()); in convertFloatingToInteger() 506 << BFI.Freqs[Index].Scaled << ", scaled = " << Scaled in convertFloatingToInteger() 507 << ", int = " << BFI.Freqs[Index].Integer << "\n"); in convertFloatingToInteger() 529 : BFI.Freqs[ in unwrapLoop() [all...] |
/freebsd-src/contrib/wpa/src/drivers/ |
H A D | driver_nl80211_scan.c | 232 if (params->freqs) { in nl80211_scan_common() 233 struct nlattr *freqs; in nl80211_scan_common() 234 freqs = nla_nest_start(msg, NL80211_ATTR_SCAN_FREQUENCIES); in nl80211_scan_common() 235 if (freqs == NULL) in nl80211_scan_common() 237 for (i = 0; params->freqs[i]; i++) { in nl80211_scan_common() 239 "MHz", params->freqs[i]); in nl80211_scan_common() 240 if (nla_put_u32(msg, i + 1, 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() 219 struct nlattr *freqs; nl80211_scan_common() local 1138 struct nlattr *freqs; wpa_driver_nl80211_vendor_scan() local [all...] |
H A D | driver_privsep.c | 120 params->freqs && params->freqs[i]; i++) in wpa_driver_privsep_scan() 121 scan.freqs[i] = params->freqs[i]; in wpa_driver_privsep_scan()
|
/freebsd-src/contrib/wpa/src/ap/ |
H A D | hw_features.c | 438 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_5g() 439 if (params->freqs == NULL) in ieee80211n_scan_channels_5g() 450 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_5g() 479 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ap_ht40_scan_retry() 480 if (params->freqs == NULL) in ap_ht40_scan_retry() 491 params->freqs[pos++] = chan->freq; in ap_ht40_scan_retry() 517 os_free(params.freqs); in ieee80211n_check_40mhz() 572 os_free(params.freqs); in ieee80211n_supported_ht_capab()
|
H A D | acs.c | 1410 params.freqs = os_calloc(num_channels + 1, sizeof(params.freqs[0])); 1411 if (params.freqs == NULL) 1414 freq = params.freqs; 1424 if (params.freqs == freq) { 1426 os_free(params.freqs); 1442 os_free(params.freqs);
|
/freebsd-src/usr.bin/caesar/ |
H A D | caesar.c | 101 * now "dot" the freqs with the observed letter freqs in main()
|
/freebsd-src/sys/x86/cpufreq/ |
H A D | est.c | 859 static int est_acpi_info(device_t dev, freq_info **freqs, 861 static int est_table_info(device_t dev, uint64_t msr, freq_info **freqs, 863 static int est_msr_info(device_t dev, uint64_t msr, freq_info **freqs, 1058 est_acpi_info(device_t dev, freq_info **freqs, size_t *freqslen) in est_acpi_info() argument 1112 *freqs = table; in est_acpi_info() 1125 est_table_info(device_t dev, uint64_t msr, freq_info **freqs, size_t *freqslen) in est_table_info() argument 1145 *freqs = p->freqtab; in est_table_info() 1169 est_msr_info(device_t dev, uint64_t msr, freq_info **freqs, size_t *freqslen) in est_msr_info() argument 1197 /* Fill out a new freq table containing just the high and low freqs. */ in est_msr_info() 1231 *freqs = fp; in est_msr_info()
|
/freebsd-src/contrib/dialog/samples/copifuncs/ |
H A D | copi.ifmcfg4 | 13 # "[No]WaZOO", "[No]Freqs", "[No]Zmodem", "[No]ZedZap", "[No]Janus",
|
/freebsd-src/contrib/wpa/src/common/ |
H A D | privsep_commands.h | 40 u16 freqs[PRIVSEP_MAX_SCAN_FREQS]; member
|
H A D | ieee802_11_common.c | 1934 case 128: /* center freqs 42, 58, 106, 122, 138, 155, 171; 80 MHz */ in ieee80211_phy_type_by_freq() 1935 case 130: /* center freqs 42, 58, 106, 122, 138, 155, 171; 80 MHz */ in ieee80211_phy_type_by_freq() 1939 case 129: /* center freqs 50, 114, 163; 160 MHz */ in ieee80211_phy_type_by_freq() 3233 case 128: /* center freqs 42, 58, 106, 122, 138, 155, 171; 80 MHz */ 3235 case 129: /* center freqs 50, 114, 163; 160 MHz */ 3237 case 130: /* center freqs 42, 58, 106, 122, 138, 155, 171; 80+80 MHz */ 3296 case 128: /* center freqs 42, 58, 106, 122, 138, 155, 171; 80 MHz */ 3298 case 129: /* center freqs 50, 114, 163; 160 MHz */ 3300 case 130: /* center freqs 42, 58, 106, 122, 138, 155, 171; 80+80 MHz */
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | BlockFrequencyInfoImpl.h | 422 std::vector<FrequencyData> Freqs; variable 537 assert(!Freqs.empty()); in getEntryFreq() 538 return BlockFrequency(Freqs[0].Integer); in getEntryFreq() 1041 // We don't erase corresponding items from `Freqs`, `RPOT` and other to 1151 // by the size of Freqs. 1152 BlockNode NewNode(Freqs.size()); 1154 Freqs.emplace_back(); 1179 Freqs.resize(RPOT.size()); 1413 Freqs[Node.Index].Scaled = Freq[BlockIndex[&BB]]; 1415 Freqs[Nod [all...] |
/freebsd-src/sys/contrib/device-tree/Bindings/devfreq/ |
H A D | nvidia,tegra30-actmon.yaml | 63 Should contain freqs and voltages and opp-supported-hw property, which
|
/freebsd-src/sys/contrib/device-tree/Bindings/media/ |
H A D | nvidia,tegra-vde.yaml | 73 Should contain freqs and voltages and opp-supported-hw property,
|
/freebsd-src/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers.c | 1501 int *freqs = NULL, *nfreqs; in wpas_dbus_handler_scan() 1542 os_free(freqs); in wpas_dbus_handler_scan() 1556 os_free(freqs); in wpas_dbus_handler_scan() 1565 freqs, freqs_num + FREQS_ALLOC_CHUNK, in wpas_dbus_handler_scan() 1568 os_free(freqs); in wpas_dbus_handler_scan() 1569 freqs = nfreqs; in wpas_dbus_handler_scan() 1571 if (freqs == NULL) { in wpas_dbus_handler_scan() 1576 freqs[freqs_num] = freq; in wpas_dbus_handler_scan() 1582 nfreqs = os_realloc_array(freqs, freqs_num + 1, sizeof(int)); in wpas_dbus_handler_scan() 1584 os_free(freqs); in wpas_dbus_handler_scan() 1350 int *freqs = NULL, *nfreqs; wpas_dbus_get_scan_channels() local [all...] |