/linux-master/include/linux/ |
H A D | completion.h | 108 unsigned long timeout); 110 unsigned long timeout); 112 struct completion *x, unsigned long timeout); 114 struct completion *x, unsigned long timeout);
|
H A D | usbdevice_fs.h | 43 u32 timeout; /* in milliseconds */ member in struct:usbdevfs_ctrltransfer32 50 compat_uint_t timeout; /* in milliseconds */ member in struct:usbdevfs_bulktransfer32
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_hw_engine_class_sysfs.h | 15 bool xe_hw_engine_timeout_in_range(u64 timeout, u64 min, u64 max);
|
/linux-master/drivers/watchdog/ |
H A D | tqmx86_wdt.c | 19 /* default timeout (secs) */ 22 static unsigned int timeout; variable 23 module_param(timeout, uint, 0); 24 MODULE_PARM_DESC(timeout, 25 "Watchdog timeout in seconds. (1<=timeout<=4096, default=" 54 wdd->timeout = t; 98 priv->wdd.timeout = WDT_TIMEOUT; 100 watchdog_init_timeout(&priv->wdd, timeout, dev); 103 tqmx86_wdt_set_timeout(&priv->wdd, priv->wdd.timeout); [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; 43 return ktime_get_seconds() + wdd->timeout; 70 wdt.timeout = 0; 116 .timeout = WATCHDOG_TIMEOUT, 135 watchdog_init_timeout(&xen_wdt_dev, timeout, NUL [all...] |
H A D | diag288_wdt.c | 74 static int diag288(unsigned int func, unsigned int timeout, argument 77 union register_pair r1 = { .even = func, .odd = timeout, }; 95 static int diag288_str(unsigned int func, unsigned int timeout, char *cmd) argument 105 return diag288(func, timeout, virt_to_phys(cmd_buf), len); 116 ret = diag288_str(func, dev->timeout, wdt_cmd); 119 ret = diag288(WDT_FUNC_INIT, dev->timeout, LPARWDT_RESTART, 0); 148 ret = diag288_str(func, dev->timeout, wdt_cmd); 151 ret = diag288(WDT_FUNC_CHANGE, dev->timeout, 0, 0); 161 dev->timeout = new_to; 184 .timeout [all...] |
H A D | nic7018_wdt.c | 33 static unsigned int timeout; variable 34 module_param(timeout, uint, 0); 35 MODULE_PARM_DESC(timeout, 36 "Watchdog timeout in seconds. (default=" 66 static const struct nic7018_config *nic7018_get_config(u32 timeout, argument 72 if (timeout < 30 && timeout != 16) { 74 count = timeout / 2 + 1; 77 count = DIV_ROUND_UP(timeout + 16, 32); 87 unsigned int timeout) 86 nic7018_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument [all...] |
H A D | sc1200wdt.c | 59 #define WDTO 0x05 /* Watchdog timeout register */ 70 static int timeout = 1; variable 88 module_param(timeout, int, 0); 89 MODULE_PARM_DESC(timeout, "range is 0-255 minutes, default is 1"); 140 /* set the timeout and get the ball rolling */ 141 __sc1200wdt_write_data(WDTO, timeout); 170 if (timeout > MAX_TIMEOUT) 171 timeout = MAX_TIMEOUT; 174 pr_info("Watchdog enabled, timeout = %d min(s)", timeout); [all...] |
H A D | sbsa_gwdt.c | 19 * In the single stage mode, when the timeout is reached, your system 21 * In the two stages mode, when the timeout is reached, the first signal (WS0) 31 * |----timeout-----(panic)----timeout-----reset 35 * |--------------timeout-------------------reset 38 * by WOR, in the single stage mode, the timeout is (WOR * 2); in the two 39 * stages mode, the timeout is WOR. The maximum timeout in the two stages mode 96 static unsigned int timeout; variable 97 module_param(timeout, uin 146 sbsa_gwdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument [all...] |
H A D | it87_wdt.c | 91 static unsigned int timeout = DEFAULT_TIMEOUT; variable 95 module_param(timeout, int, 0); 96 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds, default=" 206 return wdt_update_timeout(wdd->timeout); 215 * wdt_set_timeout - set a new timeout value with watchdog ioctl 217 * @t: timeout value in seconds 224 * Return: 0 if the timeout was set successfully, or a negative error code on 235 wdd->timeout = t; 338 if (timeout < [all...] |
H A D | da9055_wdt.c | 53 unsigned int timeout) 60 if (da9055_wdt_maps[i].user_time == timeout) 76 wdt_dev->timeout = timeout; 99 return da9055_wdt_set_timeout(wdt_dev, wdt_dev->timeout); 136 da9055_wdt->timeout = DA9055_DEF_TIMEOUT; 52 da9055_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) argument
|
H A D | kempld_wdt.c | 8 * Note: From the PLD watchdog point of view timeout and pretimeout are 10 * First the pretimeout stage runs out before the timeout stage gets 14 * |-----------------------T timeout 84 static unsigned int timeout = DEFAULT_TIMEOUT; variable 85 module_param(timeout, uint, 0); 86 MODULE_PARM_DESC(timeout, 87 "Watchdog timeout in seconds. (>=0, default=" 130 unsigned int timeout) 144 stage_timeout64 = (u64)timeout * pld->pld_clock; 173 unsigned int timeout; local 128 kempld_wdt_set_stage_timeout(struct kempld_wdt_data *wdt_data, struct kempld_wdt_stage *stage, unsigned int timeout) argument 197 kempld_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument 261 unsigned int pretimeout, timeout; local [all...] |
H A D | smsc37b787_wdt.c | 33 * reset the system (causing a reboot) after the timeout occurs. 77 static int timeout = 60; /* timeout value: default is 60 "units" */ variable 192 * Bit 2 Force Timeout: 1 = Forces WD timeout event (self-cleaning) 194 * 0 = P20 activity does not generate the WD timeout event 196 * controller, to force the WD timeout event. 225 /* disable the timeout */ 264 /* disable timeout */ 271 /* set timeout => enable watchdog */ 279 /* set Power LED to blink, if we enable the timeout */ [all...] |
H A D | sunxi_wdt.c | 37 static unsigned int timeout; variable 63 * [timeout seconds] = register value 97 /* Set lowest timeout and enable watchdog */ 132 unsigned int timeout) 139 if (wdt_timeout_map[timeout] == 0) 140 timeout++; 142 sunxi_wdt->wdt_dev.timeout = timeout; 146 reg |= wdt_timeout_map[timeout] << regs->wdt_timeout_shift; 175 sunxi_wdt->wdt_dev.timeout); 131 sunxi_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) argument [all...] |
H A D | meson_wdt.c | 35 static unsigned int timeout; variable 87 unsigned int timeout) 94 reg |= MESON_SEC_TO_TC(timeout, meson_wdt->data->count_unit); 99 unsigned int timeout) 101 wdt_dev->timeout = timeout; 103 meson_wdt_change_timeout(wdt_dev, timeout); 126 meson_wdt_change_timeout(wdt_dev, meson_wdt->wdt_dev.timeout); 183 meson_wdt->wdt_dev.timeout = min_t(unsigned int, 189 watchdog_init_timeout(&meson_wdt->wdt_dev, timeout, de 86 meson_wdt_change_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) argument 98 meson_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) argument [all...] |
/linux-master/drivers/gpu/host1x/ |
H A D | fence.c | 49 * or cancelled. As such, for such situations, set up a timeout, so 52 if (sf->timeout) { 53 /* Reference for timeout path. */ 79 * Already on timeout path, but we removed the fence before 80 * timeout path could, so drop interrupt path reference. 86 if (f->timeout && cancel_delayed_work(&f->timeout_work)) { 88 * We know that the timeout path will not be entered. 89 * Safe to drop the timeout path's reference now. 105 /* Already on interrupt path, drop timeout path reference if any. */ 106 if (f->timeout) 125 host1x_fence_create(struct host1x_syncpt *sp, u32 threshold, bool timeout) argument [all...] |
/linux-master/tools/perf/ui/tui/ |
H A D | setup.c | 59 struct timeval timeout, *ptimeout = delay_secs ? &timeout : NULL; local 69 timeout.tv_sec = delay_secs; 70 timeout.tv_usec = 0; 90 timeout.tv_sec = 0; 91 timeout.tv_usec = 20; 92 err = select(1, &read_set, NULL, NULL, &timeout);
|
/linux-master/tools/testing/selftests/futex/include/ |
H A D | futextest.h | 55 * @timeout: typically an absolute struct timespec (except where noted 64 * some of the types over overloaded (timeout is used for nr_requeue for 70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ 71 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3) 74 * futex_wait() - block on uaddr with optional timeout 75 * @timeout: relative timeout 78 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) argument 80 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); 98 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, argument 121 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, int opflags) argument 185 futex_wait_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, struct timespec *timeout, int opflags) argument [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_utils.c | 100 void set_timer_ms(struct timer_list *t, unsigned long timeout) argument 102 if (!timeout) { 107 timeout = msecs_to_jiffies(timeout); 110 * Paranoia to make sure the compiler computes the timeout before 118 mod_timer(t, jiffies + timeout ?: 1);
|
/linux-master/arch/arm/mach-omap2/ |
H A D | vp.c | 42 u32 val, sys_clk_rate, timeout, waittime; local 61 timeout = (sys_clk_rate * voltdm->pmic->vp_timeout_us) / 1000; 94 (timeout << vp->common->vlimitto_timeout_shift); 127 int ret, timeout = 0; local 137 while (timeout++ < VP_TRANXDONE_TIMEOUT) { 143 if (timeout >= VP_TRANXDONE_TIMEOUT) { 144 pr_warn("%s: vdd_%s TRANXDONE timeout exceeded. Voltage change aborted\n", 159 timeout = 0; 161 VP_TRANXDONE_TIMEOUT, timeout); 162 if (timeout > 245 int timeout; local [all...] |
/linux-master/fs/nfs/ |
H A D | nfs4renewd.c | 74 /* Are we close to a lease timeout? */ 116 long timeout; local 119 timeout = (2 * clp->cl_lease_time) / 3 + (long)clp->cl_last_renewal 121 if (timeout < 5 * HZ) 122 timeout = 5 * HZ; 124 __func__, (timeout + HZ - 1) / HZ); 125 mod_delayed_work(system_wq, &clp->cl_renewd, timeout); 149 /* Cap maximum reconnect timeout at 1/2 lease period */
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | util.c | 10 int timeout) 14 timeout /= 10; 21 } while (timeout-- > 0); 28 int timeout, int tick) 32 timeout /= tick; 39 } while (timeout-- > 0); 9 __mt76_poll(struct mt76_dev *dev, u32 offset, u32 mask, u32 val, int timeout) argument 27 ____mt76_poll_msec(struct mt76_dev *dev, u32 offset, u32 mask, u32 val, int timeout, int tick) argument
|
H A D | mt76x02_dma.h | 54 mt76x02_wait_for_wpdma(struct mt76_dev *dev, int timeout) argument 59 0, timeout);
|
/linux-master/drivers/net/mdio/ |
H A D | mdio-cavium.c | 33 int timeout = 1000; local 53 } while (smi_wr.s.pending && --timeout); 55 if (timeout <= 0) 65 int timeout = 1000; local 81 } while (smi_rd.s.pending && --timeout); 96 int timeout = 1000; local 115 } while (smi_rd.s.pending && --timeout); 130 int timeout = 1000; local 150 } while (smi_wr.s.pending && --timeout); 152 if (timeout < 165 int timeout = 1000; local [all...] |
/linux-master/drivers/greybus/ |
H A D | arpc.h | 46 __le16 timeout; member in struct:arpc_cport_quiesce_req 59 __le16 timeout; member in struct:arpc_cport_shutdown_req
|