Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H 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()
32 } while (wait_time && (get_tb() < max_wait_tb)); 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()
70 } while (wait_time && (get_tb() < max_wait_tb)); in rtas_get_rtc_time()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/
H A Drtas-fadump.c132 unsigned int wait_time; in rtas_fadump_register() local
141 wait_time = rtas_busy_delay_time(rc); in rtas_fadump_register()
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
189 wait_time = rtas_busy_delay_time(rc); in rtas_fadump_unregister()
190 if (wait_time) in rtas_fadump_unregister()
191 mdelay(wait_time); in rtas_fadump_unregister()
192 } while (wait_time); in rtas_fadump_unregister()
[all …]
H 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()
/OK3568_Linux_fs/u-boot/arch/arm/mach-mvebu/serdes/a38x/
H A Dseq_exec.c75 delay = params->wait_time; in delay_op_execute()
86 u32 unit_base_reg, unit_offset, data, mask, num_of_loops, wait_time; in poll_op_execute() local
94 wait_time = params->wait_time; in poll_op_execute()
116 udelay(wait_time); in poll_op_execute()
129 if (params->wait_time == 0) in get_cfg_seq_op()
H A Dseq_exec.h31 u8 wait_time; /* msec */ member
/OK3568_Linux_fs/yocto/poky/bitbake/contrib/
H A Dbbparse-torture.py66 wait_time = random.random() * max_wait_time
69 print("Will sleep for %f seconds" % wait_time)
73 time.sleep(wait_time)
/OK3568_Linux_fs/kernel/drivers/hwmon/
H 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()
/OK3568_Linux_fs/kernel/fs/ext4/
H 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()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt1x/
H A Dgt1x_update.c980 int wait_time; in gt1x_burn_subsystem() local
1046 wait_time = 200; in gt1x_burn_subsystem()
1049 while (wait_time-- > 0) { in gt1x_burn_subsystem()
1142 int wait_time; in gt1x_read_flash() local
1166 wait_time = 200; in gt1x_read_flash()
1167 while (wait_time > 0) { in gt1x_read_flash()
1168 wait_time--; in gt1x_read_flash()
1179 if (wait_time == 0) { in gt1x_read_flash()
1193 int wait_time; in gt1x_error_erase() local
1275 wait_time = 200; in gt1x_error_erase()
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/pressure/
H 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()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H 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()
/OK3568_Linux_fs/kernel/drivers/staging/qlge/
H A Dqlge_mpi.c913 long wait_time; in ql_idc_wait() local
915 for (wait_time = 1 * HZ; wait_time;) { in ql_idc_wait()
919 wait_time = in ql_idc_wait()
921 wait_time); in ql_idc_wait()
922 if (!wait_time) { in ql_idc_wait()
933 wait_time += (mbcp->mbox_out[1] >> 8) & 0x0000000f; in ql_idc_wait()
/OK3568_Linux_fs/kernel/block/
H 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()
1331 .private = offsetof(struct bfq_group, stats.wait_time),
1374 .private = offsetof(struct bfq_group, stats.wait_time),
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_sai.c50 unsigned int wait_time[SNDRV_PCM_STREAM_LAST + 1]; member
602 if (sai->wait_time[stream]) in rockchip_sai_startup()
603 substream->wait_time = msecs_to_jiffies(sai->wait_time[stream]); in rockchip_sai_startup()
1140 ucontrol->value.integer.value[0] = sai->wait_time[SNDRV_PCM_STREAM_CAPTURE]; in rockchip_sai_rd_wait_time_get()
1154 sai->wait_time[SNDRV_PCM_STREAM_CAPTURE] = ucontrol->value.integer.value[0]; in rockchip_sai_rd_wait_time_put()
1165 ucontrol->value.integer.value[0] = sai->wait_time[SNDRV_PCM_STREAM_PLAYBACK]; in rockchip_sai_wr_wait_time_get()
1179 sai->wait_time[SNDRV_PCM_STREAM_PLAYBACK] = ucontrol->value.integer.value[0]; in rockchip_sai_wr_wait_time_put()
/OK3568_Linux_fs/kernel/drivers/hwmon/occ/
H A Dp8_i2c.c117 const long wait_time = msecs_to_jiffies(OCC_CMD_IN_PRG_WAIT_MS); in p8_i2c_occ_send_cmd() local
158 schedule_timeout(wait_time); in p8_i2c_occ_send_cmd()
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dtsl2772.h72 int wait_time; member
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-jz4780.c570 int wait_time = JZ4780_I2C_TIMEOUT * (len + 5); in jz4780_i2c_xfer_read() local
605 msecs_to_jiffies(wait_time)); in jz4780_i2c_xfer_read()
630 int wait_time = JZ4780_I2C_TIMEOUT * (len + 5); in jz4780_i2c_xfer_write() local
660 msecs_to_jiffies(wait_time)); in jz4780_i2c_xfer_write()
/OK3568_Linux_fs/kernel/sound/core/
H A Dpcm_lib.c1834 long wait_time, tout; in wait_for_avail() local
1841 wait_time = MAX_SCHEDULE_TIMEOUT; in wait_for_avail()
1844 if (substream->wait_time) { in wait_for_avail()
1845 wait_time = substream->wait_time; in wait_for_avail()
1847 wait_time = 10; in wait_for_avail()
1852 wait_time = max(t, wait_time); in wait_for_avail()
1854 wait_time = msecs_to_jiffies(wait_time * 1000); in wait_for_avail()
1876 tout = schedule_timeout(wait_time); in wait_for_avail()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/hal_hci/
H A Dhal_sdio.c837 , rtw_pwait_type_str(conf->type), conf->wait_time, conf->wait_cnt_lmt); in dump_recvbuf_pwait_conf()
856 conf->wait_time = time; in recvbuf_pwait_config_req()
872 …int ret = rtw_pwctx_config(&recvpriv->recvbuf_pwait, conf->type, conf->wait_time, conf->wait_cnt_l… in recvbuf_pwait_config_hdl()
876 , rtw_pwait_type_str(conf->type), conf->wait_time, conf->wait_cnt_lmt); in recvbuf_pwait_config_hdl()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/hal_hci/
H A Dhal_sdio.c837 , rtw_pwait_type_str(conf->type), conf->wait_time, conf->wait_cnt_lmt); in dump_recvbuf_pwait_conf()
856 conf->wait_time = time; in recvbuf_pwait_config_req()
872 …int ret = rtw_pwctx_config(&recvpriv->recvbuf_pwait, conf->type, conf->wait_time, conf->wait_cnt_l… in recvbuf_pwait_config_hdl()
876 , rtw_pwait_type_str(conf->type), conf->wait_time, conf->wait_cnt_lmt); in recvbuf_pwait_config_hdl()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/hal_hci/
H A Dhal_sdio.c837 , rtw_pwait_type_str(conf->type), conf->wait_time, conf->wait_cnt_lmt); in dump_recvbuf_pwait_conf()
856 conf->wait_time = time; in recvbuf_pwait_config_req()
872 …int ret = rtw_pwctx_config(&recvpriv->recvbuf_pwait, conf->type, conf->wait_time, conf->wait_cnt_l… in recvbuf_pwait_config_hdl()
876 , rtw_pwait_type_str(conf->type), conf->wait_time, conf->wait_cnt_lmt); in recvbuf_pwait_config_hdl()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/hal_hci/
H A Dhal_sdio.c838 , rtw_pwait_type_str(conf->type), conf->wait_time, conf->wait_cnt_lmt); in dump_recvbuf_pwait_conf()
857 conf->wait_time = time; in recvbuf_pwait_config_req()
873 …int ret = rtw_pwctx_config(&recvpriv->recvbuf_pwait, conf->type, conf->wait_time, conf->wait_cnt_l… in recvbuf_pwait_config_hdl()
877 , rtw_pwait_type_str(conf->type), conf->wait_time, conf->wait_cnt_lmt); in recvbuf_pwait_config_hdl()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/hal_hci/
H A Dhal_sdio.c837 , rtw_pwait_type_str(conf->type), conf->wait_time, conf->wait_cnt_lmt); in dump_recvbuf_pwait_conf()
856 conf->wait_time = time; in recvbuf_pwait_config_req()
872 …int ret = rtw_pwctx_config(&recvpriv->recvbuf_pwait, conf->type, conf->wait_time, conf->wait_cnt_l… in recvbuf_pwait_config_hdl()
876 , rtw_pwait_type_str(conf->type), conf->wait_time, conf->wait_cnt_lmt); in recvbuf_pwait_config_hdl()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/hal_hci/
H A Dhal_sdio.c837 , rtw_pwait_type_str(conf->type), conf->wait_time, conf->wait_cnt_lmt); in dump_recvbuf_pwait_conf()
856 conf->wait_time = time; in recvbuf_pwait_config_req()
872 …int ret = rtw_pwctx_config(&recvpriv->recvbuf_pwait, conf->type, conf->wait_time, conf->wait_cnt_l… in recvbuf_pwait_config_hdl()
876 , rtw_pwait_type_str(conf->type), conf->wait_time, conf->wait_cnt_lmt); in recvbuf_pwait_config_hdl()
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/
H A Dlib.sh308 local wait_time=${1:-$WAIT_TIME}; shift
310 setup_wait_dev_with_timeout "$dev" $INTERFACE_TIMEOUT $wait_time
323 local wait_time=${1:-$WAIT_TIME}; shift
332 sleep $wait_time

12345