/openbmc/linux/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), \
|
/openbmc/linux/drivers/net/mdio/ |
H A D | mdio-cavium.c | 33 int timeout = 1000; in cavium_mdiobus_c45_addr() local 53 } while (smi_wr.s.pending && --timeout); in cavium_mdiobus_c45_addr() 55 if (timeout <= 0) in cavium_mdiobus_c45_addr() 65 int timeout = 1000; in cavium_mdiobus_read_c22() local 81 } while (smi_rd.s.pending && --timeout); in cavium_mdiobus_read_c22() 96 int timeout = 1000; in cavium_mdiobus_read_c45() local 115 } while (smi_rd.s.pending && --timeout); in cavium_mdiobus_read_c45() 130 int timeout = 1000; in cavium_mdiobus_write_c22() local 152 if (timeout <= 0) in cavium_mdiobus_write_c22() 165 int timeout = 1000; in cavium_mdiobus_write_c45() local [all …]
|
/openbmc/linux/drivers/vfio/platform/reset/ |
H A D | vfio_platform_bcmflexrm.c | 37 unsigned int timeout; in vfio_platform_bcmflexrm_shutdown() local 43 timeout = 1000; /* timeout of 1s */ in vfio_platform_bcmflexrm_shutdown() 50 } while (--timeout); in vfio_platform_bcmflexrm_shutdown() 51 if (!timeout) in vfio_platform_bcmflexrm_shutdown() 55 timeout = 1000; /* timeout of 1s */ in vfio_platform_bcmflexrm_shutdown() 62 } while (--timeout); in vfio_platform_bcmflexrm_shutdown() 63 if (!timeout) in vfio_platform_bcmflexrm_shutdown()
|
/openbmc/linux/drivers/watchdog/ |
H A D | msc313e_wdt.c | 24 static unsigned int timeout; variable 26 module_param(timeout, int, 0); 27 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds"); 38 u32 timeout; in msc313e_wdt_start() local 45 timeout = wdev->timeout * clk_get_rate(priv->clk); in msc313e_wdt_start() 46 writew(timeout & 0xffff, priv->base + REG_WDT_MAX_PRD_L); in msc313e_wdt_start() 47 writew((timeout >> 16) & 0xffff, priv->base + REG_WDT_MAX_PRD_H); in msc313e_wdt_start() 73 wdev->timeout = new_time; in msc313e_wdt_settimeout() 121 priv->wdev.timeout = MSC313E_WDT_DEFAULT_TIMEOUT; in msc313e_wdt_probe() 129 watchdog_init_timeout(&priv->wdev, timeout, dev); in msc313e_wdt_probe()
|
H A D | sbc60xxwdt.c | 96 static int timeout = WATCHDOG_TIMEOUT; /* in seconds, multiplied by HZ to variable 98 module_param(timeout, int, 0); 99 MODULE_PARM_DESC(timeout, 139 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup() 157 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive() 265 timeout = new_timeout; in fop_ioctl() 270 return put_user(timeout, p); in fop_ioctl() 330 if (timeout < 1 || timeout > 3600) { /* arbitrary upper limit */ in sbc60xxwdt_init() 331 timeout = WATCHDOG_TIMEOUT; in sbc60xxwdt_init() 333 timeout); in sbc60xxwdt_init() [all …]
|
H A D | w83877f_wdt.c | 83 static int timeout = WATCHDOG_TIMEOUT; variable 84 module_param(timeout, int, 0); 85 MODULE_PARM_DESC(timeout, 156 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup() 179 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive() 289 timeout = new_timeout; in fop_ioctl() 294 return put_user(timeout, p); in fop_ioctl() 353 if (timeout < 1 || timeout > 3600) { /* arbitrary upper limit */ in w83877f_wdt_init() 354 timeout = WATCHDOG_TIMEOUT; in w83877f_wdt_init() 356 timeout); in w83877f_wdt_init() [all …]
|
H A D | ebc-c384_wdt.c | 35 static unsigned timeout; variable 36 module_param(timeout, uint, 0); 37 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default=" 42 unsigned t = wdev->timeout; in ebc_c384_wdt_start() 65 wdev->timeout = roundup(t, 60); in ebc_c384_wdt_set_timeout() 70 wdev->timeout = t; in ebc_c384_wdt_set_timeout() 106 wdd->timeout = WATCHDOG_TIMEOUT; in ebc_c384_wdt_probe() 111 watchdog_init_timeout(wdd, timeout, dev); in ebc_c384_wdt_probe()
|
H A D | via_wdt.c | 56 static int timeout = WDT_TIMEOUT; variable 57 module_param(timeout, int, 0); 58 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds, between 1 and 1023 " 104 next_heartbeat = jiffies + wdd->timeout * HZ; in wdt_ping() 112 writel(wdd->timeout, wdt_mem + VIA_WDT_COUNT); in wdt_start() 131 wdd->timeout = new_timeout; in wdt_set_timeout() 205 if (timeout < 1 || timeout > WDT_TIMEOUT_MAX) in wdt_probe() 206 timeout = WDT_TIMEOUT; in wdt_probe() 208 wdt_dev.timeout = timeout; in wdt_probe()
|
H A D | wafer5823wdt.c | 60 static int timeout = WD_TIMO; /* in seconds */ variable 61 module_param(timeout, int, 0); 62 MODULE_PARM_DESC(timeout, 84 outb_p(timeout, wdt_start); in wafwdt_start() 174 timeout = new_timeout; in wafwdt_ioctl() 179 return put_user(timeout, p); in wafwdt_ioctl() 259 if (timeout < 1 || timeout > 255) { in wafwdt_init() 260 timeout = WD_TIMO; in wafwdt_init() 262 timeout); in wafwdt_init() 293 timeout, nowayout); in wafwdt_init()
|
H A D | bcm47xx_wdt.c | 31 static int timeout = WDT_DEFAULT_TIME; variable 34 module_param(timeout, int, 0); 35 MODULE_PARM_DESC(timeout, "Watchdog time in seconds. (default=" 52 wdt->timer_set_ms(wdt, wdd->timeout * 1000); in bcm47xx_wdt_hard_keepalive() 83 wdd->timeout = new_time; in bcm47xx_wdt_hard_set_timeout() 109 u32 next_tick = min(wdt->wdd.timeout * 1000, wdt->max_timer_ms); in bcm47xx_wdt_soft_timer_tick() 123 atomic_set(&wdt->soft_ticks, wdd->timeout); in bcm47xx_wdt_soft_keepalive() 157 wdd->timeout = new_time; in bcm47xx_wdt_soft_set_timeout() 196 wdt->wdd.timeout = WDT_DEFAULT_TIME; in bcm47xx_wdt_probe() 198 ret = wdt->wdd.ops->set_timeout(&wdt->wdd, timeout); in bcm47xx_wdt_probe() [all …]
|
H A D | armada_37xx_wdt.c | 66 static unsigned int timeout; variable 67 module_param(timeout, int, 0); 79 u64 timeout; /* in clock ticks */ member 167 unsigned int timeout) in armada_37xx_wdt_set_timeout() argument 171 wdt->timeout = timeout; in armada_37xx_wdt_set_timeout() 178 dev->timeout = (u64)dev->clk_rate * timeout; in armada_37xx_wdt_set_timeout() 179 do_div(dev->timeout, CNTR_CTRL_PRESCALE_MIN); in armada_37xx_wdt_set_timeout() 181 set_counter_value(dev, CNTR_ID_WDOG, dev->timeout); in armada_37xx_wdt_set_timeout() 212 set_counter_value(dev, CNTR_ID_WDOG, dev->timeout); in armada_37xx_wdt_start() 295 dev->wdt.timeout = WATCHDOG_TIMEOUT; in armada_37xx_wdt_probe() [all …]
|
H A D | xen_wdt.c | 30 static unsigned int timeout; variable 31 module_param(timeout, uint, S_IRUGO); 32 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds " 42 wdt.timeout = wdd->timeout; in set_timeout() 43 return ktime_get_seconds() + wdd->timeout; in set_timeout() 70 wdt.timeout = 0; in xen_wdt_stop() 116 .timeout = WATCHDOG_TIMEOUT, 135 watchdog_init_timeout(&xen_wdt_dev, timeout, NULL); in xen_wdt_probe() 145 xen_wdt_dev.timeout, nowayout); in xen_wdt_probe()
|
H A D | diag288_wdt.c | 74 static int diag288(unsigned int func, unsigned int timeout, in diag288() argument 77 union register_pair r1 = { .even = func, .odd = timeout, }; in diag288() 95 static int diag288_str(unsigned int func, unsigned int timeout, char *cmd) in diag288_str() argument 105 return diag288(func, timeout, virt_to_phys(cmd_buf), len); in diag288_str() 116 ret = diag288_str(func, dev->timeout, wdt_cmd); in wdt_start() 119 ret = diag288(WDT_FUNC_INIT, dev->timeout, LPARWDT_RESTART, 0); in wdt_start() 148 ret = diag288_str(func, dev->timeout, wdt_cmd); in wdt_ping() 151 ret = diag288(WDT_FUNC_CHANGE, dev->timeout, 0, 0); in wdt_ping() 161 dev->timeout = new_to; in wdt_set_timeout() 184 .timeout = WDT_DEFAULT_TIMEOUT,
|
H A D | sc1200wdt.c | 70 static int timeout = 1; variable 88 module_param(timeout, int, 0); 141 __sc1200wdt_write_data(WDTO, timeout); in sc1200wdt_start() 170 if (timeout > MAX_TIMEOUT) in sc1200wdt_open() 171 timeout = MAX_TIMEOUT; in sc1200wdt_open() 225 sc1200wdt_write_data(WDTO, timeout); in sc1200wdt_ioctl() 235 timeout = new_timeout; in sc1200wdt_ioctl() 236 sc1200wdt_write_data(WDTO, timeout); in sc1200wdt_ioctl() 240 return put_user(timeout * 60, p); in sc1200wdt_ioctl() 254 sc1200wdt_write_data(WDTO, timeout); in sc1200wdt_release() [all …]
|
H A D | sbsa_gwdt.c | 96 static unsigned int timeout; variable 97 module_param(timeout, uint, 0); 98 MODULE_PARM_DESC(timeout, 147 unsigned int timeout) in sbsa_gwdt_set_timeout() argument 151 wdd->timeout = timeout; in sbsa_gwdt_set_timeout() 152 timeout = clamp_t(unsigned int, timeout, 1, wdd->max_hw_heartbeat_ms / 1000); in sbsa_gwdt_set_timeout() 155 sbsa_gwdt_reg_write((u64)gwdt->clk * timeout, gwdt); in sbsa_gwdt_set_timeout() 293 wdd->timeout = DEFAULT_TIMEOUT; in sbsa_gwdt_probe() 338 watchdog_init_timeout(wdd, timeout, dev); in sbsa_gwdt_probe() 344 sbsa_gwdt_set_timeout(wdd, wdd->timeout); in sbsa_gwdt_probe() [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | vp.c | 42 u32 val, sys_clk_rate, timeout, waittime; in omap_vp_init() local 127 int ret, timeout = 0; in omap_vp_forceupdate_scale() local 143 if (timeout >= VP_TRANXDONE_TIMEOUT) { in omap_vp_forceupdate_scale() 159 timeout = 0; in omap_vp_forceupdate_scale() 161 VP_TRANXDONE_TIMEOUT, timeout); in omap_vp_forceupdate_scale() 162 if (timeout >= VP_TRANXDONE_TIMEOUT) in omap_vp_forceupdate_scale() 172 timeout = 0; in omap_vp_forceupdate_scale() 180 if (timeout >= VP_TRANXDONE_TIMEOUT) in omap_vp_forceupdate_scale() 245 int timeout; in omap_vp_disable() local 275 VP_IDLE_TIMEOUT, timeout); in omap_vp_disable() [all …]
|
/openbmc/linux/tools/testing/selftests/futex/include/ |
H A D | futextest.h | 70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument 71 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3) 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 101 return futex(uaddr, FUTEX_WAIT_BITSET, val, timeout, NULL, bitset, in futex_wait_bitset() 121 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, in futex_lock_pi() argument 124 return futex(uaddr, FUTEX_LOCK_PI, detect, timeout, NULL, 0, opflags); in futex_lock_pi() 186 struct timespec *timeout, int opflags) in futex_wait_requeue_pi() argument 188 return futex(uaddr, FUTEX_WAIT_REQUEUE_PI, val, timeout, uaddr2, 0, in futex_wait_requeue_pi()
|
/openbmc/u-boot/drivers/watchdog/ |
H A D | cdns_wdt.c | 26 u32 timeout; member 127 static int cdns_wdt_start(struct udevice *dev, u64 timeout, ulong flags) in cdns_wdt_start() argument 145 if ((timeout < CDNS_WDT_MIN_TIMEOUT) || in cdns_wdt_start() 146 (timeout > CDNS_WDT_MAX_TIMEOUT)) { in cdns_wdt_start() 147 timeout = priv->timeout; in cdns_wdt_start() 150 debug("%s: CLK_FREQ %ld, timeout %lld\n", __func__, clk_f, timeout); in cdns_wdt_start() 164 count = (timeout * (clk_f / prescaler)) / in cdns_wdt_start() 238 priv->timeout = dev_read_u32_default(dev, "timeout-sec", in cdns_wdt_ofdata_to_platdata() 243 debug("%s: timeout %d, reset %d\n", __func__, priv->timeout, priv->rst); in cdns_wdt_ofdata_to_platdata()
|
/openbmc/linux/lib/ |
H A D | stmp_device.c | 28 int timeout = 0x400; in stmp_clear_poll_bit() local 32 while ((readl(addr) & mask) && --timeout) in stmp_clear_poll_bit() 35 return !timeout; in stmp_clear_poll_bit() 41 int timeout = 0x400; in stmp_reset_block() local 56 while ((!(readl(reset_addr) & STMP_MODULE_CLKGATE)) && --timeout) in stmp_reset_block() 58 if (unlikely(!timeout)) in stmp_reset_block()
|
/openbmc/linux/kernel/locking/ |
H A D | semaphore.c | 40 static noinline int __down_timeout(struct semaphore *sem, long timeout); 159 int __sched down_timeout(struct semaphore *sem, long timeout) in down_timeout() argument 169 result = __down_timeout(sem, timeout); in down_timeout() 210 long timeout) in ___down_common() argument 221 if (unlikely(timeout <= 0)) in ___down_common() 225 timeout = schedule_timeout(timeout); in ___down_common() 241 long timeout) in __down_common() argument 246 ret = ___down_common(sem, state, timeout); in __down_common() 267 static noinline int __sched __down_timeout(struct semaphore *sem, long timeout) in __down_timeout() argument 269 return __down_common(sem, TASK_UNINTERRUPTIBLE, timeout); in __down_timeout()
|
/openbmc/linux/tools/perf/bench/ |
H A D | futex.h | 49 futex_syscall(volatile u_int32_t *uaddr, int op, u_int32_t val, struct timespec *timeout, in futex_syscall() argument 52 return syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3); in futex_syscall() 67 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) in futex_wait() argument 69 return futex_syscall(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait() 86 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int opflags) in futex_lock_pi() argument 88 return futex_syscall(uaddr, FUTEX_LOCK_PI, 0, timeout, NULL, 0, opflags); in futex_lock_pi() 123 struct timespec *timeout, int opflags) in futex_wait_requeue_pi() argument 125 return futex_syscall(uaddr, FUTEX_WAIT_REQUEUE_PI, val, timeout, uaddr2, 0, in futex_wait_requeue_pi()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_netbios_ns.c | 32 static unsigned int timeout __read_mostly = 3; 33 module_param(timeout, uint, 0400); 34 MODULE_PARM_DESC(timeout, "timeout for master connection/replies in seconds"); 44 return nf_conntrack_broadcast_help(skb, ct, ctinfo, timeout); in netbios_ns_help() 61 exp_policy.timeout = timeout; in nf_conntrack_netbios_ns_init()
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | sshcontrol.py | 47 def _run(self, command, timeout=None, logfile=None): argument 52 if timeout: 53 endtime = self.starttime + timeout 66 endtime = time.time() + timeout 88 def run(self, command, timeout=None, logfile=None): argument 90 self._run(command, timeout, logfile) 103 self.defaulttimeout = timeout 136 def run(self, command, timeout=None): argument 146 if timeout is None: 148 if timeout == 0: [all …]
|
/openbmc/linux/include/net/netfilter/ |
H A D | nf_conntrack_core.h | 88 static inline void __nf_ct_set_timeout(struct nf_conn *ct, u64 timeout) in __nf_ct_set_timeout() argument 90 if (timeout > INT_MAX) in __nf_ct_set_timeout() 91 timeout = INT_MAX; in __nf_ct_set_timeout() 94 WRITE_ONCE(ct->timeout, nfct_time_stamp + (u32)timeout); in __nf_ct_set_timeout() 96 ct->timeout = (u32)timeout; in __nf_ct_set_timeout()
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-blivet/ |
H A D | python3-blivet_3.9.2.bb | 9 file://0002-run_program-support-timeout.patch \ 10 file://0003-support-infinit-timeout.patch \ 11 file://0005-fix-incorrect-timeout-while-system-time-changed.patch \ 13 file://0007-invoking-mount-with-infinite-timeout.patch \ 15 file://0009-invoking-fsck-with-infinite-timeout.patch \ 16 file://0010-invoking-mkfs-with-infinite-timeout.patch \ 17 file://0011-invoking-dd-with-infinite-timeout.patch \
|