/freebsd-src/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_radio.c | 28 0x101479e, /* Freq 2412 - (128 << 17) + 83870 */ 29 0x101d027, /* Freq 2417 - (128 << 17) + 118823 */ 30 0x10258af, /* Freq 2422 - (129 << 17) + 22703 */ 31 0x102e138, /* Freq 2427 - (129 << 17) + 57656 */ 32 0x10369c0, /* Freq 2432 - (129 << 17) + 92608 */ 33 0x103f249, /* Freq 2437 - (129 << 17) + 127561 */ 34 0x1047ad1, /* Freq 2442 - (130 << 17) + 31441 */ 35 0x105035a, /* Freq 2447 - (130 << 17) + 66394 */ 36 0x1058be2, /* Freq 2452 - (130 << 17) + 101346 */ 37 0x106146b, /* Freq 2457 - (131 << 17) + 5227 */ [all …]
|
/freebsd-src/sys/dev/clk/rockchip/ |
H A D | rk3399_pmucru.c | 140 .freq = 2208000000, 148 .freq = 2184000000, 156 .freq = 2160000000, 164 .freq = 2136000000, 172 .freq = 2112000000, 180 .freq = 2088000000, 188 .freq = 2064000000, 196 .freq = 2040000000, 204 .freq = 2016000000, 212 .freq = 1992000000, [all …]
|
H A D | rk_clk_pll.c | 156 rk3066_clk_pll_recalc(struct clknode *clk, uint64_t *freq) in rk3066_clk_pll_recalc() argument 180 *freq = 0; in rk3066_clk_pll_recalc() 195 rate = *freq * fbdiv; in rk3066_clk_pll_recalc() 197 *freq = rate / postdiv; in rk3066_clk_pll_recalc() 216 for (rates = sc->rates; rates->freq; rates++) { in rk3066_clk_pll_set_freq() 217 if (rates->freq == *fout) in rk3066_clk_pll_set_freq() 220 if (rates->freq == 0) { in rk3066_clk_pll_set_freq() 377 rk3328_clk_pll_recalc(struct clknode *clk, uint64_t *freq) in rk3328_clk_pll_recalc() argument 404 rate = *freq * fbdiv / refdiv; in rk3328_clk_pll_recalc() 409 frac_rate = *freq * frac / refdiv; in rk3328_clk_pll_recalc() [all …]
|
/freebsd-src/sys/kern/ |
H A D | kern_cpu.c | 172 sc->curr_level.total_set.freq = CPUFREQ_VAL_UNKNOWN; in cpufreq_attach() 174 /* Try to get nominal CPU freq to use it as maximum later if needed */ in cpufreq_attach() 192 OID_AUTO, "freq", CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, in cpufreq_attach() 305 CF_DEBUG("restoring saved level, freq %d prio %d\n", in cf_set_method() 306 level->total_set.freq, priority); in cf_set_method() 310 if (level->total_set.freq < cf_lowest_freq) { in cf_set_method() 311 CF_DEBUG("rejecting freq %d, less than %d limit\n", in cf_set_method() 312 level->total_set.freq, cf_lowest_freq); in cf_set_method() 318 if (sc->curr_level.total_set.freq == level->total_set.freq) { in cf_set_method() 435 int i, freq; cpufreq_get_level() local 938 int best, count, diff, bdiff, devcount, error, freq, i, n; cpufreq_curr_sysctl() local [all...] |
/freebsd-src/sys/dev/cpufreq/ |
H A D | cpufreq_dt.c | 61 uint64_t freq; member 86 cpufreq_dt_notify(device_t dev, uint64_t freq) in cpufreq_dt_notify() argument 97 pc->pc_clock = freq; in cpufreq_dt_notify() 103 cpufreq_dt_find_opp(device_t dev, uint64_t freq) in cpufreq_dt_find_opp() argument 113 DPRINTF(dev, "Looking for freq %ju\n", freq); in cpufreq_dt_find_opp() 115 diff = abs64((int64_t)sc->opp[n].freq - (int64_t)freq); in cpufreq_dt_find_opp() 116 DPRINTF(dev, "Testing %ju, diff is %ju\n", sc->opp[n].freq, diff); in cpufreq_dt_find_opp() 120 DPRINTF(dev, "%ju is best for now\n", sc->opp[n].freq); in cpufreq_dt_find_opp() 146 uint64_t freq; cpufreq_dt_get() local 171 uint64_t freq; cpufreq_dt_set() local 478 uint64_t freq; cpufreq_dt_attach() local [all...] |
/freebsd-src/sys/contrib/device-tree/Bindings/cpufreq/ |
H A D | cpufreq-qcom-hw.txt | 32 "freq-domain0", "freq-domain1". 34 - #freq-domain-cells: 38 * Property qcom,freq-domain 39 Devices supporting freq-domain must set their "qcom,freq-domain" property with 59 qcom,freq-domain = <&cpufreq_hw 0>; 75 qcom,freq-domain = <&cpufreq_hw 0>; 88 qcom,freq-domain = <&cpufreq_hw 0>; 101 qcom,freq-domain = <&cpufreq_hw 0>; 114 qcom,freq-domain = <&cpufreq_hw 1>; 127 qcom,freq-domain = <&cpufreq_hw 1>; [all …]
|
H A D | cpufreq-qcom-hw.yaml | 61 - const: freq-domain0 62 - const: freq-domain1 63 - const: freq-domain2 64 - const: freq-domain3 88 '#freq-domain-cells': 99 - '#freq-domain-cells' 227 qcom,freq-domain = <&cpufreq_hw 0>; 248 qcom,freq-domain = <&cpufreq_hw 0>; 264 qcom,freq-domain = <&cpufreq_hw 0>; 280 qcom,freq [all...] |
/freebsd-src/sys/arm64/nvidia/tegra210/ |
H A D | tegra210_cpufreq.c | 50 uint64_t freq; /* Frequency point */ member 66 uint64_t freq; /* Frequecy */ member 179 freq_to_voltage(struct tegra210_cpufreq_softc *sc, uint64_t freq) in freq_to_voltage() argument 188 if (sc->cpu_def->speedo_tbl[i].freq >= freq) { in freq_to_voltage() 225 sc->speed_points[i].freq = cpu_freq_tbl[i]; in build_speed_points() 232 get_speed_point(struct tegra210_cpufreq_softc *sc, uint64_t freq) in get_speed_point() argument 236 if (sc->speed_points[0].freq >= freq) in get_speed_point() 240 if (sc->speed_points[i + 1].freq > freq) in get_speed_point() 260 if (sc->cpu_max_freq < sc->speed_points[j].freq) in tegra210_cpufreq_settings() 262 sets[i].freq = sc->speed_points[j].freq / 1000000; in tegra210_cpufreq_settings() [all …]
|
/freebsd-src/usr.sbin/powerd/ |
H A D | powerd.c | 98 static int set_freq(int freq); 278 set_freq(int freq) in get_freq_id() 281 if (sysctl(freq_mib, 4, NULL, NULL, &freq, sizeof(freq))) { in get_freq_id() 290 get_freq_id(int freq, int *freqs, int numfreqs) 295 if (freqs[i] < freq) in acline_init() 567 "usage: powerd [-v] [-a mode] [-b mode] [-i %%] [-m freq] [-M freq] [-N] [-n mode] [-p ival] [-r %%] [-s source] [-P pidfile]\n"); 579 int freq, curfreq, initfreq, *freqs, i, j, *mwatts, numfreqs, load; 676 if (sysctlnametomib("dev.cpu.0.freq", freq_mi 265 set_freq(int freq) set_freq() 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/contrib/wpa/src/ap/ |
H A D | dfs.c | 159 dfs_get_chan_data(struct hostapd_hw_modes *mode, int freq, int first_chan_idx) in dfs_chan_range_available() 164 if (mode->channels[i].freq == freq) in dfs_chan_range_available() 197 chan = dfs_get_chan_data(mode, first_chan->freq + i * 20, in is_in_chanlist() 201 first_chan->freq + i * 20); 209 first_chan->freq + i * 20); in dfs_find_channel() 215 first_chan->freq + i * 20); in dfs_find_channel() 263 chan->freq, chan->chan); in dfs_find_channel() 271 chan->freq, chan->chan); in dfs_adjust_center_freq() 278 chan->freq, cha in dfs_adjust_center_freq() 126 dfs_get_chan_data(struct hostapd_hw_modes * mode,int freq,int first_chan_idx) dfs_get_chan_data() argument 571 set_dfs_state_freq(struct hostapd_iface * iface,int freq,u32 state) set_dfs_state_freq() argument 597 set_dfs_state(struct hostapd_iface * iface,int freq,int ht_enabled,int chan_offset,int chan_width,int cf1,int cf2,u32 state) set_dfs_state() argument 663 dfs_are_channels_overlapped(struct hostapd_iface * iface,int freq,int chan_width,int cf1,int cf2) dfs_are_channels_overlapped() argument 879 hostapd_dfs_complete_cac(struct hostapd_iface * iface,int success,int freq,int ht_enabled,int chan_offset,int chan_width,int cf1,int cf2) hostapd_dfs_complete_cac() argument 921 hostapd_dfs_pre_cac_expired(struct hostapd_iface * iface,int freq,int ht_enabled,int chan_offset,int chan_width,int cf1,int cf2) hostapd_dfs_pre_cac_expired() argument 1171 hostapd_dfs_radar_detected(struct hostapd_iface * iface,int freq,int ht_enabled,int chan_offset,int chan_width,int cf1,int cf2) hostapd_dfs_radar_detected() argument 1206 hostapd_dfs_nop_finished(struct hostapd_iface * iface,int freq,int ht_enabled,int chan_offset,int chan_width,int cf1,int cf2) hostapd_dfs_nop_finished() argument 1258 hostapd_dfs_start_cac(struct hostapd_iface * iface,int freq,int ht_enabled,int chan_offset,int chan_width,int cf1,int cf2) hostapd_dfs_start_cac() argument [all...] |
H A D | dpp_hostapd.c | 70 " freq=%u type=%d", in hostapd_dpp_qr_code() 182 " freq=%u type=%d", 227 static int hostapd_dpp_allow_ir(struct hostapd_data *hapd, unsigned int freq) in hostapd_dpp_tx_status() 240 if (chan->freq != (int) freq) in hostapd_dpp_tx_status() 254 freq); in hostapd_dpp_tx_status() 263 if (pkex->freq == 2437) in hostapd_dpp_tx_status() 264 pkex->freq = 5745; in hostapd_dpp_tx_status() 265 else if (pkex->freq == 5745) in hostapd_dpp_tx_status() 266 pkex->freq in hostapd_dpp_tx_status() 327 unsigned int freq; hostapd_dpp_reply_wait_timeout() local 447 unsigned int wait_time, max_wait_time, freq, max_tries, used; hostapd_dpp_auth_init_next() local 679 int freq; hostapd_dpp_listen() local 716 hostapd_dpp_rx_auth_req(struct hostapd_data * hapd,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) hostapd_dpp_rx_auth_req() argument 1047 hostapd_dpp_rx_auth_resp(struct hostapd_data * hapd,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) hostapd_dpp_rx_auth_resp() argument 1252 hostapd_dpp_rx_presence_announcement(struct hostapd_data * hapd,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) hostapd_dpp_rx_presence_announcement() argument 1337 hostapd_dpp_rx_reconfig_announcement(struct hostapd_data * hapd,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) hostapd_dpp_rx_reconfig_announcement() argument 1431 hostapd_dpp_rx_reconfig_auth_resp(struct hostapd_data * hapd,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) hostapd_dpp_rx_reconfig_auth_resp() argument 1475 hostapd_dpp_send_peer_disc_resp(struct hostapd_data * hapd,const u8 * src,unsigned int freq,u8 trans_id,enum dpp_status_error status) hostapd_dpp_send_peer_disc_resp() argument 1603 hostapd_dpp_rx_peer_disc_req(struct hostapd_data * hapd,const u8 * src,const u8 * buf,size_t len,unsigned int freq) hostapd_dpp_rx_peer_disc_req() argument 1716 hostapd_dpp_rx_pkex_exchange_req(struct hostapd_data * hapd,const u8 * src,const u8 * buf,size_t len,unsigned int freq,bool v2) hostapd_dpp_rx_pkex_exchange_req() argument 1770 hostapd_dpp_rx_pkex_exchange_resp(struct hostapd_data * hapd,const u8 * src,const u8 * buf,size_t len,unsigned int freq) hostapd_dpp_rx_pkex_exchange_resp() argument 1807 hostapd_dpp_rx_pkex_commit_reveal_req(struct hostapd_data * hapd,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) hostapd_dpp_rx_pkex_commit_reveal_req() argument 1855 hostapd_dpp_rx_pkex_commit_reveal_resp(struct hostapd_data * hapd,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) hostapd_dpp_rx_pkex_commit_reveal_resp() argument 1896 hostapd_dpp_rx_action(struct hostapd_data * hapd,const u8 * src,const u8 * buf,size_t len,unsigned int freq) hostapd_dpp_rx_action() argument 2247 hostapd_dpp_relay_tx(void * ctx,const u8 * addr,unsigned int freq,const u8 * msg,size_t len) hostapd_dpp_relay_tx() argument [all...] |
/freebsd-src/contrib/wpa/src/common/ |
H A D | hw_features_common.c | 20 int chan, int *freq) in hw_get_channel_chan() argument 24 if (freq) in hw_get_channel_chan() 25 *freq = 0; in hw_get_channel_chan() 33 if (freq) in hw_get_channel_chan() 34 *freq = ch->freq; in hw_get_channel_chan() 44 hw_mode_get_channel(struct hostapd_hw_modes *mode, int freq, int *chan) in hw_mode_get_channel() argument 51 if (ch->freq == freq) { in hw_mode_get_channel() 63 hw_get_channel_freq(enum hostapd_hw_mode mode, int freq, in argument 92 int freq; hw_get_freq() local 100 hw_get_chan(enum hostapd_hw_mode mode,int freq,struct hostapd_hw_modes * hw_features,int num_hw_features) hw_get_chan() argument 383 hostapd_set_freq_params(struct hostapd_freq_params * data,enum hostapd_hw_mode mode,int freq,int channel,int enable_edmg,u8 edmg_channel,int ht_enabled,int vht_enabled,int he_enabled,int sec_channel_offset,int oper_chwidth,int center_segment0,int center_segment1,u32 vht_caps,struct he_capabilities * he_cap) hostapd_set_freq_params() argument [all...] |
/freebsd-src/contrib/libarchive/libarchive/ |
H A D | archive_ppmd8.c | 373 s->Freq = 1; in RestartModel() 423 escFreq = ctx->SummFreq - s->Freq; in Refresh() 424 sumFreq = (s->Freq = (Byte)((s->Freq + scale) >> scale)); in Refresh() 427 escFreq -= (++s)->Freq; in Refresh() 428 sumFreq += (s->Freq = (Byte)((s->Freq + scale) >> scale)); in Refresh() 494 /* 9.31: the code was fixed. It's was not BUG, if Freq <= MAX_FREQ = 124 */ in CutOff() 495 ONE_STATE(ctx)->Freq = (Byte)(((unsigned)ONE_STATE(ctx)->Freq in CutOff() [all...] |
H A D | archive_ppmd7.c | 22 &p->BinSumm[Ppmd7Context_OneState(p->MinContext)->Freq - 1][p->PrevSuccess + \ 344 s->Freq = 1; in RestartModel() 412 upState.Freq = ONE_STATE(c)->Freq; in CreateSuccessors() 418 cf = s->Freq - 1; in CreateSuccessors() 420 upState.Freq = (Byte)(1 + ((2 * cf <= s0) ? (5 * cf > s0) : ((2 * cf + 3 * s0 - 1) / (2 * s0)))); in CreateSuccessors() 460 if (p->FoundState->Freq < MAX_FREQ / 4 && p->MinContext->Suffix != 0) in UpdateModel() 467 if (s->Freq < 32) in UpdateModel() 468 s->Freq++; in UpdateModel() 476 if (s[0].Freq > in UpdateModel() [all...] |
/freebsd-src/sys/dev/clk/starfive/ |
H A D | jh7110_clk_pll.h | 53 uint64_t freq; member 108 .freq = PLL0_FREQ_375_VALUE, 116 .freq = PLL0_FREQ_500_VALUE, 124 .freq = PLL0_FREQ_625_VALUE, 132 .freq = PLL0_FREQ_750_VALUE, 140 .freq = PLL0_FREQ_875_VALUE, 148 .freq = PLL0_FREQ_1000_VALUE, 156 .freq = PLL0_FREQ_1250_VALUE, 164 .freq = PLL0_FREQ_1375_VALUE, 172 .freq = PLL0_FREQ_1500_VALUE, [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RegAllocScore.h | 47 void onCopy(double Freq) { CopyCounts += Freq; } in onCopy() argument 48 void onLoad(double Freq) { LoadCounts += Freq; } in onLoad() argument 49 void onStore(double Freq) { StoreCounts += Freq; } in onStore() argument 50 void onLoadStore(double Freq) { LoadStoreCounts += Freq; } in onLoadStore() argument 51 void onExpensiveRemat(double Freq) { ExpensiveRematCounts += Freq; } in onExpensiveRemat() argument 52 void onCheapRemat(double Freq) { CheapRematCounts += Freq; } in onCheapRemat() argument
|
/freebsd-src/sys/arm/nvidia/tegra124/ |
H A D | tegra124_cpufreq.c | 51 uint64_t freq; /* Frequency point */ member 67 uint64_t freq; /* Frequecy */ member 222 freq_to_voltage(struct tegra124_cpufreq_softc *sc, uint64_t freq) in freq_to_voltage() argument 231 if (sc->cpu_def->speedo_tbl[i].freq >= freq) { in freq_to_voltage() 267 sc->speed_points[i].freq = cpu_freq_tbl[i]; in build_speed_points() 274 get_speed_point(struct tegra124_cpufreq_softc *sc, uint64_t freq) in get_speed_point() argument 278 if (sc->speed_points[0].freq >= freq) in get_speed_point() 282 if (sc->speed_points[i + 1].freq > freq) in get_speed_point() 302 if (sc->cpu_max_freq < sc->speed_points[j].freq) in tegra124_cpufreq_settings() 304 sets[i].freq = sc->speed_points[j].freq / 1000000; in tegra124_cpufreq_settings() [all …]
|
/freebsd-src/contrib/wpa/wpa_supplicant/ |
H A D | dpp_supplicant.c | 35 unsigned int freq); 40 unsigned int freq, const u8 *dst, 48 unsigned int freq, const u8 *dst, 89 " freq=%u type=%d", in wpas_dpp_qr_code() 204 " freq=%u type=%d", in wpas_dpp_auth_resp_retry_timeout() 273 unsigned int freq, in wpas_dpp_stop_listen_for_tx() 289 if (wpa_s->dpp_listen_freq == freq && remaining > wait_time) 294 wpa_s->dpp_listen_freq, remaining, freq, wait_time); in wpas_dpp_conn_status_result_timeout() 424 DPP_EVENT_TX "dst=" MACSTR " freq=%u type=%d", 502 unsigned int freq, cons in wpas_dpp_tx_status() 263 wpas_dpp_stop_listen_for_tx(struct wpa_supplicant * wpa_s,unsigned int freq,unsigned int wait_time) wpas_dpp_stop_listen_for_tx() argument 427 wpas_dpp_tx_status(struct wpa_supplicant * wpa_s,unsigned int freq,const u8 * dst,const u8 * src,const u8 * bssid,const u8 * data,size_t data_len,enum offchannel_send_action_result result) wpas_dpp_tx_status() argument 548 unsigned int freq; wpas_dpp_reply_wait_timeout() local 661 unsigned int wait_time, max_wait_time, freq, max_tries, used; wpas_dpp_auth_init_next() local 888 unsigned int freq; global() member 951 wpas_dpp_listen_start(struct wpa_supplicant * wpa_s,unsigned int freq) wpas_dpp_listen_start() argument 982 int freq; wpas_dpp_listen() local 1029 wpas_dpp_remain_on_channel_cb(struct wpa_supplicant * wpa_s,unsigned int freq,unsigned int duration) wpas_dpp_remain_on_channel_cb() argument 1047 wpas_dpp_cancel_remain_on_channel_cb(struct wpa_supplicant * wpa_s,unsigned int freq) wpas_dpp_cancel_remain_on_channel_cb() argument 1075 wpas_dpp_rx_auth_req(struct wpa_supplicant * wpa_s,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) wpas_dpp_rx_auth_req() argument 1789 wpas_dpp_rx_auth_resp(struct wpa_supplicant * wpa_s,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) wpas_dpp_rx_auth_resp() argument 2043 wpas_dpp_rx_presence_announcement(struct wpa_supplicant * wpa_s,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) wpas_dpp_rx_presence_announcement() argument 2124 wpas_dpp_rx_reconfig_announcement(struct wpa_supplicant * wpa_s,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) wpas_dpp_rx_reconfig_announcement() argument 2217 wpas_dpp_rx_reconfig_auth_req(struct wpa_supplicant * wpa_s,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) wpas_dpp_rx_reconfig_auth_req() argument 2276 wpas_dpp_rx_reconfig_auth_resp(struct wpa_supplicant * wpa_s,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) wpas_dpp_rx_reconfig_auth_resp() argument 2321 wpas_dpp_rx_reconfig_auth_conf(struct wpa_supplicant * wpa_s,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) wpas_dpp_rx_reconfig_auth_conf() argument 2504 wpas_dpp_allow_ir(struct wpa_supplicant * wpa_s,unsigned int freq) wpas_dpp_allow_ir() argument 2596 wpas_dpp_tx_pkex_status(struct wpa_supplicant * wpa_s,unsigned int freq,const u8 * dst,const u8 * src,const u8 * bssid,const u8 * data,size_t data_len,enum offchannel_send_action_result result) wpas_dpp_tx_pkex_status() argument 2643 wpas_dpp_rx_pkex_exchange_req(struct wpa_supplicant * wpa_s,const u8 * src,const u8 * buf,size_t len,unsigned int freq,bool v2) wpas_dpp_rx_pkex_exchange_req() argument 2694 wpas_dpp_rx_pkex_exchange_resp(struct wpa_supplicant * wpa_s,const u8 * src,const u8 * buf,size_t len,unsigned int freq) wpas_dpp_rx_pkex_exchange_resp() argument 2738 wpas_dpp_pkex_finish(struct wpa_supplicant * wpa_s,const u8 * peer,unsigned int freq) wpas_dpp_pkex_finish() argument 2753 wpas_dpp_rx_pkex_commit_reveal_req(struct wpa_supplicant * wpa_s,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) wpas_dpp_rx_pkex_commit_reveal_req() argument 2801 wpas_dpp_rx_pkex_commit_reveal_resp(struct wpa_supplicant * wpa_s,const u8 * src,const u8 * hdr,const u8 * buf,size_t len,unsigned int freq) wpas_dpp_rx_pkex_commit_reveal_resp() argument 2842 wpas_dpp_rx_action(struct wpa_supplicant * wpa_s,const u8 * src,const u8 * buf,size_t len,unsigned int freq) wpas_dpp_rx_action() argument 3100 wpas_dpp_tx_introduction_status(struct wpa_supplicant * wpa_s,unsigned int freq,const u8 * dst,const u8 * src,const u8 * bssid,const u8 * data,size_t data_len,enum offchannel_send_action_result result) wpas_dpp_tx_introduction_status() argument 3526 wpas_dpp_chirp_tx_status(struct wpa_supplicant * wpa_s,unsigned int freq,const u8 * dst,const u8 * src,const u8 * bssid,const u8 * data,size_t data_len,enum offchannel_send_action_result result) wpas_dpp_chirp_tx_status() argument [all...] |
H A D | p2p_supplicant.c | 125 static int wpas_p2p_join_start(struct wpa_supplicant *wpa_s, int freq, 127 static int wpas_p2p_setup_freqs(struct wpa_supplicant *wpa_s, int freq, 131 static void wpas_p2p_join_scan_req(struct wpa_supplicant *wpa_s, int freq, 136 int auto_join, int freq, 159 static int wpas_p2p_go_is_peer_freq(struct wpa_supplicant *wpa_s, int freq); 166 unsigned int freq); 227 if (p2p_supported_freq(wpa_s->global->p2p, freqs[i].freq)) in wpas_p2p_valid_oper_freqs() 240 int freq) in wpas_p2p_set_own_freq_preference() 249 freq > 0 && wpa_s->num_multichan_concurrent > 1 && in wpas_p2p_set_own_freq_preference() 252 freq); in wpas_p2p_set_own_freq_preference() 237 wpas_p2p_set_own_freq_preference(struct wpa_supplicant * wpa_s,int freq) wpas_p2p_set_own_freq_preference() argument 391 wpas_p2p_search_social_channel(struct wpa_supplicant * wpa_s,int freq) wpas_p2p_search_social_channel() argument 406 wpas_p2p_scan(void * ctx,enum p2p_scan_type type,int freq,unsigned int num_req_dev_types,const u8 * req_dev_types,const u8 * dev_id,u16 pw_id,bool include_6ghz) wpas_p2p_scan() argument 1321 wpas_p2p_group_started(struct wpa_supplicant * wpa_s,int go,struct wpa_ssid * ssid,int freq,const u8 * psk,const char * passphrase,const u8 * go_dev_addr,int persistent,const char * extra) wpas_p2p_group_started() argument 1465 unsigned int freq; global() member 1537 wpas_p2p_send_action_tx_status(struct wpa_supplicant * wpa_s,unsigned int freq,const u8 * dst,const u8 * src,const u8 * bssid,const u8 * data,size_t data_len,enum offchannel_send_action_result result) wpas_p2p_send_action_tx_status() argument 1611 wpas_send_action_work(struct wpa_supplicant * wpa_s,unsigned int freq,const u8 * dst,const u8 * src,const u8 * bssid,const u8 * buf,size_t len,unsigned int wait_time) wpas_send_action_work() argument 1644 wpas_send_action(void * ctx,unsigned int freq,const u8 * dst,const u8 * src,const u8 * bssid,const u8 * buf,size_t len,unsigned int wait_time,int * scheduled) wpas_send_action() argument 1957 wpas_p2p_freq_to_edmg_channel(struct wpa_supplicant * wpa_s,unsigned int freq,u8 * op_class,u8 * op_edmg_channel) wpas_p2p_freq_to_edmg_channel() argument 2005 int freq; wpas_p2p_try_edmg_channel() local 2624 unsigned int freq; global() member 2704 wpas_start_listen(void * ctx,unsigned int freq,unsigned int duration,const struct wpabuf * probe_resp_ie) wpas_start_listen() argument 2761 wpas_send_probe_resp(void * ctx,const struct wpabuf * buf,unsigned int freq) wpas_send_probe_resp() argument 2950 freq_included(struct wpa_supplicant * wpa_s,const struct p2p_channels * channels,unsigned int freq) freq_included() argument 2989 wpas_p2p_go_is_peer_freq(struct wpa_supplicant * wpa_s,int freq) wpas_p2p_go_is_peer_freq() argument 3385 int freq; wpas_invitation_result() local 3498 wpas_p2p_disallowed_freq(struct wpa_global * global,unsigned int freq) wpas_p2p_disallowed_freq() argument 3580 unsigned int freq; has_channel() local 4237 wpas_get_go_info(void * ctx,u8 * intended_addr,u8 * ssid,size_t * ssid_len,int * group_iface,unsigned int * freq) wpas_get_go_info() argument 4362 wpas_p2ps_prov_complete(void * ctx,u8 status,const u8 * dev,const u8 * adv_mac,const u8 * ses_mac,const u8 * grp_mac,u32 adv_id,u32 ses_id,u8 conncap,int passwd_id,const u8 * persist_ssid,size_t persist_ssid_size,int response_done,int prov_start,const char * session_info,const u8 * feat_cap,size_t feat_cap_len,unsigned int freq,const u8 * group_ssid,size_t group_ssid_len) wpas_p2ps_prov_complete() argument 4673 unsigned int freq; wpas_prov_disc_resp_cb() local 5158 wpas_check_freq_conflict(struct wpa_supplicant * wpa_s,int freq) wpas_check_freq_conflict() argument 5225 int freq; wpas_p2p_scan_res_join() local 5454 wpas_p2p_join_scan_req(struct wpa_supplicant * wpa_s,int freq,const u8 * ssid,size_t ssid_len) wpas_p2p_join_scan_req() argument 5597 wpas_p2p_join_start(struct wpa_supplicant * wpa_s,int freq,const u8 * ssid,size_t ssid_len) wpas_p2p_join_start() argument 5680 wpas_p2p_setup_freqs(struct wpa_supplicant * wpa_s,int freq,int * force_freq,int * pref_freq,int go,unsigned int * pref_freq_list,unsigned int * num_pref_freq) wpas_p2p_setup_freqs() argument 5851 wpas_p2p_check_6ghz(struct wpa_supplicant * wpa_s,const u8 * peer_addr,bool allow_6ghz,int freq) wpas_p2p_check_6ghz() argument 5899 wpas_p2p_connect(struct wpa_supplicant * wpa_s,const u8 * peer_addr,const char * pin,enum p2p_wps_method wps_method,int persistent_group,int auto_join,int join,int auth,int go_intent,int freq,unsigned int vht_center_freq2,int persistent_id,int pd,int ht40,int vht,unsigned int vht_chwidth,int he,int edmg,const u8 * group_ssid,size_t group_ssid_len,bool allow_6ghz) wpas_p2p_connect() argument 6063 wpas_p2p_remain_on_channel_cb(struct wpa_supplicant * wpa_s,unsigned int freq,unsigned int duration) wpas_p2p_remain_on_channel_cb() argument 6103 wpas_p2p_cancel_remain_on_channel_cb(struct wpa_supplicant * wpa_s,unsigned int freq) wpas_p2p_cancel_remain_on_channel_cb() argument 6189 wpas_p2p_select_go_freq(struct wpa_supplicant * wpa_s,int freq) wpas_p2p_select_go_freq() argument 6318 wpas_p2p_supported_freq_go(struct wpa_supplicant * wpa_s,const struct p2p_channels * channels,int freq) wpas_p2p_supported_freq_go() argument 6408 wpas_p2p_init_go_params(struct wpa_supplicant * wpa_s,struct p2p_go_neg_results * params,int freq,int vht_center_freq2,int ht40,int vht,int max_oper_chwidth,int he,int edmg,const struct p2p_channels * channels) wpas_p2p_init_go_params() argument 6820 wpas_p2p_group_add(struct wpa_supplicant * wpa_s,int persistent_group,int freq,int vht_center_freq2,int ht40,int vht,int max_oper_chwidth,int he,int edmg,bool allow_6ghz) wpas_p2p_group_add() argument 6863 wpas_start_p2p_client(struct wpa_supplicant * wpa_s,struct wpa_ssid * params,int addr_allocated,int freq,int force_scan) wpas_start_p2p_client() argument 6932 int go = 0, freq; wpas_p2p_group_add_persistent() local 7321 wpas_p2p_find(struct wpa_supplicant * wpa_s,unsigned int timeout,enum p2p_discovery_type type,unsigned int num_req_dev_types,const u8 * req_dev_types,const u8 * dev_id,unsigned int search_delay,u8 seek_cnt,const char ** seek_string,int freq,bool include_6ghz) wpas_p2p_find() argument 7505 wpas_p2p_rx_action(struct wpa_supplicant * wpa_s,const u8 * da,const u8 * sa,const u8 * bssid,u8 category,const u8 * data,size_t len,int freq) wpas_p2p_rx_action() argument 7556 wpas_p2p_invite(struct wpa_supplicant * wpa_s,const u8 * peer_addr,struct wpa_ssid * ssid,const u8 * go_dev_addr,int freq,int vht_center_freq2,int ht40,int vht,int max_chwidth,int pref_freq,int he,int edmg,bool allow_6ghz) wpas_p2p_invite() argument 7652 int freq = 0, force_freq = 0, pref_freq = 0; wpas_p2p_invite_group() local 7730 int freq; wpas_p2p_completed() local 8891 wpas_p2p_handle_frequency_conflicts(struct wpa_supplicant * wpa_s,int freq,struct wpa_ssid * ssid) wpas_p2p_handle_frequency_conflicts() argument 9849 int freq; wpas_p2p_consider_moving_one_go() local 10027 wpas_p2p_lo_start(struct wpa_supplicant * wpa_s,unsigned int freq,unsigned int period,unsigned int interval,unsigned int count) wpas_p2p_lo_start() argument [all...] |
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | BlockFrequency.h | 31 explicit BlockFrequency(uint64_t Freq) : Frequency(Freq) {} 51 BlockFrequency &operator+=(BlockFrequency Freq) { 52 uint64_t Before = Freq.Frequency; 53 Frequency += Freq.Frequency; 61 BlockFrequency operator+(BlockFrequency Freq) const { 63 NewFreq += Freq; 68 BlockFrequency &operator-=(BlockFrequency Freq) { 70 if (Frequency <= Freq.Frequency) 73 Frequency -= Freq 30 BlockFrequency(uint64_t Freq) BlockFrequency() argument [all...] |
/freebsd-src/sys/contrib/libsodium/test/default/ |
H A D | randombytes.c | 6 static unsigned long long freq[256]; variable 16 freq[i] = 0; in compat_tests() 19 ++freq[255 & (int) x[i]]; in compat_tests() 22 if (!freq[i]) { in compat_tests() 63 freq[i] = 0; in randombytes_tests() 66 ++freq[randombytes_uniform(256)]; in randombytes_tests() 69 if (!freq[i]) { in randombytes_tests() 81 freq[i] = 0; in randombytes_tests() 84 ++freq[randombytes_uniform(256)]; in randombytes_tests() 87 if (!freq[i]) { in randombytes_tests() [all …]
|
/freebsd-src/sys/gnu/dev/bwn/phy_n/ |
H A D | if_bwn_radio_2055.c | 353 .freq = 4920, /* MHz */ 361 .freq = 4930, /* MHz */ 369 .freq = 4940, /* MHz */ 377 .freq = 4950, /* MHz */ 385 .freq = 4960, /* MHz */ 393 .freq = 4970, /* MHz */ 401 .freq = 4980, /* MHz */ 409 .freq = 4990, /* MHz */ 417 .freq = 5000, /* MHz */ 425 .freq = 5010, /* MHz */ [all …]
|
/freebsd-src/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5413.c | 80 uint16_t freq = ath_hal_gethwchannel(ah, chan); in ar5413SetChannel() local 86 OS_MARK(ah, AH_MARK_SETCHANNEL, freq); in ar5413SetChannel() 88 if (freq < 4800) { in ar5413SetChannel() 91 if (((freq - 2192) % 5) == 0) { in ar5413SetChannel() 92 channelSel = ((freq - 672) * 2 - 3040)/10; in ar5413SetChannel() 94 } else if (((freq - 2224) % 5) == 0) { in ar5413SetChannel() 95 channelSel = ((freq - 704) * 2 - 3040) / 10; in ar5413SetChannel() 100 __func__, freq); in ar5413SetChannel() 108 if (freq == 2484) { in ar5413SetChannel() 116 } else if (((freq % 5) == 2) && (freq <= 5435)) { in ar5413SetChannel() [all …]
|
H A D | ar5112.c | 80 uint16_t freq = ath_hal_gethwchannel(ah, chan); in ar5112SetChannel() local 86 OS_MARK(ah, AH_MARK_SETCHANNEL, freq); in ar5112SetChannel() 88 if (freq < 4800) { in ar5112SetChannel() 91 if (((freq - 2192) % 5) == 0) { in ar5112SetChannel() 92 channelSel = ((freq - 672) * 2 - 3040)/10; in ar5112SetChannel() 94 } else if (((freq - 2224) % 5) == 0) { in ar5112SetChannel() 95 channelSel = ((freq - 704) * 2 - 3040) / 10; in ar5112SetChannel() 100 __func__, freq); in ar5112SetChannel() 108 if (freq == 2484) { in ar5112SetChannel() 116 } else if (((freq % 5) == 2) && (freq <= 5435)) { in ar5112SetChannel() [all …]
|
/freebsd-src/sys/dev/clk/ |
H A D | clk_fixed.c | 53 static int clknode_fixed_recalc(struct clknode *clk, uint64_t *freq); 59 uint64_t freq; member 80 if (sc->freq == 0) in clknode_fixed_init() 86 clknode_fixed_recalc(struct clknode *clk, uint64_t *freq) in clknode_fixed_recalc() argument 93 *freq = (*freq / sc->div) * sc->mult; in clknode_fixed_recalc() 95 *freq = sc->freq; in clknode_fixed_recalc() 109 if (*fout != sc->freq) in clknode_fixed_set_freq() 131 sc->freq in clknode_fixed_register() 184 uint32_t freq; clk_fixed_init_fixed() local [all...] |