Searched refs:freq (Results 201 - 225 of 479) sorted by relevance

1234567891011>>

/freebsd-current/sys/arm/nvidia/
H A Dtegra_ehci.c150 uint64_t freq; local
201 freq = 0;
202 rv = clk_get_freq(sc->clk, &freq);
H A Dtegra_uart.c181 uint64_t freq; local
215 rv = clk_get_freq(sc->clk, &freq);
220 return (uart_bus_probe(dev, shift, 0, (int)freq, 0, 0, 0));
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DSpillPlacement.cpp133 void addBias(BlockFrequency freq, BorderConstraint direction) { argument
138 BiasP += freq;
141 BiasN += freq;
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Devents.c593 ie.pairwise_cipher = wpa_default_rsn_cipher(bss->freq);
595 ie.group_cipher = wpa_default_rsn_cipher(bss->freq);
792 static int freq_allowed(int *freqs, int freq) argument
800 if (freqs[i] == freq)
814 if (bss->freq == 0)
829 int freq = modes[i].channels[j].freq; local
830 if (freq == bss->freq) {
922 " hardware does not support required rate %d.%d Mbps (freq
1070 disabled_freq(struct wpa_supplicant *wpa_s, int freq) argument
4341 wpas_event_rx_mgmt_action(struct wpa_supplicant *wpa_s, const u8 *frame, size_t len, int freq, int rssi) argument
4546 wpas_event_cac_ms(const struct wpa_supplicant *wpa_s, int freq) argument
[all...]
H A Dwps_supplicant.c116 unsigned int freq = wpa_s->assoc_freq; local
123 "(freq=%u)", freq);
133 wpa_s->wps_freq = freq;
1120 int freq)
1129 if (freq) {
1131 wpa_s->wps_freq = freq;
1134 if (bss && bss->freq > 0) {
1136 wpa_s->wps_freq = bss->freq;
1187 if (wpa_s->go_params->freq > 5616
1118 wpas_wps_reassoc(struct wpa_supplicant *wpa_s, struct wpa_ssid *selected, const u8 *bssid, int freq) argument
1217 wpas_wps_start_dev_pw(struct wpa_supplicant *wpa_s, const u8 *dev_addr, const u8 *bssid, const char *pin, int p2p_group, u16 dev_pw_id, const u8 *peer_pubkey_hash, const u8 *ssid_val, size_t ssid_len, int freq) argument
2360 wpas_wps_start_nfc(struct wpa_supplicant *wpa_s, const u8 *go_dev_addr, const u8 *bssid, const struct wpabuf *dev_pw, u16 dev_pw_id, int p2p_group, const u8 *peer_pubkey_hash, const u8 *ssid, size_t ssid_len, int freq) argument
2443 int freq = 0; local
2653 int freq = 0; local
[all...]
H A Ddriver_i.h322 unsigned int freq, unsigned int wait)
327 freq, NULL, 0, 0, wait);
410 unsigned int freq,
418 return wpa_s->driver->send_action(wpa_s->drv_priv, freq,
431 struct hostapd_freq_params *freq)
434 return wpa_s->driver->set_freq(wpa_s->drv_priv, freq);
461 unsigned int freq,
465 return wpa_s->driver->remain_on_channel(wpa_s->drv_priv, freq,
981 unsigned int freq)
985 return wpa_s->driver->set_prob_oper_freq(wpa_s->drv_priv, freq);
320 wpa_drv_send_mlme(struct wpa_supplicant *wpa_s, const u8 *data, size_t data_len, int noack, unsigned int freq, unsigned int wait) argument
409 wpa_drv_send_action(struct wpa_supplicant *wpa_s, unsigned int freq, unsigned int wait, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len, int no_cck) argument
430 wpa_drv_set_freq(struct wpa_supplicant *wpa_s, struct hostapd_freq_params *freq) argument
460 wpa_drv_remain_on_channel(struct wpa_supplicant *wpa_s, unsigned int freq, unsigned int duration) argument
980 wpa_drv_set_prob_oper_freq(struct wpa_supplicant *wpa_s, unsigned int freq) argument
[all...]
H A Dbss.c287 dst->freq = src->freq;
475 " SSID '%s' freq %d%s",
477 bss->freq, extra);
545 if (old->freq != new_res->freq)
634 "Previous last_update: %u.%06u (freq %d%s)",
637 bss->freq,
639 wpa_printf(MSG_DEBUG, "New last_update: %u.%06u (freq %d%s)",
642 res->freq,
[all...]
H A Dwnm_sta.c535 int freq; local
544 freq = ieee80211_chan_to_freq(country, op_class, chan);
545 if (freq <= 0 && op_class == 0) {
552 freq = 2407 + chan * 5;
554 freq = 2484;
556 freq = 5000 + chan * 5;
558 return freq;
599 rep->freq = wnm_nei_get_chan(wpa_s, rep->regulatory_class,
951 if (ieee80211_freq_to_channel_ext(bss->freq, sec_chan, vht, &op_class,
958 phy_type = ieee80211_get_phy_type(bss->freq, (ht_ope
1250 chan_supported(struct wpa_supplicant *wpa_s, int freq) argument
[all...]
/freebsd-current/contrib/wpa/src/drivers/
H A Ddriver.h128 * freq - Frequency in MHz
130 int freq; member in struct:hostapd_channel_data
326 * @freq: frequency of the channel in MHz (e.g., 2412 = channel 1)
361 int freq; member in struct:wpa_scan_res
666 int freq; member in struct:wpa_driver_auth_params
728 * freq - Primary channel center frequency in MHz
730 int freq; member in struct:hostapd_freq_params
881 * freq - channel parameters
883 struct hostapd_freq_params freq; member in struct:wpa_driver_associate_params
889 * hint for the driver. Unlike the @freq paramete
1440 struct hostapd_freq_params *freq; member in struct:wpa_driver_ap_params
1613 struct hostapd_freq_params freq; member in struct:wpa_driver_mesh_join_params
5152 unsigned int freq; member in struct:freq_survey
5286 unsigned int freq; member in struct:wpa_event_data::assoc_info
5649 int freq; member in struct:wpa_event_data::rx_mgmt
5666 unsigned int freq; member in struct:wpa_event_data::remain_on_channel
5848 int freq; member in struct:wpa_event_data::ch_switch
5874 int freq; member in struct:wpa_event_data::dfs_event
[all...]
H A Ddriver_nl80211_event.c317 event.assoc_info.freq = drv->assoc_freq;
318 drv->first_bss->freq = drv->assoc_freq;
547 event.assoc_info.freq = nl80211_get_assoc_freq(drv);
548 drv->first_bss->freq = drv->assoc_freq;
650 static int calculate_chan_offset(int width, int freq, int cf1, int cf2) argument
679 return (abs(freq - freq1) / 20) % 2 == 0 ? 1 : -1;
684 struct nlattr *ifindex, struct nlattr *freq,
698 if (!freq)
729 nla_get_u32(freq),
739 data.ch_switch.freq
683 mlme_event_ch_switch(struct wpa_driver_nl80211_data *drv, struct nlattr *ifindex, struct nlattr *freq, struct nlattr *type, struct nlattr *bw, struct nlattr *cf1, struct nlattr *cf2, int finished) argument
783 mlme_event_mgmt(struct i802_bss *bss, struct nlattr *freq, struct nlattr *sig, const u8 *frame, size_t len) argument
1069 mlme_event(struct i802_bss *bss, enum nl80211_commands cmd, struct nlattr *frame, struct nlattr *addr, struct nlattr *timed_out, struct nlattr *freq, struct nlattr *ack, struct nlattr *cookie, struct nlattr *sig, struct nlattr *wmm, struct nlattr *req_ie) argument
1198 unsigned int freq; local
1229 unsigned int freq, chan_type, duration; local
2625 u32 freq = 0, max_tx_power = 0; local
[all...]
H A Ddriver_privsep.c257 wpa_printf(MSG_DEBUG, "%s: priv=%p freq=%d bssid=" MACSTR
259 __func__, priv, params->freq, MAC2STR(params->bssid),
267 data->freq = params->freq;
306 wpa_printf(MSG_DEBUG, "%s: priv=%p freq=%d pairwise_suite=%d "
308 __func__, priv, params->freq.freq, params->pairwise_suite,
321 data->hwmode = params->freq.mode;
322 data->freq = params->freq
[all...]
/freebsd-current/sys/arm/nvidia/drm2/
H A Dtegra_hdmi.c261 uint64_t freq; local
279 freq = HDMI_DC_CLOCK_MULTIPIER * pclk;
280 rv = clk_set_freq(sc->clk_parent, freq, 0);
293 rv = clk_set_freq(clk, freq, 0);
318 rv = clk_get_freq(clk, &freq);
325 DRM_DEBUG_KMS("DC frequency: %llu\n", freq);
420 get_audio_regs(int freq, bus_size_t *acr_reg, bus_size_t *nval_reg, argument
428 if (reg->audio_clk == freq) {
749 uint64_t freq; local
780 rv = clk_get_freq(sc->clk_hdmi, &freq);
894 uint64_t freq; local
[all...]
/freebsd-current/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_reset.c1842 uint16_t numCtlModes, ctlMode, freq; local
1955 freq = centers.ctl_center;
1957 freq = centers.ext_center;
1959 freq = centers.ctl_center;
1971 twiceMinEdgePower = ar5416GetMaxEdgePower(freq,
2067 ar5416GetMaxEdgePower(uint16_t freq, CAL_CTL_EDGES *pRdEdgesPower, HAL_BOOL is2GHz) argument
2078 if (freq == fbin2freq(pRdEdgesPower[i].bChannel, is2GHz)) {
2081 } else if ((i > 0) && (freq < fbin2freq(pRdEdgesPower[i].bChannel, is2GHz))) {
2082 if (fbin2freq(pRdEdgesPower[i - 1].bChannel, is2GHz) < freq && (pRdEdgesPower[i - 1].tPowerFlag & CAL_CTL_EDGES_FLAG) != 0) {
2108 uint16_t freq; local
2168 uint16_t freq; local
2635 uint16_t freq = ath_hal_gethwchannel(ah, chan); local
[all...]
/freebsd-current/sys/dev/clk/allwinner/
H A Daw_clk_frac.c199 dprintf("Trying to find freq %ju with parent %ju\n", *fout, fparent);
265 /* Disable clock during freq changes */
309 aw_clk_frac_recalc(struct clknode *clk, uint64_t *freq) argument
322 *freq = sc->frac.freq1;
324 *freq = sc->frac.freq0;
328 *freq = *freq * n / m;
/freebsd-current/sys/dev/spibus/controller/rockchip/
H A Drk_spi.c162 rk_spi_hw_setup(struct rk_spi_softc *sc, uint32_t mode, uint32_t freq) argument
177 if (sc->max_freq < freq*2) {
178 clk_set_freq(sc->clk_spi, 2 * freq, CLK_SET_ROUND_DOWN);
182 div = ((sc->max_freq + freq - 1) / freq);
/freebsd-current/sys/dev/iicbus/rtc/
H A Dds1307.c163 int error, freq, i, newf, tmp; local
173 freq = ds1307_sqw_freq[tmp];
174 error = sysctl_handle_int(oidp, &freq, 0, req);
177 if (freq != ds1307_sqw_freq[tmp]) {
180 if (freq >= ds1307_sqw_freq[i])
/freebsd-current/sys/dev/acpica/
H A Dacpi_hpet.c88 uint64_t freq; member in struct:hpet_softc
215 t->div = (sc->freq * period) >> 32;
221 fdiv = (sc->freq * first) >> 32;
293 sc->freq / 8;
515 sc->freq = (1000000000000000LL + val / 2) / val;
544 vendor, rev, sc->freq,
591 sc->tc.tc_frequency = sc->freq;
805 t->et.et_frequency = sc->freq;
807 ((uint64_t)(HPET_MIN_CYCLES * 2) << 32) / sc->freq;
808 t->et.et_max_period = (0xfffffffeLLU << 32) / sc->freq;
[all...]
/freebsd-current/sys/dev/sdhci/
H A Dfsl_sdhci.c570 uint32_t divisor, freq, prescale, val32; local
597 freq = sc->baseclk_hz >> ffs(divisor);
614 freq = sc->baseclk_hz;
616 freq = sc->baseclk_hz / (2 * divisor);
622 for (prescale = 2; freq < sc->baseclk_hz / (prescale * 16);)
625 for (divisor = 1; freq < sc->baseclk_hz / (prescale * divisor);)
630 "desired SD freq: %d, actual: %d; base %d prescale %d divisor %d\n",
631 freq, sc->baseclk_hz / (prescale * divisor), sc->baseclk_hz,
/freebsd-current/sys/kern/
H A Dkern_ntptime.c183 #define PPS_FAVG 2 /* min freq avg interval (s) (shift) */
184 #define PPS_FAVGDEF 8 /* default freq avg int (s) (shift) */
185 #define PPS_FAVGMAX 15 /* max freq avg interval (s) (shift) */
347 long freq; /* frequency ns/s) */ local
413 freq = (ntv->freq * 1000LL) >> 16;
414 if (freq > MAXFREQ)
416 else if (freq < -MAXFREQ)
420 * ntv->freq is [PPM * 2^16] = [us/s * 2^16]
423 time_freq = ntv->freq * 100
[all...]
/freebsd-current/sys/powerpc/mpc85xx/
H A Dplatform_mpc85xx.c226 pcell_t freq; local
264 freq = 0;
265 if (OF_getprop(child, "bus-frequency", (void *)&freq,
266 sizeof(freq)) <= 0)
269 if (freq == 0)
277 ticks = freq / 32;
279 ticks = freq / 8;
/freebsd-current/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_reset.c1036 uint16_t freq = ath_hal_gethwchannel(ah, chan); local
1053 if (freq > 4000 && freq < 5260) {
1056 } else if (freq >= 5260 && freq < 5500) {
1059 } else if (freq >= 5500 && freq < 5725) {
1062 } else if (freq >= 5725) {
1278 uint16_t freq = ath_hal_gethwchannel(ah, chan); local
1279 uint32_t remainder = freq
1315 uint16_t freq = ath_hal_gethwchannel(ah, chan); local
1497 uint16_t freq = ath_hal_gethwchannel(ah, chan); local
[all...]
/freebsd-current/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300eep.h636 extern int ar9300EepromUpdateCalPier(int pierIdx, int freq, int chain,
642 extern void ar9300_set_target_power_from_eeprom(struct ath_hal *ah, u_int16_t freq,
655 extern u_int8_t ar9300_eeprom_get_legacy_trgt_pwr(struct ath_hal *ah, u_int16_t rate_index, u_int16_t freq, HAL_BOOL is_2ghz);
656 extern u_int8_t ar9300_eeprom_get_ht20_trgt_pwr(struct ath_hal *ah, u_int16_t rate_index, u_int16_t freq, HAL_BOOL is_2ghz);
657 extern u_int8_t ar9300_eeprom_get_ht40_trgt_pwr(struct ath_hal *ah, u_int16_t rate_index, u_int16_t freq, HAL_BOOL is_2ghz);
658 extern u_int8_t ar9300_eeprom_get_cck_trgt_pwr(struct ath_hal *ah, u_int16_t rate_index, u_int16_t freq);
/freebsd-current/contrib/wpa/src/ap/
H A Dap_drv_ops.h66 int freq, int channel, int edmg, u8 edmg_channel,
105 int hostapd_drv_send_action(struct hostapd_data *hapd, unsigned int freq,
109 unsigned int freq,
129 enum hostapd_hw_mode mode, int freq,
268 unsigned int freq)
274 return hapd->driver->get_survey(hapd->drv_priv, freq);
267 hostapd_drv_get_survey(struct hostapd_data *hapd, unsigned int freq) argument
/freebsd-current/sys/arm/xilinx/
H A Dzy7_devcfg.c301 int freq; local
307 freq = cfg->frequency;
309 error = sysctl_handle_int(oidp, &freq, 0, req);
313 if (freq > 0) {
314 new_actual_freq = zy7_pl_fclk_set_freq(unit, freq);
325 cfg->frequency = freq;
379 "freq", CTLFLAG_RW | CTLTYPE_INT | CTLFLAG_NEEDGIANT,
/freebsd-current/sys/riscv/sifive/
H A Dsifive_prci.c283 prci_clk_pll_recalc(struct clknode *clk, uint64_t *freq) argument
291 KASSERT(freq != NULL, ("freq cannot be NULL"));
314 *freq = refclk / (divr + 1) * (2 * (divf + 1)) / (1 << divq);
341 prci_clk_div_recalc(struct clknode *clk, uint64_t *freq) argument
349 KASSERT(freq != NULL, ("freq cannot be NULL"));
368 *freq = refclk / (div + sc->bias);

Completed in 216 milliseconds

1234567891011>>