Searched defs:rate (Results 1 - 25 of 80) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_amrr.c71 uint8_t rate; local
80 rate = ni->in_rates.ir_rates[ni->in_txrate] &
83 "AMRR increasing rate %d (txcnt=%d retrycnt=%d)",
84 rate, amn->amn_txcnt, amn->amn_retrycnt);
87 uint8_t, rate,
108 rate = ni->in_rates.ir_rates[ni->in_txrate] &
111 "AMRR decreasing rate %d (txcnt=%d retrycnt=%d)",
112 rate, amn->amn_txcnt, amn->amn_retrycnt);
115 uint8_t, rate,
H A Dnet80211_input.c515 * Install received rate set information in the node's state block.
531 * Tack on 11g extended supported rate element.
538 "[%s] extended rate set too large;"
1147 uint8_t rate; local
1236 * Adjust and check station's rate list with device's
1237 * supported rate. Send back response if there is at
1238 * least one rate or the fixed rate(if being set) is
1241 rate = ieee80211_setup_rates(in, rates, xrates,
1244 if (rate
[all...]
H A Dnet80211_proto.c113 ieee80211_dump_pkt(const uint8_t *buf, int32_t len, int32_t rate, int32_t rssi) argument
195 if (rate >= 0) {
196 (void) snprintf(buf2, sizeof (buf2), " %dM", rate / 2);
219 * Adjust/Fix the specified node's rate table
222 * flag IEEE80211_F_DOSORT : sort the node's rate table
223 * IEEE80211_F_DONEGO : mark a rate as basic rate if it is
224 * a device's basic rate
226 * IEEE80211_F_DOFRATE: check if the fixed rate is supported by
229 * The highest bit of returned rate valu
[all...]
H A Dnet80211_node.c177 * Set/change the channel. The rate set is also updated as
189 * Gotta be careful here; the rate set returned by
190 * ieee80211_get_suprates is actually any HT rate
192 * install the legacy rate est in ni_rates and the
193 * HT rate set in ni_htrates.
391 * Do mode-specific rate setup.
422 uint8_t rate; local
448 rate = ieee80211_fix_rate(in, &in->in_rates,
450 if (rate & IEEE80211_RATE_BASIC)
505 /* best/max rate preferre
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/postcomm/
H A Dpostcomm.h135 * The baud rate can be set on the command line using the -b option. If you omit
147 * strings into termio values that represent the requested baud rate.
154 char *rate; /* string identifying the baud rate */ member in struct:__anon829
162 * BAUDTABLE initializes the array that's used to translate baud rate requests
164 * the rate field.
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_rate.c73 ath_rate_update(ath_t *asc, struct ieee80211_node *in, int32_t rate) argument
81 in->in_txrate = rate;
90 * Before associating a node has no rate set setup
94 * lowest hardware rate.
99 in->in_rates.ir_rates[rate] & IEEE80211_RATE_VAL];
105 * Hardware supports multi-rate retry; setup two
106 * step-down retry rates and make the lowest rate
111 an->an_tx_try0 = 1 + 3; /* 4 tries at rate 0 */
112 if (--rate >= 0) {
114 in->in_rates.ir_rates[rate]
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Dib_user_sa.h64 uint8_t rate; member in struct:ib_user_path_rec
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Dpostio.h172 * The baud rate can be set on the command line using the -b option. If you omit
182 * strings into termio values that represent the requested baud rate.
188 char *rate; /* string identifying the baud rate */ member in struct:__anon831
195 * BAUDTABLE initializes the array that's used to translate baud rate requests
197 * the rate field.
H A Dpostio.c117 * where -l selects the line, -b sets the baud rate, and -L selects the printer
173 short baudrate = BAUDRATE; /* and running at this baud rate */
328 case 'b': /* baud rate string */
406 * Called from options() to convert a baud rate string into an appropriate
407 * termio value. *rate is looked up in baudtable[] and if it's found, the
412 getbaud(char *rate) /* string representing the baud rate */ argument
416 for (i = 0; baudtable[i].rate != NULL; i++)
417 if (strcmp(rate, baudtable[i].rate)
[all...]
/illumos-gate/usr/src/uts/common/ipp/meters/
H A Dtswtclddi.c172 /* parse committed rate - in bits / sec */
177 " committed rate missing\n"));
182 /* parse peak rate - in bits / sec */
187 " peak rate missing\n"));
195 " peak rate < committed rate\n"));
290 uint32_t rate; local
370 /* parse committed rate, if present */
371 if ((err = nvlist_lookup_uint32(nvlp, TSWTCL_COMMITTED_RATE, &rate))
373 cfg_parms->committed_rate = rate;
[all...]
H A Dtokenmtddi.c191 /* parse committed rate - in kilo bits / sec */
196 " committed rate missing\n"));
202 tokenmt0dbg(("tokenmt_create_action: invalid committed rate, "\
245 tokenmt0dbg(("tokenmt_create_action: peak rate "\
253 "peak rate, %u\n", cfg_parms->peak_rate));
392 uint32_t rate, cbs, pbs; local
478 /* parse committed rate, if present */
479 if ((err = nvlist_lookup_uint32(nvlp, TOKENMT_COMMITTED_RATE, &rate))
481 if (rate == 0) {
484 "committed rate
[all...]
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_beacon.c33 * up all required antenna switch parameters, rate codes, and channel flags.
34 * Beacons are always sent out at the lowest rate, and are not retried.
49 uint8_t rix, rate; local
77 * Calculate rate code.
78 * XXX everything at min xmit rate
82 rate = rt->info[rix].ratecode;
84 rate |= rt->info[rix].short_preamble;
103 series[0].Rate = rate;
/illumos-gate/usr/src/cmd/cdrw/
H A Ddevice.c922 /* Translate a transfer rate (eg, KB/s) into a Speed (eg, "2X") */
924 cdrw_bandwidth_to_x(uint_t rate) argument
930 return (DVD_RATE_TO_X(rate));
934 return (CD_RATE_TO_X(rate));
938 /* Translate a Speed (eg, "2X") into a transfer rate (eg, KB/s) */
H A Dmisc_scsi.c821 uint16_t rate = 0; local
840 rate = read_scsi16(&mp2a[offset]);
852 rate = read_scsi16(&mp2a[offset]);
863 rate = read_scsi16(&mp2a[offset]);
867 rate = read_scsi16(&mp2a[offset]);
869 if (rate == 0) {
875 rate = read_scsi16(&mp2a[offset]);
886 "Read" : "Write", cdrw_bandwidth_to_x(rate));
887 return (rate);
904 uint16_t rate; local
981 uint_t rate; local
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/
H A Dofed_kernel.h184 uint8_t rate; member in struct:ib_sa_path_rec
/illumos-gate/usr/src/uts/common/sys/
H A Dxti_osi.h86 * rate structure
89 struct rate { struct
100 struct rate called; /* called rate */
101 struct rate calling; /* calling rate */
/illumos-gate/usr/src/cmd/audio/audiorecord/
H A Daudiorecord.c93 static int Force = FALSE; /* ignore rate differences on append */
120 static int parse_sample_rate(char *s, unsigned *rate);
128 "\t%.*s [-c channels] [-s rate] [-e encoding]\n"
132 "\t-f\tIgnore sample rate differences on append\n"
135 "\t-s\tSpecify rate in samples per second\n"
575 case 1: /* all but sample rate matches */
742 * set the sample rate. assume anything is ok. check later on to make sure
743 * the sample rate is valid.
746 parse_sample_rate(char *s, unsigned *rate) argument
783 MGET("invalid sample rate
[all...]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioHdrParse.cc65 // Return a string containing the sample rate
182 char *rate; local
189 rate = RateString();
191 (void) sprintf(str, "%s, %s, %s", enc, rate, chan);
192 delete rate;
198 // Parse a string containing the sample rate
207 int rate; local
240 rate = irint(r);
246 if ((rate <= 0) || (rate > 50000
[all...]
/illumos-gate/usr/src/cmd/powertop/common/
H A Ddisplay.c525 pt_display_acpi_power(uint32_t flag, double rate, double rem_cap, double cap, argument
538 rate);
548 (uint32_t)rem_cap/rate);
552 (uint32_t)(cap - rem_cap)/rate);
/illumos-gate/usr/src/cmd/audio/audiotest/
H A Daudiotest.c82 uint32_t rate; member in struct:testcfg
194 rate_multiple = tcfg->rate / 48000;
270 * Set up the sample rate.
272 tmp = tcfg->rate;
279 if (sample_rate != tcfg->rate) {
281 tcfg->rate);
287 * This program will measure the real sampling rate by
291 * can be used to detect if the sampling rate badly
294 * with the sampling rate.
336 (void) printf(_("\t<measured sample rate
[all...]
/illumos-gate/usr/src/uts/common/io/zyd/
H A Dzyd.c162 zyd_plcp_signal(uint16_t rate) argument
164 switch (rate) {
290 uint16_t frame_size, additional_size, rate; local
365 * pickup a rate. May need work to make adaptive - at present,
366 * picks best rate for mode.
370 rate = (uint16_t)in->in_rates.ir_rates[0];
372 rate = (uint16_t)ic->ic_sup_rates[ic->ic_curmode].
375 rate = (uint16_t)ic->ic_sup_rates[ic->ic_curmode].
378 rate &= IEEE80211_RATE_VAL;
379 if (rate
[all...]
/illumos-gate/usr/src/uts/common/dtrace/
H A Dprofile.c193 int i, j, rate, kind; local
235 if ((rate = profile_rates[i]) == 0)
239 PROF_PREFIX_PROFILE, rate);
240 profile_create(NANOSEC / rate, n, PROF_PROFILE);
244 if ((rate = profile_ticks[i]) == 0)
248 PROF_PREFIX_TICK, rate);
249 profile_create(NANOSEC / rate, n, PROF_TICK);
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_hyper.c214 set_serial_rate(int com, char *rate) argument
222 * If rate is a NULL pointer, erase any existing serial configuration
225 if (rate == NULL) {
233 *rp = s_realloc(*rp, strlen(rate) + 1);
234 (void) strcpy(*rp, rate);
264 * Check if it's specified as the default rate; if so it defaults to
284 /* validate baud rate */
462 /* validate baud rate */
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_trim.c234 uint64_t rate = (uint64_t)vd->vdev_trim_rate; local
236 if (rate == UINT64_MAX)
237 rate = 0;
240 VDEV_LEAF_ZAP_TRIM_RATE, sizeof (rate), 1, &rate, tx));
266 * TRIM options (partial, secure, rate).
270 uint64_t rate, boolean_t partial, boolean_t secure)
292 * If we're activating, then preserve the requested rate and trim
293 * method. Setting the last offset and rate to UINT64_MAX is used
305 if (rate !
269 vdev_trim_change_state(vdev_t *vd, vdev_trim_state_t new_state, uint64_t rate, boolean_t partial, boolean_t secure) argument
911 vdev_trim(vdev_t *vd, uint64_t rate, boolean_t partial, boolean_t secure) argument
[all...]
/illumos-gate/usr/src/cmd/trapstat/sun4/
H A Dtrapstat.c117 " [ -P ] [ -a ] [ -r rate ] [[ interval [ count ] ] | "
133 " -r hz Set sampling rate to be hz samples "
308 * numbers in terms of rate-per-interval. If the interval is
310 * rate-per-second.
1034 long count = 0, rate = 0; local
1203 rate = strtol(optarg, &end, 0);
1206 (rate == LONG_MAX && errno == ERANGE))
1207 fatal("invalid rate '%s'\n", optarg);
1209 if (rate <= 0)
1210 fatal("rate mus
[all...]

Completed in 345 milliseconds

1234