/linux/tools/testing/selftests/powerpc/eeh/ |
H A D | eeh-functions.sh | 119 max_wait=${EEH_MAX_WAIT:=60} 121 for i in `seq 0 ${max_wait}` ; do 125 log "$dev, waited $i/${max_wait}"
|
/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic.h | 84 int ionic_dev_cmd_wait(struct ionic *ionic, unsigned long max_wait); 85 int ionic_dev_cmd_wait_nomsg(struct ionic *ionic, unsigned long max_wait);
|
H A D | ionic_main.c | 517 unsigned long max_wait; in __ionic_dev_cmd_wait() local 527 max_wait = jiffies + (max_seconds * HZ); in __ionic_dev_cmd_wait() 533 !done && fw_up && time_before(jiffies, max_wait); in __ionic_dev_cmd_wait() 553 if (!done && !time_before(jiffies, max_wait)) { in __ionic_dev_cmd_wait() 563 time_before(jiffies, (max_wait - HZ))) { in __ionic_dev_cmd_wait()
|
/linux/drivers/media/pci/pt3/ |
H A D | pt3_i2c.c | 126 static int wait_i2c_result(struct pt3_board *pt3, u32 *result, int max_wait) in wait_i2c_result() argument 131 for (i = 0; i < max_wait; i++) { in wait_i2c_result() 137 if (i >= max_wait) in wait_i2c_result()
|
/linux/lib/ |
H A D | test_lockup.c | 232 s64 max_wait = atomic64_read(&max_lock_wait); in test_lock() local 235 if (cur_wait < max_wait) in test_lock() 237 max_wait = atomic64_cmpxchg(&max_lock_wait, in test_lock() 238 max_wait, cur_wait); in test_lock() 239 } while (max_wait != cur_wait); in test_lock()
|
/linux/arch/powerpc/kernel/ |
H A D | eeh_pe.c | 102 * @max_wait: maximal period in millisecond 107 int eeh_wait_state(struct eeh_pe *pe, int max_wait) in eeh_wait_state() argument 129 if (max_wait <= 0) { in eeh_wait_state() 131 __func__, max_wait); in eeh_wait_state() 145 msleep(min(mwait, max_wait)); in eeh_wait_state() 146 max_wait -= mwait; in eeh_wait_state()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | psp_v11_0.c | 420 int max_wait; in psp_v11_0_memory_training_send_msg() local 427 max_wait = MEM_TRAIN_SEND_MSG_TIMEOUT_US / adev->usec_timeout; in psp_v11_0_memory_training_send_msg() 428 for (i = 0; i < max_wait; i++) { in psp_v11_0_memory_training_send_msg() 435 if (i < max_wait) in psp_v11_0_memory_training_send_msg()
|
H A D | psp_v14_0.c | 388 int max_wait; in psp_v14_0_memory_training_send_msg() local 395 max_wait = MEM_TRAIN_SEND_MSG_TIMEOUT_US / adev->usec_timeout; in psp_v14_0_memory_training_send_msg() 396 for (i = 0; i < max_wait; i++) { in psp_v14_0_memory_training_send_msg() 403 if (i < max_wait) in psp_v14_0_memory_training_send_msg()
|
H A D | psp_v13_0.c | 523 int max_wait; in psp_v13_0_memory_training_send_msg() local 530 max_wait = MEM_TRAIN_SEND_MSG_TIMEOUT_US / adev->usec_timeout; in psp_v13_0_memory_training_send_msg() 531 for (i = 0; i < max_wait; i++) { in psp_v13_0_memory_training_send_msg() 538 if (i < max_wait) in psp_v13_0_memory_training_send_msg()
|
/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | tso.py | 18 def sock_wait_drain(sock, max_wait=1000): argument 20 for _ in range(max_wait):
|
/linux/drivers/dma/ |
H A D | mxs-dma.c | 204 const unsigned long max_wait = 50000; /* 50ms */ in mxs_dma_reset_chan() local 215 while ((readl(reg_dbg1) & 0xf) == 0x8 && elapsed < max_wait) { in mxs_dma_reset_chan() 220 if (elapsed >= max_wait) in mxs_dma_reset_chan()
|
/linux/drivers/net/phy/ |
H A D | smsc.c | 246 unsigned int max_wait = priv->edpd_max_wait_ms * 1000; in lan87xx_read_status() local 264 10000, max_wait, true, phydev, in lan87xx_read_status()
|
/linux/arch/powerpc/include/asm/ |
H A D | eeh.h | 278 int eeh_wait_state(struct eeh_pe *pe, int max_wait);
|
/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp2_execution.c | 153 uint16_t max_wait = 20; // units of ms in poll_l_prime_available() local 155 uint16_t wait_time = max_wait / num_polls; in poll_l_prime_available()
|
/linux/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 514 unsigned long max_wait; member 4829 port->max_wait = 0; in run_state_machine() 4840 port->max_wait = 0; in run_state_machine() 4844 if (port->max_wait == 0) { in run_state_machine() 4845 port->max_wait = jiffies + in run_state_machine() 4850 if (time_is_after_jiffies(port->max_wait)) in run_state_machine() 4852 jiffies_to_msecs(port->max_wait - in run_state_machine() 5091 port->max_wait = 0; in run_state_machine() 5095 if (port->max_wait == 0) { in run_state_machine() 5096 port->max_wait in run_state_machine() [all...] |
/linux/drivers/scsi/megaraid/ |
H A D | megaraid_sas_base.c | 4123 u8 max_wait; in megasas_transition_to_ready() local 4144 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4169 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4184 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4216 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4223 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4227 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4231 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4235 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4239 max_wait in megasas_transition_to_ready() [all...] |
/linux/Documentation/scsi/ |
H A D | ChangeLog.megaraid_sas | 358 and Increase the max_wait to 60 from 10 in the controller 359 operational status. With this max_wait increase, driver will
|
/linux/drivers/scsi/ |
H A D | st.c | 984 int attentions, waits, max_wait, scode; in test_ready() 991 max_wait = do_wait ? ST_BLOCK_SECONDS : 0; in test_ready() 1024 if (waits < max_wait) { in test_ready() 980 int attentions, waits, max_wait, scode; test_ready() local
|