Home
last modified time | relevance | path

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

/linux-4.1.27/arch/powerpc/platforms/pseries/
Deeh_pseries.c527 static int pseries_eeh_wait_state(struct eeh_pe *pe, int max_wait) in pseries_eeh_wait_state() argument
554 if (max_wait <= 0) { in pseries_eeh_wait_state()
556 __func__, max_wait); in pseries_eeh_wait_state()
570 max_wait -= mwait; in pseries_eeh_wait_state()
627 int max_wait = 200; in pseries_eeh_configure_bridge() local
634 while (max_wait > 0) { in pseries_eeh_configure_bridge()
660 max_wait -= rtas_busy_delay_time(ret); in pseries_eeh_configure_bridge()
662 if (max_wait < 0) in pseries_eeh_configure_bridge()
/linux-4.1.27/drivers/media/pci/pt3/
Dpt3_i2c.c136 static int wait_i2c_result(struct pt3_board *pt3, u32 *result, int max_wait) in wait_i2c_result() argument
141 for (i = 0; i < max_wait; i++) { in wait_i2c_result()
147 if (i >= max_wait) in wait_i2c_result()
/linux-4.1.27/block/
Dblk-throttle.c911 unsigned long bps_wait = 0, iops_wait = 0, max_wait = 0; in tg_may_dispatch() local
948 max_wait = max(bps_wait, iops_wait); in tg_may_dispatch()
951 *wait = max_wait; in tg_may_dispatch()
953 if (time_before(tg->slice_end[rw], jiffies + max_wait)) in tg_may_dispatch()
954 throtl_extend_slice(tg, rw, jiffies + max_wait); in tg_may_dispatch()
/linux-4.1.27/drivers/dma/
Dmxs-dma.c226 const unsigned long max_wait = 50000; /* 50ms */ in mxs_dma_reset_chan() local
237 while ((readl(reg_dbg1) & 0xf) == 0x8 && elapsed < max_wait) { in mxs_dma_reset_chan()
242 if (elapsed >= max_wait) in mxs_dma_reset_chan()
/linux-4.1.27/arch/powerpc/platforms/powernv/
Deeh-powernv.c990 static int pnv_eeh_wait_state(struct eeh_pe *pe, int max_wait) in pnv_eeh_wait_state() argument
1006 max_wait -= mwait; in pnv_eeh_wait_state()
1007 if (max_wait <= 0) { in pnv_eeh_wait_state()
1009 __func__, pe->addr, max_wait); in pnv_eeh_wait_state()
/linux-4.1.27/drivers/scsi/megaraid/
Dmegaraid_sas_base.c3348 u8 max_wait; in megasas_transition_to_ready() local
3367 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3398 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3421 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3466 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3474 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3479 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3484 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3489 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3494 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
[all …]
/linux-4.1.27/arch/powerpc/include/asm/
Deeh.h209 int (*wait_state)(struct eeh_pe *pe, int max_wait);
/linux-4.1.27/drivers/media/platform/omap3isp/
Dispccdc.c1401 unsigned int max_wait) in ccdc_sbl_wait_idle() argument
1405 if (max_wait == 0) in ccdc_sbl_wait_idle()
1406 max_wait = 10000; /* 10 ms */ in ccdc_sbl_wait_idle()
1408 for (wait = 0; wait <= max_wait; wait++) { in ccdc_sbl_wait_idle()
/linux-4.1.27/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-4.1.27/drivers/scsi/
Dst.c913 int attentions, waits, max_wait, scode; in test_ready() local
919 max_wait = do_wait ? ST_BLOCK_SECONDS : 0; in test_ready()
949 if (waits < max_wait) { in test_ready()