Home
last modified time | relevance | path

Searched refs:rates (Results 1 – 25 of 574) sorted by relevance

12345678910>>...23

/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/netinet/
H A Dtcp_stats.c72 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 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 …]
H A Dmt7603.h59 struct ieee80211_tx_rate rates[4]; member
71 struct ieee80211_tx_rate rates[4]; member
226 struct ieee80211_tx_rate *rates);
/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...]
H A Dimx8mq-mnt-reform2.dts107 assigned-clock-rates = <25000000>;
177 /delete-property/assigned-clock-rates;
237 assigned-clock-rates = <25000000>;
275 assigned-clock-rates = <200000000>;
/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/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/rtwn/
H A Dif_rtwn_rx.c60 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 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/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/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
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/net80211/
H A Dieee80211_adhoc.c686 is11bclient(const uint8_t *rates, const uint8_t *xrates) in is11bclient() argument
692 if (xrates != NULL || rates == NULL) in is11bclient()
694 for (i = 0; i < rates[1]; i++) { in is11bclient()
695 int r = rates[2+i] & IEEE80211_RATE_VAL; in is11bclient()
711 uint8_t *ssid, *rates, *xrates; in adhoc_recv_mgmt() local
905 ssid = rates = xrates = NULL; in adhoc_recv_mgmt()
913 rates = frm; in adhoc_recv_mgmt()
921 IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZE, return); in adhoc_recv_mgmt()
924 IEEE80211_RATE_MAXSIZE - rates[1], return); in adhoc_recv_mgmt()
945 is11bclient(rates, xrates) ? IEEE80211_SEND_LEGACY_11B : 0); in adhoc_recv_mgmt()
/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/mtd/
H A Dvf610-nfc.txt13 - 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>;
/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/sys/contrib/device-tree/Bindings/phy/
H A Dphy-rockchip-typec.txt13 - assigned-clock-rates : the phy core clk frequency, shall be: 50000000
47 assigned-clock-rates = <50000000>;
71 assigned-clock-rates = <50000000>;
/freebsd/tools/tools/net80211/wlaninject/
H A Dwlaninject.c678 unsigned char rates[] = "\x1\x4\x82\x84\xb\x16"; in main() local
681 if ((sizeof(rates) - 1) > left) { in main()
686 memcpy(body, rates, sizeof(rates) - 1); in main()
687 body += sizeof(rates) - 1; in main()
688 len += sizeof(rates) - 1; in main()
/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/mmc/
H A Dsdhci-atmel.txt18 - assigned-clock-rates The rate of "multclk" in order to not rely on the
34 assigned-clock-rates = <480000000>;
/freebsd/sys/contrib/device-tree/Bindings/ata/
H A Dqcom-sata.txt25 - assigned-clock-rates : Shall be:
44 assigned-clock-rates = <100000000>, <100000000>;
/freebsd/contrib/tcpdump/
H A Dprint-802_11.c279 struct rates_t rates; member
407 if (p.rates.length != 0) { \
408 for (u_int z = 0; z < p.rates.length ; z++) { \
409 PRINT_RATE(sep, p.rates.rate[z], \
410 (p.rates.rate[z] & 0x80 ? "*" : "")); \
1137 struct rates_t rates; in parse_elements() local
1216 rates.length = elementlen; in parse_elements()
1219 if (rates.length != 0) { in parse_elements()
1220 if (rates.length > sizeof(rates.rate)) in parse_elements()
1222 memcpy(&rates.rate, p + offset, rates.length); in parse_elements()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/samsung/
H A Dexynos4412-odroid-common.dtsi130 assigned-clock-rates = <45158401>;
143 assigned-clock-rates = <0>, <0>,
214 assigned-clock-rates = <0>, <176000000>;
222 assigned-clock-rates = <0>, <176000000>;
230 assigned-clock-rates = <0>, <176000000>;
238 assigned-clock-rates = <0>, <176000000>;

12345678910>>...23