Home
last modified time | relevance | path

Searched refs:thresh (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/
H A Dtst.cputime.ksh36 int thresh;
41 thresh = 10;
63 /((total * 100) / (timestamp - start)) > thresh/
67 printf("expected no more than %d%%!\n", thresh);
/freebsd-12.1/contrib/tcpdump/
H A Dprint-dvmrp.c258 register u_char thresh; in print_neighbors() local
266 thresh = *bp++; in print_neighbors()
273 ipaddr_string(ndo, bp), metric, thresh)); in print_neighbors()
289 register u_char metric, thresh, flags; in print_neighbors2() local
301 thresh = *bp++; in print_neighbors2()
308 metric, thresh)); in print_neighbors2()
/freebsd-12.1/sys/dev/iicbus/
H A Dads111x.c349 int thresh, err; in ads111x_sysctl_lothresh() local
352 if ((err = ads111x_read_2(sc, ADS111x_LOTHRESH, &thresh)) != 0) in ads111x_sysctl_lothresh()
354 err = sysctl_handle_int(oidp, &thresh, 0, req); in ads111x_sysctl_lothresh()
358 err = ads111x_write_2(sc, ADS111x_CONF, thresh); in ads111x_sysctl_lothresh()
368 int thresh, err; in ads111x_sysctl_hithresh() local
371 if ((err = ads111x_read_2(sc, ADS111x_HITHRESH, &thresh)) != 0) in ads111x_sysctl_hithresh()
373 err = sysctl_handle_int(oidp, &thresh, 0, req); in ads111x_sysctl_hithresh()
377 err = ads111x_write_2(sc, ADS111x_CONF, thresh); in ads111x_sysctl_hithresh()
/freebsd-12.1/sys/gnu/dts/arm/
H A Domap3-gta04a3.dts29 st,click-thresh-x = <8>;
30 st,click-thresh-y = <8>;
31 st,click-thresh-z = <10>;
H A Domap3-overo-common-peripherals.dtsi66 st,click-thresh-x = <10>;
67 st,click-thresh-y = <10>;
68 st,click-thresh-z = <10>;
H A Dpxa300-raumfeld-controller.dts132 st,click-thresh-x = <10>;
133 st,click-thresh-y = <10>;
134 st,click-thresh-z = <10>;
H A Dam335x-evmsk.dts496 st,click-thresh-x = <10>;
497 st,click-thresh-y = <10>;
498 st,click-thresh-z = <10>;
H A Dam335x-evm.dts484 st,click-thresh-x = <10>;
485 st,click-thresh-y = <10>;
486 st,click-thresh-z = <10>;
/freebsd-12.1/tools/tools/whereintheworld/
H A Dwhereintheworld.pl18 my $thresh = 10;
56 while (@lines > $thresh) {
/freebsd-12.1/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_timer.c176 u_int32_t *thresh) in ar9300_get_gen_timer_interrupts() argument
180 *thresh = ahp->ah_intr_gen_timer_thresh; in ar9300_get_gen_timer_interrupts()
H A Dar9300_mci.c67 u_int32_t thresh; in ar9300_mci_osla_setup() local
80 thresh = MS(ah->ah_config.ath_hal_mci_config, in ar9300_mci_osla_setup()
83 AR_BTCOEX_CTRL_AGGR_THRESH, thresh); in ar9300_mci_osla_setup()
88 thresh, (thresh + 1)*125/10, (thresh + 1)*125%10); in ar9300_mci_osla_setup()
/freebsd-12.1/sys/dev/vnic/
H A Dnicvf_queues.h251 uint32_t thresh; /* Threshold level for interrupt */ member
288 uint16_t thresh; member
316 uint16_t thresh; member
H A Dnicvf_queues.c363 rbdr->thresh = RBDR_THRESH; in nicvf_init_rbdr()
925 cq->thresh = pass1_silicon(nic->dev) ? 0 : CMP_QUEUE_CQE_THRESH; in nicvf_init_cmp_queue()
1077 sq->thresh = SND_QUEUE_THRESH; in nicvf_init_snd_queue()
1400 nicvf_queue_reg_write(nic, NIC_QSET_CQ_0_7_THRESH, qidx, cq->thresh); in nicvf_cmp_queue_config()
1449 nicvf_queue_reg_write(nic, NIC_QSET_SQ_0_7_THRESH, qidx, sq->thresh); in nicvf_snd_queue_config()
1486 rbdr->thresh - 1); in nicvf_rbdr_config()
/freebsd-12.1/sys/dev/sound/isa/
H A Dsb8.c506 int speed, tmp, thresh, max; in sb_speed() local
510 thresh = stereo? 11025 : 23000; in sb_speed()
513 thresh = play? 23000 : 13000; in sb_speed()
516 thresh = 999999; in sb_speed()
526 if (speed > thresh) in sb_speed()
/freebsd-12.1/contrib/diff/src/
H A Dcontext.c388 lin thresh; in find_hunk() local
404 thresh = (prev->ignore || (start && start->ignore) in find_hunk()
414 && start->line0 - top0 < thresh); in find_hunk()
/freebsd-12.1/crypto/openssh/
H A Dmisc.c1335 bw->thresh = bw->rate; in bandwidth_limit_init()
1354 if (bw->lamt < bw->thresh) in bandwidth_limit()
1373 bw->thresh /= 2; in bandwidth_limit()
1374 if (bw->thresh < bw->buflen / 4) in bandwidth_limit()
1375 bw->thresh = bw->buflen / 4; in bandwidth_limit()
1377 bw->thresh *= 2; in bandwidth_limit()
1378 if (bw->thresh > bw->buflen * 8) in bandwidth_limit()
1379 bw->thresh = bw->buflen * 8; in bandwidth_limit()
H A Dmisc.h136 u_int64_t rate, thresh, lamt; member
/freebsd-12.1/sys/netinet/tcp_stacks/
H A Drack.c1895 uint32_t thresh; in rack_calc_thresh_rack() local
1950 thresh += 1; in rack_calc_thresh_rack()
1959 thresh = rack_rto_max; in rack_calc_thresh_rack()
1961 return (thresh); in rack_calc_thresh_rack()
1969 uint32_t thresh, len; in rack_calc_thresh_tlp() local
1977 thresh = (srtt * 2); in rack_calc_thresh_tlp()
1993 thresh = alt_thresh; in rack_calc_thresh_tlp()
2013 thresh += inter_gap; in rack_calc_thresh_tlp()
2023 thresh = alt_thresh; in rack_calc_thresh_tlp()
2035 thresh = alt_thresh; in rack_calc_thresh_tlp()
[all …]
/freebsd-12.1/sys/contrib/octeon-sdk/
H A Dcvmx-fpa-defs.h2250 uint64_t thresh : 32; /**< Packet Threshold. */ member
2252 uint64_t thresh : 32;
2332 uint64_t thresh : 32; /**< The Threshold. */ member
2334 uint64_t thresh : 32;
2341 uint64_t thresh : 29; /**< The Threshold. */ member
2343 uint64_t thresh : 29;
2632 uint64_t thresh : 32; /**< WQE Threshold. */ member
2634 uint64_t thresh : 32;
H A Dcvmx-pcmx-defs.h487 …uint64_t thresh : 4; /**< If number of bytes remaining in the DMA fifo is <… member
496 uint64_t thresh : 4;
H A Dcvmx-spi.c386 gmxx_tx_spi_thresh.s.thresh = 4; in cvmx_spi_calendar_setup_cb()
/freebsd-12.1/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_btcoex.c170 ar5416BTCoexSetupBmissThresh(struct ath_hal *ah, u_int32_t thresh) in ar5416BTCoexSetupBmissThresh() argument
174 ahp->ah_btCoexMode2 |= SM(thresh, AR_BT_BCN_MISS_THRESH); in ar5416BTCoexSetupBmissThresh()
/freebsd-12.1/sys/dev/mwl/
H A Dmwlhal.h528 int mwl_hal_setaggampduratemode(struct mwl_hal *, int mode, int thresh);
529 int mwl_hal_getaggampduratemode(struct mwl_hal *, int *mode, int *thresh);
/freebsd-12.1/sys/dev/vr/
H A Dif_vr.c1636 int thresh; in vr_tx_underrun() local
1640 thresh = sc->vr_txthresh; in vr_tx_underrun()
1647 vr_tx_threshold_tables[thresh].value, in vr_tx_underrun()
1648 vr_tx_threshold_tables[thresh + 1].value); in vr_tx_underrun()
/freebsd-12.1/sys/dev/virtio/network/
H A Dif_vtnet.c3657 int size, thresh; in vtnet_set_tx_intr_threshold() local
3671 thresh = size / 4; in vtnet_set_tx_intr_threshold()
3678 thresh < sc->vtnet_tx_nsegs) in vtnet_set_tx_intr_threshold()
3679 thresh = sc->vtnet_tx_nsegs; in vtnet_set_tx_intr_threshold()
3681 sc->vtnet_tx_intr_thresh = thresh; in vtnet_set_tx_intr_threshold()

12