Searched refs:timeout (Results 251 - 275 of 2969) sorted by path

<<11121314151617181920>>

/linux-master/drivers/accel/ivpu/
H A Divpu_pm.c179 unsigned long timeout_ms = ivpu_tdr_timeout_ms ? ivpu_tdr_timeout_ms : vdev->timeout.tdr;
194 unsigned long timeout; local
198 timeout = jiffies + msecs_to_jiffies(vdev->timeout.tdr);
201 if (time_after_eq(jiffies, timeout)) {
249 pm_schedule_suspend(dev, vdev->timeout.reschedule_suspend);
375 delay = vdev->timeout.autosuspend;
/linux-master/drivers/accel/qaic/
H A Dqaic_data.c58 MODULE_PARM_DESC(wait_exec_default_timeout_ms, "Default timeout for DRM_IOCTL_QAIC_WAIT_BO");
1664 unsigned long timeout; local
1707 timeout = args->timeout ? args->timeout : wait_exec_default_timeout_ms;
1708 timeout = msecs_to_jiffies(timeout);
1709 ret = wait_for_completion_interruptible_timeout(&bo->xfer_done, timeout);
/linux-master/drivers/accessibility/speakup/
H A Dserialio.c155 int timeout = SPK_XMITR_TIMEOUT; local
158 if (!--timeout)
H A Dspeakup_acntpc.c154 int timeout = SPK_XMITR_TIMEOUT; local
161 if (!--timeout)
176 int timeout; local
214 timeout = SPK_XMITR_TIMEOUT;
216 if (!--timeout)
227 timeout = SPK_XMITR_TIMEOUT;
229 if (!--timeout)
242 timeout = SPK_XMITR_TIMEOUT;
244 if (!--timeout)
H A Dspeakup_decpc.c264 int timeout = 100; local
266 while (--timeout > 0) {
276 int timeout = 100, state = dma_state; local
280 while (--timeout > 0) {
291 int timeout = 10; local
302 if (--timeout == 0)
311 int timeout = 10; local
318 if (--timeout == 0)
322 for (timeout = 0; timeout < 1
[all...]
H A Dspeakup_dectlk.c216 unsigned long timeout; local
232 timeout = msecs_to_jiffies(timeout_val);
238 while (is_flushing && timeout) {
241 timeout = schedule_timeout(timeout);
H A Dspeakup_dtlk.c175 int timeout = SPK_XMITR_TIMEOUT; local
178 if (!--timeout)
183 timeout = SPK_XMITR_TIMEOUT;
185 if (!--timeout)
H A Dspeakup_keypc.c148 pr_warn("synth timeout %d %d %d %d\n", s1, s2, s3, s4);
155 int timeout; local
162 timeout = 1000;
164 if (--timeout <= 0)
176 int timeout; local
215 timeout = 1000;
217 if (--timeout <= 0)
219 if (timeout <= 0) {
231 timeout = 1000;
233 if (--timeout <
[all...]
H A Dspk_ttyio.c291 static unsigned char ttyio_in(struct spk_synth *in_synth, int timeout) argument
297 if (!timeout) {
301 usecs_to_jiffies(timeout)) == 0) {
302 pr_warn("spk_ttyio: timeout (%d) while waiting for input\n",
303 timeout);
/linux-master/drivers/acpi/acpica/
H A Dacevents.h53 acpi_ev_acquire_global_lock(u16 timeout))
H A Dacinterp.h248 acpi_ex_acquire_mutex_object(u16 timeout,
313 acpi_ex_system_wait_semaphore(acpi_semaphore semaphore, u16 timeout);
315 acpi_status acpi_ex_system_wait_mutex(acpi_mutex mutex, u16 timeout);
H A Devglock.c152 * PARAMETERS: timeout - Max time to wait for the lock, in millisec.
170 acpi_status acpi_ev_acquire_global_lock(u16 timeout) argument
184 os_mutex, timeout);
H A Devxface.c1011 * PARAMETERS: timeout - How long the caller is willing to wait
1026 acpi_status acpi_acquire_global_lock(u16 timeout, u32 *handle)
1038 status = acpi_ex_acquire_mutex_object(timeout,
H A Dexmutex.c106 * PARAMETERS: timeout - Timeout in milliseconds
126 acpi_ex_acquire_mutex_object(u16 timeout, argument
152 status = acpi_ev_acquire_global_lock(timeout);
156 timeout);
161 /* Includes failure from a timeout on time_desc */
H A Dexsystem.c22 * 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/drivers/acpi/apei/
H A Deinj-core.c437 u64 val, trigger_paddr, timeout = FIRMWARE_TIMEOUT; local
514 if (einj_timedout(&timeout))
H A Derst.c107 u64 timeout = FIRMWARE_TIMEOUT; local
110 timeout = ((erst_erange.timings & ERST_EXEC_TIMING_MAX_MASK) >>
112 if (timeout < FIRMWARE_TIMEOUT)
113 timeout = FIRMWARE_TIMEOUT;
115 return timeout;
212 u64 timeout; local
215 timeout = erst_get_timeout();
232 if (erst_timedout(&timeout, stall_time * NSEC_PER_USEC))
651 u64 timeout; local
655 timeout
692 u64 timeout; local
737 u64 timeout; local
[all...]
/linux-master/drivers/acpi/
H A Dec.c725 unsigned long timeout = ec->timestamp + guard; local
753 } while (time_before(jiffies, timeout));
H A Dosl.c1238 acpi_status acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 timeout) argument
1255 handle, units, timeout));
1257 if (timeout == ACPI_WAIT_FOREVER)
1260 jiffies = msecs_to_jiffies(timeout);
1269 handle, units, timeout,
1274 units, timeout));
H A Dsbshc.c98 static int wait_transaction_complete(struct acpi_smb_hc *hc, int timeout) argument
100 if (wait_event_timeout(hc->wait, hc->done, msecs_to_jiffies(timeout)))
/linux-master/drivers/ata/
H A Dahci_imx.c120 int timeout = 10; local
138 } while (--timeout);
140 return timeout ? 0 : -ETIMEDOUT;
230 int timeout = 10; local
267 } while (--timeout);
269 return timeout ? 0 : -ETIMEDOUT;
H A Dahci_sunxi.c89 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) {
H A Dahci_xgene.c108 * @timeout : timeout for achieving the value.
112 unsigned int interval, unsigned int timeout)
118 deadline = ata_deadline(jiffies, timeout);
110 xgene_ahci_poll_reg_val(struct ata_port *ap, void __iomem *reg, unsigned int val, unsigned int interval, unsigned int timeout) argument
H A Dlibata-core.c144 MODULE_PARM_DESC(ata_probe_timeout, "Set ATA probing timeout (seconds)");
1490 * @timeout: Timeout in msecs (0 for default)
1492 * Executes libata internal command with timeout. @tf contains
1496 * clean up after timeout.
1507 unsigned int timeout)
1579 if (!timeout) {
1581 timeout = ata_probe_timeout * 1000;
1583 timeout = ata_internal_cmd_timeout(dev, command);
1590 rc = wait_for_completion_timeout(&wait, msecs_to_jiffies(timeout));
1606 ata_dev_warn(dev, "qc timeout afte
1504 ata_exec_internal(struct ata_device *dev, struct ata_taskfile *tf, const u8 *cdb, enum dma_data_direction dma_dir, void *buf, unsigned int buflen, unsigned int timeout) argument
4502 unsigned int timeout = 0; local
6613 ata_wait_register(struct ata_port *ap, void __iomem *reg, u32 mask, u32 val, unsigned int interval, unsigned int timeout) argument
[all...]
H A Dlibata.h56 unsigned int timeout);

Completed in 465 milliseconds

<<11121314151617181920>>