Searched refs:rate (Results 1 - 25 of 286) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/net80211/
H A Dieee80211_phy.h74 uint32_t rateKbps; /* transfer rate in kbs */
76 * preamble in CCK rate code */
80 * rate; used for dur. calcs */
90 ieee80211_ack_rate(const struct ieee80211_rate_table *rt, uint8_t rate) argument
93 * XXX Assert this is for a legacy rate; not for an MCS rate.
94 * If the caller wishes to use it for a basic rate, they should
97 KASSERT(! (rate & 0x80), ("rate %d is basic/mcs?", rate));
105 ieee80211_ctl_rate(const struct ieee80211_rate_table *rt, uint8_t rate) argument
120 ieee80211_rate2phytype(const struct ieee80211_rate_table *rt, uint8_t rate) argument
135 ieee80211_isratevalid(const struct ieee80211_rate_table *rt, uint8_t rate) argument
154 ieee80211_ack_duration(const struct ieee80211_rate_table *rt, uint8_t rate, int isShortPreamble) argument
172 ieee80211_legacy_rate_lookup(const struct ieee80211_rate_table *rt, uint8_t rate) argument
[all...]
H A Dieee80211_amrr.c170 uint8_t rate; local
206 /* Initial rate - lowest */
207 rate = rs->rs_rates[0];
209 /* XXX clear the basic rate flag if it's not 11n */
211 rate &= IEEE80211_RATE_VAL;
213 /* pick initial rate from the rateset - HT or otherwise */
225 rate = rs->rs_rates[amn->amn_rix] & IEEE80211_RATE_VAL;
227 /* if the rate is an 11n rate, ensure the MCS bit is set */
229 rate |
459 int rate; local
[all...]
/freebsd-11-stable/sys/dev/vkbd/
H A Dvkbd_var.h43 int rate; /* keyboard rate */ member in struct:vkbd_status
/freebsd-11-stable/contrib/ntp/adjtimed/
H A Dadjtimed.c21 * This daemon adjusts the rate of the system clock a la BSD's adjtime().
263 * Default clock rate (old_tick).
267 #define TICK_ADJ 5 /* standard adjustment rate, microsec/tick */
279 register long rate, dt, leftover; local
290 rate = dt;
293 * Apply a slew rate of slew_rate over a period of dt/slew_rate seconds.
296 rate = slew_rate;
298 rate = -slew_rate;
305 * using the modified clock rate rather than an assumed nominal clock rate,
366 long rate, mask; local
[all...]
/freebsd-11-stable/tools/tools/net80211/wlantxtime/
H A Dwlantxtime.c54 uint32_t rateKbps; /* transfer rate in kbs */
56 * preamble in CCK rate code */
60 * rate; used for dur. calcs */
68 uint32_t frameLen, uint16_t rate, int isShortPreamble);
219 * Setup a rate table's reverse lookup table and fill in
245 * Map w/o basic rate bit too.
252 * XXX for 11g the control rate to use for 5.5 and 11 Mb/s
255 * 2Mb/s rate which will work but is suboptimal
257 * NB: Control rate is always less than or equal to the
258 * current rate, s
329 ieee80211_compute_duration(const struct ieee80211_rate_table *rt, uint32_t frameLen, uint16_t rate, int isShortPreamble) argument
399 ieee80211_compute_duration_ht(const struct ieee80211_rate_table *rt, uint32_t frameLen, uint16_t rate, int streams, int isht40, int isShortGI) argument
458 srate(int rate) argument
514 uint16_t rate; local
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dser-unix.h43 extern int ser_unix_nop_setbaudrate (struct serial *scb, int rate);
44 extern int ser_unix_nop_setstopbits (struct serial *scb, int rate);
/freebsd-11-stable/crypto/openssh/
H A Dfixprogs65 ($null, $null, $rate) = split(/,/, $ent[0]);
66 $est = $rate / $entscale; # scale the estimate back
/freebsd-11-stable/sys/arm/at91/
H A Dat91_twireg.h66 #define TWI_CWGR_DIV(rate) \
68 ((at91_master_clock / (4 * (rate))) - 3) : \
69 ((at91_master_clock / (4 * (rate))) - 2))
/freebsd-11-stable/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_ppr.c98 uint8_t *rate; local
100 ppr_for_each_entry(ppr, i, rate) {
101 *rate = bwn_clamp_val(*rate + diff, 0, 127);
108 uint8_t *rate; local
110 ppr_for_each_entry(ppr, i, rate) {
111 *rate = min(*rate, max);
118 uint8_t *rate; local
120 ppr_for_each_entry(ppr, i, rate) {
129 uint8_t *rate; local
[all...]
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dr600_audio.c103 /* current sampling rate in HZ */
105 status.rate = 44100;
107 status.rate = 48000;
108 status.rate *= ((value >> 11) & 0x7) + 1;
109 status.rate /= ((value >> 8) & 0x7) + 1;
134 rdev->audio_status.rate != audio_status.rate ||
181 rdev->audio_status.rate = -1;
/freebsd-11-stable/usr.bin/tset/
H A Dmap.c49 /* Baud rate conditionals for mapping. */
61 int conditional; /* Baud rate conditionals bitmask. */
62 speed_t speed; /* Baud rate to compare against. */
70 * The baud rate tests are: >, <, @, =, !
235 tset_baudrate(char *rate) argument
241 if (*rate == 'B')
242 ++rate;
245 if (!strcasecmp(rate, sp->string))
247 speed = atol(rate);
249 errx(1, "unknown baud rate
[all...]
/freebsd-11-stable/sys/dev/random/
H A Dnehemiah.c66 uint32_t rate = 0; local
72 : "=a" (retval), "+d" (rate), "+D" (buf)
77 if (rate == 0)
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dsa.h60 uint8_t rate; member in struct:ibv_sa_path_rec
76 uint8_t rate; member in struct:ibv_sa_mcmember_rec
115 uint8_t rate; /* rate selector-7:6 rate-5:0 */ member in struct:ibv_path_record
/freebsd-11-stable/sys/dev/acpica/
H A Dacpiio.h48 int rate; /* emptying rate */ member in struct:acpi_battinfo
54 #define ACPI_BIF_UNITS_MW 0 /* Capacity in mWh, rate in mW. */
55 #define ACPI_BIF_UNITS_MA 1 /* Capacity in mAh, rate in mA. */
72 uint32_t rate; /* Present Rate */ member in struct:acpi_bst
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_av.c101 return memfree_rate_to_ib(mthca_rate, dev->rate[port - 1]);
103 return tavor_rate_to_ib(mthca_rate, dev->rate[port - 1]);
112 * Inter-packet delay (IPD) to get from rate X down to a rate
136 u8 rate; local
138 if (!static_rate || ib_rate_to_mult(static_rate) >= dev->rate[port - 1])
142 rate = ib_rate_to_memfree(ib_rate_to_mult(static_rate),
143 dev->rate[port - 1]);
145 rate = ib_rate_to_tavor(static_rate);
147 if (!(dev->limits.stat_rate_support & (1 << rate)))
[all...]
/freebsd-11-stable/usr.bin/systat/
H A Dzarc.c81 "rate", "hits", "misses", "total hits", "total misses");
105 domode(struct zarcstats *delta, struct zarcstats *rate) argument
110 rate->hits.stat = calc(delta->hits.stat, delta->misses.stat)
133 struct zarcstats delta, rate; local
136 memset(&rate, 0, sizeof rate);
138 domode(&delta, &rate);
142 #define R(row, stat) DO(rate.hits.stat, row, 31+1, "%3lu")
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dibstat.c138 char rate[32]; local
148 if (sys_read_string(port_dir, SYS_PORT_RATE, rate, sizeof(rate)) == 0) {
149 if ((p = strchr(rate, ')'))) {
180 printf("%sRate: %d (FDR10)\n", pre, port->rate);
182 if (port->rate != 2)
183 printf("%sRate: %d\n", pre, port->rate);
/freebsd-11-stable/sys/dev/sbni/
H A Dif_sbnireg.h64 unsigned rate : 2; member in struct:sbni_csr1
/freebsd-11-stable/sys/ofed/include/uapi/rdma/
H A Dib_user_sa.h78 __u8 rate; member in struct:ib_user_path_rec
/freebsd-11-stable/usr.sbin/acpi/acpiconf/
H A Dacpiconf.c177 if (battio.battinfo.rate == -1)
178 printf("Present rate:\t\tunknown\n");
180 printf("Present rate:\t\t%d mA (%d mW)\n",
181 battio.battinfo.rate,
182 battio.battinfo.rate * volt / 1000);
184 printf("Present rate:\t\t%d %s\n",
185 battio.battinfo.rate, pwr_units);
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_fs.c202 int rate; local
217 rate = ib_rate_to_mult(path.pathrec.rate) * 25;
222 " rate: %*d%s Gb/sec\n",
225 10 - ((rate % 10) ? 2 : 0),
226 rate / 10, rate % 10 ? ".5" : "");
/freebsd-11-stable/sys/dev/ath/ath_rate/amrr/
H A Damrr.c43 * AMRR rate control. See:
83 static int ath_rateinterval = 1000; /* rate ctl interval (ms) */
88 int rate);
122 * the returned rate with the relevant preamble rate flag.
212 * The code below assumes that we are dealing with hardware multi rate retry
218 ath_rate_update(struct ath_softc *sc, struct ieee80211_node *ni, int rate) argument
226 KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode));
229 "%s: set xmit rate to %dM", __func__,
231 (ni->ni_rates.rs_rates[rate]
[all...]
/freebsd-11-stable/sys/dev/ath/ath_rate/onoe/
H A Donoe.c34 * Atsushi Onoe's rate control algorithm.
73 * Default parameters for the rate control algorithm. These are
74 * all tunable with sysctls. The rate controller runs periodically
78 * it gives a "raise rate credit". If transmits look to not be working
80 * the transmit rate is raised. Various error conditions force the
81 * the transmit rate to be dropped.
87 * the transmit rate is increased.
91 static int ath_rateinterval = 1000; /* rate ctl interval (ms) */
93 static int ath_rate_raise_threshold = 10; /* rate ctl raise threshold */
96 int rate);
191 ath_rate_update(struct ath_softc *sc, struct ieee80211_node *ni, int rate) argument
[all...]
/freebsd-11-stable/sys/dev/sound/pcm/
H A Dfeeder_eq.c101 &feeder_eq_exact_rate, 0, "force exact rate validation");
122 uint32_t rate; member in struct:feed_eq_info
272 feed_eq_coeff_rate(uint32_t rate) argument
277 if (rate < FEEDEQ_RATE_MIN || rate > FEEDEQ_RATE_MAX)
281 * Not all rates are supported. Choose the best rate that we can to
285 spd = feed_eq_tab[i].rate;
287 feed_eq_tab[i + 1].rate > spd) ?
288 ((feed_eq_tab[i + 1].rate - spd) >> 1) : 0);
289 if (rate
298 feeder_eq_validrate(uint32_t rate) argument
[all...]
/freebsd-11-stable/sys/dev/nmdm/
H A Dnmdm.c322 int bpc, rate, speed, i; local
333 * DSRFLOW one either side enables rate-simulation for both
342 /* Use the slower of our receive and their transmit rate */
352 rate = (hz << QS) / speed; /* [hz per callout] */
353 if (rate == 0)
354 rate = 1;
356 speed *= rate;
360 np->np_rate = rate;
361 callout_reset(&np->np_callout, rate, nmdm_timeout, np);

Completed in 522 milliseconds

1234567891011>>