Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/platforms/pseries/
Deeh_pseries.c519 static int pseries_eeh_wait_state(struct eeh_pe *pe, int max_wait) in pseries_eeh_wait_state() argument
546 if (max_wait <= 0) { in pseries_eeh_wait_state()
548 __func__, max_wait); in pseries_eeh_wait_state()
562 max_wait -= mwait; in pseries_eeh_wait_state()
619 int max_wait = 200; in pseries_eeh_configure_bridge() local
626 while (max_wait > 0) { in pseries_eeh_configure_bridge()
652 max_wait -= rtas_busy_delay_time(ret); in pseries_eeh_configure_bridge()
654 if (max_wait < 0) in pseries_eeh_configure_bridge()
/linux-4.4.14/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.4.14/block/
Dblk-throttle.c768 unsigned long bps_wait = 0, iops_wait = 0, max_wait = 0; in tg_may_dispatch() local
805 max_wait = max(bps_wait, iops_wait); in tg_may_dispatch()
808 *wait = max_wait; in tg_may_dispatch()
810 if (time_before(tg->slice_end[rw], jiffies + max_wait)) in tg_may_dispatch()
811 throtl_extend_slice(tg, rw, jiffies + max_wait); in tg_may_dispatch()
/linux-4.4.14/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.4.14/arch/powerpc/platforms/powernv/
Deeh-powernv.c977 static int pnv_eeh_wait_state(struct eeh_pe *pe, int max_wait) in pnv_eeh_wait_state() argument
993 if (max_wait <= 0) { in pnv_eeh_wait_state()
995 __func__, pe->addr, max_wait); in pnv_eeh_wait_state()
999 max_wait -= mwait; in pnv_eeh_wait_state()
/linux-4.4.14/drivers/scsi/megaraid/
Dmegaraid_sas_base.c3448 u8 max_wait; in megasas_transition_to_ready() local
3467 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3490 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3506 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3538 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3546 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3551 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3556 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3561 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
3566 max_wait = MEGASAS_RESET_WAIT_TIME; in megasas_transition_to_ready()
[all …]
/linux-4.4.14/arch/powerpc/include/asm/
Deeh.h206 int (*wait_state)(struct eeh_pe *pe, int max_wait);
/linux-4.4.14/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.4.14/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.4.14/drivers/scsi/
Dst.c967 int attentions, waits, max_wait, scode; in test_ready() local
973 max_wait = do_wait ? ST_BLOCK_SECONDS : 0; in test_ready()
1003 if (waits < max_wait) { in test_ready()