/openbmc/openpower-debug-collector/watchdog/ |
H A D | watchdog_logging.cpp | 21 const uint32_t timeout) in event() argument 35 dumpParameters.timeout = timeout; in event() 42 void eventWatchdogTimeout(const uint32_t timeout) in eventWatchdogTimeout() argument 49 event(additionalData, timeout); in eventWatchdogTimeout()
|
/openbmc/linux/include/linux/ |
H A D | tty_ldisc.h | 39 int ldsem_down_read(struct ld_semaphore *sem, long timeout); 41 int ldsem_down_write(struct ld_semaphore *sem, long timeout); 48 long timeout); 50 long timeout); 52 # define ldsem_down_read_nested(sem, subclass, timeout) \ argument 53 ldsem_down_read(sem, timeout) 54 # define ldsem_down_write_nested(sem, subclass, timeout) \ argument 55 ldsem_down_write(sem, timeout)
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_de.h | 52 u32 mask, u32 value, unsigned int timeout) in intel_de_wait_for_register() argument 54 return intel_wait_for_register(&i915->uncore, reg, mask, value, timeout); in intel_de_wait_for_register() 59 u32 mask, u32 value, unsigned int timeout) in intel_de_wait_for_register_fw() argument 61 return intel_wait_for_register_fw(&i915->uncore, reg, mask, value, timeout); in intel_de_wait_for_register_fw() 76 u32 mask, unsigned int timeout) in intel_de_wait_for_set() argument 78 return intel_de_wait_for_register(i915, reg, mask, mask, timeout); in intel_de_wait_for_set() 83 u32 mask, unsigned int timeout) in intel_de_wait_for_clear() argument 85 return intel_de_wait_for_register(i915, reg, mask, 0, timeout); in intel_de_wait_for_clear()
|
/openbmc/u-boot/drivers/mmc/ |
H A D | kona_sdhci.c | 25 unsigned int timeout; in init_kona_mmc_core() local 37 timeout = 1000; in init_kona_mmc_core() 39 if (timeout == 0) { in init_kona_mmc_core() 43 timeout--; in init_kona_mmc_core() 65 timeout = 1000; in init_kona_mmc_core() 67 if (timeout == 0) { in init_kona_mmc_core() 71 timeout--; in init_kona_mmc_core()
|
/openbmc/linux/drivers/watchdog/ |
H A D | tqmx86_wdt.c | 22 static unsigned int timeout; variable 23 module_param(timeout, uint, 0); 24 MODULE_PARM_DESC(timeout, 54 wdd->timeout = t; in tqmx86_wdt_set_timeout() 98 priv->wdd.timeout = WDT_TIMEOUT; in tqmx86_wdt_probe() 100 watchdog_init_timeout(&priv->wdd, timeout, dev); in tqmx86_wdt_probe() 103 tqmx86_wdt_set_timeout(&priv->wdd, priv->wdd.timeout); in tqmx86_wdt_probe()
|
H A D | imx7ulp_wdt.c | 85 u64 timeout = (val & WDOG_CS_PRES) ? in imx7ulp_wdt_wait_rcs() local 92 timeout)) in imx7ulp_wdt_wait_rcs() 185 unsigned int timeout) in imx7ulp_wdt_set_timeout() argument 188 u32 toval = wdt->hw->wdog_clock_rate * timeout; in imx7ulp_wdt_set_timeout() 201 wdog->timeout = timeout; in imx7ulp_wdt_set_timeout() 264 writel(timeout, wdt->base + WDOG_TOVAL); in _imx7ulp_wdt_init() 289 ret = _imx7ulp_wdt_init(wdt, timeout, val); in imx7ulp_wdt_init() 293 } while (--loop > 0 && (cs != val || toval != timeout || ret)); in imx7ulp_wdt_init() 339 wdog->timeout = DEFAULT_TIMEOUT; in imx7ulp_wdt_probe() 369 u32 timeout = imx7ulp_wdt->wdd.timeout * imx7ulp_wdt->hw->wdog_clock_rate; in imx7ulp_wdt_resume_noirq() local [all …]
|
H A D | w83627hf_wdt.c | 54 static int timeout; /* in seconds */ variable 55 module_param(timeout, int, 0); 56 MODULE_PARM_DESC(timeout, 242 wdog->timeout); in w83627hf_init() 243 superio_outb(cr_wdt_timeout, wdog->timeout); in w83627hf_init() 264 static int wdt_set_time(unsigned int timeout) in wdt_set_time() argument 273 superio_outb(cr_wdt_timeout, timeout); in wdt_set_time() 281 return wdt_set_time(wdog->timeout); in wdt_start() 291 wdog->timeout = timeout; in wdt_set_timeout() 332 .timeout = WATCHDOG_TIMEOUT, [all …]
|
H A D | alim7101_wdt.c | 63 static int timeout = WATCHDOG_TIMEOUT; variable 64 module_param(timeout, int, 0); 65 MODULE_PARM_DESC(timeout, 153 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup() 177 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive() 279 timeout = new_timeout; in fop_ioctl() 284 return put_user(timeout, p); in fop_ioctl() 396 if (timeout < 1 || timeout > 3600) { in alim7101_wdt_init() 398 timeout = WATCHDOG_TIMEOUT; in alim7101_wdt_init() 400 timeout); in alim7101_wdt_init() [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) in meson_gxbb_wdt_set_timeout() argument 84 unsigned long tcnt = timeout * 1000; in meson_gxbb_wdt_set_timeout() 89 wdt_dev->timeout = timeout; in meson_gxbb_wdt_set_timeout() 189 data->wdt_dev.timeout = DEFAULT_TIMEOUT; in meson_gxbb_wdt_probe() 190 watchdog_init_timeout(&data->wdt_dev, timeout, dev); in meson_gxbb_wdt_probe() 214 meson_gxbb_wdt_set_timeout(&data->wdt_dev, data->wdt_dev.timeout); in meson_gxbb_wdt_probe()
|
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); in ath79_wdt_keepalive() 117 timeout = val; in ath79_wdt_set_timeout() 221 err = put_user(timeout, p); in ath79_wdt_ioctl() 275 if (timeout < 1 || timeout > max_timeout) { in ath79_wdt_probe() 276 timeout = max_timeout; in ath79_wdt_probe() 279 max_timeout, timeout); in ath79_wdt_probe()
|
H A D | ni903x_wdt.c | 44 static unsigned int timeout; variable 45 module_param(timeout, uint, 0); 46 MODULE_PARM_DESC(timeout, 65 unsigned int timeout) in ni903x_wdd_set_timeout() argument 68 u32 counter = timeout * (1000000000 / NIWD_PERIOD_NS); in ni903x_wdd_set_timeout() 74 wdd->timeout = timeout; in ni903x_wdd_set_timeout() 116 ni903x_wdd_set_timeout(wdd, wdd->timeout); in ni903x_wdd_start() 207 wdd->timeout = NIWD_DEFAULT_TIMEOUT; in ni903x_acpi_add() 211 watchdog_init_timeout(wdd, timeout, dev); in ni903x_acpi_add() 222 wdt->io_base, timeout, nowayout); in ni903x_acpi_add()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-ali1563.c | 68 int timeout; in ali1563_transaction() local 87 timeout = ALI1563_MAX_TIMEOUT; in ali1563_transaction() 98 if (timeout && !(data & HST_STS_BAD)) in ali1563_transaction() 101 if (!timeout) { in ali1563_transaction() 133 int timeout; in ali1563_block_start() local 157 timeout = ALI1563_MAX_TIMEOUT; in ali1563_block_start() 171 if (timeout == 0) in ali1563_block_start() 178 timeout ? "" : "Timeout ", in ali1563_block_start() 238 int timeout; in ali1563_access() local 241 for (timeout = ALI1563_MAX_TIMEOUT; timeout; timeout--) { in ali1563_access() [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | agg-rx.c | 68 .timeout = 0, in ___ieee80211_stop_rx_ba_session() 157 unsigned long timeout; in sta_rx_agg_session_timer_expired() local 159 timeout = tid_rx->last_rx + TU_TO_JIFFIES(tid_rx->timeout); in sta_rx_agg_session_timer_expired() 201 u16 buf_size, u16 timeout, in ieee80211_send_addba_resp() argument 244 mgmt->u.action.u.addba_resp.timeout = cpu_to_le16(timeout); in ieee80211_send_addba_resp() 266 .timeout = timeout, in ___ieee80211_start_rx_ba_session() 345 if (tid_rx && tid_rx->timeout == timeout) in ___ieee80211_start_rx_ba_session() 417 tid_agg_rx->timeout = timeout; in ___ieee80211_start_rx_ba_session() 429 if (timeout) { in ___ieee80211_start_rx_ba_session() 444 timeout, addbaext); in ___ieee80211_start_rx_ba_session() [all …]
|
/openbmc/linux/drivers/gpu/host1x/hw/ |
H A D | cdma_hw.c | 34 host1x_syncpt_incr(cdma->timeout.syncpt); in cdma_timeout_cpu_incr() 37 host1x_syncpt_load(cdma->timeout.syncpt); in cdma_timeout_cpu_incr() 285 timeout.wq); in cdma_timeout_handler() 293 if (!cdma->timeout.client) { in cdma_timeout_handler() 303 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); in cdma_timeout_handler() 316 __func__, cdma->timeout.syncpt->id, cdma->timeout.syncpt->name, in cdma_timeout_handler() 317 syncpt_val, cdma->timeout.syncpt_val); in cdma_timeout_handler() 335 cdma->timeout.initialized = true; in cdma_timeout_init() 345 if (cdma->timeout.initialized) in cdma_timeout_destroy() 346 cancel_delayed_work(&cdma->timeout.wq); in cdma_timeout_destroy() [all …]
|
/openbmc/linux/arch/mips/include/asm/mach-rc32434/ |
H A D | dma_v.h | 28 int timeout = 1; in rc32434_halt_dma() local 31 for (timeout = DMA_HALT_TIMEOUT; timeout > 0; timeout--) { in rc32434_halt_dma() 39 return timeout ? 0 : 1; in rc32434_halt_dma()
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | misc.c | 21 int timeout) in mxs_wait_mask_set() argument 23 while (--timeout) { in mxs_wait_mask_set() 29 return !timeout; in mxs_wait_mask_set() 33 int timeout) in mxs_wait_mask_clr() argument 35 while (--timeout) { in mxs_wait_mask_clr() 41 return !timeout; in mxs_wait_mask_clr()
|
/openbmc/qemu/util/ |
H A D | aio-posix.c | 434 int64_t *timeout) in run_poll_handlers_once() argument 450 *timeout = 0; in run_poll_handlers_once() 553 *timeout = 0; in run_poll_handlers() 560 if (*timeout != -1) { in run_poll_handlers() 561 *timeout -= MIN(*timeout, elapsed_time); in run_poll_handlers() 579 int64_t *timeout) in try_poll_mode() argument 607 int64_t timeout; in aio_poll() local 630 assert(!(timeout && progress)); in aio_poll() 640 use_notify_me = timeout != 0; in aio_poll() 651 timeout = 0; in aio_poll() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/rc/ |
H A D | lirc-get-timeout.rst | 14 LIRC_GET_MIN_TIMEOUT / LIRC_GET_MAX_TIMEOUT - Obtain the possible timeout 22 ``int ioctl(int fd, LIRC_GET_MIN_TIMEOUT, __u32 *timeout)`` 26 ``int ioctl(int fd, LIRC_GET_MAX_TIMEOUT, __u32 *timeout)`` 34 ``timeout`` 43 process. Returns an integer value with the minimum/maximum timeout 48 Some devices have a fixed timeout, in that case 49 both ioctls will return the same value even though the timeout
|
/openbmc/linux/tools/perf/ui/tui/ |
H A D | setup.c | 57 struct timeval timeout, *ptimeout = delay_secs ? &timeout : NULL; in ui__getch() local 67 timeout.tv_sec = delay_secs; in ui__getch() 68 timeout.tv_usec = 0; in ui__getch() 88 timeout.tv_sec = 0; in ui__getch() 89 timeout.tv_usec = 20; in ui__getch() 90 err = select(1, &read_set, NULL, NULL, &timeout); in ui__getch()
|
/openbmc/linux/drivers/gpu/host1x/ |
H A D | fence.c | 52 if (sf->timeout) { in host1x_syncpt_fence_enable_signaling() 86 if (f->timeout && cancel_delayed_work(&f->timeout_work)) { in host1x_fence_signal() 106 if (f->timeout) in do_fence_timeout() 121 if (f->timeout) in do_fence_timeout() 126 bool timeout) in host1x_fence_create() argument 136 fence->timeout = timeout; in host1x_fence_create()
|
/openbmc/pldm/requester/ |
H A D | request.hpp | 49 std::chrono::milliseconds timeout) : in RequestRetryTimer() argument 51 event(event), numRetries(numRetries), timeout(timeout), in RequestRetryTimer() 71 timer.start(duration_cast<std::chrono::microseconds>(timeout), in start() 100 timeout; //!< time to wait between each retry in milliseconds member in pldm::requester::RequestRetryTimer 155 uint8_t numRetries, std::chrono::milliseconds timeout, in Request() argument 157 RequestRetryTimer(event, numRetries, timeout), in Request()
|
/openbmc/linux/drivers/fpga/ |
H A D | altera-freeze-bridge.c | 42 u32 timeout, u32 req_ack) in altera_freeze_br_req_ack() argument 78 } while (timeout--); in altera_freeze_br_req_ack() 88 u32 timeout) in altera_freeze_br_do_freeze() argument 111 ret = altera_freeze_br_req_ack(priv, timeout, in altera_freeze_br_do_freeze() 123 u32 timeout) in altera_freeze_br_do_unfreeze() argument 148 ret = altera_freeze_br_req_ack(priv, timeout, in altera_freeze_br_do_unfreeze() 169 u32 timeout = 0; in altera_freeze_br_enable_set() local 174 timeout = info->enable_timeout_us; in altera_freeze_br_enable_set() 176 ret = altera_freeze_br_do_unfreeze(bridge->priv, timeout); in altera_freeze_br_enable_set() 179 timeout = info->disable_timeout_us; in altera_freeze_br_enable_set() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nft_dynset.c | 24 u64 timeout; member 52 u64 timeout; in nft_dynset_new() local 58 timeout = priv->timeout ? : set->timeout; in nft_dynset_new() 62 timeout, 0, GFP_ATOMIC); in nft_dynset_new() 86 u64 timeout; in nft_dynset_eval() local 97 timeout = priv->timeout ? : set->timeout; in nft_dynset_eval() 168 u64 timeout; in nft_dynset_init() local 207 timeout = 0; in nft_dynset_init() 315 if (timeout || set->timeout) { in nft_dynset_init() 321 priv->timeout = timeout; in nft_dynset_init() [all …]
|
H A D | nf_conntrack_proto_icmpv6.c | 83 return &nf_icmpv6_pernet(net)->timeout; in icmpv6_get_timeouts() 113 if (!timeout) in nf_conntrack_icmpv6_packet() 114 timeout = icmpv6_get_timeouts(nf_ct_net(ct)); in nf_conntrack_icmpv6_packet() 119 nf_ct_refresh_acct(ct, ctinfo, skb, *timeout); in nf_conntrack_icmpv6_packet() 300 unsigned int *timeout = data; in icmpv6_timeout_nlattr_to_obj() local 303 if (!timeout) in icmpv6_timeout_nlattr_to_obj() 304 timeout = icmpv6_get_timeouts(net); in icmpv6_timeout_nlattr_to_obj() 306 *timeout = in icmpv6_timeout_nlattr_to_obj() 310 *timeout = in->timeout; in icmpv6_timeout_nlattr_to_obj() 318 const unsigned int *timeout = data; in icmpv6_timeout_obj_to_nlattr() local [all …]
|
/openbmc/u-boot/drivers/watchdog/ |
H A D | bcm6345_wdt.c | 41 static int bcm6345_wdt_start(struct udevice *dev, u64 timeout, ulong flags) in bcm6345_wdt_start() argument 45 if (timeout < WDT_VAL_MIN) { in bcm6345_wdt_start() 47 timeout = WDT_VAL_MIN; in bcm6345_wdt_start() 48 } else if (timeout > WDT_VAL_MAX) { in bcm6345_wdt_start() 50 timeout = WDT_VAL_MAX; in bcm6345_wdt_start() 53 writel(timeout, priv->regs + WDT_VAL_REG); in bcm6345_wdt_start()
|