Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/display/dc/link/protocols/
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()
/drivers/hwmon/
Dsht3x.c169 u32 wait_time; /* in us*/ member
204 char *buf, int length, u32 wait_time) in sht3x_read_from_command() argument
216 if (wait_time) in sht3x_read_from_command()
217 usleep_range(wait_time, wait_time + 1000); in sht3x_read_from_command()
272 sizeof(buf), data->wait_time); in sht3x_update_client()
446 data->wait_time = 0; in sht3x_select_command()
450 data->wait_time = SHT3X_SINGLE_WAIT_TIME_HPM; in sht3x_select_command()
453 data->wait_time = SHT3X_SINGLE_WAIT_TIME_MPM; in sht3x_select_command()
456 data->wait_time = SHT3X_SINGLE_WAIT_TIME_LPM; in sht3x_select_command()
Dhs3001.c46 u32 wait_time; /* in us */ member
126 fsleep(data->wait_time); in hs3001_read()
211 data->wait_time = (HS3001_WAKEUP_TIME + HS3001_14BIT_RESOLUTION + in hs3001_probe()
/drivers/usb/host/
Dpci-quirks.c778 int wait_time = 500; /* arbitrary; 5 seconds */ in quirk_usb_handoff_ohci() local
781 while (wait_time > 0 && in quirk_usb_handoff_ohci()
783 wait_time -= 10; in quirk_usb_handoff_ohci()
786 if (wait_time <= 0) in quirk_usb_handoff_ohci()
932 int wait_time, count = 256/4; in quirk_usb_disable_ehci() local
979 wait_time = 2000; in quirk_usb_disable_ehci()
983 wait_time -= 100; in quirk_usb_disable_ehci()
988 } while (wait_time > 0); in quirk_usb_disable_ehci()
/drivers/char/hw_random/
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()
/drivers/iio/pressure/
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()
/drivers/staging/qlge/
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()
/drivers/hwmon/occ/
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()
/drivers/i2c/busses/
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()
/drivers/scsi/
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()
/drivers/scsi/qla2xxx/
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 …]
Dqla_mbx.c118 unsigned long wait_time; in qla2x00_mailbox_command() local
275 wait_time = jiffies; in qla2x00_mailbox_command()
307 if (time_after(jiffies, wait_time + 5 * HZ)) in qla2x00_mailbox_command()
309 command, jiffies_to_msecs(jiffies - wait_time)); in qla2x00_mailbox_command()
334 wait_time = jiffies + mcp->tov * HZ; /* wait at most tov secs */ in qla2x00_mailbox_command()
349 if (time_after(jiffies, wait_time)) in qla2x00_mailbox_command()
362 (uint)((jiffies - (wait_time - (mcp->tov * HZ)))/HZ)); in qla2x00_mailbox_command()
Dqla_init.c4886 uint16_t wait_time; /* Wait time if loop is coming ready */ in qla2x00_fw_ready() local
4903 if ((wait_time = (ha->retry_count*ha->login_timeout) + 5) < min_wait) { in qla2x00_fw_ready()
4904 wait_time = min_wait; in qla2x00_fw_ready()
4911 wtime = jiffies + (wait_time * HZ); in qla2x00_fw_ready()
6961 uint32_t wait_time; in qla2x00_loop_resync() local
6967 wait_time = 256; in qla2x00_loop_resync()
6987 wait_time--; in qla2x00_loop_resync()
6990 && wait_time && (test_bit(LOOP_RESYNC_NEEDED, in qla2x00_loop_resync()
/drivers/net/fjes/
Dfjes_hw.c818 int wait_time = 0; in fjes_hw_wait_epstop() local
822 (wait_time < FJES_COMMAND_EPSTOP_WAIT_TIMEOUT * 1000)) { in fjes_hw_wait_epstop()
840 wait_time += 100; in fjes_hw_wait_epstop()
851 return (wait_time < FJES_COMMAND_EPSTOP_WAIT_TIMEOUT * 1000) in fjes_hw_wait_epstop()
Dfjes_main.c1193 int wait_time = 0; in fjes_watch_unshare_task() local
1204 (wait_time < 3000)) { in fjes_watch_unshare_task()
1259 wait_time += 100; in fjes_watch_unshare_task()
/drivers/fsi/
Dfsi-occ.c469 const unsigned long wait_time = in fsi_occ_submit() local
551 schedule_timeout(wait_time); in fsi_occ_submit()
/drivers/net/wireless/ath/ath9k/
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()
/drivers/tty/serial/
Dserial-tegra.c938 unsigned long wait_time; in tegra_uart_hw_deinit() local
956 wait_time = min(fifo_empty_time, 100lu); in tegra_uart_hw_deinit()
957 udelay(wait_time); in tegra_uart_hw_deinit()
958 fifo_empty_time -= wait_time; in tegra_uart_hw_deinit()
/drivers/iio/addac/
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()
/drivers/gpu/drm/amd/display/modules/hdcp/
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()
/drivers/iio/light/
Dtsl2772.c249 .wait_time = 255,
713 chip->tsl2772_config[TSL2772_WAIT_TIME] = chip->settings.wait_time; in tsl2772_chip_on()
/drivers/iio/temperature/
Dltc2983.c1455 unsigned int wait_time, unsigned int status_reg, in ltc2983_eeprom_cmd() argument
1475 msecs_to_jiffies(wait_time)); in ltc2983_eeprom_cmd()
/drivers/scsi/mpi3mr/mpi/
Dmpi30_ioc.h824 __le16 wait_time; member
/drivers/net/ethernet/mellanox/mlx5/core/
Den.h1019 int mlx5e_wait_for_min_rx_wqes(struct mlx5e_rq *rq, int wait_time);
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_int.h1076 u16 num_samps, u8 wait_time, u8 wait_for_crs);

12