/Linux-v5.15/tools/testing/selftests/powerpc/eeh/ |
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-v5.15/drivers/media/pci/pt3/ |
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-v5.15/lib/ |
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-v5.15/drivers/net/ethernet/pensando/ionic/ |
D | ionic_main.c | 341 unsigned long max_wait; in ionic_dev_cmd_wait() local 351 max_wait = jiffies + (max_seconds * HZ); in ionic_dev_cmd_wait() 366 } while (!done && !hb && time_before(jiffies, max_wait)); in ionic_dev_cmd_wait() 383 if (!done && !time_before(jiffies, max_wait)) { in ionic_dev_cmd_wait() 393 time_before(jiffies, (max_wait - HZ))) { in ionic_dev_cmd_wait()
|
D | ionic.h | 74 int ionic_dev_cmd_wait(struct ionic *ionic, unsigned long max_wait);
|
/Linux-v5.15/arch/powerpc/kernel/ |
D | eeh_pe.c | 106 int eeh_wait_state(struct eeh_pe *pe, int max_wait) in eeh_wait_state() argument 128 if (max_wait <= 0) { in eeh_wait_state() 130 __func__, max_wait); in eeh_wait_state() 144 msleep(min(mwait, max_wait)); in eeh_wait_state() 145 max_wait -= mwait; in eeh_wait_state()
|
/Linux-v5.15/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 199 int max_wait = 200; in pseries_eeh_phb_configure_bridge() local 201 while (max_wait > 0) { in pseries_eeh_phb_configure_bridge() 220 max_wait -= rtas_busy_delay_time(ret); in pseries_eeh_phb_configure_bridge() 222 if (max_wait < 0) in pseries_eeh_phb_configure_bridge()
|
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/ |
D | psp_v11_0.c | 584 int max_wait; in psp_v11_0_memory_training_send_msg() local 591 max_wait = MEM_TRAIN_SEND_MSG_TIMEOUT_US / adev->usec_timeout; in psp_v11_0_memory_training_send_msg() 592 for (i = 0; i < max_wait; i++) { in psp_v11_0_memory_training_send_msg() 598 if (i < max_wait) in psp_v11_0_memory_training_send_msg()
|
/Linux-v5.15/drivers/dma/ |
D | mxs-dma.c | 205 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()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router_xm.c | 448 unsigned long max_wait = usecs_to_jiffies(MLXSW_SP_ROUTER_XM_CACHE_MAX_WAIT); in mlxsw_sp_router_xm_cache_flush_may_cancel() local 455 if (time_is_before_jiffies(flush_node->start_jiffies + max_wait - delay) && in mlxsw_sp_router_xm_cache_flush_may_cancel()
|
/Linux-v5.15/drivers/usb/typec/tcpm/ |
D | tcpm.c | 451 unsigned long max_wait; member 3888 port->max_wait = 0; in run_state_machine() 3899 port->max_wait = 0; in run_state_machine() 3903 if (port->max_wait == 0) { in run_state_machine() 3904 port->max_wait = jiffies + in run_state_machine() 3909 if (time_is_after_jiffies(port->max_wait)) in run_state_machine() 3911 jiffies_to_msecs(port->max_wait - in run_state_machine() 4121 port->max_wait = 0; in run_state_machine() 4125 if (port->max_wait == 0) { in run_state_machine() 4126 port->max_wait = jiffies + in run_state_machine() [all …]
|
/Linux-v5.15/arch/powerpc/include/asm/ |
D | eeh.h | 278 int eeh_wait_state(struct eeh_pe *pe, int max_wait);
|
/Linux-v5.15/drivers/gpu/drm/amd/display/modules/hdcp/ |
D | hdcp2_execution.c | 156 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()
|
/Linux-v5.15/block/ |
D | blk-throttle.c | 1006 unsigned long bps_wait = 0, iops_wait = 0, max_wait = 0; in tg_may_dispatch() local 1052 max_wait = max(bps_wait, iops_wait); in tg_may_dispatch() 1055 *wait = max_wait; in tg_may_dispatch() 1057 if (time_before(tg->slice_end[rw], jiffies + max_wait)) in tg_may_dispatch() 1058 throtl_extend_slice(tg, rw, jiffies + max_wait); in tg_may_dispatch()
|
/Linux-v5.15/drivers/staging/media/atomisp/pci/ |
D | atomisp_v4l2.c | 684 int max_wait = 30; in punit_ddr_dvfs_enable() local 697 while ((reg & door_bell) && max_wait--) { in punit_ddr_dvfs_enable() 702 if (max_wait == -1) in punit_ddr_dvfs_enable()
|
/Linux-v5.15/drivers/scsi/megaraid/ |
D | megaraid_sas_base.c | 4112 u8 max_wait; in megasas_transition_to_ready() local 4133 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4158 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4173 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4205 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4212 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4216 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4220 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4224 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() 4228 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready() [all …]
|
/Linux-v5.15/drivers/staging/r8188eu/include/ |
D | hal_intf.h | 249 struct xmit_frame *frame, u32 max_wait,
|
/Linux-v5.15/drivers/media/platform/omap3isp/ |
D | ispccdc.c | 1399 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()
|
/Linux-v5.15/Documentation/scsi/ |
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-v5.15/drivers/scsi/ |
D | st.c | 964 int attentions, waits, max_wait, scode; in test_ready() local 970 max_wait = do_wait ? ST_BLOCK_SECONDS : 0; in test_ready() 1000 if (waits < max_wait) { in test_ready()
|