Home
last modified time | relevance | path

Searched refs:countdown (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/dev/e1000/
H A De1000_mbx.c218 int countdown = mbx->timeout; in e1000_poll_for_msg() local
222 if (!countdown || !mbx->ops.check_for_msg) in e1000_poll_for_msg()
225 while (countdown && mbx->ops.check_for_msg(hw, mbx_id)) { in e1000_poll_for_msg()
226 countdown--; in e1000_poll_for_msg()
227 if (!countdown) in e1000_poll_for_msg()
233 if (!countdown) in e1000_poll_for_msg()
236 return countdown ? E1000_SUCCESS : -E1000_ERR_MBX; in e1000_poll_for_msg()
249 int countdown = mbx->timeout; in e1000_poll_for_ack() local
253 if (!countdown || !mbx->ops.check_for_ack) in e1000_poll_for_ack()
256 while (countdown && mbx->ops.check_for_ack(hw, mbx_id)) { in e1000_poll_for_ack()
[all …]
/freebsd/sys/dev/ixgbe/
H A Dixgbe_mbx.c236 int countdown = mbx->timeout; in ixgbe_poll_for_msg() local
240 if (!countdown || !mbx->ops[mbx_id].check_for_msg) in ixgbe_poll_for_msg()
243 while (countdown && mbx->ops[mbx_id].check_for_msg(hw, mbx_id)) { in ixgbe_poll_for_msg()
244 countdown--; in ixgbe_poll_for_msg()
245 if (!countdown) in ixgbe_poll_for_msg()
250 if (countdown == 0) { in ixgbe_poll_for_msg()
269 int countdown = mbx->timeout; in ixgbe_poll_for_ack() local
273 if (!countdown || !mbx->ops[mbx_id].check_for_ack) in ixgbe_poll_for_ack()
276 while (countdown && mbx->ops[mbx_id].check_for_ack(hw, mbx_id)) { in ixgbe_poll_for_ack()
277 countdown--; in ixgbe_poll_for_ack()
[all …]
/freebsd/sys/contrib/dev/broadcom/brcm80211/include/
H A Dbrcmu_utils.h17 uint countdown = (us) + 9; \
18 while ((exp) && (countdown >= 10)) {\
20 countdown -= 10; \
/freebsd/contrib/ntp/sntp/libevent/m4/
H A Dax_prog_doxygen.m4467 countdown=5; \\
470 && test \$\$countdown -gt 0; do \\
472 countdown=\`expr \$\$countdown - 1\`; \\
498 countdown=5; \\
501 && test \$\$countdown -gt 0; do \\
503 countdown=\`expr \$\$countdown - 1\`; \\
/freebsd/contrib/libevent/m4/
H A Dax_prog_doxygen.m4467 countdown=5; \\
470 && test \$\$countdown -gt 0; do \\
472 countdown=\`expr \$\$countdown - 1\`; \\
498 countdown=5; \\
501 && test \$\$countdown -gt 0; do \\
503 countdown=\`expr \$\$countdown - 1\`; \\
/freebsd/cddl/usr.sbin/zfsd/
H A Dcase_file.cc766 timeval now, countdown, elapsed, timestamp, zero, remaining; in RegisterCallout() local
790 timersub(&removeGracePeriod, &elapsed, &countdown); in RegisterCallout()
796 if (timercmp(&countdown, &zero, <=)) { in RegisterCallout()
797 timerclear(&countdown); in RegisterCallout()
798 countdown.tv_usec = 1; in RegisterCallout()
804 || timercmp(&countdown, &remaining, <)) in RegisterCallout()
805 m_tentativeTimer.Reset(countdown, OnGracePeriodEnded, this); in RegisterCallout()
/freebsd/cddl/usr.sbin/dtrace/tests/common/docsExamples/
H A DMakefile9 countdown.d \
/freebsd/contrib/ntp/sntp/unity/
H A Dunity_fixture.c148 void UnityMalloc_MakeMallocFailAfterCount(int countdown) in UnityMalloc_MakeMallocFailAfterCount() argument
150 malloc_fail_countdown = countdown; in UnityMalloc_MakeMallocFailAfterCount()
/freebsd/stand/forth/
H A Dcheck-password.4th167 \ the user aborts/escapes the countdown sequence leading to boot).
H A Dmenusets.4th290 begin ( using u2 in c-addr2/u2 pair as countdown to zero )
409 begin ( using u2 in c-addr2/u2 pair as countdown to zero )
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8mp-hummingboard-iiot.dts494 * which is for countdown timer irqs only.
/freebsd/sys/contrib/dev/rtw89/
H A Dpci.c447 int countdown = rtwdev->napi_budget_countdown; in rtw89_pci_poll_rxq_dma() local
464 return budget - countdown; in rtw89_pci_poll_rxq_dma()