/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | nic7018_wdt.c | 33 static unsigned int timeout; variable 34 module_param(timeout, uint, 0); 35 MODULE_PARM_DESC(timeout, 36 "Watchdog timeout in seconds. (default=" 66 static const struct nic7018_config *nic7018_get_config(u32 timeout, in nic7018_get_config() argument 72 if (timeout < 30 && timeout != 16) { in nic7018_get_config() 74 count = timeout / 2 + 1; in nic7018_get_config() 77 count = DIV_ROUND_UP(timeout + 16, 32); in nic7018_get_config() 87 unsigned int timeout) in nic7018_set_timeout() 86 nic7018_set_timeout(struct watchdog_device *wdd, unsigned int timeout) nic7018_set_timeout() argument [all...] |
H A D | sl28cpld_wdt.c | 36 static int timeout; variable 37 module_param(timeout, int, 0); 38 MODULE_PARM_DESC(timeout, "Initial watchdog timeout in seconds"); 92 unsigned int timeout) in sl28cpld_wdt_set_timeout() 97 ret = regmap_write(wdt->regmap, wdt->offset + WDT_TIMEOUT, timeout); in sl28cpld_wdt_set_timeout() 101 wdd->timeout = timeout; in sl28cpld_wdt_set_timeout() 144 "kontron,assert-wdt-timeout-pin"); in sl28cpld_wdt_probe() 166 * Initial timeout valu in sl28cpld_wdt_probe() 91 sl28cpld_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) sl28cpld_wdt_set_timeout() argument [all...] |
H A D | ts4800_wdt.c | 36 * TS-4800 supports the following timeout values: 45 * Keep the regmap/timeout map ordered by timeout 48 const int timeout; member 79 unsigned int timeout) in ts4800_wdt_set_timeout() 85 if (ts4800_wdt_map[i].timeout >= timeout) in ts4800_wdt_set_timeout() 89 wdd->timeout = ts4800_wdt_map[i].timeout; in ts4800_wdt_set_timeout() 151 wdd->min_timeout = ts4800_wdt_map[0].timeout; in ts4800_wdt_probe() 78 ts4800_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) ts4800_wdt_set_timeout() argument [all...] |
H A D | sun4v_wdt.c | 27 static unsigned int timeout; variable 28 module_param(timeout, uint, 0); 29 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default=" 49 * HV watchdog timer will round up the timeout in sun4v_wdt_ping() 53 hverr = sun4v_mach_set_watchdog(wdd->timeout * 1000, NULL); in sun4v_wdt_ping() 61 unsigned int timeout) in sun4v_wdt_set_timeout() 63 wdd->timeout = timeout; in sun4v_wdt_set_timeout() 89 .timeout 60 sun4v_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) sun4v_wdt_set_timeout() argument [all...] |
H A D | it87_wdt.c | 89 static unsigned int timeout = DEFAULT_TIMEOUT; variable 93 module_param(timeout, int, 0); 94 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds, default=" 203 return wdt_update_timeout(wdd->timeout); in wdt_start() 212 * wdt_set_timeout - set a new timeout value with watchdog ioctl 213 * @t: timeout value in seconds 228 wdd->timeout = t; in wdt_set_timeout() 331 if (timeout < 1 || timeout > max_unit in it87_wdt_init() [all...] |
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | timeout_gesture.cpp | 20 TimeoutGesture::TimeoutGesture(const std::chrono::duration<float>& timeout) in TimeoutGesture() argument 21 : timeout_(timeout) in TimeoutGesture() 27 auto timeout = AceType::MakeRefPtr<OHOS::Ace::TimeoutRecognizer>( in CreateRecognizer() local 32 timeout->SetPriority(priority_); in CreateRecognizer() 33 timeout->SetPriorityMask(gestureMask_); in CreateRecognizer() 35 return timeout; in CreateRecognizer()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_dynset.c | 25 u64 timeout; member 35 u64 timeout; in nft_dynset_new() local 41 timeout = priv->timeout ? : set->timeout; in nft_dynset_new() 45 timeout, 0, GFP_ATOMIC); in nft_dynset_new() 70 u64 timeout; in nft_dynset_eval() local 81 timeout = priv->timeout ? : set->timeout; in nft_dynset_eval() 116 u64 timeout; nft_dynset_init() local [all...] |
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | ts4800_wdt.c | 38 * TS-4800 supports the following timeout values: 47 * Keep the regmap/timeout map ordered by timeout 50 const int timeout; member 81 unsigned int timeout) in ts4800_wdt_set_timeout() 87 if (ts4800_wdt_map[i].timeout >= timeout) in ts4800_wdt_set_timeout() 91 wdd->timeout = ts4800_wdt_map[i].timeout; in ts4800_wdt_set_timeout() 153 wdd->min_timeout = ts4800_wdt_map[0].timeout; in ts4800_wdt_probe() 80 ts4800_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) ts4800_wdt_set_timeout() argument [all...] |
H A D | sl28cpld_wdt.c | 36 static int timeout; variable 37 module_param(timeout, int, 0); 38 MODULE_PARM_DESC(timeout, "Initial watchdog timeout in seconds"); 92 unsigned int timeout) in sl28cpld_wdt_set_timeout() 97 ret = regmap_write(wdt->regmap, wdt->offset + WDT_TIMEOUT, timeout); in sl28cpld_wdt_set_timeout() 101 wdd->timeout = timeout; in sl28cpld_wdt_set_timeout() 144 "kontron,assert-wdt-timeout-pin"); in sl28cpld_wdt_probe() 166 * Initial timeout valu in sl28cpld_wdt_probe() 91 sl28cpld_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) sl28cpld_wdt_set_timeout() argument [all...] |
H A D | sun4v_wdt.c | 27 static unsigned int timeout; variable 28 module_param(timeout, uint, 0); 29 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default=" 49 * HV watchdog timer will round up the timeout in sun4v_wdt_ping() 53 hverr = sun4v_mach_set_watchdog(wdd->timeout * 1000, NULL); in sun4v_wdt_ping() 61 unsigned int timeout) in sun4v_wdt_set_timeout() 63 wdd->timeout = timeout; in sun4v_wdt_set_timeout() 89 .timeout 60 sun4v_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) sun4v_wdt_set_timeout() argument [all...] |
H A D | it87_wdt.c | 89 static unsigned int timeout = DEFAULT_TIMEOUT; variable 93 module_param(timeout, int, 0); 94 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds, default=" 211 return wdt_update_timeout(wdd->timeout); in wdt_start() 220 * wdt_set_timeout - set a new timeout value with watchdog ioctl 221 * @t: timeout value in seconds 236 wdd->timeout = t; in wdt_set_timeout() 339 if (timeout < 1 || timeout > max_unit in it87_wdt_init() [all...] |
H A D | sbsa_gwdt.c | 19 * In the single stage mode, when the timeout is reached, your system 21 * In the two stages mode, when the timeout is reached, the first signal (WS0) 31 * |----timeout-----(panic)----timeout-----reset 35 * |--------------timeout-------------------reset 38 * by WOR, in the single stage mode, the timeout is (WOR * 2); in the two 39 * stages mode, the timeout is WOR. The maximum timeout in the two stages mode 92 static unsigned int timeout; variable 93 module_param(timeout, uin 118 sbsa_gwdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) sbsa_gwdt_set_timeout() argument [all...] |
H A D | arm_smc_wdt.c | 32 static unsigned int timeout; variable 69 static int smcwd_set_timeout(struct watchdog_device *wdd, unsigned int timeout) in smcwd_set_timeout() argument 73 res = smcwd_call(wdd, SMCWD_SET_TIMEOUT, timeout, NULL); in smcwd_set_timeout() 75 wdd->timeout = timeout; in smcwd_set_timeout() 138 wdd->timeout = res.a2; in smcwd_probe() 146 watchdog_init_timeout(wdd, timeout, &pdev->dev); in smcwd_probe() 147 err = smcwd_set_timeout(wdd, wdd->timeout); in smcwd_probe() 156 "Watchdog registered (timeout=%d sec, nowayout=%d)\n", in smcwd_probe() 157 wdd->timeout, nowayou in smcwd_probe() [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
H A D | dmlib_lite.py | 131 def execute_remote_cmd_with_timeout(telnet, command="", timeout=TIMEOUT, 139 timeout: timeout for read result 152 while time.time() - start_time < timeout: 154 timeout=1) 165 while time.time() - start_time < timeout: 168 _, _, data = telnet.expect(expect_result, timeout=1) 177 error_message = "execute %s timed out %s " % (command, timeout) 189 def read_local_output_test(com=None, command=None, timeout=TIMEOUT, 198 result, status, error_message = LiteHelper.parser_hcp_test_suite_execute_log(com, start_time, timeout, [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/futex/include/ |
H A D | futextest.h | 55 * @timeout: typically an absolute struct timespec (except where noted 64 * some of the types over overloaded (timeout is used for nr_requeue for 70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ 71 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3) 74 * futex_wait() - block on uaddr with optional timeout 75 * @timeout: relative timeout 78 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) in futex_wait() argument 80 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait() 98 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, in futex_wait_bitset() argument 121 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, int opflags) futex_lock_pi() argument 185 futex_wait_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, struct timespec *timeout, int opflags) futex_wait_requeue_pi() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/futex/include/ |
H A D | futextest.h | 55 * @timeout: typically an absolute struct timespec (except where noted 64 * some of the types over overloaded (timeout is used for nr_requeue for 70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ 71 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3) 74 * futex_wait() - block on uaddr with optional timeout 75 * @timeout: relative timeout 78 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) in futex_wait() argument 80 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait() 98 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, in futex_wait_bitset() argument 121 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, int opflags) futex_lock_pi() argument 185 futex_wait_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, struct timespec *timeout, int opflags) futex_wait_requeue_pi() argument [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/evloop/src/ |
H A D | event_impl.cpp | 22 EventImpl::EventImpl(EventTime timeout) in EventImpl() argument 25 timeout_(timeout), in EventImpl() 47 EventImpl::EventImpl(const EventFd &fd, EventsMask events, EventTime timeout) in EventImpl() argument 51 timeout_(timeout), in EventImpl() 163 int EventImpl::SetTimeout(EventTime timeout) in SetTimeout() argument 165 if (!IsValidArg(timeout)) { in SetTimeout() 173 timeout_ = timeout; in SetTimeout() 180 int errCode = loop->Modify(this, timeout); in SetTimeout() 183 LOGE("ev set timeout failed, err: '%d'.", errCode); in SetTimeout() 313 void EventImpl::SetTimeoutPeriod(EventTime timeout) in SetTimeoutPeriod() argument [all...] |
H A D | ievent.cpp | 22 IEvent *IEvent::CreateEvent(EventTime timeout, int &errCode) in CreateEvent() argument 24 if (timeout < 0) { in CreateEvent() 29 IEvent *event = new (std::nothrow) EventImpl(timeout); in CreateEvent() 39 EventTime timeout, int &errCode) in CreateEvent() 45 if ((events & ET_TIMEOUT) && (timeout < 0)) { in CreateEvent() 52 IEvent *event = new (std::nothrow) EventImpl(fd, events, timeout); in CreateEvent() 38 CreateEvent(EventFd fd, EventsMask events, EventTime timeout, int &errCode) CreateEvent() argument
|
/kernel/liteos_a/kernel/base/ipc/ |
H A D | los_rwlock.c | 130 STATIC UINT32 OsRwlockRdPendOp(LosTaskCB *runTask, LosRwlock *rwlock, UINT32 timeout)
in OsRwlockRdPendOp() argument 148 if (!timeout) {
in OsRwlockRdPendOp() 166 ret = runTask->ops->wait(runTask, node, timeout);
in OsRwlockRdPendOp() 174 STATIC UINT32 OsRwlockWrPendOp(LosTaskCB *runTask, LosRwlock *rwlock, UINT32 timeout)
in OsRwlockWrPendOp() argument 194 if (!timeout) {
in OsRwlockWrPendOp() 207 ret = runTask->ops->wait(runTask, node, timeout);
in OsRwlockWrPendOp() 215 UINT32 OsRwlockRdUnsafe(LosRwlock *rwlock, UINT32 timeout)
in OsRwlockRdUnsafe() argument 221 return OsRwlockRdPendOp(OsCurrTaskGet(), rwlock, timeout);
in OsRwlockRdUnsafe() 224 UINT32 OsRwlockTryRdUnsafe(LosRwlock *rwlock, UINT32 timeout)
in OsRwlockTryRdUnsafe() argument 250 return OsRwlockRdPendOp(runTask, rwlock, timeout);
in OsRwlockTryRdUnsafe() 253 OsRwlockWrUnsafe(LosRwlock *rwlock, UINT32 timeout) OsRwlockWrUnsafe() argument 262 OsRwlockTryWrUnsafe(LosRwlock *rwlock, UINT32 timeout) OsRwlockTryWrUnsafe() argument 282 LOS_RwlockRdLock(LosRwlock *rwlock, UINT32 timeout) LOS_RwlockRdLock() argument 312 LOS_RwlockWrLock(LosRwlock *rwlock, UINT32 timeout) LOS_RwlockWrLock() argument [all...] |
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | early_printk_8250.c | 17 unsigned int timeout) in setup_8250_early_printk_port() 21 serial8250_tx_timeout = timeout; in setup_8250_early_printk_port() 36 unsigned int timeout; in prom_putchar() local 42 timeout = serial8250_tx_timeout; in prom_putchar() 48 if (--timeout == 0) in prom_putchar() 52 if (timeout) in prom_putchar() 16 setup_8250_early_printk_port(unsigned long base, unsigned int reg_shift, unsigned int timeout) setup_8250_early_printk_port() argument
|
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | early_printk_8250.c | 17 unsigned int timeout) in setup_8250_early_printk_port() 21 serial8250_tx_timeout = timeout; in setup_8250_early_printk_port() 36 unsigned int timeout; in prom_putchar() local 42 timeout = serial8250_tx_timeout; in prom_putchar() 48 if (--timeout == 0) in prom_putchar() 52 if (timeout) in prom_putchar() 16 setup_8250_early_printk_port(unsigned long base, unsigned int reg_shift, unsigned int timeout) setup_8250_early_printk_port() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | jump_label_ratelimit.h | 11 unsigned long timeout; member 17 unsigned long timeout; member 23 unsigned long timeout; member 28 __static_key_slow_dec_deferred(&(x)->key, &(x)->work, (x)->timeout) 30 __static_key_slow_dec_deferred(&(x)->key.key, &(x)->work, (x)->timeout) 38 unsigned long timeout); 48 .timeout = (rl), \ 57 .timeout = (rl), \
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | jump_label_ratelimit.h | 11 unsigned long timeout; member 17 unsigned long timeout; member 23 unsigned long timeout; member 28 __static_key_slow_dec_deferred(&(x)->key, &(x)->work, (x)->timeout) 30 __static_key_slow_dec_deferred(&(x)->key.key, &(x)->work, (x)->timeout) 38 unsigned long timeout); 48 .timeout = (rl), \ 57 .timeout = (rl), \
|
/test/xts/hats/kernel/syscalls/async/ppoll/ |
H A D | PpollApiTest.cpp | 83 struct timespec timeout; in HWTEST_F() local 84 timeout.tv_sec = 0; in HWTEST_F() 85 timeout.tv_nsec = 200 * 1000 * 1000; in HWTEST_F() 91 int retNum = ppoll(pfdArray, numFds, &timeout, &sigMask); in HWTEST_F() 106 struct timespec timeout; in HWTEST_F() local 107 timeout.tv_sec = 0; in HWTEST_F() 108 timeout.tv_nsec = 200 * 1000 * 1000; in HWTEST_F() 110 int retNum = ppoll(fds, 0, &timeout, nullptr); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/async/pselect/ |
H A D | PselectApiTest.cpp | 81 timespec timeout; in HWTEST_F() local 82 timeout.tv_sec = 0; in HWTEST_F() 83 timeout.tv_nsec = 800 * 1000 * 1000; in HWTEST_F() 89 int retNum = pselect(numFds + 1, &readFds, &writeFds, nullptr, &timeout, &sigMask); in HWTEST_F() 96 * @tc.desc : Pselect return 0 for no data ready within the timeout period. 106 timespec timeout = {0, 0}; in HWTEST_F() local 111 int retNum = pselect(10, reinterpret_cast<fd_set*>(invalidFdSet), nullptr, nullptr, &timeout, nullptr); in HWTEST_F() 129 timespec timeout = {0, 0}; in HWTEST_F() local 134 int retNum = pselect(-1, reinterpret_cast<fd_set*>(invalidFdSet), nullptr, nullptr, &timeout, nullptr); in HWTEST_F()
|