Searched refs:rate (Results 76 - 100 of 263) sorted by relevance

1234567891011

/freebsd-10.0-release/contrib/ofed/management/opensm/opensm/
H A Dosm_prtn.c187 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 Dosm_port_info_rcv.c114 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 Daltq.h77 u_int rate; /* rate in bit-per-sec */ member in struct:tb_profile
/freebsd-10.0-release/sys/dev/ath/
H A Dif_ath_misc.h55 extern int ath_tx_findrix(const struct ath_softc *sc, uint8_t rate);
/freebsd-10.0-release/sys/dev/usb/input/
H A Dums.c696 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 Demu10k1.c407 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 Des137x.c155 * | 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 Dfm801.c376 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 Dif_hatm_tx.c537 * 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 Dsysmouse.c81 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 Dfdwrite.c25 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 Dtwsi.c317 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 Dvmstat.c764 #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 Dosmt_multicast.c412 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 Dib_types.h1713 * 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 Dif_bwnvar.h142 #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 Dacpi_cmbat.c275 if (acpi_PkgInt32(res, 1, &sc->bst.rate) != 0)
421 bstp->rate = sc->bst.rate;
H A Dacpi_smbat.c385 * 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 Dacpi_perf.c543 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 Dsmist.c484 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 Dif_urtw.c1681 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 Dif_wpi.c1296 /* 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 Dumad.h118 #define SYS_PORT_RATE "rate"
131 unsigned rate; member in struct:umad_port
/freebsd-10.0-release/contrib/tcpdump/
H A Dprint-sflow.c95 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 Dif_malohal.h169 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 */

Completed in 515 milliseconds

1234567891011