/freebsd/sys/gnu/dev/bwn/phy_n/ |
H A D | if_bwn_phy_n_ppr.c | 144 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 D | rk_clk_pll.c | 49 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 D | rk_clk_armclk.c | 56 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 D | channel_if.m | 75 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 D | mediatek,mt76.yaml | 171 rates-cck: 178 rates-ofdm: 185 rates-mcs: 189 rates for multiple channel bandwidth settings. 199 rates-ru: 202 Sets of per-rate power limit values for 802.11ax rates 264 rates-ofdm = /bits/ 8 <23 23 23 23 23 23 23 23>; 265 rates-mcs = /bits/ 8 <1 23 23 23 23 23 23 23 23 23 23>, 267 rates-ru = /bits/ 8 <3 22 22 22 22 22 22 22 22 22 22 22 22>, 272 rates-ofdm = /bits/ 8 <14 14 14 14 14 14 14 14>; [all …]
|
/freebsd/sys/netinet/ |
H A D | tcp_stats.c | 72 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/dev/rtwn/ |
H A D | if_rtwn_rx.c | 65 * be applied; the HT rateset will be applied to 11n rates. 72 uint32_t rates = 0, htrates = 0; in rtwn_get_rates() local 76 /* Get rates mask. */ in rtwn_get_rates() 77 rates = 0; in rtwn_get_rates() 88 rates |= 1 << ridx; in rtwn_get_rates() 94 /* If we're doing 11n, enable 11n rates */ in rtwn_get_rates() 100 /* Only do up to 2-stream rates for now */ in rtwn_get_rates() 117 "%s: rates 0x%08X htrates 0x%08X, maxrate %d\n", in rtwn_get_rates() 118 __func__, rates, htrates, maxrate); in rtwn_get_rates() 121 *rates_p = rates; in rtwn_get_rates() [all …]
|
/freebsd/share/doc/smm/05.fastfs/ |
H A D | 4.t | 95 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 D | mac.c | 732 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/contrib/device-tree/src/arm64/freescale/ |
H A D | imx8-ss-dma.dtsi | 35 assigned-clock-rates = <60000000>; 53 assigned-clock-rates = <60000000>; 71 assigned-clock-rates = <60000000>; 89 assigned-clock-rates = <60000000>; 103 assigned-clock-rates = <80000000>; 117 assigned-clock-rates = <80000000>; 131 assigned-clock-rates = <80000000>; 145 assigned-clock-rates = <80000000>; 160 assigned-clock-rates = <24000000>; 321 assigned-clock-rates = <24000000>; [all …]
|
H A D | imx8qxp-mek.dts | 228 assigned-clock-rates = <786432000>, 285 assigned-clock-rates = <786432000>, <49152000>, <12288000>, <49152000>; 296 assigned-clock-rates = <786432000>, <49152000>, <12288000>, <49152000>; 309 assigned-clock-rates = <0>, <786432000>, <98304000>, <12288000>, <98304000>; 321 assigned-clock-rates = <0>, <786432000>, <98304000>, <12288000>, <98304000>; 361 assigned-clock-rates = <200000000>; 373 assigned-clock-rates = <200000000>;
|
/freebsd/sys/dev/ath/ath_rate/sample/ |
H A D | sample.c | 92 * 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() 446 * non-MCS rates when speaking to an MCS node. in pick_sample_rate() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | mac.c | 724 struct ieee80211_tx_rate *rate = &info->control.rates[0]; in mt7615_mac_write_txwi() 966 struct ieee80211_tx_rate *rates, in mt7615_mac_update_rate_desc() argument 978 rates[i] = rates[n_rates - 1]; in mt7615_mac_update_rate_desc() 981 memcpy(sta->rateset[rateset].rates, rates, in mt7615_mac_update_rate_desc() 982 sizeof(sta->rateset[rateset].rates)); in mt7615_mac_update_rate_desc() 988 ref = &sta->rateset[rateset].rates[0]; in mt7615_mac_update_rate_desc() 991 rates = sta->rateset[rateset].rates; in mt7615_mac_update_rate_desc() 992 for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { in mt7615_mac_update_rate_desc() 1000 if ((ref->flags ^ rates[i].flags) & IEEE80211_TX_RC_SHORT_GI) in mt7615_mac_update_rate_desc() 1001 rates[i].flags ^= IEEE80211_TX_RC_SHORT_GI; in mt7615_mac_update_rate_desc() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/serial/ |
H A D | nvidia,tegra20-hsuart.txt | 27 - 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 */
|
H A D | nvidia,tegra20-hsuart.yaml | 58 nvidia,adjust-baud-rates: 78 we use nvidia,adjust-baud-rates. 80 As an example, consider there is deviation observed in TX for baud rates as listed below. 0 86 nvidia,adjust-baud-rates = <0 9600 100>, 124 nvidia,adjust-baud-rates = <1000000 4000000 136>; /* 1.36% shift */
|
/freebsd/contrib/file/magic/scripts/ |
H A D | create_filemagic_flac | 5 ## 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/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_phy.c | 34 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 D | mt76x02_mac.c | 341 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/share/man/man3/ |
H A D | stats.3 | 66 .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/device-tree/Bindings/phy/ |
H A D | microchip,sparx5-serdes.yaml | 14 support different operating modes and line rates. 32 the following data rates: 42 the following data rates: 55 the following data rates:
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_phy.c | 67 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/src/mips/img/ |
H A D | pistachio.dtsi | 53 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/contrib/wpa/src/drivers/ |
H A D | driver_nl80211_scan.c | 361 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 …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/ |
H A D | nxp,imx8qxp-adc.yaml | 36 assigned-clock-rates: 58 - assigned-clock-rates 79 assigned-clock-rates = <24000000>;
|
/freebsd/sys/contrib/device-tree/Bindings/display/msm/ |
H A D | dpu.txt | 39 - 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>;
|