Home
last modified time | relevance | path

Searched refs:wait_time (Results 1 – 25 of 45) sorted by relevance

12

/linux/arch/powerpc/kernel/
A Drtas-rtc.c20 unsigned int wait_time; in rtas_get_boot_time() local
27 wait_time = rtas_busy_delay_time(error); in rtas_get_boot_time()
28 if (wait_time) { in rtas_get_boot_time()
30 udelay(wait_time*1000); in rtas_get_boot_time()
52 unsigned int wait_time; in rtas_get_rtc_time() local
59 wait_time = rtas_busy_delay_time(error); in rtas_get_rtc_time()
60 if (wait_time) { in rtas_get_rtc_time()
68 msleep(wait_time); in rtas_get_rtc_time()
89 int error, wait_time; in rtas_set_rtc_time() local
100 if (wait_time) { in rtas_set_rtc_time()
[all …]
/linux/arch/powerpc/platforms/pseries/
A Drtas-fadump.c132 unsigned int wait_time; in rtas_fadump_register() local
142 if (wait_time) in rtas_fadump_register()
143 mdelay(wait_time); in rtas_fadump_register()
145 } while (wait_time); in rtas_fadump_register()
180 unsigned int wait_time; in rtas_fadump_unregister() local
190 if (wait_time) in rtas_fadump_unregister()
191 mdelay(wait_time); in rtas_fadump_unregister()
192 } while (wait_time); in rtas_fadump_unregister()
215 if (wait_time) in rtas_fadump_invalidate()
216 mdelay(wait_time); in rtas_fadump_invalidate()
[all …]
A Dscanlog.c48 unsigned int wait_time; in scanlog_read() local
66 wait_time = 500; /* default wait if no data */ in scanlog_read()
96 wait_time = rtas_busy_delay_time(status); in scanlog_read()
97 if (!wait_time) { in scanlog_read()
104 msleep_interruptible(wait_time); in scanlog_read()
/linux/drivers/hwmon/
A Dsht3x.c136 u32 wait_time; /* in us*/ member
172 char *buf, int length, u32 wait_time) in sht3x_read_from_command() argument
184 if (wait_time) in sht3x_read_from_command()
185 usleep_range(wait_time, wait_time + 1000); in sht3x_read_from_command()
240 sizeof(buf), data->wait_time); in sht3x_update_client()
443 data->wait_time = 0; in sht3x_select_command()
448 data->wait_time = 0; in sht3x_select_command()
452 data->wait_time = SHT3X_NONBLOCKING_WAIT_TIME_HPM; in sht3x_select_command()
455 data->wait_time = SHT3X_NONBLOCKING_WAIT_TIME_LPM; in sht3x_select_command()
/linux/fs/ext4/
A Dmmp.c287 unsigned int wait_time = 0; in ext4_multi_mount_protect() local
321 wait_time = min(mmp_check_interval * 2 + 1, in ext4_multi_mount_protect()
325 if (wait_time > EXT4_MMP_MIN_CHECK_INTERVAL * 4) in ext4_multi_mount_protect()
327 " wait.\n", wait_time * 2); in ext4_multi_mount_protect()
329 if (schedule_timeout_interruptible(HZ * wait_time) != 0) { in ext4_multi_mount_protect()
358 if (schedule_timeout_interruptible(HZ * wait_time) != 0) { in ext4_multi_mount_protect()
/linux/drivers/iio/pressure/
A Dt5403.c50 int wait_time = 3; /* wakeup time in ms */ in t5403_read() local
58 wait_time += pressure ? t5403_pressure_conv_ms[data->mode] : 2; in t5403_read()
60 msleep(wait_time); in t5403_read()
/linux/drivers/usb/host/
A Dpci-quirks.c780 int wait_time = 500; /* arbitrary; 5 seconds */ in quirk_usb_handoff_ohci() local
783 while (wait_time > 0 && in quirk_usb_handoff_ohci()
785 wait_time -= 10; in quirk_usb_handoff_ohci()
788 if (wait_time <= 0) in quirk_usb_handoff_ohci()
934 int wait_time, count = 256/4; in quirk_usb_disable_ehci() local
981 wait_time = 2000; in quirk_usb_disable_ehci()
985 wait_time -= 100; in quirk_usb_disable_ehci()
990 } while (wait_time > 0); in quirk_usb_disable_ehci()
/linux/drivers/staging/qlge/
A Dqlge_mpi.c913 long wait_time; in qlge_idc_wait() local
915 for (wait_time = 1 * HZ; wait_time;) { in qlge_idc_wait()
919 wait_time = in qlge_idc_wait()
921 wait_time); in qlge_idc_wait()
922 if (!wait_time) { in qlge_idc_wait()
933 wait_time += (mbcp->mbox_out[1] >> 8) & 0x0000000f; in qlge_idc_wait()
/linux/block/
A Dbfq-cgroup.c251 blkg_rwstat_add(&stats->wait_time, op, in bfqg_stats_update_completion()
368 blkg_rwstat_reset(&stats->wait_time); in bfqg_stats_reset()
389 blkg_rwstat_add_aux(&to->wait_time, &from->wait_time); in bfqg_stats_add_aux()
450 blkg_rwstat_exit(&stats->wait_time); in bfqg_stats_exit()
471 blkg_rwstat_init(&stats->wait_time, gfp) || in bfqg_stats_init()
1308 .private = offsetof(struct bfq_group, stats.wait_time),
1351 .private = offsetof(struct bfq_group, stats.wait_time),
A Dbfq-iosched.h847 struct blkg_rwstat wait_time; member
/linux/drivers/hwmon/occ/
A Dp8_i2c.c120 const long wait_time = msecs_to_jiffies(OCC_CMD_IN_PRG_WAIT_MS); in p8_i2c_occ_send_cmd() local
161 schedule_timeout(wait_time); in p8_i2c_occ_send_cmd()
/linux/include/linux/platform_data/
A Dtsl2772.h72 int wait_time; member
/linux/drivers/i2c/busses/
A Di2c-jz4780.c569 int wait_time = JZ4780_I2C_TIMEOUT * (len + 5); in jz4780_i2c_xfer_read() local
604 msecs_to_jiffies(wait_time)); in jz4780_i2c_xfer_read()
629 int wait_time = JZ4780_I2C_TIMEOUT * (len + 5); in jz4780_i2c_xfer_write() local
659 msecs_to_jiffies(wait_time)); in jz4780_i2c_xfer_write()
/linux/sound/core/
A Dpcm_lib.c1868 long wait_time, tout; in wait_for_avail() local
1875 wait_time = MAX_SCHEDULE_TIMEOUT; in wait_for_avail()
1878 if (substream->wait_time) { in wait_for_avail()
1879 wait_time = substream->wait_time; in wait_for_avail()
1881 wait_time = 10; in wait_for_avail()
1886 wait_time = max(t, wait_time); in wait_for_avail()
1888 wait_time = msecs_to_jiffies(wait_time * 1000); in wait_for_avail()
1910 tout = schedule_timeout(wait_time); in wait_for_avail()
/linux/mm/damon/
A Dcore.c987 unsigned long wait_time; in kdamond_wait_activation() local
992 wait_time = damos_wmark_wait_us(s); in kdamond_wait_activation()
993 if (!min_wait_time || wait_time < min_wait_time) in kdamond_wait_activation()
994 min_wait_time = wait_time; in kdamond_wait_activation()
/linux/tools/testing/selftests/net/forwarding/
A Dlib.sh400 local wait_time=${1:-$WAIT_TIME}; shift
402 setup_wait_dev_with_timeout "$dev" $INTERFACE_TIMEOUT $wait_time
415 local wait_time=${1:-$WAIT_TIME}; shift
424 sleep $wait_time
/linux/drivers/scsi/
A Dnsp32.c2462 int wait_time = 0; in nsp32_wait_req() local
2475 "wait_time: %d", wait_time); in nsp32_wait_req()
2479 wait_time++; in nsp32_wait_req()
2480 } while (wait_time < REQSACK_TIMEOUT_TIME); in nsp32_wait_req()
2491 int wait_time = 0; in nsp32_wait_sack() local
2504 "wait_time: %d", wait_time); in nsp32_wait_sack()
2508 wait_time++; in nsp32_wait_sack()
2509 } while (wait_time < REQSACK_TIMEOUT_TIME); in nsp32_wait_sack()
/linux/drivers/scsi/qla2xxx/
A Dqla_mr.c51 unsigned long wait_time; in qlafx00_mailbox_command() local
158 wait_time = jiffies + mcp->tov * HZ; /* wait at most tov secs */ in qlafx00_mailbox_command()
160 if (time_after(jiffies, wait_time)) in qlafx00_mailbox_command()
173 (uint)((jiffies - (wait_time - (mcp->tov * HZ)))/HZ)); in qlafx00_mailbox_command()
880 uint16_t wait_time; /* Wait time */ in qlafx00_init_fw_ready() local
889 wait_time = 30; in qlafx00_init_fw_ready()
902 wtime = jiffies + (wait_time * HZ); in qlafx00_init_fw_ready()
1005 wtime = jiffies + (wait_time * HZ); in qlafx00_init_fw_ready()
1044 uint16_t wait_time; /* Wait time if loop is coming ready */ in qlafx00_fw_ready() local
1049 wait_time = 10; in qlafx00_fw_ready()
[all …]
/linux/drivers/net/fjes/
A Dfjes_hw.c795 int wait_time = 0; in fjes_hw_wait_epstop() local
799 (wait_time < FJES_COMMAND_EPSTOP_WAIT_TIMEOUT * 1000)) { in fjes_hw_wait_epstop()
817 wait_time += 100; in fjes_hw_wait_epstop()
828 return (wait_time < FJES_COMMAND_EPSTOP_WAIT_TIMEOUT * 1000) in fjes_hw_wait_epstop()
A Dfjes_main.c1390 int wait_time = 0; in fjes_watch_unshare_task() local
1401 (wait_time < 3000)) { in fjes_watch_unshare_task()
1456 wait_time += 100; in fjes_watch_unshare_task()
/linux/drivers/fsi/
A Dfsi-occ.c458 const unsigned long wait_time = in fsi_occ_submit() local
533 schedule_timeout(wait_time); in fsi_occ_submit()
/linux/arch/s390/include/asm/
A Ddiag.h180 __u64 wait_time; member
/linux/drivers/net/wireless/ath/ath9k/
A Dmac.c174 int wait_time = ATH9K_TX_STOP_DMA_TIMEOUT / ATH9K_TIME_QUANTUM; in ath9k_hw_stop_dma_queue() local
179 for (wait = wait_time; wait != 0; wait--) { in ath9k_hw_stop_dma_queue()
180 if (wait != wait_time) in ath9k_hw_stop_dma_queue()
/linux/drivers/tty/serial/
A Dserial-tegra.c940 unsigned long wait_time; in tegra_uart_hw_deinit() local
958 wait_time = min(fifo_empty_time, 100lu); in tegra_uart_hw_deinit()
959 udelay(wait_time); in tegra_uart_hw_deinit()
960 fifo_empty_time -= wait_time; in tegra_uart_hw_deinit()
/linux/drivers/gpu/drm/amd/display/modules/hdcp/
A Dhdcp2_execution.c158 uint16_t wait_time = max_wait / num_polls; in poll_l_prime_available() local
164 msleep(wait_time); in poll_l_prime_available()

Completed in 78 milliseconds

12