/freebsd-10.0-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_prtn.c | 187 uint8_t rate, 212 mc_rec.rate = (rate ? rate : OSM_DEFAULT_MGRP_RATE) | (2 << 6); /* 10Gb/sec */ 219 /* don't update rate, mtu */ 185 osm_prtn_add_mcgroup(osm_log_t * p_log, osm_subn_t * p_subn, osm_prtn_t * p, uint8_t rate, uint8_t mtu, uint8_t scope) argument
|
H A D | osm_port_info_rcv.c | 114 uint8_t rate, mtu; local 124 /* track the minimal endport MTU and rate */ 133 rate = ib_port_info_compute_rate(p_pi); 134 if (rate < sm->p_subn->min_ca_rate) { 136 "Setting endport minimal rate to:%u defined by port:0x%" 137 PRIx64 "\n", rate, cl_ntoh64(port_guid)); 138 sm->p_subn->min_ca_rate = rate;
|
/freebsd-10.0-release/sys/contrib/altq/altq/ |
H A D | altq.h | 77 u_int rate; /* rate in bit-per-sec */ member in struct:tb_profile
|
/freebsd-10.0-release/sys/dev/ath/ |
H A D | if_ath_misc.h | 55 extern int ath_tx_findrix(const struct ath_softc *sc, uint8_t rate);
|
/freebsd-10.0-release/sys/dev/usb/input/ |
H A D | ums.c | 696 int rate; local 699 rate = sc->sc_pollrate; 700 /* Range check rate */ 701 if (rate > 1000) 702 rate = 1000; 703 /* Check for set rate */ 704 if ((rate > 0) && (sc->sc_xfer[UMS_INTR_DT] != NULL)) { 705 DPRINTF("Setting pollrate = %d\n", rate); 709 usbd_xfer_set_interval(sc->sc_xfer[UMS_INTR_DT], 1000 / rate); 811 sc->sc_mode.rate [all...] |
/freebsd-10.0-release/sys/dev/sound/pci/ |
H A D | emu10k1.c | 407 int i, tmp, rate; local 409 rate = 0; 415 if (tmp > rate) 416 rate = tmp; 425 if (tmp > rate) 426 rate = tmp; 429 RANGE(rate, 48, 9600); 430 sc->timerinterval = 48000 / rate; 486 emu_rate_to_pitch(u_int32_t rate) argument 526 if (rate 543 emu_rate_to_linearpitch(u_int32_t rate) argument [all...] |
H A D | es137x.c | 155 * | rate | pcm | DACx | DACy | numplay | numrec | es1370? | purpose | 574 /* Fixed rate , do nothing. */ 585 * DAC1 does not support continuous rate settings. 962 /* ES1370 default to fixed rate operation */ 1073 /* Init the sample rate converter */ 1092 * enabling the sample rate converter without properly programming 1225 es1371_adc_rate(struct es_info *es, unsigned int rate, int set) argument 1231 if (rate > 48000) 1232 rate = 48000; 1233 if (rate < 400 1265 es1371_dac_rate(struct es_info *es, unsigned int rate, int set) argument [all...] |
H A D | fm801.c | 376 u_int32_t rate; member in struct:__anon9448 403 fm801->pch.spd = fm801_rates[i].rate; 409 fm801->rch.spd = fm801_rates[i].rate; 414 ch->spd = fm801_rates[i].rate; 416 return fm801_rates[i].rate;
|
/freebsd-10.0-release/sys/dev/hatm/ |
H A D | if_hatm_tx.c | 537 * Convert CPS to Rate for a rate group 543 u_int period, rate; local 547 rate = hatm_cps2atmf(period); 548 if (hatm_atmf2cps(rate) < period) 549 rate++; 551 return (rate); 559 * assigns the rate group and set the rate group's parameter. 598 * Compute rate group index 616 if (sc->rate_ctrl[idx].rate [all...] |
/freebsd-10.0-release/sys/dev/syscons/ |
H A D | sysmouse.c | 81 mode->rate = -1; /* unknown */ 91 mode->rate = -1; 149 * Set the output baud rate to zero. The mouse device supports
|
/freebsd-10.0-release/usr.sbin/fdwrite/ |
H A D | fdwrite.c | 25 format_track(int fd, int cyl, int secs, int head, int rate, argument 42 f.transfer_rate = rate;
|
/freebsd-10.0-release/sys/arm/mv/ |
H A D | twsi.c | 317 mv_twsi_cal_baud_rate(const uint32_t target, struct mv_twsi_baud_rate *rate) argument 322 /* Calculate baud rate. */ 338 rate->raw = TWSI_BAUD_RATE_RAW(clk, m0, n0); 339 rate->param = TWSI_BAUD_RATE_PARAM(m0, n0); 340 rate->m = m0; 341 rate->n = n0;
|
/freebsd-10.0-release/usr.bin/vmstat/ |
H A D | vmstat.c | 764 #define rate(x) (((x) * rate_adj + halfuptime) / uptime) /* round */ macro 776 (unsigned long)rate(sum.v_vm_faults - osum.v_vm_faults)); 778 (unsigned long)rate(sum.v_reactivated - osum.v_reactivated)); 780 (unsigned long)rate(sum.v_swapin + sum.v_vnodein - 783 (unsigned long)rate(sum.v_swapout + sum.v_vnodeout - 786 (unsigned long)rate(sum.v_tfree - osum.v_tfree)); 788 (unsigned long)rate(sum.v_pdpages - osum.v_pdpages)); 791 (unsigned long)rate(sum.v_intr - osum.v_intr), 792 (unsigned long)rate(sum.v_syscall - osum.v_syscall), 793 (unsigned long)rate(su [all...] |
/freebsd-10.0-release/contrib/ofed/management/opensm/osmtest/ |
H A D | osmt_multicast.c | 412 p_mc_req->rate = IB_LINK_WIDTH_ACTIVE_4X; 448 * - Try joining with wrong rate - ERR_REQ_INVALID 646 p_mc_res->mtu, p_mc_res->rate); 649 mc_req_rec.rate = p_mc_res->rate; 650 /* Set feasible mtu & rate that will allow check the 653 rate_phys = p_mc_res->rate; 668 mc_req_rec.mtu, mc_req_rec.rate); 919 "Checking Join with unrealistic rate (o15.0.1.8)...\n"); 921 /* impossible requested rate */ [all...] |
/freebsd-10.0-release/contrib/ofed/management/opensm/include/iba/ |
H A D | ib_types.h | 1713 * Mask for the selector field for path record MTU, rate, 1725 * Mask for the selector field for multipath record MTU, rate, 1738 * Mask for the base value field for path record MTU, rate, 1751 * Mask for the base value field for multipath record MTU, rate, 2358 uint8_t rate; member in struct:_ib_path_rec 2402 * rate 2403 * Rate and rate selector fields to use on this path. 2694 IN uint8_t rate, 2708 p_rec->rate = (uint8_t) ((rate 2682 ib_path_rec_init_local(IN ib_path_rec_t * const p_rec, IN ib_gid_t * const p_dgid, IN ib_gid_t * const p_sgid, IN ib_net16_t dlid, IN ib_net16_t slid, IN uint8_t num_path, IN ib_net16_t pkey, IN uint8_t sl, IN uint16_t qos_class, IN uint8_t mtu_selector, IN uint8_t mtu, IN uint8_t rate_selector, IN uint8_t rate, IN uint8_t pkt_life_selector, IN uint8_t pkt_life, IN uint8_t preference) argument [all...] |
/freebsd-10.0-release/sys/dev/bwn/ |
H A D | if_bwnvar.h | 142 #define BWN_ISCCKRATE(rate) \ 143 (rate == BWN_CCK_RATE_1MB || rate == BWN_CCK_RATE_2MB || \ 144 rate == BWN_CCK_RATE_5MB || rate == BWN_CCK_RATE_11MB) 145 #define BWN_ISOFDMRATE(rate) (!BWN_ISCCKRATE(rate))
|
/freebsd-10.0-release/sys/dev/acpica/ |
H A D | acpi_cmbat.c | 275 if (acpi_PkgInt32(res, 1, &sc->bst.rate) != 0) 421 bstp->rate = sc->bst.rate;
|
H A D | acpi_smbat.c | 385 * If the rate is negative, it is discharging. Otherwise, 392 sc->bst.rate = val * factor; 396 sc->bst.rate = (-val) * factor; 398 sc->bst.rate = 0;
|
H A D | acpi_perf.c | 543 uint64_t rate; local 555 /* If we've set the rate before, use the cached value. */ 565 cpu_est_clockrate(pc->pc_cpuid, &rate); 566 rate /= 1000000; 568 if (CPUFREQ_CMP(sc->px_states[i].core_freq, rate)) {
|
/freebsd-10.0-release/sys/x86/cpufreq/ |
H A D | smist.c | 484 uint64_t rate; local 495 cpu_est_clockrate(0, &rate); 496 sc->sets[state].freq = rate / 1000000; 497 DPRINT(dev, "get calibrated new rate of %d\n",
|
/freebsd-10.0-release/sys/dev/usb/wlan/ |
H A D | if_urtw.c | 1681 int dur = 0, rtsdur = 0, rtsenable = 0, ctsenable = 0, rate, local 1720 rate = tp->mgmtrate; 1725 rate = tp->mcastrate; 1727 rate = tp->ucastrate; 1729 rate = urtw_rtl2rate(sc->sc_currate); 1736 IEEE80211_CRC_LEN, rate, 0, 0); 1745 IEEE80211_CRC_LEN, rate, 0, isshort); 1752 IEEE80211_CRC_LEN, rate, 0, isshort); 1758 IEEE80211_CRC_LEN, rate, 0, isshort) + 1965 urtw_rate2rtl(uint32_t rate) argument 1980 urtw_rtl2rate(uint32_t rate) argument 3985 uint8_t noise = 0, rate; local 4306 urtw_isbmode(uint16_t rate) argument 4314 urtw_rate2dbps(uint16_t rate) argument 4334 urtw_compute_txtime(uint16_t framelen, uint16_t rate, uint8_t ismgt, uint8_t isshort) argument [all...] |
/freebsd-10.0-release/sys/dev/wpi/ |
H A D | if_wpi.c | 1296 /* XXX split out rate control timer */ 1477 "rate=%x chan=%d tstamp=%ju\n", ring->cur, le32toh(desc->len), 1478 le16toh(head->len), (int8_t)stat->rssi, head->rate, head->chan, 1539 switch (head->rate) { 1554 /* unknown rate: should not happen */ 1585 "rate=%x duration=%d status=%x\n", desc->qid, desc->idx, 1586 stat->ntries, stat->nkill, stat->rate, le32toh(stat->duration), 1590 * Update rate control statistics for the node. 1592 * the lowest available bit-rate. 1828 wpi_plcp_signal(int rate) argument 1878 int i, error, nsegs, rate, hdrlen, ismcast; local 3453 wpi_get_power_index(struct wpi_softc *sc, struct wpi_power_group *group, struct ieee80211_channel *c, int rate) argument [all...] |
/freebsd-10.0-release/contrib/ofed/management/libibumad/include/infiniband/ |
H A D | umad.h | 118 #define SYS_PORT_RATE "rate" 131 unsigned rate; member in struct:umad_port
|
/freebsd-10.0-release/contrib/tcpdump/ |
H A D | print-sflow.c | 95 u_int8_t rate[4]; member in struct:sflow_flow_sample_t 108 u_int8_t rate[4]; member in struct:sflow_expanded_flow_sample_t 767 printf(" seqnum %u, type %u, idx %u, rate %u, pool %u, drops %u, input %u output %u records %u", 771 EXTRACT_32BITS(sflow_flow_sample->rate), 797 printf(" seqnum %u, type %u, idx %u, rate %u, pool %u, drops %u, records %u", 801 EXTRACT_32BITS(sflow_expanded_flow_sample->rate),
|
/freebsd-10.0-release/sys/dev/malo/ |
H A D | if_malohal.h | 169 uint8_t mcastrate; /* rate for multicast frames */ 170 uint8_t mgtrate; /* rate for management frames */ 173 uint8_t rate; /* use this tx rate */ member in struct:malo_hal_txrate::__anon8790 174 } rateseries[4]; /* rate series */
|