Home
last modified time | relevance | path

Searched refs:timeout (Results 2176 - 2200 of 6651) sorted by relevance

1...<<81828384858687888990>>...267

/kernel/linux/linux-5.10/drivers/parport/
H A Dieee1284_ops.c56 unsigned long expire = jiffies + dev->timeout; in parport_ieee1284_write_compat()
175 pr_debug("%s: Nibble timeout at event 9 (%d bytes)\n", in parport_ieee1284_read_nibble()
197 pr_debug("%s: Nibble timeout at event 11\n", in parport_ieee1284_read_nibble()
266 pr_debug("%s: Byte timeout at event 9\n", port->name); in parport_ieee1284_read_byte()
281 pr_debug("%s: Byte timeout at event 11\n", port->name); in parport_ieee1284_read_byte()
414 unsigned long expire = jiffies + port->cad->timeout; in parport_ieee1284_ecp_write_data()
502 unsigned long expire = jiffies + dev->timeout; in parport_ieee1284_ecp_read_data()
645 unsigned long expire = jiffies + port->cad->timeout; in parport_ieee1284_ecp_write_addr()
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A Dfw-management.c414 unsigned int timeout; in fw_mgmt_ioctl() local
493 if (get_user(timeout, (unsigned int __user *)buf)) in fw_mgmt_ioctl()
496 if (!timeout) { in fw_mgmt_ioctl()
497 dev_err(fw_mgmt->parent, "timeout can't be zero\n"); in fw_mgmt_ioctl()
501 fw_mgmt->timeout_jiffies = msecs_to_jiffies(timeout); in fw_mgmt_ioctl()
/kernel/linux/linux-5.10/drivers/staging/iio/cdc/
H A Dad7150.c62 * @thresh_timeout: a timeout, in samples from the moment an
65 * @mag_timeout: a timeout, in sample from the moment an
177 u8 sens, timeout; in ad7150_write_event_params() local
196 timeout = chip->mag_timeout[rising][chan]; in ad7150_write_event_params()
200 timeout = chip->thresh_timeout[rising][chan]; in ad7150_write_event_params()
212 timeout); in ad7150_write_event_params()
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-sh.c131 int timeout = 100000; in spi_sh_wait_receive_buffer() local
135 if (timeout-- < 0) in spi_sh_wait_receive_buffer()
143 int timeout = 100000; in spi_sh_wait_write_buffer_empty() local
147 if (timeout-- < 0) in spi_sh_wait_write_buffer_empty()
194 printk(KERN_ERR "%s: timeout\n", __func__); in spi_sh_send()
210 printk(KERN_ERR "%s: timeout\n", __func__); in spi_sh_send()
247 printk(KERN_ERR "%s: timeout\n", __func__); in spi_sh_receive()
/kernel/linux/linux-5.10/fs/hmdfs/
H A Dclient_writeback.c66 unsigned long timeout; in hmdfs_writeback_inodes_sb_delayed() local
68 timeout = msecs_to_jiffies(delay); in hmdfs_writeback_inodes_sb_delayed()
69 if (!timeout || !work_busy(&sbi->h_wb->dirty_sb_writeback_work.work)) in hmdfs_writeback_inodes_sb_delayed()
71 &sbi->h_wb->dirty_sb_writeback_work, timeout); in hmdfs_writeback_inodes_sb_delayed()
292 /* Add delay work to trigger timeout writeback */ in hmdfs_balance_dirty_pages()
410 /* Add delay work to trigger timeout writeback */ in hmdfs_balance_dirty_pages_ratelimited()
/kernel/linux/linux-6.6/drivers/mtd/nand/onenand/
H A Donenand_omap2.c148 unsigned long timeout; in omap2_onenand_wait() local
221 wait_err("timeout", state, ctrl, intr); in omap2_onenand_wait()
226 wait_warn("timeout", state, ctrl, intr); in omap2_onenand_wait()
237 timeout = jiffies + msecs_to_jiffies(20); in omap2_onenand_wait()
239 if (time_before(jiffies, timeout)) { in omap2_onenand_wait()
253 timeout = jiffies + in omap2_onenand_wait()
288 wait_err("timeout", state, ctrl, intr); in omap2_onenand_wait()
401 dev_err(dev, "timeout waiting for DMA\n"); in omap2_onenand_read_bufferram()
441 dev_err(dev, "timeout waiting for DMA\n"); in omap2_onenand_write_bufferram()
/kernel/linux/linux-6.6/drivers/misc/eeprom/
H A Dat25.c228 unsigned long timeout, retries; in at25_ee_write() local
281 timeout = jiffies + msecs_to_jiffies(EE_TIMEOUT); in at25_ee_write()
295 } while (retries++ < 3 || time_before_eq(jiffies, timeout)); in at25_ee_write()
299 "write %u bytes offset %u, timeout after %u msecs\n", in at25_ee_write()
302 (timeout - EE_TIMEOUT))); in at25_ee_write()
/kernel/linux/linux-6.6/drivers/net/arcnet/
H A Dcom20020-pci.c53 static int timeout = 3; variable
60 module_param(timeout, int, 0);
208 lp->timeout = timeout; in com20020pci_probe()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/
H A Dqt202x_phy.c75 unsigned long timeout = jiffies + QT2025C_MAX_HEARTB_TIME; in qt2025c_wait_heartbeat() local
90 if (time_after(jiffies, timeout)) { in qt2025c_wait_heartbeat()
107 unsigned long timeout = jiffies + QT2025C_MAX_FWSTART_TIME; in qt2025c_wait_fw_status_good() local
119 if (time_after(jiffies, timeout)) in qt2025c_wait_fw_status_good()
/kernel/linux/linux-6.6/drivers/accessibility/speakup/
H A Dspeakup_dtlk.c175 int timeout = SPK_XMITR_TIMEOUT; in spk_out() local
178 if (!--timeout) in spk_out()
183 timeout = SPK_XMITR_TIMEOUT; in spk_out()
185 if (!--timeout) in spk_out()
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dclient_writeback.c66 unsigned long timeout; in hmdfs_writeback_inodes_sb_delayed() local
68 timeout = msecs_to_jiffies(delay); in hmdfs_writeback_inodes_sb_delayed()
69 if (!timeout || !work_busy(&sbi->h_wb->dirty_sb_writeback_work.work)) in hmdfs_writeback_inodes_sb_delayed()
71 &sbi->h_wb->dirty_sb_writeback_work, timeout); in hmdfs_writeback_inodes_sb_delayed()
316 /* Add delay work to trigger timeout writeback */ in hmdfs_balance_dirty_pages()
434 /* Add delay work to trigger timeout writeback */ in hmdfs_balance_dirty_pages_ratelimited()
/kernel/linux/linux-6.6/fs/orangefs/
H A Dxattr.c73 /* if (!time_before(jiffies, cx->timeout)) { in find_cached_xattr()
128 if (cx && time_before(jiffies, cx->timeout)) { in orangefs_inode_getxattr()
176 cx->timeout = jiffies + in orangefs_inode_getxattr()
224 cx->timeout = jiffies + HZ; in orangefs_inode_getxattr()
231 cx->timeout = jiffies + HZ; in orangefs_inode_getxattr()
/kernel/linux/linux-6.6/drivers/watchdog/
H A Dsp5100_tco.c157 wdd->timeout = t; in tco_timer_set_timeout()
318 tco_timer_set_timeout(wdd, wdd->timeout); in sp5100_tco_timer_init()
535 wdd->timeout = WATCHDOG_HEARTBEAT; in sp5100_tco_probe()
555 wdd->timeout, nowayout); in sp5100_tco_probe()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_sysfs.c489 int timeout; in retry_timeout_seconds_show() local
493 timeout = -1; in retry_timeout_seconds_show()
495 timeout = jiffies_to_msecs(cfg->retry_timeout) / MSEC_PER_SEC; in retry_timeout_seconds_show()
497 return sysfs_emit(buf, "%d\n", timeout); in retry_timeout_seconds_show()
514 /* 1 day timeout maximum, -1 means infinite */ in retry_timeout_seconds_store()
/kernel/linux/linux-6.6/include/scsi/
H A Dscsi_device.h159 unsigned int eh_timeout; /* Error handling timeout */
453 int subpage, unsigned char *buffer, int len, int timeout,
457 unsigned char *buffer, int len, int timeout,
460 extern int scsi_test_unit_ready(struct scsi_device *sdev, int timeout,
502 int timeout, int retries,
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-sh.c128 int timeout = 100000; in spi_sh_wait_receive_buffer() local
132 if (timeout-- < 0) in spi_sh_wait_receive_buffer()
140 int timeout = 100000; in spi_sh_wait_write_buffer_empty() local
144 if (timeout-- < 0) in spi_sh_wait_write_buffer_empty()
191 printk(KERN_ERR "%s: timeout\n", __func__); in spi_sh_send()
207 printk(KERN_ERR "%s: timeout\n", __func__); in spi_sh_send()
244 printk(KERN_ERR "%s: timeout\n", __func__); in spi_sh_receive()
H A Dspi-bcm2835aux.c305 unsigned long timeout; in bcm2835aux_spi_transfer_one_poll() local
314 /* set the timeout to at least 2 jiffies */ in bcm2835aux_spi_transfer_one_poll()
315 timeout = jiffies + 2 + HZ * polling_limit_us / 1000000; in bcm2835aux_spi_transfer_one_poll()
323 /* there is still data pending to read check the timeout */ in bcm2835aux_spi_transfer_one_poll()
324 if (bs->rx_len && time_after(jiffies, timeout)) { in bcm2835aux_spi_transfer_one_poll()
326 "timeout period reached: jiffies: %lu remaining tx/rx: %d/%d - falling back to interrupt mode\n", in bcm2835aux_spi_transfer_one_poll()
327 jiffies - timeout, in bcm2835aux_spi_transfer_one_poll()
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A Dfw-management.c414 unsigned int timeout; in fw_mgmt_ioctl() local
493 if (get_user(timeout, (unsigned int __user *)buf)) in fw_mgmt_ioctl()
496 if (!timeout) { in fw_mgmt_ioctl()
497 dev_err(fw_mgmt->parent, "timeout can't be zero\n"); in fw_mgmt_ioctl()
501 fw_mgmt->timeout_jiffies = msecs_to_jiffies(timeout); in fw_mgmt_ioctl()
/kernel/linux/linux-6.6/drivers/usb/misc/
H A Dyurex.c87 /* on success, sender woken up by CMD_ACK int in, or timeout */ in yurex_control_callback()
434 signed long timeout = 0; in yurex_write() local
496 timeout = schedule_timeout(YUREX_WRITE_TIMEOUT); in yurex_write()
499 /* make sure URB is idle after timeout or (spurious) CMD_ACK */ in yurex_write()
510 if (set && timeout) in yurex_write()
512 return timeout ? count : -EIO; in yurex_write()
/kernel/linux/linux-6.6/drivers/fpga/
H A Dstratix10-soc.c203 dev_err(dev, "timeout waiting for RECONFIG_REQUEST\n"); in s10_ops_write_init()
336 dev_err(dev, "timeout waiting for svc layer buffers\n"); in s10_ops_write()
353 unsigned long timeout; in s10_ops_write_complete() local
356 timeout = usecs_to_jiffies(info->config_complete_timeout_us); in s10_ops_write_complete()
366 &priv->status_return_completion, timeout); in s10_ops_write_complete()
369 "timeout waiting for RECONFIG_COMPLETED\n"); in s10_ops_write_complete()
373 /* Not error or timeout, so ret is # of jiffies until timeout */ in s10_ops_write_complete()
374 timeout = ret; in s10_ops_write_complete()
/kernel/linux/linux-6.6/drivers/clk/mmp/
H A Dclk-mix.c137 int ret, timeout = 50; in _set_rate() local
174 timeout--; in _set_rate()
177 } while (timeout); in _set_rate()
179 if (timeout == 0) { in _set_rate()
/kernel/linux/linux-6.6/drivers/clk/samsung/
H A Dclk-cpu.c71 unsigned long timeout = jiffies + msecs_to_jiffies(10); in wait_until_divider_stable() local
76 } while (time_before(jiffies, timeout)); in wait_until_divider_stable()
81 pr_err("%s: timeout in divider stablization\n", __func__); in wait_until_divider_stable()
91 unsigned long timeout = jiffies + msecs_to_jiffies(10); in wait_until_mux_stable() local
96 } while (time_before(jiffies, timeout)); in wait_until_mux_stable()
/kernel/linux/linux-6.6/drivers/clocksource/
H A Dtimer-tegra186.c157 value = TMRCR_PTV(wdt->base.timeout * USEC_PER_SEC / 5) | in tegra186_wdt_enable()
222 unsigned int timeout) in tegra186_wdt_set_timeout()
229 wdt->base.timeout = timeout; in tegra186_wdt_set_timeout()
282 dev_err(tegra->dev, "failed to initialize timeout: %d\n", err); in tegra186_wdt_create()
221 tegra186_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) tegra186_wdt_set_timeout() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_dcn31.c86 const uint32_t timeout = 100; in dmub_dcn31_reset() local
103 for (i = 0; i < timeout; ++i) { in dmub_dcn31_reset()
110 for (i = 0; i < timeout; ++i) { in dmub_dcn31_reset()
118 for (i = 0; i < timeout; ++i) { in dmub_dcn31_reset()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
H A Digc_phy.c166 u32 phpm = 0, timeout = 10000; in igc_phy_hw_reset() local
195 timeout--; in igc_phy_hw_reset()
197 } while (!(phpm & IGC_PHY_RST_COMP) && timeout); in igc_phy_hw_reset()
199 if (!timeout) in igc_phy_hw_reset()

Completed in 22 milliseconds

1...<<81828384858687888990>>...267