/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | menf21bmc_wdt.c | 74 menf21bmc_wdt_settimeout(struct watchdog_device *wdt, unsigned int timeout) in menf21bmc_wdt_settimeout() argument 81 * Watchdog API defines the timeout in seconds, so we have to in menf21bmc_wdt_settimeout() 85 BMC_CMD_WD_TIME, timeout * 10); in menf21bmc_wdt_settimeout() 89 wdt->timeout = timeout; in menf21bmc_wdt_settimeout() 133 * Get the current wdt timeout value from the BMC because in menf21bmc_wdt_probe() 139 dev_err(dev, "failed to get current WDT timeout\n"); in menf21bmc_wdt_probe()
|
H A D | pnx4008_wdt.c | 100 writel(wdd->timeout * WDOG_COUNTER_RATE, WDTIM_MATCH0(wdt_base)); in pnx4008_wdt_start() 121 wdd->timeout = new_timeout; in pnx4008_wdt_set_timeout() 177 .timeout = DEFAULT_HEARTBEAT, 210 dev_info(dev, "heartbeat %d sec\n", pnx4008_wdd.timeout); in pnx4008_wdt_probe()
|
/kernel/linux/linux-6.6/include/linux/greybus/ |
H A D | operation.h | 174 unsigned int timeout, 177 unsigned int timeout); 194 unsigned int timeout); 197 unsigned int timeout);
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-test.c | 41 ktime_t timeout; in test_rtc_set_alarm() local 44 timeout = rtc_tm_to_time64(&alrm->time) - ktime_get_real_seconds(); in test_rtc_set_alarm() 45 timeout -= rtd->offset; in test_rtc_set_alarm() 49 expires = jiffies + timeout * HZ; in test_rtc_set_alarm()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/ |
H A D | igc_nvm.c | 48 s32 timeout = IGC_NVM_GRANT_ATTEMPTS; in igc_acquire_nvm() local 55 while (timeout) { in igc_acquire_nvm() 60 timeout--; in igc_acquire_nvm() 63 if (!timeout) { in igc_acquire_nvm()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00usb.h | 25 * For USB vendor requests we need to pass a timeout time in ms, for this we 84 * @timeout: Operation timeout 95 const int timeout); 127 * @timeout: Operation timeout 135 const u16 buffer_length, const int timeout); 143 * @timeout: Operation timeout 153 const int timeout) in rt2x00usb_vendor_request_sw() 149 rt2x00usb_vendor_request_sw(struct rt2x00_dev *rt2x00dev, const u8 request, const u16 offset, const u16 value, const int timeout) rt2x00usb_vendor_request_sw() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dma.c | 38 * -EBUSY if timeout exceeded 41 READ_GET(struct nouveau_channel *chan, uint64_t *prev_get, int *timeout) in READ_GET() argument 55 *timeout = 0; in READ_GET() 58 if ((++*timeout & 0xff) == 0) { in READ_GET() 60 if (*timeout > 100000) in READ_GET()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | g84.c | 121 bool idle, timeout = false; in g84_gr_tlb_flush() local 149 !(timeout = nvkm_timer_read(tmr) - start > 2000000000)); in g84_gr_tlb_flush() 151 if (timeout) { in g84_gr_tlb_flush() 152 nvkm_error(subdev, "PGRAPH TLB flush idle timeout fail\n"); in g84_gr_tlb_flush() 174 return timeout ? -EBUSY : 0; in g84_gr_tlb_flush()
|
/kernel/linux/linux-6.6/drivers/input/serio/ |
H A D | ct82c710.c | 65 int timeout = 60000; in ct82c170_wait() local 68 != (CT82C710_DEV_IDLE | CT82C710_TX_IDLE) && timeout) { in ct82c170_wait() 73 timeout--; in ct82c170_wait() 76 return !timeout; in ct82c170_wait()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | drop_monitor_tests.sh | 79 timeout 5 dwdump -o sw -w ${dir}/packets.pcap 87 timeout 5 dwdump -o sw -w ${dir}/packets.pcap 107 timeout 5 dwdump -o hw -w ${dir}/packets.pcap 116 timeout 5 dwdump -o hw -w ${dir}/packets.pcap 181 if [ ! -x "$(command -v timeout)" ]; then 182 echo "SKIP: Could not run test without timeout tool"
|
/kernel/linux/linux-6.6/drivers/scsi/arm/ |
H A D | oak.c | 64 unsigned int status, timeout; in oakscsi_pread() local 67 timeout = 0x01FFFFFF; in oakscsi_pread() 71 timeout--; in oakscsi_pread() 72 if(status & 0x200 || !timeout) in oakscsi_pread()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | stream.c | 96 void sk_stream_wait_close(struct sock *sk, long timeout) in sk_stream_wait_close() argument 98 if (timeout) { in sk_stream_wait_close() 104 if (sk_wait_event(sk, &timeout, !sk_stream_closing(sk), &wait)) in sk_stream_wait_close() 106 } while (!signal_pending(current) && timeout); in sk_stream_wait_close()
|
/third_party/curl/docs/examples/ |
H A D | multi-uv.c | 44 uv_timer_t timeout; variable 164 uv_timer_stop(&timeout); in start_timeout() 170 uv_timer_start(&timeout, on_timeout, timeout_ms, 0); in start_timeout() 223 uv_timer_init(loop, &timeout); in main()
|
/third_party/libuv/docs/code/uvwget/ |
H A D | main.c | 9 uv_timer_t timeout; variable 82 uv_timer_stop(&timeout); in curl_perform() 106 uv_timer_start(&timeout, on_timeout, timeout_ms, 0); in start_timeout() 153 uv_timer_init(loop, &timeout); in main()
|
/third_party/libcoap/src/ |
H A D | coap_io_contiki.c | 42 unsigned timeout; in on_prepare_timer_expired() local 46 timeout = coap_io_prepare_io(ctx, sockets, max_sockets, &num_sockets, now); in on_prepare_timer_expired() 47 if (!timeout) { in on_prepare_timer_expired() 51 CLOCK_SECOND * timeout / 1000, in on_prepare_timer_expired()
|
/third_party/node/lib/timers/ |
H A D | promises.js | 80 const timeout = new Timeout(resolve, after, args, false, ref); 81 insert(timeout, timeout._idleTimeout); 84 timeout, clearTimeout, reject, signal);
|
/third_party/node/deps/v8/tools/chrome/ |
H A D | linux_perf.py | 49 parser.add_option("--timeout", type=int, help="Stop chrome after N seconds") 108 if options.timeout and options.timeout < 2: 109 parser.error("--timeout should be more than 2 seconds") 150 if options.timeout is None: 154 time.sleep(options.timeout) 155 log(f"QUITING chrome child processes after {options.timeout}s timeout")
|
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_pv.c | 43 ngtcp2_duration timeout, uint8_t flags, ngtcp2_log *log, in ngtcp2_pv_new() 56 (*ppv)->timeout = timeout; in ngtcp2_pv_new() 145 t = pv->started_ts + pv->timeout; in ngtcp2_pv_validation_timed_out() 42 ngtcp2_pv_new(ngtcp2_pv **ppv, const ngtcp2_dcid *dcid, ngtcp2_duration timeout, uint8_t flags, ngtcp2_log *log, const ngtcp2_mem *mem) ngtcp2_pv_new() argument
|
/third_party/node/deps/npm/node_modules/socks/build/common/ |
H A D | helpers.js | 33 // Check timeout 34 if (options.timeout && !isValidTimeoutValue(options.timeout)) { 71 // Check timeout 72 if (options.timeout && !isValidTimeoutValue(options.timeout)) { 124 * Validates a timeout value.
|
/third_party/ltp/testcases/kernel/io/aio/ |
H A D | aio02.c | 111 struct timespec timeout; in io_tio() local 177 timeout.tv_sec = 30; in io_tio() 178 timeout.tv_nsec = 0; in io_tio() 185 res = io_wait_run(myctx, &timeout); in io_tio()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
H A D | 3-1.c | 12 * unlock the lock, this wait shall be terminate when the specified timeout expires. 58 struct timespec timeout, ts; in fn_wr() local 73 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; in fn_wr() 74 timeout.tv_nsec = currsec1.tv_usec * 1000; in fn_wr() 77 rc = pthread_rwlock_timedwrlock(&rwlock, &timeout); in fn_wr() 175 /* we expect the thread to expire blocking after timeout */ in main() 192 "was terminated, but the timeout is not correct: " in main() 198 printf("thread1 correctly expired at timeout.\n"); in main() 234 /* we expect thread2 to expire blocking after timeout */ in main() 250 "and waiter terminated, but the timeout i in main() [all...] |
H A D | 1-1.c | 12 * unlock the lock, this wait shall be terminate when the specified timeout expires. 56 struct timespec timeout; in fn_wr() local 63 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; in fn_wr() 64 timeout.tv_nsec = currsec1.tv_usec * 1000; in fn_wr() 67 rc = pthread_rwlock_timedwrlock(&rwlock, &timeout); in fn_wr() 155 /* we expect the thread to expire blocking after timeout */ in main() 172 ("Test FAILED: the timer expired and blocking was terminated, but the timeout is not correct: expected to wait for %d, but waited for %ld.%06ld\n", in main() 177 printf("thread1 correctly expired at timeout.\n"); in main() 213 /* we expect thread2 to expire blocking after timeout */ in main() 229 ("Test FAILED: for thread 2, the timer expired and waiter terminated, but the timeout i in main() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
H A D | conditionvariable.h | 54 // satisfied, and the ConditionVariable is notified, or the timeout has been 55 // reached. Returns false if pred still evaluates to false after the timeout 64 // satisfied, and the ConditionVariable is notified, or the timeout has been 65 // reached. Returns false if pred still evaluates to false after the timeout 70 const std::chrono::time_point<Clock, Duration>& timeout, 160 const std::chrono::time_point<Clock, Duration>& timeout, in wait_until() 175 auto res = fiber->wait(lock, timeout, pred); in wait_until() 189 auto res = lock.wait_until(condition, timeout, pred); in wait_until() 158 wait_until( marl::lock& lock, const std::chrono::time_point<Clock, Duration>& timeout, Predicate&& pred) wait_until() argument
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
H A D | linuxver.h | 687 uint timeout = (uint)msecs_to_jiffies(PROC_WAIT_TIMEOUT_MSEC); \ 693 timeout = (uint)wait_for_completion_timeout(&((tsk_ctl)->completed), timeout); \ 694 if (timeout == 0) \ 695 DBG_THR(("%s(): thread:%s:%lx terminate timeout\n", __FUNCTION__, \ 708 uint timeout = (uint)msecs_to_jiffies(PROC_WAIT_TIMEOUT_MSEC); \ 714 timeout = (uint)wait_for_completion_timeout(&((tsk_ctl)->completed), timeout); \ 715 if (timeout == 0) \ 716 DBG_THR(("%s(): thread:%s:%lx terminate timeout\ [all...] |
/foundation/communication/nfc/test/unittest/services/services_tags_test/ |
H A D | tag_session_test.cpp | 276 int timeout = 0;
in HWTEST_F() local 277 int result = tagSession->GetTimeout(tagRfDiscId, technology, timeout);
in HWTEST_F() 291 int timeout = 0;
in HWTEST_F() local 292 int result = tagSession->GetTimeout(tagRfDiscId, technology, timeout);
in HWTEST_F() 306 int timeout = 0;
in HWTEST_F() local 307 int result = tagSession->GetTimeout(tagRfDiscId, technology, timeout);
in HWTEST_F() 322 int timeout = 0;
in HWTEST_F() local 323 int result = tagSession->GetTimeout(tagRfDiscId, technology, timeout);
in HWTEST_F() 335 int timeout = 0;
in HWTEST_F() local 337 int result = tagSession->SetTimeout(TEST_DISC_ID, timeout, technolog in HWTEST_F() 349 int timeout = 0; HWTEST_F() local 365 int timeout = 0; HWTEST_F() local [all...] |