Home
last modified time | relevance | path

Searched full:rates (Results 1 – 25 of 968) sorted by relevance

12345678910>>...39

/freebsd/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_ppr.c144 struct bwn_ppr_rates *rates = &ppr->rates; in bwn_ppr_load_max_from_sprom() local
263 rates->cck[i] = maxpwr - off; in bwn_ppr_load_max_from_sprom()
270 rates->ofdm[i] = maxpwr - off; in bwn_ppr_load_max_from_sprom()
274 rates->mcs_20[0] = rates->ofdm[0]; in bwn_ppr_load_max_from_sprom()
275 rates->mcs_20[1] = rates->ofdm[2]; in bwn_ppr_load_max_from_sprom()
276 rates->mcs_20[2] = rates->ofdm[3]; in bwn_ppr_load_max_from_sprom()
277 rates->mcs_20[3] = rates->ofdm[4]; in bwn_ppr_load_max_from_sprom()
278 rates->mcs_20[4] = rates->ofdm[5]; in bwn_ppr_load_max_from_sprom()
279 rates->mcs_20[5] = rates->ofdm[6]; in bwn_ppr_load_max_from_sprom()
280 rates->mcs_20[6] = rates->ofdm[7]; in bwn_ppr_load_max_from_sprom()
[all …]
/freebsd/sys/dev/clk/rockchip/
H A Drk_clk_pll.c49 struct rk_clk_pll_rate *rates; member
206 struct rk_clk_pll_rate *rates; in rk3066_clk_pll_set_freq() local
213 if (sc->rates == NULL) in rk3066_clk_pll_set_freq()
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()
240 reg |= (rates->postdiv1 - 1) << RK3066_CLK_PLL_POSTDIV_SHIFT; in rk3066_clk_pll_set_freq()
243 reg |= (rates->refdiv - 1)<< RK3066_CLK_PLL_REFDIV_SHIFT; in rk3066_clk_pll_set_freq()
253 reg = (rates->fbdiv - 1) << RK3066_CLK_PLL_FBDIV_SHIFT; in rk3066_clk_pll_set_freq()
259 reg = rates->bwadj - 1; in rk3066_clk_pll_set_freq()
[all …]
H A Drk_clk_armclk.c56 struct rk_clk_armclk_rates *rates; member
158 if (sc->rates[i].freq == *fout) { in rk_clk_armclk_set_freq()
159 best = sc->rates[i].freq; in rk_clk_armclk_set_freq()
160 div = sc->rates[i].div; in rk_clk_armclk_set_freq()
246 sc->rates = clkdef->rates; in rk_clk_armclk_register()
/freebsd/sys/dev/sound/pcm/
H A Dchannel_if.m75 channel_nogetrates(kobj_t obj, void *data, int **rates)
77 *rates = NULL;
199 * @brief Retrieve discrete supported sample rates
201 * Some cards operate at fixed rates, and this call is intended to retrieve
202 * those rates primarily for when in-kernel rate adjustment is undesirable
206 * The parameter @c rates is a double pointer which will be reset to
207 * point to an array of supported sample rates. The number of elements
212 * @param rates rate array pointer
214 * @return Number of rates in the array
219 int **rates;
/freebsd/sys/contrib/device-tree/Bindings/net/wireless/
H A Dmediatek,mt76.yaml169 rates-cck:
176 rates-ofdm:
183 rates-mcs:
187 rates for multiple channel bandwidth settings.
197 rates-ru:
200 Sets of per-rate power limit values for 802.11ax rates
244 rates-ofdm = /bits/ 8 <23 23 23 23 23 23 23 23>;
245 rates-mcs = /bits/ 8 <1 23 23 23 23 23 23 23 23 23 23>,
247 rates-ru = /bits/ 8 <3 22 22 22 22 22 22 22 22 22 22 22 22>,
252 rates
[all...]
/freebsd/sys/netinet/
H A Dtcp_stats.c72 struct stats_tpl_sample_rate **rates, int *nrates, void *ctx);
81 "TCP stats per template random sampling rates, in CSV tpl_spec=percent "
213 * subsystem's stats template sample rates list.
217 struct stats_tpl_sample_rate **rates, int *nrates, void *ctx) in tcp_stats_tpl_sr_cb() argument
236 if (rates != NULL) in tcp_stats_tpl_sr_cb()
237 *rates = V_tcp_perconn_stats_sample_rates; in tcp_stats_tpl_sr_cb()
247 KASSERT(rates != NULL && nrates != NULL, in tcp_stats_tpl_sr_cb()
248 ("%s: PUT without new rates", __func__)); in tcp_stats_tpl_sr_cb()
250 if (rates == NULL || nrates == NULL) in tcp_stats_tpl_sr_cb()
255 V_tcp_perconn_stats_sample_rates = *rates; in tcp_stats_tpl_sr_cb()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8-ss-dma.dtsi34 assigned-clock-rates = <60000000>;
50 assigned-clock-rates = <60000000>;
66 assigned-clock-rates = <60000000>;
82 assigned-clock-rates = <60000000>;
94 assigned-clock-rates = <80000000>;
108 assigned-clock-rates = <80000000>;
122 assigned-clock-rates = <80000000>;
136 assigned-clock-rates = <80000000>;
151 assigned-clock-rates = <24000000>;
333 assigned-clock-rates
[all...]
/freebsd/share/doc/smm/05.fastfs/
H A D4.t95 Table 2a \- Reading rates of the old and new UNIX file systems.
110 Table 2b \- Writing rates of the old and new UNIX file systems.
115 the transfer rates for the new file system do not
122 to about half the rates given in Table 2 when the file
130 The bandwidth is calculated by comparing the data rates
151 Note that the write rates are about the same
152 as the read rates in the 8192 byte block file system;
153 the write rates are slower than the read rates in the 4096 byte block
155 The slower write rates occur because
226 and the current throughput rates are already limited by the
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dmac.c732 struct ieee80211_tx_rate *rates) in mt7603_wtbl_set_rates() argument
750 rates[i] = rates[n_rates - 1]; in mt7603_wtbl_set_rates()
753 memcpy(sta->rateset[rateset].rates, rates, in mt7603_wtbl_set_rates()
754 sizeof(sta->rateset[rateset].rates)); in mt7603_wtbl_set_rates()
760 ref = &sta->rateset[rateset].rates[0]; in mt7603_wtbl_set_rates()
763 rates = sta->rateset[rateset].rates; in mt7603_wtbl_set_rates()
764 for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { in mt7603_wtbl_set_rates()
772 if ((ref->flags ^ rates[i].flags) & IEEE80211_TX_RC_SHORT_GI) in mt7603_wtbl_set_rates()
773 rates[i].flags ^= IEEE80211_TX_RC_SHORT_GI; in mt7603_wtbl_set_rates()
776 if (rates[i].idx != rates[k].idx) in mt7603_wtbl_set_rates()
[all …]
/freebsd/sys/dev/rtwn/
H A Dif_rtwn_rx.c60 uint32_t rates; in rtwn_get_rates() local
64 /* Get rates mask. */ in rtwn_get_rates()
65 rates = 0; in rtwn_get_rates()
76 rates |= 1 << ridx; in rtwn_get_rates()
82 /* If we're doing 11n, enable 11n rates */ in rtwn_get_rates()
87 /* 11n rates start at index 12 */ in rtwn_get_rates()
89 rates |= (1 << ridx); in rtwn_get_rates()
98 "%s: rates 0x%08X, maxrate %d\n", __func__, rates, maxrate); in rtwn_get_rates()
101 *rates_p = rates; in rtwn_get_rates()
107 rtwn_set_basicrates(struct rtwn_softc *sc, uint32_t rates) in rtwn_set_basicrates() argument
[all …]
/freebsd/sys/dev/ath/ath_rate/sample/
H A Dsample.c92 * packets at bit-rates other than the current one to estimate when
96 * SampleRate reduces the number of bit-rates it must sample by
120 * This only matters for lower rates that can't fill a full 64k A-MPDU.
125 * When selecting a set of rates the rate control code will iterate
204 * rates 2 and 3 in the tx schedule are ignored. This is important in ath_rate_sample_find_min_pktlength()
207 * higher rates kinda needs a lower MCS rate in there somewhere. in ath_rate_sample_find_min_pktlength()
356 * Don't consider best rates that we haven't seen in pick_best_rate()
383 * For non-MCS rates, use the current average txtime for in pick_best_rate()
395 * Since 2 and 3 stream rates have slightly higher TX times, in pick_best_rate()
445 * non-MCS rates when speaking to an MCS node. in pick_sample_rate()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/serial/
H A Dnvidia,tegra20-hsuart.txt27 - nvidia,adjust-baud-rates: List of entries providing percentage of baud rate
46 Tx baud rate observed. To do this we use nvidia,adjust-baud-rates
48 As an example, consider there is deviation observed in Tx for baud rates as
56 nvidia,adjust-baud-rates = <0 9600 100>,
72 nvidia,adjust-baud-rates = <1000000 4000000 136>; /* 1.36% shift */
/freebsd/contrib/file/magic/scripts/
H A Dcreate_filemagic_flac5 ## below "#some common sample rates" (line 471), ie:
12 ## construct static list of sample rates based on standard crystal
31 ## use base rates for calculating derived rates
56 ## only add uniq sample rates (should be necessary
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmac.c728 struct ieee80211_tx_rate *rate = &info->control.rates[0]; in mt7615_mac_write_txwi()
970 struct ieee80211_tx_rate *rates, in mt7615_mac_update_rate_desc() argument
982 rates[i] = rates[n_rates - 1]; in mt7615_mac_update_rate_desc()
985 memcpy(sta->rateset[rateset].rates, rates, in mt7615_mac_update_rate_desc()
986 sizeof(sta->rateset[rateset].rates)); in mt7615_mac_update_rate_desc()
992 ref = &sta->rateset[rateset].rates[0]; in mt7615_mac_update_rate_desc()
995 rates = sta->rateset[rateset].rates; in mt7615_mac_update_rate_desc()
996 for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { in mt7615_mac_update_rate_desc()
1004 if ((ref->flags ^ rates[i].flags) & IEEE80211_TX_RC_SHORT_GI) in mt7615_mac_update_rate_desc()
1005 rates[i].flags ^= IEEE80211_TX_RC_SHORT_GI; in mt7615_mac_update_rate_desc()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_phy.c34 8, /* number of rates */
51 8, /* number of rates */
68 8, /* number of rates */
85 7, /* number of rates */
101 8, /* number of rates */
118 4, /* number of rates */
130 /* Venice TODO: roundUpRate() is broken when the rate table does not represent rates
135 12, /* number of rates */
144 /* remove rates 6, 9 from rate ctrl */
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76x02_mac.c341 struct ieee80211_tx_rate *rate = &info->control.rates[0]; in mt76x02_mac_write_txwi()
358 info->control.rates, 1); in mt76x02_mac_write_txwi()
440 mt76x02_tx_rate_fallback(struct ieee80211_tx_rate *rates, int idx, int phy) in mt76x02_tx_rate_fallback() argument
447 rates += idx - 1; in mt76x02_tx_rate_fallback()
448 rates[1] = rates[0]; in mt76x02_tx_rate_fallback()
451 mcs = ieee80211_rate_get_vht_mcs(rates); in mt76x02_tx_rate_fallback()
452 nss = ieee80211_rate_get_vht_nss(rates); in mt76x02_tx_rate_fallback()
459 ieee80211_rate_set_vht(rates + 1, mcs, nss); in mt76x02_tx_rate_fallback()
464 if (rates[0].idx == 8) { in mt76x02_tx_rate_fallback()
465 rates[1].idx = 0; in mt76x02_tx_rate_fallback()
[all …]
/freebsd/sys/dev/rtwn/rtl8192c/
H A Dr92c_fw.c166 r92c_send_ra_cmd(struct rtwn_softc *sc, int macid, uint32_t rates, in r92c_send_ra_cmd() argument
176 /* NB: group addressed frames are done at 11bg rates for now */ in r92c_send_ra_cmd()
183 "%s: mode 0x%x, rates 0x%08x, basicrates 0x%08x\n", __func__, in r92c_send_ra_cmd()
184 mode, rates, basicrates); in r92c_send_ra_cmd()
186 /* Set rates mask for group addressed frames. */ in r92c_send_ra_cmd()
197 /* Set rates mask for unicast frames. */ in r92c_send_ra_cmd()
205 cmd.mask = htole32(mode << 28 | rates); in r92c_send_ra_cmd()
223 uint32_t rates; in r92c_init_ra() local
240 rtwn_get_rates(sc, &ni->ni_rates, rs_ht, &rates, &maxrate, 0); in r92c_init_ra()
245 r92c_send_ra_cmd(sc, macid, rates, maxrate); in r92c_init_ra()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/phy/
H A Dmicrochip,sparx5-serdes.yaml14 support different operating modes and line rates.
32 the following data rates:
42 the following data rates:
55 the following data rates:
/freebsd/share/man/man3/
H A Dstats.366 .Fa "struct stats_tpl_sample_rate *rates"
399 struct stats_tpl_sample_rate **rates, int *nrates, void *ctx);
411 return the subsystem's rates list ptr and count, locked or unlocked as
416 unlock the subsystem's rates list ptr and count.
423 update the subsystem's rates list ptr and count to the sysctl processed values
425 .Fa rates
492 function provides a generic handler for template sample rates management and
499 rates.
505 rates list.
516 template sampling rates.
[all …]
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_phy.c67 8, /* number of rates */
84 8, /* number of rates */
101 8, /* number of rates */
118 8, /* number of rates */
135 4, /* number of rates */
149 * rates in increasing order e.g. 5.5, 11, 6, 9.
154 12, /* number of rates */
163 /* Hardware workaround - remove rates 6, 9 from rate ctrl */
177 13, /* number of rates */
205 36, /* number of rates */
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/
H A Dnxp,imx8qxp-adc.yaml36 assigned-clock-rates:
58 - assigned-clock-rates
79 assigned-clock-rates = <24000000>;
/freebsd/sys/contrib/device-tree/src/mips/img/
H A Dpistachio.dtsi53 assigned-clock-rates = <100000000>, <33333334>;
71 assigned-clock-rates = <100000000>, <33333334>;
89 assigned-clock-rates = <100000000>, <33333334>;
107 assigned-clock-rates = <100000000>, <33333334>;
142 assigned-clock-rates = <12288000>;
162 assigned-clock-rates = <12288000>;
179 assigned-clock-rates = <12288000>;
276 assigned-clock-rates = <114278400>, <1843200>;
292 assigned-clock-rates = <100000000>, <1000000>;
752 assigned-clock-rates = <4000000>, <32768>;
[all …]
/freebsd/sys/contrib/device-tree/Bindings/display/msm/
H A Ddpu.txt39 - assigned-clock-rates: list of clock frequencies sorted in the same order as
71 - assigned-clock-rates: list of clock frequencies sorted in the same order as
88 assigned-clock-rates = <300000000>;
118 assigned-clock-rates = <0 0 300000000 19200000>;
/freebsd/sys/contrib/device-tree/Bindings/display/hisilicon/
H A Dhisi-ade.txt22 - assigned-clock-rates: clock rates, one for each entry in assigned-clocks.
56 assigned-clock-rates = <360000000>, <288000000>;
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211_scan.c361 struct nlattr *rates; in wpa_driver_nl80211_scan() local
365 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES); in wpa_driver_nl80211_scan()
366 if (rates == NULL) in wpa_driver_nl80211_scan()
370 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates in wpa_driver_nl80211_scan()
371 * by masking out everything else apart from the OFDM rates 6, in wpa_driver_nl80211_scan()
372 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz in wpa_driver_nl80211_scan()
373 * rates are left enabled. in wpa_driver_nl80211_scan()
378 nla_nest_end(msg, rates); in wpa_driver_nl80211_scan()
1241 struct nlattr *rates; in wpa_driver_nl80211_vendor_scan() local
1245 rates = nla_nest_start(msg, in wpa_driver_nl80211_vendor_scan()
[all …]

12345678910>>...39