Home
last modified time | relevance | path

Searched refs:max_wait (Results 1 – 11 of 11) sorted by relevance

/drivers/media/pci/pt3/
Dpt3_i2c.c126 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()
/drivers/net/ethernet/pensando/ionic/
Dionic_main.c324 unsigned long max_wait; in ionic_dev_cmd_wait() local
334 max_wait = jiffies + (max_seconds * HZ); in ionic_dev_cmd_wait()
349 } while (!done && !hb && time_before(jiffies, max_wait)); in ionic_dev_cmd_wait()
366 if (!done && !time_before(jiffies, max_wait)) { in ionic_dev_cmd_wait()
376 time_before(jiffies, (max_wait - HZ))) { in ionic_dev_cmd_wait()
Dionic.h68 int ionic_dev_cmd_wait(struct ionic *ionic, unsigned long max_wait);
/drivers/gpu/drm/amd/amdgpu/
Dpsp_v11_0.c586 int max_wait; in psp_v11_0_memory_training_send_msg() local
593 max_wait = MEM_TRAIN_SEND_MSG_TIMEOUT_US / adev->usec_timeout; in psp_v11_0_memory_training_send_msg()
594 for (i = 0; i < max_wait; i++) { in psp_v11_0_memory_training_send_msg()
600 if (i < max_wait) in psp_v11_0_memory_training_send_msg()
/drivers/dma/
Dmxs-dma.c205 const unsigned long max_wait = 50000; /* 50ms */ in mxs_dma_reset_chan() local
216 while ((readl(reg_dbg1) & 0xf) == 0x8 && elapsed < max_wait) { in mxs_dma_reset_chan()
221 if (elapsed >= max_wait) in mxs_dma_reset_chan()
/drivers/usb/typec/tcpm/
Dtcpm.c452 unsigned long max_wait; member
3976 port->max_wait = 0; in run_state_machine()
3987 port->max_wait = 0; in run_state_machine()
3991 if (port->max_wait == 0) { in run_state_machine()
3992 port->max_wait = jiffies + in run_state_machine()
3997 if (time_is_after_jiffies(port->max_wait)) in run_state_machine()
3999 jiffies_to_msecs(port->max_wait - in run_state_machine()
4225 port->max_wait = 0; in run_state_machine()
4229 if (port->max_wait == 0) { in run_state_machine()
4230 port->max_wait = jiffies + in run_state_machine()
[all …]
/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp2_execution.c156 uint16_t max_wait = 20; // units of ms in poll_l_prime_available() local
158 uint16_t wait_time = max_wait / num_polls; in poll_l_prime_available()
/drivers/staging/media/atomisp/pci/
Datomisp_v4l2.c686 int max_wait = 30; in punit_ddr_dvfs_enable() local
699 while ((reg & door_bell) && max_wait--) { in punit_ddr_dvfs_enable()
704 if (max_wait == -1) in punit_ddr_dvfs_enable()
/drivers/scsi/megaraid/
Dmegaraid_sas_base.c4065 u8 max_wait; in megasas_transition_to_ready() local
4086 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
4111 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
4126 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
4158 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
4165 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
4169 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
4173 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
4177 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
4181 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
[all …]
/drivers/media/platform/omap3isp/
Dispccdc.c1399 unsigned int max_wait) in ccdc_sbl_wait_idle() argument
1403 if (max_wait == 0) in ccdc_sbl_wait_idle()
1404 max_wait = 10000; /* 10 ms */ in ccdc_sbl_wait_idle()
1406 for (wait = 0; wait <= max_wait; wait++) { in ccdc_sbl_wait_idle()
/drivers/scsi/
Dst.c969 int attentions, waits, max_wait, scode; in test_ready() local
975 max_wait = do_wait ? ST_BLOCK_SECONDS : 0; in test_ready()
1005 if (waits < max_wait) { in test_ready()