Searched refs:timeout (Results 451 - 475 of 2959) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/arm/mach-pxa/
H A Dgumstix.c137 int timeout = 500; local
149 } while (--timeout);
150 if (!timeout)
/linux-master/tools/testing/selftests/kselftest/
H A Drunner.sh12 # "timeout" how many seconds to let each test run before running
13 # over our soft timeout limit.
39 if [ -x /usr/bin/timeout ] ; then
40 /usr/bin/timeout --foreground "$kselftest_timeout" \
41 /usr/bin/timeout "$kselftest_timeout" $1
96 # Command line timeout overrides the settings file
99 echo "# overriding timeout to $kselftest_timeout" >> "$logfile"
101 echo "# timeout set to $kselftest_timeout" >> "$logfile"
/linux-master/drivers/hwmon/
H A Dchipcap2.c208 unsigned long timeout; local
221 timeout = usecs_to_jiffies(2 * CC2_RESP_START_CM_US);
223 timeout);
258 unsigned long timeout; local
271 timeout = msecs_to_jiffies(2 * CC2_RESP_EEPROM_W_MS);
272 ret = wait_for_completion_timeout(&data->complete, timeout);
292 unsigned long timeout; local
304 timeout = usecs_to_jiffies(2 * CC2_RESP_EEPROM_R_US);
305 ret = wait_for_completion_timeout(&data->complete, timeout);
371 unsigned long timeout; local
[all...]
/linux-master/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_cmd_v5.c20 unsigned long timeout; local
22 timeout = jiffies + msecs_to_jiffies(MFC_BW_TIMEOUT);
25 if (time_after(jiffies, timeout)) {
H A Ds5p_mfc_ctrl.c104 unsigned long timeout; local
108 timeout = jiffies + msecs_to_jiffies(MFC_BW_TIMEOUT);
111 if (time_after(jiffies, timeout)) {
124 unsigned long timeout; local
159 timeout = jiffies + msecs_to_jiffies(MFC_BW_TIMEOUT);
162 if (time_after(jiffies, timeout)) {
228 mfc_err("Failed to reset MFC - timeout\n");
259 mfc_err("Failed to send command to MFC - timeout\n");
314 mfc_err("Failed to send command to MFC - timeout\n");
349 mfc_err("Failed to send command to MFCV8 - timeout\
[all...]
/linux-master/tools/testing/selftests/net/netfilter/
H A Dnf_nat_edemux.sh60 echo test | ip netns exec "$ns2" socat -t 3 -u STDIN TCP:10.96.0.1:443,connect-timeout=3 >/dev/null
74 sleep 5 | ip netns exec "$ns2" socat -t 5 -u STDIN TCP:192.168.1.1:5202,connect-timeout=5 >/dev/null &
78 echo | ip netns exec "$ns2" socat -t 3 -u STDIN TCP:192.168.1.1:5203,connect-timeout=5 >/dev/null &
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_mqd_manager.h89 unsigned int timeout, uint32_t pipe_id,
173 enum kfd_preempt_type type, unsigned int timeout,
188 enum kfd_preempt_type type, unsigned int timeout,
/linux-master/drivers/iio/pressure/
H A Ddps310.c431 static int dps310_ready_status(struct dps310_data *data, int ready_bit, int timeout) argument
433 int sleep = DPS310_POLL_SLEEP_US(timeout);
437 sleep, timeout);
440 static int dps310_ready(struct dps310_data *data, int ready_bit, int timeout) argument
444 rc = dps310_ready_status(data, ready_bit, timeout);
452 if (dps310_ready_status(data, ready_bit, timeout))
470 int timeout; local
481 timeout = DPS310_POLL_TIMEOUT_US(rate);
483 /* Poll for sensor readiness; base the timeout upon the sample rate. */
484 rc = dps310_ready(data, DPS310_PRS_RDY, timeout);
521 int timeout; local
[all...]
/linux-master/drivers/tty/
H A Dtty_ldisc.c287 __tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout) argument
289 return ldsem_down_write(&tty->ldisc_sem, timeout);
293 __tty_ldisc_lock_nested(struct tty_struct *tty, unsigned long timeout) argument
296 LDISC_SEM_OTHER, timeout);
304 int tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout) argument
313 ret = __tty_ldisc_lock(tty, timeout);
330 unsigned long timeout)
335 ret = __tty_ldisc_lock(tty, timeout);
337 ret = __tty_ldisc_lock_nested(tty2, timeout);
345 ret = __tty_ldisc_lock(tty2, timeout);
329 tty_ldisc_lock_pair_timeout(struct tty_struct *tty, struct tty_struct *tty2, unsigned long timeout) argument
[all...]
/linux-master/drivers/char/
H A Dnwflash.c296 unsigned long timeout; local
344 timeout = jiffies + 10 * HZ;
346 while (!(c1 & 0x80) && time_before(jiffies, timeout)) {
404 unsigned long timeout; local
420 timeout = jiffies + 30 * HZ;
473 * if timeout getting status
494 * if hardware reports an error writing, and not timeout -
505 * before timeout?
507 if (time_before(jiffies, timeout)) {
519 printk(KERN_ERR "write_block: timeout a
[all...]
/linux-master/drivers/net/ethernet/intel/igb/
H A De1000_mbx.c137 int countdown = mbx->timeout;
151 mbx->timeout = 0;
166 int countdown = mbx->timeout;
180 mbx->timeout = 0;
220 * received an ack to that message within delay * timeout period
228 /* exit if either we can't write or there isn't a defined timeout */
229 if (!mbx->ops.write || !mbx->timeout)
453 mbx->timeout = 0;
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dbtcoex.c57 * @timeout: configured timeout.
79 u16 timeout; member in struct:brcmf_btcoex_info
302 if (btci->timeout < BRCMF_BTCOEX_OPPR_WIN_TIME) {
305 btci->timeout -= BRCMF_BTCOEX_OPPR_WIN_TIME;
324 mod_timer(&btci->timer, jiffies + btci->timeout);
372 btci->timeout = BRCMF_BTCOEX_OPPR_WIN_TIME;
465 btci->timeout = msecs_to_jiffies(duration);
/linux-master/drivers/s390/net/
H A Dqeth_l2_sys.c273 /* get current timeout setting */
278 u32 timeout; local
281 rc = qeth_l2_vnicc_get_timeout(card, &timeout);
286 return rc ? rc : sysfs_emit(buf, "%d\n", timeout);
289 /* change timeout setting */
295 u32 timeout; local
298 rc = kstrtou32(buf, 10, &timeout);
303 rc = qeth_l2_vnicc_set_timeout(card, timeout);
/linux-master/drivers/watchdog/
H A Drealtek_otto_wdt.c6 * Watchdog timer that will reset the system after timeout, using the selected
61 * pretimeout values for timeouts longer than 32 ticks. Limit the maximum timeout
115 * one tick, so small values need to be clamped to correctly reflect the timeout.
123 static int otto_wdt_determine_timeouts(struct watchdog_device *wdev, unsigned int timeout, argument
128 unsigned int timeout_ms = timeout * 1000;
161 ctrl->wdev.timeout = timeout_ms / 1000;
176 return otto_wdt_determine_timeouts(wdev, wdev->timeout, val);
200 /* Configure for shortest timeout and wait for reset to occur */
214 dev_crit(ctrl->dev, "phase 1 timeout\n");
332 * Since pretimeout cannot be disabled, min. timeout i
[all...]
H A Drzg2l_wdt.c118 time_out = (wdev->timeout * (MICRO / 2)) /
151 static int rzg2l_wdt_set_timeout(struct watchdog_device *wdev, unsigned int timeout) argument
153 wdev->timeout = timeout;
158 * to reset the module) so that it is updated with new timeout values.
186 wdev->timeout = 0;
297 priv->wdev.timeout = WDT_DEFAULT_TIMEOUT;
311 dev_warn(dev, "Specified timeout invalid, using default");
/linux-master/drivers/accel/habanalabs/common/pci/
H A Dpci.c93 ktime_t timeout; local
108 timeout = ktime_add_ms(ktime_get(), msec);
113 if (ktime_compare(ktime_get(), timeout) > 0) {
156 ktime_t timeout; local
173 timeout = ktime_add_ms(ktime_get(), msec);
178 if (ktime_compare(ktime_get(), timeout) > 0) {
/linux-master/fs/nfs/
H A Dnamespace.c152 int timeout = READ_ONCE(nfs_mountpoint_expiry_timeout); local
199 if (timeout <= 0)
203 schedule_delayed_work(&nfs_automount_task, timeout);
245 int timeout = READ_ONCE(nfs_mountpoint_expiry_timeout); local
248 if (!list_empty(list) && timeout > 0)
249 schedule_delayed_work(&nfs_automount_task, timeout);
369 "Set the NFS automounted mountpoint timeout value (seconds)."
/linux-master/drivers/input/keyboard/
H A Dnomadik-ske-keypad.c98 int timeout = keypad->board->debounce_ms; local
101 while ((readl(keypad->reg_base + SKE_RIS) != 0x00000000) && timeout--)
104 if (timeout == -1)
202 int timeout = keypad->board->debounce_ms; local
208 while ((readl(keypad->reg_base + SKE_CR) & SKE_KPASON) && --timeout)
215 while ((readl(keypad->reg_base + SKE_RIS)) && --timeout)
/linux-master/include/net/netfilter/
H A Dnf_conntrack.h90 u32 timeout; member in struct:nf_conn
298 s32 timeout = READ_ONCE(ct->timeout) - nfct_time_stamp; local
300 return max(timeout, 0);
305 return (__s32)(READ_ONCE(ct->timeout) - nfct_time_stamp) <= 0;
317 /* Set an arbitrary timeout large enough not to ever expire, this save
324 WRITE_ONCE(ct->timeout, nfct_time_stamp + NF_CT_DAY);
/linux-master/arch/arm/mach-mxs/
H A Dmach-mxs.c90 int timeout = 0x400; local
113 (BM_OCOTP_CTRL_BUSY | BM_OCOTP_CTRL_ERROR)) && --timeout)
116 if (unlikely(!timeout))
126 timeout = 0x400;
127 while ((__raw_readl(ocotp_base) & BM_OCOTP_CTRL_BUSY) && --timeout)
130 if (unlikely(!timeout))
148 pr_err("%s: timeout in reading OCOTP\n", __func__);
/linux-master/drivers/i2c/busses/
H A Di2c-amd756.c100 int timeout = 0; local
114 (timeout++ < MAX_TIMEOUT));
116 if (timeout > MAX_TIMEOUT) {
117 dev_dbg(&adap->dev, "Busy wait timeout (%04x)\n", temp);
120 timeout = 0;
130 } while ((temp & GS_HST_STS) && (timeout++ < MAX_TIMEOUT));
133 if (timeout > MAX_TIMEOUT) {
134 dev_dbg(&adap->dev, "Completion timeout!\n");
150 dev_dbg(&adap->dev, "SMBus protocol timeout!\n");
/linux-master/drivers/net/ethernet/amd/pds_core/
H A Ddev.c135 int timeout = 0; local
144 while (!done && !timeout) {
153 timeout = time_after(jiffies, max_wait);
154 if (timeout)
165 if ((!done || timeout) && running) {
166 dev_err(dev, "DEVCMD %d %s timeout, done %d timeout %d max_seconds=%d\n",
167 opcode, pdsc_devcmd_str(opcode), done, timeout,
/linux-master/kernel/
H A Dumh.c240 long usermodehelper_read_lock_wait(long timeout) argument
244 if (timeout < 0)
256 timeout = schedule_timeout(timeout);
257 if (!timeout)
263 return timeout;
/linux-master/drivers/media/rc/
H A Dst_rc.c57 /* maximum symbol period (microsecs),timeout to detect end of symbol train */
67 struct ir_raw_event ev = { .timeout = true, .duration = rdev->timeout };
95 unsigned long timeout; local
106 timeout = jiffies + msecs_to_jiffies(10);
152 } while (time_is_after_jiffies(timeout));
302 rdev->timeout = MAX_SYMB_TIME;
/linux-master/drivers/net/wireless/ath/ath6kl/
H A Ddebug.h81 void ath6kl_debug_set_disconnect_timeout(struct ath6kl *ar, u8 timeout);
129 u8 timeout)
128 ath6kl_debug_set_disconnect_timeout(struct ath6kl *ar, u8 timeout) argument

Completed in 543 milliseconds

<<11121314151617181920>>