/linux-master/sound/soc/intel/avs/ |
H A D | ipc.c | 314 static int avs_ipc_wait_busy_completion(struct avs_ipc *ipc, int timeout) argument 320 ret = wait_for_completion_timeout(&ipc->busy_completion, msecs_to_jiffies(timeout)); 385 struct avs_ipc_msg *reply, int timeout, const char *name) 400 ret = avs_ipc_wait_busy_completion(ipc, timeout); 438 struct avs_ipc_msg *reply, int timeout, bool wake_d0i0, 450 ret = avs_dsp_do_send_msg(adev, request, reply, timeout, name); 462 struct avs_ipc_msg *reply, int timeout, const char *name) 467 return avs_dsp_send_msg_sequence(adev, request, reply, timeout, wake_d0i0, schedule_d0ix, 478 struct avs_ipc_msg *reply, int timeout, bool wake_d0i0, 481 return avs_dsp_send_msg_sequence(adev, request, reply, timeout, wake_d0i 384 avs_dsp_do_send_msg(struct avs_dev *adev, struct avs_ipc_msg *request, struct avs_ipc_msg *reply, int timeout, const char *name) argument 437 avs_dsp_send_msg_sequence(struct avs_dev *adev, struct avs_ipc_msg *request, struct avs_ipc_msg *reply, int timeout, bool wake_d0i0, bool schedule_d0ix, const char *name) argument 461 avs_dsp_send_msg_timeout(struct avs_dev *adev, struct avs_ipc_msg *request, struct avs_ipc_msg *reply, int timeout, const char *name) argument 477 avs_dsp_send_pm_msg_timeout(struct avs_dev *adev, struct avs_ipc_msg *request, struct avs_ipc_msg *reply, int timeout, bool wake_d0i0, const char *name) argument 491 avs_dsp_do_send_rom_msg(struct avs_dev *adev, struct avs_ipc_msg *request, int timeout, const char *name) argument 523 avs_dsp_send_rom_msg_timeout(struct avs_dev *adev, struct avs_ipc_msg *request, int timeout, const char *name) argument [all...] |
/linux-master/drivers/watchdog/ |
H A D | wdt977.c | 51 #define DEFAULT_TIMEOUT 60 /* default timeout in seconds */ 53 static int timeout = DEFAULT_TIMEOUT; variable 54 static int timeoutM; /* timeout in minutes */ 60 module_param(timeout, int, 0); 61 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (60..15300, default=" 87 * F2 has the timeout in minutes 89 * at timeout, and to reset timer on kbd/mouse activity (not impl.) 169 * This is done by simply re-writing the timeout to reg. 0xF2 182 /* F2 has the timeout i [all...] |
H A D | w83977f_wdt.c | 40 #define DEFAULT_TIMEOUT 45 /* default timeout in seconds */ 42 static int timeout = DEFAULT_TIMEOUT; variable 43 static int timeoutW; /* timeout in watchdog counter units */ 49 module_param(timeout, int, 0); 50 MODULE_PARM_DESC(timeout, 51 "Watchdog timeout in seconds (15..7635), default=" 78 * F2 has the timeout in watchdog counter units. 79 * F3 is set to enable watchdog LED blink at timeout. 189 * This is done by simply re-writing the timeout to reg. 0xF2 217 * Set the watchdog timeout valu [all...] |
H A D | wm831x_wdt.c | 130 unsigned int timeout) 137 if (wm831x_wdt_cfgs[i].time == timeout) 153 wdt_dev->timeout = timeout; 214 "Unknown watchdog timeout: %x\n", reg); 216 wm831x_wdt->timeout = wm831x_wdt_cfgs[i].time; 129 wm831x_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) argument
|
H A D | davinci_wdt.c | 88 /* set timeout period */ 89 timer_margin = (((u64)wdd->timeout * wdt_freq) & 0xffffffff); 91 timer_margin = (((u64)wdd->timeout * wdt_freq) >> 32); 124 /* if timeout has occured then return 0 */ 139 return wdd->timeout - timer_counter; 214 wdd->timeout = DEFAULT_HEARTBEAT; 219 dev_info(dev, "heartbeat %d sec\n", wdd->timeout);
|
H A D | pm8916_wdt.c | 78 wdev->timeout - wdev->pretimeout); 88 unsigned int timeout) 90 wdev->timeout = timeout; 225 wdt->wdev.timeout = PM8916_WDT_DEFAULT_TIMEOUT; 87 pm8916_wdt_set_timeout(struct watchdog_device *wdev, unsigned int timeout) argument
|
H A D | cros_ec_wdt.c | 74 arg.req.reboot_timeout_sec = wdd->timeout; 98 unsigned int old_timeout = wdd->timeout; 101 wdd->timeout = t; 104 wdd->timeout = old_timeout; 144 wdd->timeout = CROS_EC_WATCHDOG_DEFAULT_TIME;
|
/linux-master/sound/pci/ca0106/ |
H A D | ca_midi.c | 29 int timeout = 100000; local 30 for (; timeout > 0 && ca_midi_input_avail(midi); timeout--) 33 if (timeout <= 0) 34 pr_err("ca_midi_clear_rx: timeout (status = 0x%x)\n", 78 int timeout, ok; local 87 timeout = 10000; 88 while (!ok && timeout-- > 0) {
|
/linux-master/drivers/net/ethernet/intel/ixgbevf/ |
H A D | mbx.c | 16 int countdown = mbx->timeout; 38 int countdown = mbx->timeout; 204 int countdown = mbx->timeout; 207 if (!mbx->timeout) 414 /* start mailbox as timed out and let the reset_hw call set the timeout 417 mbx->timeout = IXGBE_VF_MBX_INIT_TIMEOUT; 444 if (!mbx->ops.read || !mbx->ops.check_for_msg || !mbx->timeout) 475 * or there is no timeout defined 478 !mbx->timeout)
|
/linux-master/sound/pci/cs5535audio/ |
H A D | cs5535audio.c | 63 static void wait_till_cmd_acked(struct cs5535audio *cs5535au, unsigned long timeout) argument 71 } while (--timeout); 72 if (!timeout) 81 unsigned int timeout; local 91 timeout = 50; 97 } while (--timeout); 98 if (!timeout)
|
/linux-master/drivers/net/ethernet/intel/igbvf/ |
H A D | vf.c | 107 u32 timeout = E1000_VF_INIT_TIMEOUT; local 118 while (!mbx->ops.check_for_rst(hw) && timeout) { 119 timeout--; 123 if (timeout) { 124 /* mailbox timeout can now become active */ 125 mbx->timeout = E1000_VF_MBX_INIT_TIMEOUT; 391 /* If we were hit with a reset or timeout drop the link */ 392 if (!mbx->ops.check_for_rst(hw) || !mbx->timeout) 417 if (!mbx->timeout) {
|
/linux-master/drivers/gpu/drm/i915/pxp/ |
H A D | intel_pxp.c | 305 int timeout; local 318 timeout = intel_pxp_get_backend_timeout_ms(pxp); 320 if (!wait_for_completion_timeout(&pxp->termination, msecs_to_jiffies(timeout))) 328 int timeout; local 340 timeout = intel_pxp_get_backend_timeout_ms(pxp); 342 if (!wait_for_completion_timeout(&pxp->termination, msecs_to_jiffies(timeout))) { 344 timeout);
|
/linux-master/io_uring/ |
H A D | cancel.c | 17 #include "timeout.h" 271 ktime_t timeout = KTIME_MAX; variable 307 if (sc.timeout.tv_sec != -1UL || sc.timeout.tv_nsec != -1UL) { 309 .tv_sec = sc.timeout.tv_sec, 310 .tv_nsec = sc.timeout.tv_nsec 313 timeout = ktime_add_ns(timespec64_to_ktime(ts), ktime_get_ns()); 334 ret = schedule_hrtimeout(&timeout, HRTIMER_MODE_ABS);
|
/linux-master/kernel/time/ |
H A D | timer.c | 86 * timeout timers (networking, disk I/O ...) are canceled before expiry. If 87 * the timeout expires it indicates that normal operation is disturbed, so it 88 * does not matter much whether the timeout comes with a slight delay. 95 * capacity of the last wheel level are force expired at the maximum timeout 392 * @cpu: the processor number on which the timeout will happen 418 * @cpu: the processor number on which the timeout will happen 489 * @cpu: the processor number on which the timeout will happen 505 * @cpu: the processor number on which the timeout will happen 1076 * the timer is re-modified to have the same timeout or ends up in the 1192 * mod_timer_pending - Modify a pending timer's timeout 2506 struct process_timer *timeout = from_timer(timeout, t, timer); local 2542 schedule_timeout(signed long timeout) argument 2598 schedule_timeout_interruptible(signed long timeout) argument 2605 schedule_timeout_killable(signed long timeout) argument 2612 schedule_timeout_uninterruptible(signed long timeout) argument 2623 schedule_timeout_idle(signed long timeout) argument 2733 unsigned long timeout = msecs_to_jiffies(msecs) + 1; local 2747 unsigned long timeout = msecs_to_jiffies(msecs) + 1; local [all...] |
/linux-master/tools/testing/selftests/net/netfilter/ |
H A D | nft_queue.sh | 11 timeout=2 215 ip netns exec "$nsrouter" ./nf_queue -c -q 0 -t $timeout > "$TMPFILE0" & 216 ip netns exec "$nsrouter" ./nf_queue -c -q 1 -t $timeout > "$TMPFILE1" & 253 ip netns exec "$nsrouter" ./nf_queue -q 2 -t "$timeout" & 256 timeout 5 ip netns exec "$ns2" socat -u TCP-LISTEN:12345 STDOUT >/dev/null & 269 timeout 5 ip netns exec "$nsrouter" socat -u TCP-LISTEN:12345 STDOUT >/dev/null & 272 ip netns exec "$nsrouter" ./nf_queue -q 3 -t "$timeout" & 285 ip netns exec "$nsrouter" ./connect_close -p 23456 -t "$timeout" & 286 ip netns exec "$nsrouter" ./nf_queue -q 3 -t "$timeout" & 309 timeout [all...] |
/linux-master/drivers/media/pci/saa7164/ |
H A D | saa7164-fw.c | 28 u32 timeout = SAA_DEVICE_TIMEOUT; local 30 timeout -= 10; 31 if (timeout == 0) { 32 printk(KERN_ERR "%s() timeout (no d/l ack)\n", 44 u32 timeout = SAA_DEVICE_TIMEOUT; local 46 timeout -= 10; 47 if (timeout == 0) { 48 printk(KERN_ERR "%s() timeout (no d/l clr)\n", 63 u32 reg, timeout, offset; local 152 timeout [all...] |
/linux-master/drivers/gnss/ |
H A D | sirf.c | 207 unsigned long timeout) 212 msleep(timeout); 214 /* Wait for data reception or timeout. */ 231 unsigned long timeout) 236 return sirf_wait_for_power_state_nowakeup(data, active, timeout); 239 data->active == active, msecs_to_jiffies(timeout)); 244 dev_warn(&data->serdev->dev, "timeout waiting for active state = %d\n", 261 unsigned long timeout; local 266 timeout = SIRF_ACTIVATE_TIMEOUT; 268 timeout 205 sirf_wait_for_power_state_nowakeup(struct sirf_data *data, bool active, unsigned long timeout) argument 230 sirf_wait_for_power_state(struct sirf_data *data, bool active, unsigned long timeout) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_dpia_bw.c | 434 uint8_t timeout = 10; local 448 if (timeout > 0) 449 timeout--; 455 if (!timeout) 470 uint8_t timeout = 10; local 481 if (timeout > 0) 482 timeout--; 488 if (timeout) 492 DC_LOG_DEBUG("%s: EXIT: timeout(%d), ret(%d)\n", __func__, timeout, re [all...] |
/linux-master/drivers/media/pci/solo6x10/ |
H A D | solo6x10-i2c.c | 210 unsigned long timeout; local 233 timeout = HZ / 2; 242 timeout = schedule_timeout(timeout); 243 if (!timeout)
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | mapping.c | 36 unsigned long timeout; member in struct:mapping_item 100 mi->timeout = jiffies + msecs_to_jiffies(MAPPING_GRACE_PERIOD); 171 if (time_after(now, mi->timeout)) 174 time_before(mi->timeout, min_timeout)) 175 min_timeout = mi->timeout;
|
/linux-master/tools/testing/selftests/firmware/ |
H A D | fw_filesystem.sh | 25 # Turn down the timeout so failures don't take so long. 26 echo 1 >/sys/class/firmware/timeout 54 echo "$0: timeout works" 338 local timeout=10 342 timeout=$(( $timeout - 1 )) 343 if [ "$timeout" -eq 0 ]; then
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | cmdq.c | 102 static unsigned timeout = 2000; local 103 unsigned long end_jiffies = jiffies + msecs_to_jiffies(timeout); 109 FLCNQ_ERR(cmdq, "timeout waiting for queue space"); 126 unsigned long timeout) 133 FLCNQ_ERR(cmdq, "timeout waiting for queue ready"); 145 seq->async = !timeout; 157 if (!wait_for_completion_timeout(&seq->done, timeout)) { 158 FLCNQ_ERR(cmdq, "timeout waiting for reply"); 124 nvkm_falcon_cmdq_send(struct nvkm_falcon_cmdq *cmdq, struct nvfw_falcon_cmd *cmd, nvkm_falcon_qmgr_callback cb, void *priv, unsigned long timeout) argument
|
/linux-master/drivers/ata/ |
H A D | ahci_sunxi.c | 89 int timeout; local 112 timeout = 250; /* Power up takes aprox 50 us */ 118 if (--timeout == 0) { 127 timeout = 100; /* Calibration takes aprox 10 us */ 133 if (--timeout == 0) {
|
/linux-master/net/ipv4/ |
H A D | inetpeer.c | 267 bool inet_peer_xrlim_allow(struct inet_peer *peer, int timeout) argument 279 if (token > XRLIM_BURST_FACTOR * timeout) 280 token = XRLIM_BURST_FACTOR * timeout; 281 if (token >= timeout) { 282 token -= timeout;
|
/linux-master/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_ps.c | 74 unsigned long timeout; local 80 timeout = jiffies + msecs_to_jiffies(MIN_SLEEP_TIME); 81 if (time_before((unsigned long)time, timeout)) { 87 timeout = jiffies + msecs_to_jiffies(MAX_SLEEP_TIME); 88 if (time_after((unsigned long)time, timeout)) {
|