/linux-master/tools/testing/selftests/arm64/signal/testcases/ |
H A D | zt_no_regs.c | 48 .timeout = 3,
|
/linux-master/drivers/acpi/acpica/ |
H A D | exsystem.c | 22 * timeout - Max time to wait 31 acpi_status acpi_ex_system_wait_semaphore(acpi_semaphore semaphore, u16 timeout) argument 47 status = acpi_os_wait_semaphore(semaphore, 1, timeout); 66 * timeout - Max time to wait 76 acpi_status acpi_ex_system_wait_mutex(acpi_mutex mutex, u16 timeout) argument 92 status = acpi_os_acquire_mutex(mutex, timeout);
|
/linux-master/sound/usb/ |
H A D | helper.c | 76 int timeout; local 88 timeout = USB_CTRL_GET_TIMEOUT; 90 timeout = USB_CTRL_SET_TIMEOUT; 93 value, index, buf, size, timeout);
|
/linux-master/drivers/watchdog/ |
H A D | rc32434_wdt.c | 52 /* Use a default timeout of 20s. This should be 57 static int timeout = WATCHDOG_TIMEOUT; variable 58 module_param(timeout, int, 0); 59 MODULE_PARM_DESC(timeout, "Watchdog timeout value, in seconds (default=" 76 pr_err("timeout value must be between 0 and %d\n", max_to); 79 timeout = new_timeout; 81 writel(SEC2WTCOMP(timeout), &wdt_reg->wtcompare); 101 /* reset the ERRCS timeout bit in case it's set */ 106 /* set the timeout (eithe [all...] |
H A D | advantechwdt.c | 44 #define WATCHDOG_TIMEOUT 60 /* 60 sec default timeout */ 54 * To enable or restart, write the timeout value in seconds (1 to 63) 70 static int timeout = WATCHDOG_TIMEOUT; /* in seconds */ variable 71 module_param(timeout, int, 0); 72 MODULE_PARM_DESC(timeout, 73 "Watchdog timeout in seconds. 1<= timeout <=63, default=" 89 outb_p(timeout, wdt_start); 101 timeout = t; 182 return put_user(timeout, [all...] |
H A D | stmp3xxx_rtc_wdt.c | 32 pdata->wdt_set_timeout(dev->parent, wdd->timeout * WDOG_TICK_RATE); 47 wdd->timeout = new_timeout; 97 stmp3xxx_wdd.timeout = clamp_t(unsigned, heartbeat, 1, STMP3XXX_MAX_TIMEOUT); 108 stmp3xxx_wdd.timeout);
|
H A D | max63xx_wdt.c | 47 const struct max63xx_timeout *timeout; member in struct:max63xx_wdt 59 * The timeout values used are actually the absolute minimum the chip 61 * (10s setting ends up with a 25s timeout), and can be up to 3 times 67 * I also decided to remove from the tables any timeout smaller than a 130 wdt->set(wdt, wdt->timeout->wdset); 133 if (wdt->timeout->tdelay == 0) 218 wdt->timeout = max63xx_select_timeout(table, heartbeat); 219 if (!wdt->timeout) { 233 wdt->wdd.timeout = wdt->timeout [all...] |
H A D | rza_wdt.c | 35 /* The maximum CKS register setting value to get the longest timeout */ 50 static void rza_wdt_calc_timeout(struct rza_wdt *priv, int timeout) argument 56 ticks = DIV_ROUND_UP(timeout * rate, DIVIDER_4BIT); 59 * Since max_timeout was set in probe, we know that the timeout 66 /* Start timer with longest timeout */ 70 pr_debug("%s: timeout set to %u (WTCNT=%d)\n", __func__, 71 timeout, priv->count); 85 rza_wdt_calc_timeout(priv, wdev->timeout); 110 pr_debug("%s: timeout = %u\n", __func__, wdev->timeout); 115 rza_set_timeout(struct watchdog_device *wdev, unsigned int timeout) argument [all...] |
H A D | mpc8xxx_wdt.c | 56 static u16 timeout; variable 57 module_param(timeout, ushort, 0); 58 MODULE_PARM_DESC(timeout, 59 "Watchdog timeout in seconds. (1<timeout<65535, default=" 181 ddata->wdd.timeout = WATCHDOG_TIMEOUT; 182 watchdog_init_timeout(&ddata->wdd, timeout, dev); 186 ddata->swtc = min(ddata->wdd.timeout * freq / wdt_type->prescaler, 200 if (ddata->wdd.timeout < ddata->wdd.min_timeout) 201 ddata->wdd.timeout [all...] |
H A D | imx7ulp_wdt.c | 87 u64 timeout = (val & WDOG_CS_PRES) ? local 94 timeout)) 187 unsigned int timeout) 190 u32 toval = wdt->hw->wdog_clock_rate * timeout; 203 wdog->timeout = timeout; 243 static int _imx7ulp_wdt_init(struct imx7ulp_wdt_device *wdt, unsigned int timeout, unsigned int cs) argument 265 /* set an initial timeout value in TOVAL */ 266 writel(timeout, wdt->base + WDOG_TOVAL); 278 static int imx7ulp_wdt_init(struct imx7ulp_wdt_device *wdt, unsigned int timeout) argument 186 imx7ulp_wdt_set_timeout(struct watchdog_device *wdog, unsigned int timeout) argument 377 u32 timeout = imx7ulp_wdt->wdd.timeout * imx7ulp_wdt->hw->wdog_clock_rate; local [all...] |
H A D | sprd_wdt.c | 105 static int sprd_wdt_load_value(struct sprd_wdt *wdt, u32 timeout, argument 109 u32 tmr_step = timeout * SPRD_WDT_CNT_STEP; 184 ret = sprd_wdt_load_value(wdt, wdd->timeout, wdd->pretimeout); 213 u32 timeout) 217 if (timeout == wdd->timeout) 220 wdd->timeout = timeout; 222 return sprd_wdt_load_value(wdt, timeout, wdd->pretimeout); 235 return sprd_wdt_load_value(wdt, wdd->timeout, new_pretimeou 212 sprd_wdt_set_timeout(struct watchdog_device *wdd, u32 timeout) argument [all...] |
H A D | exar_wdt.c | 64 unsigned char timeout; member in struct:wdt_priv 69 static int timeout = WATCHDOG_TIMEOUT; variable 70 module_param(timeout, int, 0); 71 MODULE_PARM_DESC(timeout, 72 "Watchdog timeout in seconds. 1<=timeout<=15300, default=" 134 /* write timeout value twice to arm watchdog */ 135 outb(priv->timeout, rt_base + WDT_VAL); 136 outb(priv->timeout, rt_base + WDT_VAL); 200 * if new timeout i [all...] |
/linux-master/arch/x86/kernel/ |
H A D | nmi_selftest.c | 67 unsigned long timeout; local 81 timeout = USEC_PER_SEC; 82 while (!cpumask_empty(mask) && --timeout) 85 /* What happens if we timeout, do we still unregister?? */ 88 if (!timeout)
|
/linux-master/include/linux/netfilter/ |
H A D | nf_conntrack_proto_gre.h | 10 unsigned int timeout; member in struct:nf_ct_gre
|
/linux-master/net/ipv4/ |
H A D | tcp_recovery.c | 98 u32 timeout; local 105 tcp_rack_detect_loss(sk, &timeout); 106 if (timeout) { 107 timeout = usecs_to_jiffies(timeout + TCP_TIMEOUT_MIN_US); 109 timeout, inet_csk(sk)->icsk_rto); 111 return !!timeout; 131 * the aRTT term is bounded by the fast recovery or timeout, 152 u32 timeout, prior_inflight; local 156 tcp_rack_detect_loss(sk, &timeout); [all...] |
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | diag.sh | 99 local timeout=20 107 while [ $i -lt $timeout ]; do 116 if [ $i -ge $timeout ]; then 117 mptcp_lib_pr_fail "timeout while expecting $expected max $max last $nr" 118 mptcp_lib_result_fail "${msg} # timeout" 221 timeout ${timeout_test} \ 230 timeout ${timeout_test} \ 246 timeout ${timeout_test} \ 252 timeout ${timeout_test} \ 268 timeout [all...] |
/linux-master/include/linux/mfd/ |
H A D | max8998.h | 79 * @timeout: Full Timeout in hours: 5, 6, 7, and -1 for disable. 97 int timeout; member in struct:max8998_platform_data
|
/linux-master/include/linux/spi/ |
H A D | pxa2xx_spi.h | 45 u32 timeout; member in struct:pxa2xx_spi_chip
|
/linux-master/tools/testing/selftests/mm/ |
H A D | mrelease_test.c | 23 int timeout = 10; /* 10sec timeout to get killed */ local 40 while (getppid() == ppid && timeout > 0) { 42 timeout--; 47 return (timeout > 0) ? KSFT_PASS : KSFT_FAIL;
|
/linux-master/sound/hda/ |
H A D | hdac_controller.c | 17 int timeout; local 19 for (timeout = 1000; timeout > 0; timeout--) { 24 if (timeout <= 0) 25 dev_err(bus->dev, "CORB reset timeout#1, CORBRP = %d\n", 29 for (timeout = 1000; timeout > 0; timeout--) { 34 if (timeout < 95 unsigned long timeout; local 247 unsigned long timeout; local 391 unsigned long timeout; local 411 unsigned long timeout; local [all...] |
/linux-master/net/mac80211/ |
H A D | agg-rx.c | 68 .timeout = 0, 149 unsigned long timeout; local 151 timeout = tid_rx->last_rx + TU_TO_JIFFIES(tid_rx->timeout); 152 if (time_is_after_jiffies(timeout)) { 153 mod_timer(&tid_rx->session_timer, timeout); 193 u16 buf_size, u16 timeout, 236 mgmt->u.action.u.addba_resp.timeout = cpu_to_le16(timeout); 246 u8 dialog_token, u16 timeout, 191 ieee80211_send_addba_resp(struct sta_info *sta, u8 *da, u16 tid, u8 dialog_token, u16 status, u16 policy, u16 buf_size, u16 timeout, const struct ieee80211_addba_ext_ie *addbaext) argument 245 __ieee80211_start_rx_ba_session(struct sta_info *sta, u8 dialog_token, u16 timeout, u16 start_seq_num, u16 ba_policy, u16 tid, u16 buf_size, bool tx, bool auto_seq, const struct ieee80211_addba_ext_ie *addbaext) argument 443 u16 capab, tid, timeout, ba_policy, buf_size, start_seq_num; local [all...] |
/linux-master/net/netfilter/ |
H A D | nf_flow_table_core.c | 178 s32 timeout; local 185 timeout = tn->timeouts[ct->proto.tcp.state]; 186 timeout -= tn->offload_timeout; 193 timeout = tn->timeouts[state]; 194 timeout -= tn->offload_timeout; 199 if (timeout < 0) 200 timeout = 0; 202 if (nf_flow_timeout_delta(READ_ONCE(ct->timeout)) > (__s32)timeout) 203 WRITE_ONCE(ct->timeout, nfct_time_stam 262 unsigned long timeout = NF_FLOW_TIMEOUT; local 315 u32 timeout; local [all...] |
/linux-master/sound/soc/amd/renoir/ |
H A D | rn-pci-acp3x.c | 41 int timeout; local 52 timeout = 0; 53 while (++timeout < 500) { 65 int timeout; local 69 timeout = 0; 70 while (++timeout < 500) { 82 int timeout; local 85 timeout = 0; 86 while (++timeout < 500) { 93 timeout [all...] |
/linux-master/drivers/media/common/saa7146/ |
H A D | saa7146_i2c.c | 180 unsigned long timeout; local 196 timeout = HZ/100 + 1; /* 10ms */ 197 timeout = wait_event_interruptible_timeout(dev->i2c_wq, dev->i2c_op == 0, timeout); 198 if (timeout == -ERESTARTSYS || dev->i2c_op) { 201 if (timeout == -ERESTARTSYS) 216 timeout = jiffies + HZ/100 + 1; /* 10ms */ 222 if (time_after(jiffies,timeout)) { 229 timeout = jiffies + HZ/100 + 1; /* 10ms */ 236 if (time_after(jiffies,timeout)) { [all...] |
/linux-master/drivers/tty/hvc/ |
H A D | hvsi_lib.c | 262 int rc, timeout; local 278 for (timeout = 0; timeout < 20; timeout++) { 316 int timeout; local 323 for (timeout = 0; timeout < 20; timeout++) { 346 for (timeout = 0; timeout < 4 [all...] |