Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/arch/powerpc/kernel/
A Drtas-rtc.c19 unsigned int wait_time; in rtas_get_boot_time() local
26 wait_time = rtas_busy_delay_time(error); in rtas_get_boot_time()
27 if (wait_time) { in rtas_get_boot_time()
29 udelay(wait_time*1000); in rtas_get_boot_time()
51 unsigned int wait_time; in rtas_get_rtc_time() local
58 wait_time = rtas_busy_delay_time(error); in rtas_get_rtc_time()
59 if (wait_time) { in rtas_get_rtc_time()
67 msleep(wait_time); in rtas_get_rtc_time()
88 int error, wait_time; in rtas_set_rtc_time() local
99 if (wait_time) { in rtas_set_rtc_time()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A Drtas-fadump.c139 unsigned int wait_time; in rtas_fadump_register() local
149 if (wait_time) in rtas_fadump_register()
150 mdelay(wait_time); in rtas_fadump_register()
152 } while (wait_time); in rtas_fadump_register()
187 unsigned int wait_time; in rtas_fadump_unregister() local
197 if (wait_time) in rtas_fadump_unregister()
198 mdelay(wait_time); in rtas_fadump_unregister()
199 } while (wait_time); in rtas_fadump_unregister()
222 if (wait_time) in rtas_fadump_invalidate()
223 mdelay(wait_time); in rtas_fadump_invalidate()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/protocols/
A Dlink_dp_training_128b_132b.c78 uint32_t wait_time = 0; in dp_perform_128b_132b_channel_eq_done_sequence() local
110 wait_time += aux_rd_interval; in dp_perform_128b_132b_channel_eq_done_sequence()
140 } else if (wait_time >= lt_settings->eq_wait_time_limit) { in dp_perform_128b_132b_channel_eq_done_sequence()
147 wait_time += lt_settings->eq_pattern_time; in dp_perform_128b_132b_channel_eq_done_sequence()
167 uint32_t wait_time = 0; in dp_perform_128b_132b_cds_done_sequence() local
176 wait_time += lt_settings->cds_pattern_time; in dp_perform_128b_132b_cds_done_sequence()
187 } else if (wait_time >= lt_settings->cds_wait_time_limit) { in dp_perform_128b_132b_cds_done_sequence()
/linux-6.3-rc2/fs/ext4/
A Dmmp.c279 unsigned int wait_time = 0; in ext4_multi_mount_protect() local
313 wait_time = min(mmp_check_interval * 2 + 1, in ext4_multi_mount_protect()
317 if (wait_time > EXT4_MMP_MIN_CHECK_INTERVAL * 4) in ext4_multi_mount_protect()
319 " wait.\n", wait_time * 2); in ext4_multi_mount_protect()
321 if (schedule_timeout_interruptible(HZ * wait_time) != 0) { in ext4_multi_mount_protect()
350 if (schedule_timeout_interruptible(HZ * wait_time) != 0) { in ext4_multi_mount_protect()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/char/hw_random/
A Djh7110-trng.c143 int wait_time = 1000; in starfive_trng_cmd() local
147 wait_time = 40; in starfive_trng_cmd()
155 if (!wait_for_completion_timeout(&trng->random_done, usecs_to_jiffies(wait_time))) in starfive_trng_cmd()
163 if (!wait_for_completion_timeout(&trng->reseed_done, usecs_to_jiffies(wait_time))) in starfive_trng_cmd()
/linux-6.3-rc2/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-6.3-rc2/include/linux/platform_data/
A Dtsl2772.h72 int wait_time; member
/linux-6.3-rc2/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-6.3-rc2/drivers/hwmon/occ/
A Dp8_i2c.c121 const long wait_time = msecs_to_jiffies(OCC_CMD_IN_PRG_WAIT_MS); in p8_i2c_occ_send_cmd() local
162 schedule_timeout(wait_time); in p8_i2c_occ_send_cmd()
/linux-6.3-rc2/block/
A Dbfq-cgroup.c251 blkg_rwstat_add(&stats->wait_time, opf, in bfqg_stats_update_completion()
361 blkg_rwstat_reset(&stats->wait_time); in bfqg_stats_reset()
382 blkg_rwstat_add_aux(&to->wait_time, &from->wait_time); in bfqg_stats_add_aux()
443 blkg_rwstat_exit(&stats->wait_time); in bfqg_stats_exit()
464 blkg_rwstat_init(&stats->wait_time, gfp) || in bfqg_stats_init()
1357 .private = offsetof(struct bfq_group, stats.wait_time),
1400 .private = offsetof(struct bfq_group, stats.wait_time),
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/scsi/
A Dnsp32.c2456 int wait_time = 0; in nsp32_wait_req() local
2469 "wait_time: %d", wait_time); in nsp32_wait_req()
2473 wait_time++; in nsp32_wait_req()
2474 } while (wait_time < REQSACK_TIMEOUT_TIME); in nsp32_wait_req()
2485 int wait_time = 0; in nsp32_wait_sack() local
2498 "wait_time: %d", wait_time); in nsp32_wait_sack()
2502 wait_time++; in nsp32_wait_sack()
2503 } while (wait_time < REQSACK_TIMEOUT_TIME); in nsp32_wait_sack()
/linux-6.3-rc2/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-6.3-rc2/mm/damon/
A Dcore.c1277 unsigned long wait_time; in kdamond_wait_activation() local
1283 wait_time = damos_wmark_wait_us(s); in kdamond_wait_activation()
1284 if (!init_wait_time || wait_time < min_wait_time) { in kdamond_wait_activation()
1286 min_wait_time = wait_time; in kdamond_wait_activation()
/linux-6.3-rc2/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()
/linux-6.3-rc2/drivers/fsi/
A Dfsi-occ.c469 const unsigned long wait_time = in fsi_occ_submit() local
551 schedule_timeout(wait_time); in fsi_occ_submit()
/linux-6.3-rc2/arch/s390/include/asm/
A Ddiag.h193 __u64 wait_time; member
/linux-6.3-rc2/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-6.3-rc2/drivers/iio/addac/
A Dad74115.c817 unsigned int regval, wait_time; in _ad74115_get_adc_code() local
824 wait_time = DIV_ROUND_CLOSEST(AD74115_CONV_TIME_US, rate); in _ad74115_get_adc_code()
828 wait_time, 5 * wait_time); in _ad74115_get_adc_code()
/linux-6.3-rc2/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-6.3-rc2/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()
/linux-6.3-rc2/tools/perf/
A Dbuiltin-lock.c262 u64 wait_time = ls->wait_time_min; in PRINT_KEY() local
264 if (wait_time == ULLONG_MAX) in PRINT_KEY()
265 wait_time = 0; in PRINT_KEY()
267 lock_stat_key_print_time(wait_time, key->len); in PRINT_KEY()

Completed in 105 milliseconds

123