/linux-master/drivers/watchdog/ |
H A D | retu_wdt.c | 61 return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); 77 return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); 81 unsigned int timeout) 85 wdog->timeout = timeout; 86 return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); 120 retu_wdt->timeout = RETU_WDT_MAX_TIMER; 80 retu_wdt_set_timeout(struct watchdog_device *wdog, unsigned int timeout) argument
|
H A D | advantech_ec_wdt.c | 47 static unsigned int timeout; variable 50 module_param(timeout, uint, 0); 51 MODULE_PARM_DESC(timeout, 111 wdd->timeout = t; 117 adv_ec_wdt_set_timeout(wdd, wdd->timeout); 150 .timeout = DEFAULT_TIME, 161 watchdog_init_timeout(&adv_ec_wdt_dev, timeout, dev);
|
H A D | rn5t618_wdt.c | 17 static unsigned int timeout; variable 19 module_param(timeout, uint, 0); 20 MODULE_PARM_DESC(timeout, "Initial watchdog timeout in seconds"); 65 wdt_dev->timeout = rn5t618_wdt_map[i].time; 75 ret = rn5t618_wdt_set_timeout(wdt_dev, wdt_dev->timeout); 162 wdt->wdt_dev.timeout = max_timeout; 176 watchdog_init_timeout(&wdt->wdt_dev, timeout, dev);
|
H A D | w83627hf_wdt.c | 40 #define WATCHDOG_TIMEOUT 60 /* 60 sec default timeout */ 43 static int cr_wdt_timeout; /* WDT timeout register */ 54 static int timeout; /* in seconds */ variable 55 module_param(timeout, int, 0); 56 MODULE_PARM_DESC(timeout, 57 "Watchdog timeout in seconds. 1 <= timeout <= 255, default=" 241 pr_info("Watchdog already running. Resetting timeout to %d sec\n", 242 wdog->timeout); 243 superio_outb(cr_wdt_timeout, wdog->timeout); 264 wdt_set_time(unsigned int timeout) argument 289 wdt_set_timeout(struct watchdog_device *wdog, unsigned int timeout) argument [all...] |
H A D | mtk_wdt.c | 69 static unsigned int timeout; variable 250 unsigned int timeout) 256 wdt_dev->timeout = timeout; 258 * In dual mode, irq will be triggered at timeout / 2 259 * the real timeout occurs at timeout 262 wdt_dev->pretimeout = timeout / 2; 268 reg = WDT_LENGTH_TIMEOUT((timeout - wdt_dev->pretimeout) << 6) 286 mtk_wdt_set_timeout(wdt_dev, wdt_dev->timeout); 249 mtk_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) argument 330 mtk_wdt_set_pretimeout(struct watchdog_device *wdd, unsigned int timeout) argument [all...] |
H A D | sbc7240_wdt.c | 34 static int timeout = SBC7240_TIMEOUT; /* in seconds */ variable 35 module_param(timeout, int, 0); 36 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds. (1<=timeout<=" 74 pr_err("timeout value must be 1<=x<=%d\n", SBC7240_MAX_TIMEOUT); 77 /* set the timeout */ 79 timeout = t; 80 pr_info("timeout set to %d seconds\n", t); 200 return put_user(timeout, (in [all...] |
H A D | ie6xx_wdt.c | 48 static unsigned int timeout = DEFAULT_TIME; variable 49 module_param(timeout, uint, 0); 50 MODULE_PARM_DESC(timeout, 128 wdd->timeout = t; 134 ie6xx_wdt_set_timeout(wdd, wdd->timeout); 243 ie6xx_wdt_dev.timeout = timeout; 293 if ((timeout < MIN_TIME) || 294 (timeout > MAX_TIME)) { 295 pr_err("Watchdog timer: value of timeout [all...] |
H A D | gef_wdt.c | 123 static void gef_wdt_set_timeout(unsigned int timeout) argument 126 if (timeout > 0xFFFFFFFF / bus_clk) 127 timeout = 0xFFFFFFFF / bus_clk; 130 gef_wdt_count = (timeout * bus_clk) >> 8; 131 gef_wdt_timeout = timeout; 161 int timeout; local 201 if (get_user(timeout, (int __user *)argp)) 203 gef_wdt_set_timeout(timeout); 265 int timeout = 10; local 279 gef_wdt_set_timeout(timeout); [all...] |
H A D | meson_gxbb_wdt.c | 36 static unsigned int timeout; variable 37 module_param(timeout, uint, 0); 38 MODULE_PARM_DESC(timeout, "Watchdog heartbeat in seconds=" 81 unsigned int timeout) 84 unsigned long tcnt = timeout * 1000; 89 wdt_dev->timeout = timeout; 189 data->wdt_dev.timeout = DEFAULT_TIMEOUT; 190 watchdog_init_timeout(&data->wdt_dev, timeout, dev); 198 /* Watchdog is running - keep it running but extend timeout 80 meson_gxbb_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) argument [all...] |
H A D | ath79_wdt.c | 55 static int timeout = WDT_TIMEOUT; variable 56 module_param(timeout, int, 0); 57 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds " 83 ath79_wdt_wr(WDOG_REG_TIMER, wdt_freq * timeout); 117 timeout = val; 221 err = put_user(timeout, p); 269 if (timeout < 1 || timeout > max_timeout) { 270 timeout [all...] |
H A D | gxp-wdt.c | 42 writew(SECS_TO_WDOG_TICKS(wdd->timeout), drvdata->base + GXP_WDT_CNT_OFS); 59 unsigned int timeout) 64 wdd->timeout = timeout; 65 actual = min(timeout * 100, wdd->max_hw_heartbeat_ms / 10); 140 drvdata->wdd.timeout = WDT_DEFAULT_TIMEOUT; 58 gxp_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
|
H A D | pseries-wdt.c | 89 static unsigned int timeout = WATCHDOG_TIMEOUT; variable 90 module_param(timeout, uint, 0444); 91 MODULE_PARM_DESC(timeout, "Initial watchdog timeout in seconds (default=" 108 msecs = wdd->timeout * MSEC_PER_SEC; 184 pw->wd.timeout = timeout;
|
H A D | booke_wdt.c | 22 * Also, the wdt_period sets the watchdog timer period timeout. 24 * trigger a watchdog timeout. This watchdog timeout will occur 3 times, the 58 * at least 1. This will still result in a very long timeout. 75 * This procedure will find the highest period which will give a timeout 114 val |= WDTP(sec_to_period(wdog->timeout)); 145 val |= (TCR_WIE|TCR_WRC(WRC_CHIP)|WDTP(sec_to_period(wdog->timeout))); 174 pr_debug("watchdog enabled (timeout = %u sec)\n", wdog->timeout); 188 unsigned int timeout) 187 booke_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) argument [all...] |
/linux-master/drivers/gpu/host1x/hw/ |
H A D | cdma_hw.c | 34 host1x_syncpt_incr(cdma->timeout.syncpt); 37 host1x_syncpt_load(cdma->timeout.syncpt); 86 * state (where DMA GET is set to DMA PUT), on a timeout we restore 273 * If this timeout fires, it indicates the current sync_queue entry has 285 timeout.wq); 293 if (!cdma->timeout.client) { 303 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); 306 if ((s32)(syncpt_val - cdma->timeout.syncpt_val) >= 0) { 315 dev_warn(host1x->dev, "%s: timeout: %u (%s), HW thresh %d, done %d\n", 316 __func__, cdma->timeout [all...] |
/linux-master/net/netfilter/ |
H A D | nf_conntrack_proto_icmpv6.c | 83 return &nf_icmpv6_pernet(net)->timeout; 92 unsigned int *timeout = nf_ct_timeout_lookup(ct); local 113 if (!timeout) 114 timeout = icmpv6_get_timeouts(nf_ct_net(ct)); 119 nf_ct_refresh_acct(ct, ctinfo, skb, *timeout); 300 unsigned int *timeout = data; local 303 if (!timeout) 304 timeout = icmpv6_get_timeouts(net); 306 *timeout = 309 /* Set default ICMPv6 timeout 318 const unsigned int *timeout = data; local [all...] |
H A D | nft_dynset.c | 24 u64 timeout; member in struct:nft_dynset 54 u64 timeout; local 59 timeout = priv->timeout ? : set->timeout; 63 timeout, 0, GFP_ATOMIC); 87 u64 timeout; local 98 timeout = priv->timeout ? : set->timeout; 169 u64 timeout; local [all...] |
/linux-master/drivers/net/fjes/ |
H A D | fjes_trace.h | 19 TP_PROTO(union REG_CR *cr, union REG_CS *cs, int timeout, 21 TP_ARGS(cr, cs, timeout, ret), 30 __field(int, timeout) 41 __entry->timeout = timeout; 44 TP_printk("CR=[req=%04x, error=%u, err_info=%04x, req_start=%u], CS=[req=%04x, busy=%u, complete=%u], timeout=%d, ret=%d", 47 __entry->cs_complete, __entry->timeout, __entry->ret) 125 TP_PROTO(union fjes_device_command_res *res_buf, int timeout), 126 TP_ARGS(res_buf, timeout), 130 __field(int, timeout) [all...] |
/linux-master/include/linux/netfilter/ipset/ |
H A D | ip_set.h | 121 u32 timeout; member in struct:ip_set_ext 198 u32 elements; /* Number of elements vs timeout */ 271 /* Default timeout value, if enabled */ 272 u32 timeout; member in struct:ip_set 273 /* Number of elements (vs timeout) */ 275 /* Size of the dynamic extensions (vs timeout) */ 451 /* Timeout period depending on the timeout value of the given set */ 452 #define IPSET_GC_PERIOD(timeout) \ 453 ((timeout/3) ? min_t(u32, (timeout)/ 470 unsigned int timeout = ip_set_get_h32(tb); local 486 ip_set_timeout_set(unsigned long *timeout, u32 value) argument [all...] |
/linux-master/fs/orangefs/ |
H A D | waitqueue.c | 21 long timeout, 69 long timeout = MAX_SCHEDULE_TIMEOUT; local 137 timeout = 0; 139 timeout = op_timeout_secs * HZ; 146 ret = wait_for_matching_downcall(op, timeout, flags); 179 timeout = op_timeout_secs * HZ; 304 * else if client-core exits, we get woken up here, and retry with a timeout 319 long timeout, 334 n = wait_for_completion_io_timeout(&op->waitq, timeout); 337 timeout); [all...] |
/linux-master/sound/pcmcia/pdaudiocf/ |
H A D | pdaudiocf_core.c | 21 unsigned long timeout; local 26 timeout = 1000; 29 if (--timeout == 0) { 31 snd_printk(KERN_ERR "AK4117 ready timeout (read)\n"); 36 timeout = 1000; 39 if (--timeout == 0) { 41 snd_printk(KERN_ERR "AK4117 read timeout (read2)\n"); 53 unsigned long timeout; local 57 timeout = 1000; 60 if (--timeout 268 int timeout = 40; local [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_requests.c | 34 static bool flush_submission(struct intel_gt *gt, long timeout) argument 40 if (!timeout) 133 long intel_gt_retire_requests_timeout(struct intel_gt *gt, long timeout, argument 141 flush_submission(gt, timeout); /* kick the ksoftirqd tasklets */ 154 if (timeout > 0) { 161 timeout = dma_fence_wait_timeout(fence, 163 timeout); 196 if (flush_submission(gt, timeout)) /* Wait, there's more! */ 200 *remaining_timeout = timeout; 202 return active_count ? timeout [all...] |
/linux-master/drivers/accessibility/speakup/ |
H A D | speakup_keypc.c | 148 pr_warn("synth timeout %d %d %d %d\n", s1, s2, s3, s4); 155 int timeout; local 162 timeout = 1000; 164 if (--timeout <= 0) 176 int timeout; local 215 timeout = 1000; 217 if (--timeout <= 0) 219 if (timeout <= 0) { 231 timeout = 1000; 233 if (--timeout < [all...] |
/linux-master/kernel/futex/ |
H A D | syscalls.c | 84 long do_futex(u32 __user *uaddr, int op, u32 val, ktime_t *timeout, argument 102 return futex_wait(uaddr, flags, val, timeout, val3); 118 return futex_lock_pi(uaddr, flags, timeout, 0); 125 return futex_wait_requeue_pi(uaddr, flags, val, timeout, val3, 227 static int futex2_setup_timeout(struct __kernel_timespec __user *timeout, argument 235 if (!timeout) 246 if (get_timespec64(&ts, timeout)) 251 * FUTEX_WAIT_BITSET that uses absolute timeout as well 271 * @flags: Flag for timeout (monotonic/realtime) 272 * @timeout [all...] |
/linux-master/drivers/i2c/busses/ |
H A D | i2c-pca-isa.c | 61 unsigned long timeout; local 67 & I2C_PCA_CON_SI, pca_isa_ops.timeout); 70 timeout = jiffies + pca_isa_ops.timeout; 72 ret = time_before(jiffies, timeout); 106 .timeout = HZ,
|
/linux-master/drivers/gpu/drm/vc4/ |
H A D | vc4_trace.h | 18 TP_PROTO(struct drm_device *dev, uint64_t seqno, uint64_t timeout), 19 TP_ARGS(dev, seqno, timeout), 24 __field(u64, timeout) 30 __entry->timeout = timeout; 33 TP_printk("dev=%u, seqno=%llu, timeout=%llu", 34 __entry->dev, __entry->seqno, __entry->timeout)
|