/linux/arch/powerpc/kernel/ |
A D | rtas-rtc.c | 20 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 D | rtas-fadump.c | 132 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 D | scanlog.c | 48 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 D | sht3x.c | 136 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 D | mmp.c | 287 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 D | t5403.c | 50 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 D | pci-quirks.c | 780 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 D | qlge_mpi.c | 913 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 D | bfq-cgroup.c | 251 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 D | bfq-iosched.h | 847 struct blkg_rwstat wait_time; member
|
/linux/drivers/hwmon/occ/ |
A D | p8_i2c.c | 120 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 D | tsl2772.h | 72 int wait_time; member
|
/linux/drivers/i2c/busses/ |
A D | i2c-jz4780.c | 569 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 D | pcm_lib.c | 1868 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 D | core.c | 987 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 D | lib.sh | 400 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 D | nsp32.c | 2462 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 D | qla_mr.c | 51 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 D | fjes_hw.c | 795 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 D | fjes_main.c | 1390 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 D | fsi-occ.c | 458 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 D | diag.h | 180 __u64 wait_time; member
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | mac.c | 174 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 D | serial-tegra.c | 940 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 D | hdcp2_execution.c | 158 uint16_t wait_time = max_wait / num_polls; in poll_l_prime_available() local 164 msleep(wait_time); in poll_l_prime_available()
|