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

1234

/illumos-gate/usr/src/uts/common/io/audio/drv/audiohd/
H A Daudiohd.conf32 # sample-rate can be set as 192000/96000/48000
33 sample-rate=48000;
/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,
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_rc.c597 uint8_t rate = rateset->rs_rates[i]; local
601 * We allow a rate only if its valid and the
605 if (((rate & 0x7F) == (dot11rate & 0x7F)) &&
645 uint8_t rate = rateset->rs_rates[i]; local
648 if (((rate & 0x7F) != (dot11rate & 0x7F)) ||
676 uint8_t rate, next_rate, best_rate, maxindex, minindex; local
710 * Now look up the rate in the rssi table and return it.
711 * If no rates match then we return 0 (lowest rate)
721 * Try the higher rate first. It will reduce memory moving time
727 rate
800 arn_rc_rate_set_series(struct ath_rate_table *rate_table, struct ath9k_tx_rate *rate, uint8_t tries, uint8_t rix, int rtsctsenable) argument
1158 int rate; local
1302 ath_rc_get_rateindex(struct ath_rate_table *rate_table, struct ath9k_tx_rate *rate) argument
1798 arn_rate_update(struct arn_softc *sc, struct ieee80211_node *in, int32_t rate) argument
[all...]
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/uts/common/io/ath/
H A Dath_rate.h50 void ath_rate_update(ath_t *asc, struct ieee80211_node *in, int32_t rate);
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/
H A Dxti_osi.h88 * rate structure
91 struct rate { struct
102 struct rate called; /* called rate */
103 struct rate calling; /* calling rate */
/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/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:__anon801
162 * BAUDTABLE initializes the array that's used to translate baud rate requests
164 * the rate field.
/illumos-gate/usr/src/cmd/cdrw/
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...]
H A Ddevice.h83 uint_t cdrw_bandwidth_to_x(uint_t rate);
/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:__anon803
195 * BAUDTABLE initializes the array that's used to translate baud rate requests
197 * the rate field.
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dqlc.conf191 #Usage: This field specifies the data rate which the driver uses.
192 fc-data-rate=2;
/illumos-gate/usr/src/cmd/kbd/
H A Dkbd.c29 * rate]
41 * -R autorepeat rate sets autorepeat rate, unit in ms
113 char *copt, *aopt, *delay, *rate, *layout_name, *b_type, *freq_str; local
163 rate = optarg;
208 if (Rflag && atoi(rate) <= 0) {
209 (void) fprintf(stderr, "Invalid arguments: -R %s\n", rate);
247 if (Rflag && (error = set_repeat_rate(rate, kbd)) != 0)
479 * also, included the autorepeat delay and rate being used
486 /* these two variables are used for getting delay&rate */
487 int delay, rate; local
604 set_rptrate(int rate, int kbd) argument
624 int rate = atoi(rate_str); local
[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
239 rate = irint(r);
245 if ((rate <= 0) || (rate > 50000
[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/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/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/uts/common/sys/nxge/
H A Dnxge_n2_esr_hw.h145 uint16_t rate : 2; member in struct:_esr_ti_cfgrx_l::__anon8472
153 uint16_t rate : 2;
258 uint16_t rate : 2; member in struct:_esr_ti_cfgtx_l::__anon8475
266 uint16_t rate : 2;
325 uint16_t rate : 2; member in struct:_esr_ti_testcfg::__anon8477
345 uint16_t rate : 2;
462 uint16_t rate : 2; member in struct:_k_esr_ti_cfgtx_l::__anon8481
468 uint16_t rate : 2;
568 uint16_t rate : 2; member in struct:_k_esr_ti_cfgrx_l::__anon8484
574 uint16_t rate
[all...]
/illumos-gate/usr/src/uts/common/io/ral/
H A Drt2560.c54 /* quickly determine if a given rate is CCK or OFDM */
55 #define RAL_RATE_IS_OFDM(rate) ((rate) >= 12 && (rate) != 22)
217 /* update basic rate set */
834 * the rate adaptation statistics.
1255 /* give rssi to the rate adatation algorithm */
1298 * Return the expected ack rate for a frame transmitted at rate `rate'
1302 rt2560_ack_rate(struct ieee80211com *ic, int rate) argument
1337 rt2560_txtime(int len, int rate, uint32_t flags) argument
1358 rt2560_plcp_signal(int rate) argument
1383 rt2560_setup_tx_desc(struct rt2560_softc *sc, struct rt2560_tx_desc *desc, uint32_t flags, int len, int rate, int encrypt) argument
1436 int rate, err = DDI_SUCCESS; local
1569 int rate, err = DDI_SUCCESS; local
[all...]
/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/wpi/
H A Dwpireg.h231 uint8_t rate; member in struct:wpi_tx_stat
269 uint8_t rate; member in struct:wpi_rx_head
413 uint8_t rate; member in struct:wpi_node
435 uint8_t rate; member in struct:wpi_cmd_data
458 uint8_t rate; member in struct:wpi_cmd_beacon
532 uint8_t rate; member in struct:wpi_scan_hdr
/illumos-gate/usr/src/uts/common/io/rum/
H A Drum.c51 /* quickly determine if a given rate is CCK or OFDM */
52 #define RUM_RATE_IS_OFDM(rate) ((rate) >= 12 && (rate) != 22)
598 * Return the expected ack rate for a frame transmitted at rate `rate'.
601 rum_ack_rate(struct ieee80211com *ic, int rate) argument
603 switch (rate) {
610 return ((ic->ic_curmode == IEEE80211_MODE_11B) ? 4 : rate);
636 rum_txtime(int len, int rate, uint32_t flags) argument
656 rum_plcp_signal(int rate) argument
681 rum_setup_tx_desc(struct rum_softc *sc, struct rum_tx_desc *desc, uint32_t flags, uint16_t xflags, int len, int rate) argument
736 int rate, err = DDI_SUCCESS, rv; local
[all...]
/illumos-gate/usr/src/uts/common/io/ural/
H A Dural.c50 /* quickly determine if a given rate is CCK or OFDM */
51 #define RAL_RATE_IS_OFDM(rate) ((rate) >= 12 && (rate) != 22)
535 * Return the expected ack rate for a frame transmitted at rate `rate'.
536 * this should depend on the destination node basic rate set.
539 ural_ack_rate(struct ieee80211com *ic, int rate) argument
541 switch (rate) {
574 ural_txtime(int len, int rate, uint32_t flags) argument
594 ural_plcp_signal(int rate) argument
619 ural_setup_tx_desc(struct ural_softc *sc, struct ural_tx_desc *desc, uint32_t flags, int len, int rate) argument
675 int rate, err = DDI_SUCCESS; local
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/
H A Dbnxe_fw_funcs.c136 /* default MIN rate in case VNIC min rate is configured to zero- 100Mbps */
139 /* resolution of the rate shaping timer - 400 usec */
177 * rate shaping per-port variables
192 /* rate shaping per-vnic variables */
195 vdata->vnic_max_rate[vnic].vn_counter.rate =
204 (u32_t)vdata->vnic_max_rate[vnic].vn_counter.rate / 8;
213 ram_data->vn_counter.rate = vnic_max_rate;
266 * share of the port rate)
297 * Since cos and vnic shouldn't work together the rate
[all...]

Completed in 129 milliseconds

1234