/openbmc/linux/drivers/i2c/algos/ |
H A D | i2c-algo-pcf.c | 98 int timeout = DEF_TIMEOUT; in wait_for_bb() local 108 if (timeout == 0) { in wait_for_bb() 119 int timeout = DEF_TIMEOUT; in wait_for_pin() local 132 if (timeout == 0) in wait_for_pin() 216 if (timeout) { in pcf_sendbytes() 217 if (timeout == -EINTR) in pcf_sendbytes() 301 int ret=0, timeout, status; in pcf_xfer() local 307 timeout = wait_for_bb(adap); in pcf_xfer() 308 if (timeout) { in pcf_xfer() 330 if (timeout) { in pcf_xfer() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_proto_icmp.c | 98 if (!timeout) in nf_conntrack_icmp_packet() 99 timeout = &nf_icmp_pernet(nf_ct_net(ct))->timeout; in nf_conntrack_icmp_packet() 101 nf_ct_refresh_acct(ct, ctinfo, skb, *timeout); in nf_conntrack_icmp_packet() 324 unsigned int *timeout = data; in icmp_timeout_nlattr_to_obj() local 328 if (!timeout) in icmp_timeout_nlattr_to_obj() 329 timeout = &in->timeout; in icmp_timeout_nlattr_to_obj() 330 *timeout = in icmp_timeout_nlattr_to_obj() 332 } else if (timeout) { in icmp_timeout_nlattr_to_obj() 334 *timeout = in->timeout; in icmp_timeout_nlattr_to_obj() 342 const unsigned int *timeout = data; in icmp_timeout_obj_to_nlattr() local [all …]
|
H A D | nf_conntrack_snmp.c | 24 static unsigned int timeout __read_mostly = 30; 25 module_param(timeout, uint, 0400); 26 MODULE_PARM_DESC(timeout, "timeout for master connection/replies in seconds"); 40 nf_conntrack_broadcast_help(skb, ct, ctinfo, timeout); in snmp_conntrack_help() 65 exp_policy.timeout = timeout; in nf_conntrack_snmp_init()
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/target/ |
H A D | ssh.py | 34 self.timeout = timeout 58 def _run(self, command, timeout=None, ignore_status=True): argument 75 def run(self, command, timeout=None, ignore_status=True): argument 87 if timeout: 88 processTimeout = timeout 89 elif timeout==0: 92 processTimeout = self.timeout 209 def SSHCall(command, logger, timeout=None, **opts): argument 218 if timeout: 219 endtime = starttime + timeout [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | core.c | 29 int timeout) in mt76_poll() argument 33 timeout /= 10; in mt76_poll() 43 } while (timeout-- > 0); in mt76_poll() 51 int timeout) in mt76_poll_msec() argument 55 timeout /= 10; in mt76_poll_msec() 65 } while (timeout-- > 0); in mt76_poll_msec()
|
/openbmc/openbmc/poky/bitbake/lib/bb/asyncrpc/ |
H A D | connection.py | 41 def __init__(self, reader, writer, timeout, max_chunk=DEFAULT_MAX_CHUNK): argument 44 self.timeout = timeout 80 if self.timeout < 0: 84 line = await asyncio.wait_for(self.reader.readline(), self.timeout) 106 def __init__(self, socket, timeout): argument 108 self.timeout = timeout 133 if self.timeout < 0: 137 return await asyncio.wait_for(self.socket.recv(), self.timeout)
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/ |
H A D | config.json.in | 52 "timeout": 0 number 62 "timeout": 0 number 72 "timeout": 0 number 82 "timeout": 0 number 92 "timeout": 0 number 102 "timeout": 0 number 112 "timeout": 0 number 122 "timeout": 0 number 132 "timeout": 0 number 142 "timeout": 0 number [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | alim1535_wdt.c | 33 static int timeout = WATCHDOG_TIMEOUT; variable 34 module_param(timeout, int, 0); 35 MODULE_PARM_DESC(timeout, 117 timeout = t; in ali_settimer() 225 return put_user(timeout, p); in ali_ioctl() 397 if (timeout < 1 || timeout >= 18000) { in watchdog_init() 398 timeout = WATCHDOG_TIMEOUT; in watchdog_init() 400 timeout); in watchdog_init() 404 ali_settimer(timeout); in watchdog_init() 420 timeout, nowayout); in watchdog_init()
|
H A D | smsc37b787_wdt.c | 318 wb_smsc_wdt_set_timeout(timeout); in wb_smsc_wdt_enable() 330 wdt_timeout_value(timeout); in wb_smsc_wdt_reset_timer() 363 timeout, (unit == UNIT_SECOND) ? "second(s)" : "minute(s)"); in wb_smsc_wdt_open() 475 timeout = new_timeout; in wb_smsc_wdt_ioctl() 476 wb_smsc_wdt_set_timeout(timeout); in wb_smsc_wdt_ioctl() 479 new_timeout = timeout; in wb_smsc_wdt_ioctl() 495 timeout = 0; in wb_smsc_wdt_notify_sys() 541 if (timeout > MAX_TIMEOUT) in wb_smsc_wdt_init() 542 timeout = MAX_TIMEOUT; in wb_smsc_wdt_init() 562 timeout, (unit == UNIT_SECOND) ? "second(s)" : "minute(s)"); in wb_smsc_wdt_init() [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<=" 79 timeout = t; in wdt_set_timeout() 200 return put_user(timeout, (int __user *)arg); in fop_ioctl() 262 if (timeout < 1 || timeout > SBC7240_MAX_TIMEOUT) { in sbc7240_wdt_init() 263 timeout = SBC7240_TIMEOUT; in sbc7240_wdt_init() 265 SBC7240_MAX_TIMEOUT, timeout); in sbc7240_wdt_init() 267 wdt_set_timeout(timeout); in sbc7240_wdt_init()
|
H A D | gef_wdt.c | 123 static void gef_wdt_set_timeout(unsigned int timeout) in gef_wdt_set_timeout() argument 126 if (timeout > 0xFFFFFFFF / bus_clk) in gef_wdt_set_timeout() 127 timeout = 0xFFFFFFFF / bus_clk; in gef_wdt_set_timeout() 130 gef_wdt_count = (timeout * bus_clk) >> 8; in gef_wdt_set_timeout() 131 gef_wdt_timeout = timeout; in gef_wdt_set_timeout() 161 int timeout; in gef_wdt_ioctl() local 201 if (get_user(timeout, (int __user *)argp)) in gef_wdt_ioctl() 203 gef_wdt_set_timeout(timeout); in gef_wdt_ioctl() 265 int timeout = 10; in gef_wdt_probe() local 279 gef_wdt_set_timeout(timeout); in gef_wdt_probe()
|
H A D | lantiq_wdt.c | 102 u32 timeout; in ltq_wdt_start() local 104 timeout = wdt->timeout * priv->clk_rate; in ltq_wdt_start() 110 LTQ_WDT_CR_PW2 | timeout, in ltq_wdt_start() 130 u32 timeout; in ltq_wdt_ping() local 132 timeout = wdt->timeout * priv->clk_rate; in ltq_wdt_ping() 137 LTQ_WDT_CR_PW2 | timeout, LTQ_WDT_CR); in ltq_wdt_ping() 145 u64 timeout; in ltq_wdt_get_timeleft() local 147 timeout = ltq_wdt_r32(priv, LTQ_WDT_SR) & LTQ_WDT_SR_VALUE_MASK; in ltq_wdt_get_timeleft() 148 return do_div(timeout, priv->clk_rate); in ltq_wdt_get_timeleft() 232 wdt->timeout = wdt->max_timeout; in ltq_wdt_probe()
|
H A D | da9062_wdt.c | 90 selector = da9062_wdt_timeout_to_sel(wdt->wdtdev.timeout); in da9062_wdt_start() 136 unsigned int timeout) in da9062_wdt_set_timeout() argument 142 selector = da9062_wdt_timeout_to_sel(timeout); in da9062_wdt_set_timeout() 148 wdd->timeout = wdt_timeout[selector]; in da9062_wdt_set_timeout() 206 unsigned int timeout; in da9062_wdt_probe() local 227 wdt->wdtdev.timeout = DA9062_WDG_DEFAULT_TIMEOUT; in da9062_wdt_probe() 236 timeout = da9062_wdt_read_timeout(wdt); in da9062_wdt_probe() 237 if (timeout) in da9062_wdt_probe() 238 wdt->wdtdev.timeout = timeout; in da9062_wdt_probe() 243 if (timeout) { in da9062_wdt_probe() [all …]
|
H A D | mtk_wdt.c | 65 static unsigned int timeout; variable 211 unsigned int timeout) in mtk_wdt_set_timeout() argument 217 wdt_dev->timeout = timeout; in mtk_wdt_set_timeout() 223 wdt_dev->pretimeout = timeout / 2; in mtk_wdt_set_timeout() 292 unsigned int timeout) in mtk_wdt_set_pretimeout() argument 298 if (timeout && !wdd->pretimeout) { in mtk_wdt_set_pretimeout() 299 wdd->pretimeout = wdd->timeout / 2; in mtk_wdt_set_pretimeout() 301 } else if (!timeout && wdd->pretimeout) { in mtk_wdt_set_pretimeout() 382 mtk_wdt->wdt_dev.timeout = WDT_MAX_TIMEOUT; in mtk_wdt_probe() 401 mtk_wdt->wdt_dev.timeout, nowayout); in mtk_wdt_probe() [all …]
|
H A D | sunxi_wdt.c | 37 static unsigned int timeout; variable 132 unsigned int timeout) in sunxi_wdt_set_timeout() argument 139 if (wdt_timeout_map[timeout] == 0) in sunxi_wdt_set_timeout() 140 timeout++; in sunxi_wdt_set_timeout() 142 sunxi_wdt->wdt_dev.timeout = timeout; in sunxi_wdt_set_timeout() 146 reg |= wdt_timeout_map[timeout] << regs->wdt_timeout_shift; in sunxi_wdt_set_timeout() 175 sunxi_wdt->wdt_dev.timeout); in sunxi_wdt_start() 267 sunxi_wdt->wdt_dev.timeout = WDT_MAX_TIMEOUT; in sunxi_wdt_probe() 272 watchdog_init_timeout(&sunxi_wdt->wdt_dev, timeout, dev); in sunxi_wdt_probe() 286 sunxi_wdt->wdt_dev.timeout, nowayout); in sunxi_wdt_probe() [all …]
|
H A D | rave-sp-wdt.c | 79 [4] = on ? wdd->timeout : 0, in rave_sp_wdt_legacy_configure() 91 [3] = (u8)wdd->timeout, in rave_sp_wdt_rdu_configure() 92 [4] = (u8)(wdd->timeout >> 8), in rave_sp_wdt_rdu_configure() 196 unsigned int timeout) in rave_sp_wdt_set_timeout() argument 198 wdd->timeout = timeout; in rave_sp_wdt_set_timeout() 259 __le16 timeout = 0; in rave_sp_wdt_probe() local 276 wdd->timeout = 60; in rave_sp_wdt_probe() 284 memcpy(&timeout, value, min(len, sizeof(timeout))); in rave_sp_wdt_probe() 289 watchdog_init_timeout(wdd, le16_to_cpu(timeout), dev); in rave_sp_wdt_probe()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | arasan_nfc.c | 329 u32 timeout; in arasan_nand_read_page() local 373 timeout--; in arasan_nand_read_page() 413 timeout--; in arasan_nand_read_page() 582 timeout--; in arasan_nand_write_page_hwecc() 641 timeout--; in arasan_nand_reset() 748 timeout--; in arasan_nand_write_buf() 769 timeout--; in arasan_nand_write_buf() 821 timeout--; in arasan_nand_erase() 872 timeout--; in arasan_nand_read_status() 959 timeout--; in arasan_nand_read_buf() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_ioctl.c | 181 int timeout, err = get_user(timeout, p); in sg_set_timeout() local 361 rq->timeout = msecs_to_jiffies(hdr->timeout); in scsi_fill_sghdr_rq() 362 if (!rq->timeout) in scsi_fill_sghdr_rq() 364 if (!rq->timeout) in scsi_fill_sghdr_rq() 631 .timeout = hdr->timeout, in put_sg_io_hdr() 679 .timeout = hdr32.timeout, in get_sg_io_hdr() 715 compat_int_t timeout; member 737 .timeout = cgc32.timeout, in scsi_get_cdrom_generic_arg() 762 .timeout = cgc->timeout, in scsi_put_cdrom_generic_arg() 790 cgc.timeout = clock_t_to_jiffies(cgc.timeout); in scsi_cdrom_send_packet() [all …]
|
/openbmc/u-boot/drivers/watchdog/ |
H A D | at91sam9_wdt.c | 41 u32 timeout; member 51 u32 timeout = WDT_SEC2TICKS(timeout_s); in at91_wdt_start() local 54 timeout = priv->timeout; in at91_wdt_start() 72 | AT91_WDT_MR_WDV(timeout); /* timer value */ in at91_wdt_start() 119 priv->timeout = dev_read_u32_default(dev, "timeout-sec", in at91_wdt_probe() 121 debug("%s: timeout %d", __func__, priv->timeout); in at91_wdt_probe()
|
/openbmc/linux/fs/autofs/ |
H A D | expire.c | 12 unsigned long timeout, unsigned int how) in autofs_can_expire() argument 22 if (!timeout || time_after(ino->last_used + timeout, jiffies)) in autofs_can_expire() 152 unsigned long timeout, in autofs_direct_busy() argument 184 unsigned long timeout, in autofs_tree_busy() argument 243 unsigned long timeout, in autofs_check_leaves() argument 266 if (autofs_can_expire(p, timeout, how)) in autofs_check_leaves() 281 unsigned long timeout; in autofs_expire_direct() local 286 timeout = sbi->exp_timeout; in autofs_expire_direct() 323 unsigned long timeout, in should_expire() argument 425 unsigned long timeout; in autofs_expire_indirect() local [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | watchdog.h | 44 TP_PROTO(struct watchdog_device *wdd, unsigned int timeout, int err), 46 TP_ARGS(wdd, timeout, err), 50 __field(unsigned int, timeout) 56 __entry->timeout = timeout; 60 TP_printk("watchdog%d timeout=%u err=%d", __entry->id, __entry->timeout, __entry->err)
|
/openbmc/linux/sound/hda/ |
H A D | hdac_controller.c | 17 int timeout; in azx_clear_corbrp() local 19 for (timeout = 1000; timeout > 0; timeout--) { in azx_clear_corbrp() 24 if (timeout <= 0) in azx_clear_corbrp() 29 for (timeout = 1000; timeout > 0; timeout--) { in azx_clear_corbrp() 34 if (timeout <= 0) in azx_clear_corbrp() 95 unsigned long timeout; in hdac_wait_for_cmd_dmas() local 99 && time_before(jiffies, timeout)) in hdac_wait_for_cmd_dmas() 104 && time_before(jiffies, timeout)) in hdac_wait_for_cmd_dmas() 247 unsigned long timeout; in snd_hdac_bus_get_response() local 391 unsigned long timeout; in snd_hdac_bus_enter_link_reset() local [all …]
|
/openbmc/linux/drivers/pmdomain/actions/ |
H A D | owl-sps-helper.c | 21 int timeout; in owl_sps_set_pg() local 35 for (timeout = 5000; timeout > 0; timeout -= 50) { in owl_sps_set_pg() 41 if (timeout <= 0) in owl_sps_set_pg()
|
/openbmc/linux/arch/arm/mach-exynos/ |
H A D | platsmp.c | 213 unsigned int timeout = 16; in exynos_core_restart() local 219 while (timeout && !pmu_raw_readl(S5P_PMU_SPARE2)) { in exynos_core_restart() 220 timeout--; in exynos_core_restart() 223 if (timeout == 0) { in exynos_core_restart() 319 unsigned long timeout; in exynos_boot_secondary() local 342 timeout = 10; in exynos_boot_secondary() 347 if (timeout == 0) in exynos_boot_secondary() 349 timeout--; in exynos_boot_secondary() 353 if (timeout == 0) { in exynos_boot_secondary() 368 timeout = jiffies + (1 * HZ); in exynos_boot_secondary() [all …]
|
/openbmc/linux/kernel/ |
H A D | hung_task.c | 90 static void check_hung_task(struct task_struct *t, unsigned long timeout) in check_hung_task() argument 114 if (time_is_after_jiffies(t->last_switch_time + timeout * HZ)) in check_hung_task() 180 static void check_hung_uninterruptible_tasks(unsigned long timeout) in check_hung_uninterruptible_tasks() argument 213 check_hung_task(t, timeout); in check_hung_uninterruptible_tasks() 230 unsigned long timeout) in hung_timeout_jiffies() argument 233 return timeout ? last_checked - jiffies + timeout * HZ : in hung_timeout_jiffies() 368 unsigned long timeout = sysctl_hung_task_timeout_secs; in watchdog() local 373 interval = timeout; in watchdog() 374 interval = min_t(unsigned long, interval, timeout); in watchdog() 379 check_hung_uninterruptible_tasks(timeout); in watchdog()
|