/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 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() 281 rates->mcs_20[7] = rates->ofdm[7]; in bwn_ppr_load_max_from_sprom() 298 rates->ofdm_20_cdd[0] = rates->mcs_20_cdd[0]; in bwn_ppr_load_max_from_sprom() [all …]
|
/freebsd/sys/dev/clk/rockchip/ |
H A D | rk_clk_pll.c | 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() 330 sc->rates = clkdef->rates; in rk3066_clk_pll_register() 432 if (sc->rates) in rk3328_clk_pll_set_freq() 433 rates = sc->rates; in rk3328_clk_pll_set_freq() 439 for (; rates->freq; rates++) { in rk3328_clk_pll_set_freq() 532 sc->rates = clkdef->rates; in rk3328_clk_pll_register() 673 if (sc->rates) in rk3399_clk_pll_set_freq() 674 rates = sc->rates; in rk3399_clk_pll_set_freq() 680 for (; rates->freq; rates++) { in rk3399_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/netinet/ |
H A D | tcp_stats.c | 72 struct stats_tpl_sample_rate **rates, int *nrates, void *ctx); 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() 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() 258 *rates = old_rates; in tcp_stats_tpl_sr_cb()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
H A D | mac.c | 750 rates[i] = rates[n_rates - 1]; in mt7603_wtbl_set_rates() 753 memcpy(sta->rateset[rateset].rates, rates, in mt7603_wtbl_set_rates() 763 rates = sta->rateset[rateset].rates; in mt7603_wtbl_set_rates() 776 if (rates[i].idx != rates[k].idx) in mt7603_wtbl_set_rates() 778 if ((rates[i].flags ^ rates[k].flags) & in mt7603_wtbl_set_rates() 782 if (!rates[i].idx) in mt7603_wtbl_set_rates() 785 rates[i].idx--; in mt7603_wtbl_set_rates() 1077 msta->rates); in mt7603_tx_prepare_skb() 1157 sta->rates); in mt7603_fill_txs() 1162 info->status.rates[0] = rs->rates[first_idx / 2]; in mt7603_fill_txs() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/wireless/ |
H A D | mediatek,mt76.yaml | 169 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-ofdm = /bits/ 8 <14 14 14 14 14 14 14 14>; [all …]
|
/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/src/arm64/freescale/ |
H A D | imx8-ss-dma.dtsi | 34 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 = <24000000>; [all …]
|
H A D | imx8mm-overdrive.dtsi | 7 assigned-clock-rates = <0>, <1000000000>; 14 assigned-clock-rates = <0>, <1000000000>; 25 assigned-clock-rates = <750000000>,
|
H A D | imx8ulp.dtsi | 274 assigned-clock-rates = <48000000>; 287 assigned-clock-rates = <48000000>; 320 assigned-clock-rates = <48000000>; 335 assigned-clock-rates = <48000000>; 378 assigned-clock-rates = <48000000>; 391 assigned-clock-rates = <48000000>; 430 assigned-clock-rates = <389283840>, <389283840>; 449 assigned-clock-rates = <194641920>, <194641920>; 468 assigned-clock-rates = <194641920>, <194641920>;
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | mac.c | 979 rates[i] = rates[n_rates - 1]; in mt7615_mac_update_rate_desc() 982 memcpy(sta->rateset[rateset].rates, rates, in mt7615_mac_update_rate_desc() 992 rates = sta->rateset[rateset].rates; in mt7615_mac_update_rate_desc() 1005 if (rates[i].idx != rates[j].idx) in mt7615_mac_update_rate_desc() 1007 if ((rates[i].flags ^ rates[j].flags) & in mt7615_mac_update_rate_desc() 1013 if (!rates[i].idx) in mt7615_mac_update_rate_desc() 1016 rates[i].idx--; in mt7615_mac_update_rate_desc() 1385 info->status.rates[0] = rs->rates[first_idx / 2]; in mt7615_fill_txs() 1387 info->status.rates[0].count = 0; in mt7615_fill_txs() 1393 cur_rate = &rs->rates[idx / 2]; in mt7615_fill_txs() [all …]
|
/freebsd/sys/dev/rtwn/ |
H A D | if_rtwn_rx.c | 60 uint32_t rates; in rtwn_get_rates() local 65 rates = 0; in rtwn_get_rates() 76 rates |= 1 << ridx; 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 110 RTWN_DPRINTF(sc, RTWN_DEBUG_RA, "%s: rates 0x%08X\n", __func__, rates); in rtwn_set_basicrates() 112 rtwn_setbits_4(sc, R92C_RRSR, R92C_RRSR_RATE_BITMAP_M, rates); in rtwn_set_basicrates()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76x02_mac.c | 358 info->control.rates, 1); in mt76x02_mac_write_txwi() 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() 464 if (rates[0].idx == 8) { in mt76x02_tx_rate_fallback() 465 rates[1].idx = 0; in mt76x02_tx_rate_fallback() 470 rates[1].idx = max_t(int, rates[0].idx - 1, 0); in mt76x02_tx_rate_fallback() 512 info->status.rates[i] = last_rate; in mt76x02_mac_fill_tx_status() 523 info->status.rates[i + 1].idx = -1; in mt76x02_mac_fill_tx_status() [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/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:
|
H A D | mixel,mipi-dsi-phy.yaml | 67 - assigned-clock-rates 78 assigned-clock-rates: false 95 assigned-clock-rates = <24000000>;
|
/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/dev/rtwn/rtl8192c/ |
H A D | r92c_fw.c | 166 r92c_send_ra_cmd(struct rtwn_softc *sc, int macid, uint32_t rates, in r92c_send_ra_cmd() argument 184 mode, rates, basicrates); 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()
|
/freebsd/sys/contrib/device-tree/Bindings/media/i2c/ |
H A D | ovti,ov5648.yaml | 26 assigned-clock-rates: 72 - assigned-clock-rates 97 assigned-clock-rates = <24000000>;
|
H A D | ovti,ov8865.yaml | 26 assigned-clock-rates: 72 - assigned-clock-rates 98 assigned-clock-rates = <24000000>;
|
/freebsd/sys/net80211/ |
H A D | ieee80211_adhoc.c | 687 is11bclient(const uint8_t *rates, const uint8_t *xrates) in is11bclient() argument 693 if (xrates != NULL || rates == NULL) in is11bclient() 695 for (i = 0; i < rates[1]; i++) { in is11bclient() 696 int r = rates[2+i] & IEEE80211_RATE_VAL; in is11bclient() 712 uint8_t *ssid, *rates, *xrates; in adhoc_recv_mgmt() local 906 ssid = rates = xrates = NULL; in adhoc_recv_mgmt() 914 rates = frm; in adhoc_recv_mgmt() 922 IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZE, return); in adhoc_recv_mgmt() 925 IEEE80211_RATE_MAXSIZE - rates[1], return); in adhoc_recv_mgmt() 946 is11bclient(rates, xrates) ? IEEE80211_SEND_LEGACY_11B : 0); in adhoc_recv_mgmt()
|
/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>; 752 assigned-clock-rates = <4000000>, <32768>; 763 assigned-clock-rates = <4000000>, <32768>; 789 assigned-clock-rates = <0>, <50000000>; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/display/hisilicon/ |
H A D | hisi-ade.txt | 22 - assigned-clock-rates: clock rates, one for each entry in assigned-clocks. 56 assigned-clock-rates = <360000000>, <288000000>;
|
/freebsd/sys/contrib/device-tree/Bindings/mtd/ |
H A D | vf610-nfc.txt | 13 - assigned-clock-rates: The NAND bus timing is derived from this clock 17 there might be restrictions on maximum rates when using hardware ECC. 48 assigned-clock-rates = <33000000>;
|