/freebsd-10.0-release/sys/dev/usb/wlan/ |
H A D | if_rumreg.h | 213 uint8_t rate; member in struct:rum_rx_desc
|
H A D | if_uralreg.h | 73 #define RAL_TXRX_CSR11 0x0456 /* Auto responder basic rate */ 192 uint8_t rate; member in struct:ural_rx_desc
|
H A D | if_run.c | 1411 * Used to adjust per-rate Tx power registers. 1601 /* read Tx power compensation for each Tx rate */ 1711 uint8_t rate, ridx; local 1727 rate = ic->ic_sup_rates[ic->ic_curmode]. 1730 if (rt2860_rates[ridx].rate == rate) 1735 DPRINTF("rate=%d, fix_ridx=%d\n", rate, rn->fix_ridx); 1857 /* enable automatic rate adaptation */ 2286 * Check if there were retries, ie if the Tx success rate i 2382 uint8_t rate; local 3197 run_sendprot(struct run_softc *sc, const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate) argument 3297 uint8_t rate; local [all...] |
H A D | if_zyd.c | 655 "retry intr: rate=0x%x addr=%s count=%d (0x%x)\n", 656 le16toh(retry->rate), ether_sprintf(retry->macaddr), 2342 zyd_plcp_signal(struct zyd_softc *sc, int rate) argument 2344 switch (rate) { 2373 device_printf(sc->sc_dev, "unsupported rate %d\n", rate); 2426 tap->wt_rate = data->rate; 2476 int rate, totlen; local 2490 rate = tp->mgmtrate; 2495 rate [all...] |
/freebsd-10.0-release/sys/ofed/drivers/infiniband/core/ |
H A D | cm_msgs.h | 96 /* flow label:20, rsvd:6, packet rate:6 */ 109 /* flow label:20, rsvd:6, packet rate:6 */ 311 u8 rate) 315 0xFFFFFFC0) | (rate & 0x3F)); 373 u8 rate) 377 0xFFFFFFC0) | (rate & 0x3F)); 661 /* rsvd:2, packet rate:6 */ 310 cm_req_set_primary_packet_rate(struct cm_req_msg *req_msg, u8 rate) argument 372 cm_req_set_alt_packet_rate(struct cm_req_msg *req_msg, u8 rate) argument
|
H A D | sysfs.c | 182 int rate; local 194 rate = 25 * ib_width_enum_to_int(attr.active_width) * attr.active_speed; 195 if (rate < 0) 199 rate / 10, rate % 10 ? ".5" : "", 245 static PORT_ATTR_RO(rate);
|
/freebsd-10.0-release/sys/net80211/ |
H A D | ieee80211_hostap.c | 338 * such as capabilities and the negotiated rate 1609 int reassoc, int resp, const char *tag, int rate) 1612 "deny %s request, %s rate set mismatch, rate/MCS %d", 1613 reassoc ? "reassoc" : "assoc", tag, rate & IEEE80211_RATE_VAL); 1692 uint8_t rate; local 1854 * only a bare-bones rate set, communicate this to 2060 rate = ieee80211_setup_rates(ni, rates, xrates, 2063 if (rate & IEEE80211_RATE_BASIC) { 2064 ratesetmismatch(ni, wh, reassoc, resp, "legacy", rate); 1608 ratesetmismatch(struct ieee80211_node *ni, const struct ieee80211_frame *wh, int reassoc, int resp, const char *tag, int rate) argument [all...] |
/freebsd-10.0-release/sys/ofed/include/rdma/ |
H A D | ib_sa.h | 153 u8 rate; member in struct:ib_sa_path_rec 188 u8 rate; member in struct:ib_sa_mcmember_rec
|
/freebsd-10.0-release/sys/x86/isa/ |
H A D | atrtc.c | 117 atrtc_rate(unsigned rate) argument 120 rtc_statusa = RTCSA_DIVIDER | rate; 186 * When profiling, we receive interrupts at a rate of 1024 Hz.
|
/freebsd-10.0-release/usr.sbin/fdformat/ |
H A D | fdformat.c | 48 format_track(int fd, int cyl, int secs, int head, int rate, argument 66 f.transfer_rate = rate;
|
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/ |
H A D | bss.c | 1011 * wpa_bss_get_max_rate - Get maximum legacy TX rate supported in a BSS 1013 * Returns: Maximum legacy rate in units of 500 kbps 1017 int rate = 0; local 1023 if ((ie[i + 2] & 0x7f) > rate) 1024 rate = ie[i + 2] & 0x7f; 1029 if ((ie[i + 2] & 0x7f) > rate) 1030 rate = ie[i + 2] & 0x7f; 1033 return rate;
|
/freebsd-10.0-release/sys/dev/usb/serial/ |
H A D | uftdi.c | 116 uint16_t rate; member in struct:uftdi_param_config 1206 cfg->rate = ftdi_sio_b300; 1209 cfg->rate = ftdi_sio_b600; 1212 cfg->rate = ftdi_sio_b1200; 1215 cfg->rate = ftdi_sio_b2400; 1218 cfg->rate = ftdi_sio_b4800; 1221 cfg->rate = ftdi_sio_b9600; 1224 cfg->rate = ftdi_sio_b19200; 1227 cfg->rate = ftdi_sio_b38400; 1230 cfg->rate 1397 uftdi_8u232am_getrate(uint32_t speed, uint16_t *rate) argument [all...] |
/freebsd-10.0-release/usr.sbin/moused/ |
H A D | moused.c | 404 int rate; /* report rate */ member in struct:rodentparam 424 int scrollspeed; /* Movement distance to rate of scrolling */ 431 .rate = 0, 751 rodent.rate = atoi(optarg); 752 if (rodent.rate <= 0) { 1374 "usage: moused [-DRcdfs] [-I file] [-F rate] [-r resolution] [-S baudrate]", 1509 rodent.mode.rate = -1; 1640 ** first, then select the baud rate. 1654 ** Selecting a sample rate i [all...] |
/freebsd-10.0-release/sbin/ifconfig/ |
H A D | ifieee80211.c | 1551 int rate; local 1553 rate = (int) (2*v); 1554 if (rate != 2*v) 1555 errx(-1, "invalid %s rate (must be .5 Mb/s units)", tag); 1556 return rate; /* NB: returns 2x the specified value */ 1562 int rate, flags; local 1564 rate = getrate(val, "roam"); 1569 _APPLY_RATE1(flags, roamparams, rate, rate); 1571 _APPLY_RATE(flags, roamparams, rate, rat 1578 int rate, flags; local 1594 int rate, flags; local 1623 int rate = getrate(val, "ucast"); local 2367 int rate = rates[i] & IEEE80211_RATE_VAL; local [all...] |
/freebsd-10.0-release/sys/dev/sound/pci/hda/ |
H A D | hdac.c | 1348 int rate, bits; local 1351 rate = 44100; 1353 rate = 48000; 1354 rate *= ((fmt >> 11) & 0x07) + 1; 1355 rate /= ((fmt >> 8) & 0x07) + 1; 1358 return (rate * bits); 1365 int rate, bits; local 1367 rate = 48000; 1368 rate *= ((fmt >> 11) & 0x07) + 1; 1373 return (rate * bit [all...] |
/freebsd-10.0-release/sys/dev/mwl/ |
H A D | mwlhal.c | 726 * XXX preamble installed after set fixed rate cmd 948 const MWL_HAL_TXRATE *rate) 959 pCmd->MulticastRate = RATEVAL(rate->McastRate); 960 pCmd->MultiRateTxType = RATETYPE(rate->McastRate); 961 /* NB: no rate type field */ 962 pCmd->ManagementRate = RATEVAL(rate->MgtRate); 969 htole32(RATEVAL(rate->RateSeries[0].Rate)); 971 htole32(RATETYPE(rate->RateSeries[0].Rate)); 979 if (rate->RateSeries[0].TryCount == 0) 982 htole32(RATETYPE(rate 947 mwl_hal_settxrate(struct mwl_hal_vap *vap, MWL_HAL_TXRATE_HANDLING handling, const MWL_HAL_TXRATE *rate) argument 1001 mwl_hal_settxrate_auto(struct mwl_hal *mh0, const MWL_HAL_TXRATE *rate) argument [all...] |
/freebsd-10.0-release/sys/contrib/altq/altq/ |
H A D | altq_cdnr.c | 513 * rate: byte_per_unittime << 32 527 tb->rate = TB_SCALE(profile->rate / 8) / machclk_freq; 529 if (tb->rate > 0) 530 tb->filluptime = tb->depth / tb->rate; 595 tbm->tb.token += interval * tbm->tb.rate; 613 * two rate three color marker 702 tcm->cmtd_tb.token += interval * tcm->cmtd_tb.rate; 713 tcm->peak_tb.token += interval * tcm->peak_tb.rate; 817 * rate estimato [all...] |
/freebsd-10.0-release/sys/dev/ath/ath_hal/ |
H A D | ah.c | 291 /* Legacy rate? Return the old way */ 298 ("number of spatial streams needs to be 1..3: MCS rate 0x%x!", 321 ath_computedur_ht(uint32_t frameLen, uint16_t rate, int streams, argument 326 KASSERT(rate & IEEE80211_RATE_MCS, ("not mcs %d", rate)); 327 KASSERT((rate &~ IEEE80211_RATE_MCS) < 31, ("bad mcs 0x%x", rate)); 330 bitsPerSymbol = ht40_bps[rate & 0x1f]; 332 bitsPerSymbol = ht20_bps[rate & 0x1f]; 345 * using the specified rate, ph [all...] |
/freebsd-10.0-release/sys/dev/sbni/ |
H A D | if_sbni.c | 240 /* report real baud rate */ 243 (csr0 & 0x01 ? 500000 : 2000000) / (1 << flags.rate); 991 sc->csr1.rate = flags.fixed_rate ? flags.rate : DEFAULT_RATE; 1143 flags.rate = sc->csr1.rate; 1176 sc->csr1.rate = flags.fixed_rate ? flags.rate : DEFAULT_RATE;
|
/freebsd-10.0-release/sys/dev/iwn/ |
H A D | if_iwn.c | 349 IWN_DEBUG_TXRATE = 0x00002000, /* TX rate debugging */ 2207 rate2plcp(int rate) argument 2209 switch (rate & 0xff) { 2227 * Calculate the required PLCP value from the given rate, 2230 * This will take the node configuration (eg 11n, rate table 2235 uint8_t rate) 2248 * If it's an MCS rate, let's set the plcp correctly 2254 * MCS 0 -> MCS 31, then set the "I'm an MCS rate!" 2257 plcp = RV(rate) | IWN_RFLAG_MCS; 2278 * If it's a two stream rate, enabl 2234 iwn_rate_to_plcp(struct iwn_softc *sc, struct ieee80211_node *ni, uint8_t rate) argument 3573 int ac, i, totlen, error, pad, nsegs = 0, rate; local 3845 int ac, totlen, error, pad, nsegs = 0, i, rate; local 4307 int i, rate, txrate; local [all...] |
/freebsd-10.0-release/lib/libipsec/ |
H A D | pfkey.c | 279 * set the rate for SOFT lifetime against HARD one. 280 * If rate is more than 100 or equal to zero, then set to 100. 288 pfkey_set_softrate(type, rate) 289 u_int type, rate; 293 if (rate > 100 || rate == 0) 294 rate = 100; 298 soft_lifetime_allocations_rate = rate; 301 soft_lifetime_bytes_rate = rate; 304 soft_lifetime_addtime_rate = rate; [all...] |
/freebsd-10.0-release/contrib/ncurses/progs/ |
H A D | tset.c | 271 /* Baud rate conditionals for mapping. */ 283 int conditional; /* Baud rate conditionals bitmask. */ 284 int speed; /* Baud rate to compare against. */ 354 tbaudrate(char *rate) argument 360 if (*rate == 'B') 361 ++rate; 364 if (!CaselessCmp(rate, sp->string)) { 370 err("unknown baud rate %s", rate); 377 * The baud rate test [all...] |
/freebsd-10.0-release/sys/dev/vkbd/ |
H A D | vkbd.c | 325 status.rate = kbd->kb_delay2; 585 static int typematic(int delay, int rate); 587 static int typematic_rate(int rate); 1187 case KDSETREPEAT: /* set keyboard repeat rate (new interface) */ 1200 case KDSETRAD: /* set keyboard repeat rate (old interface) */ 1324 typematic(int delay, int rate) argument 1335 if (rate >= rates[i])
|
/freebsd-10.0-release/contrib/lukemftpd/src/ |
H A D | ftpcmd.y | 616 LLT rate; 619 rate = strsuftollx("RATEGET", p, 0, 626 curclass.rateget = rate; 648 LLT rate; 651 rate = strsuftollx("RATEPUT", p, 0, 658 curclass.rateput = rate; 1302 { "RATEGET", RATEGET,OSTR, 1, "[ <sp> get-throttle-rate ]" }, 1303 { "RATEPUT", RATEPUT,OSTR, 1, "[ <sp> put-throttle-rate ]" },
|
/freebsd-10.0-release/sys/dev/bxe/ |
H A D | ecore_init.h | 351 /* default MIN rate in case VNIC min rate is configured to zero- 100Mbps */ 354 /* resolution of the rate shaping timer - 400 usec */ 392 * rate shaping per-port variables 407 /* rate shaping per-vnic variables */ 410 vdata->vnic_max_rate[vnic].vn_counter.rate = 419 (uint32_t)vdata->vnic_max_rate[vnic].vn_counter.rate / 8; 428 ram_data->vn_counter.rate = vnic_max_rate; 481 * share of the port rate) 512 * Since cos and vnic shouldn't work together the rate [all...] |