Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/pseries/
Deeh_pseries.c564 static int pseries_eeh_wait_state(struct eeh_pe *pe, int max_wait) in pseries_eeh_wait_state() argument
591 if (max_wait <= 0) { in pseries_eeh_wait_state()
593 __func__, max_wait); in pseries_eeh_wait_state()
607 max_wait -= mwait; in pseries_eeh_wait_state()
664 int max_wait = 200; in pseries_eeh_configure_bridge() local
671 while (max_wait > 0) { in pseries_eeh_configure_bridge()
688 max_wait -= rtas_busy_delay_time(ret); in pseries_eeh_configure_bridge()
690 if (max_wait < 0) in pseries_eeh_configure_bridge()
/Linux-v4.19/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()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c450 long max_wait = MAX_WAIT_SCHED_ENTITY_Q_EMPTY; in amdgpu_ctx_mgr_entity_flush() local
467 max_wait = drm_sched_entity_flush(&ctx->rings[i].entity, in amdgpu_ctx_mgr_entity_flush()
468 max_wait); in amdgpu_ctx_mgr_entity_flush()
/Linux-v4.19/drivers/dma/
Dmxs-dma.c222 const unsigned long max_wait = 50000; /* 50ms */ in mxs_dma_reset_chan() local
233 while ((readl(reg_dbg1) & 0xf) == 0x8 && elapsed < max_wait) { in mxs_dma_reset_chan()
238 if (elapsed >= max_wait) in mxs_dma_reset_chan()
/Linux-v4.19/drivers/usb/typec/
Dtcpm.c318 unsigned long max_wait; member
2890 port->max_wait = 0; in run_state_machine()
2902 port->max_wait = 0; in run_state_machine()
2907 if (port->max_wait == 0) { in run_state_machine()
2908 port->max_wait = jiffies + in run_state_machine()
2913 if (time_is_after_jiffies(port->max_wait)) in run_state_machine()
2915 jiffies_to_msecs(port->max_wait - in run_state_machine()
3061 port->max_wait = 0; in run_state_machine()
3065 if (port->max_wait == 0) { in run_state_machine()
3066 port->max_wait = jiffies + in run_state_machine()
[all …]
/Linux-v4.19/arch/powerpc/platforms/powernv/
Deeh-powernv.c1158 static int pnv_eeh_wait_state(struct eeh_pe *pe, int max_wait) in pnv_eeh_wait_state() argument
1174 if (max_wait <= 0) { in pnv_eeh_wait_state()
1176 __func__, pe->addr, max_wait); in pnv_eeh_wait_state()
1180 max_wait -= mwait; in pnv_eeh_wait_state()
/Linux-v4.19/arch/powerpc/include/asm/
Deeh.h212 int (*wait_state)(struct eeh_pe *pe, int max_wait);
/Linux-v4.19/block/
Dblk-throttle.c983 unsigned long bps_wait = 0, iops_wait = 0, max_wait = 0; in tg_may_dispatch() local
1025 max_wait = max(bps_wait, iops_wait); in tg_may_dispatch()
1028 *wait = max_wait; in tg_may_dispatch()
1030 if (time_before(tg->slice_end[rw], jiffies + max_wait)) in tg_may_dispatch()
1031 throtl_extend_slice(tg, rw, jiffies + max_wait); in tg_may_dispatch()
/Linux-v4.19/drivers/scsi/megaraid/
Dmegaraid_sas_base.c3758 u8 max_wait; in megasas_transition_to_ready() local
3777 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3800 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3816 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3848 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3856 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3861 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3866 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3871 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3876 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
[all …]
/Linux-v4.19/drivers/media/platform/omap3isp/
Dispccdc.c1398 unsigned int max_wait) in ccdc_sbl_wait_idle() argument
1402 if (max_wait == 0) in ccdc_sbl_wait_idle()
1403 max_wait = 10000; /* 10 ms */ in ccdc_sbl_wait_idle()
1405 for (wait = 0; wait <= max_wait; wait++) { in ccdc_sbl_wait_idle()
/Linux-v4.19/Documentation/scsi/
DChangeLog.megaraid_sas358 and Increase the max_wait to 60 from 10 in the controller
359 operational status. With this max_wait increase, driver will
/Linux-v4.19/drivers/scsi/
Dst.c965 int attentions, waits, max_wait, scode; in test_ready() local
971 max_wait = do_wait ? ST_BLOCK_SECONDS : 0; in test_ready()
1001 if (waits < max_wait) { in test_ready()