| /Linux-v5.4/tools/testing/selftests/powerpc/eeh/ | 
| D | eeh-functions.sh | 58 	max_wait=3060 	for i in `seq 0 ${max_wait}` ; do
 64 		echo "$dev, waited $i/${max_wait}"
 
 | 
| /Linux-v5.4/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()  argument131 	for (i = 0; i < max_wait; i++) {  in wait_i2c_result()
 137 	if (i >= max_wait)  in wait_i2c_result()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/pensando/ionic/ | 
| D | ionic_main.c | 314 	unsigned long max_wait;  in ionic_dev_cmd_wait()  local325 	max_wait = jiffies + (max_seconds * HZ);  in ionic_dev_cmd_wait()
 333 	} while (!done && time_before(jiffies, max_wait));  in ionic_dev_cmd_wait()
 341 	if (!done && !time_before(jiffies, max_wait)) {  in ionic_dev_cmd_wait()
 349 		if (err == IONIC_RC_EAGAIN && !time_after(jiffies, max_wait)) {  in ionic_dev_cmd_wait()
 
 | 
| D | ionic.h | 61 int ionic_dev_cmd_wait(struct ionic *ionic, unsigned long max_wait);
 | 
| /Linux-v5.4/arch/powerpc/kernel/ | 
| D | eeh_pe.c | 106 int eeh_wait_state(struct eeh_pe *pe, int max_wait)  in eeh_wait_state()  argument128 		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.4/arch/powerpc/platforms/pseries/ | 
| D | eeh_pseries.c | 596 	int max_wait = 200;  in pseries_eeh_configure_bridge()  local603 	while (max_wait > 0) {  in pseries_eeh_configure_bridge()
 620 		max_wait -= rtas_busy_delay_time(ret);  in pseries_eeh_configure_bridge()
 622 		if (max_wait < 0)  in pseries_eeh_configure_bridge()
 
 | 
| /Linux-v5.4/drivers/dma/ | 
| D | mxs-dma.c | 224 		const unsigned long max_wait = 50000; /* 50ms */  in mxs_dma_reset_chan()  local235 		while ((readl(reg_dbg1) & 0xf) == 0x8 && elapsed < max_wait) {  in mxs_dma_reset_chan()
 240 		if (elapsed >= max_wait)  in mxs_dma_reset_chan()
 
 | 
| /Linux-v5.4/drivers/usb/typec/tcpm/ | 
| D | tcpm.c | 320 	unsigned long max_wait;  member2910 			port->max_wait = 0;  in run_state_machine()
 2922 			port->max_wait = 0;  in run_state_machine()
 2927 		if (port->max_wait == 0) {  in run_state_machine()
 2928 			port->max_wait = jiffies +  in run_state_machine()
 2933 			if (time_is_after_jiffies(port->max_wait))  in run_state_machine()
 2935 					       jiffies_to_msecs(port->max_wait -  in run_state_machine()
 3105 		port->max_wait = 0;  in run_state_machine()
 3109 		if (port->max_wait == 0) {  in run_state_machine()
 3110 			port->max_wait = jiffies +  in run_state_machine()
 [all …]
 
 | 
| /Linux-v5.4/block/ | 
| D | blk-throttle.c | 971 	unsigned long bps_wait = 0, iops_wait = 0, max_wait = 0;  in tg_may_dispatch()  local1013 	max_wait = max(bps_wait, iops_wait);  in tg_may_dispatch()
 1016 		*wait = max_wait;  in tg_may_dispatch()
 1018 	if (time_before(tg->slice_end[rw], jiffies + max_wait))  in tg_may_dispatch()
 1019 		throtl_extend_slice(tg, rw, jiffies + max_wait);  in tg_may_dispatch()
 
 | 
| /Linux-v5.4/arch/powerpc/include/asm/ | 
| D | eeh.h | 280 int eeh_wait_state(struct eeh_pe *pe, int max_wait);
 | 
| /Linux-v5.4/drivers/scsi/megaraid/ | 
| D | megaraid_sas_base.c | 3987 	u8 max_wait;  in megasas_transition_to_ready()  local4008 				max_wait = MEGASAS_RESET_WAIT_TIME;  in megasas_transition_to_ready()
 4033 			max_wait = MEGASAS_RESET_WAIT_TIME;  in megasas_transition_to_ready()
 4048 			max_wait = MEGASAS_RESET_WAIT_TIME;  in megasas_transition_to_ready()
 4080 			max_wait = MEGASAS_RESET_WAIT_TIME;  in megasas_transition_to_ready()
 4087 			max_wait = MEGASAS_RESET_WAIT_TIME;  in megasas_transition_to_ready()
 4091 			max_wait = MEGASAS_RESET_WAIT_TIME;  in megasas_transition_to_ready()
 4095 			max_wait = MEGASAS_RESET_WAIT_TIME;  in megasas_transition_to_ready()
 4099 			max_wait = MEGASAS_RESET_WAIT_TIME;  in megasas_transition_to_ready()
 4103 			max_wait = MEGASAS_RESET_WAIT_TIME;  in megasas_transition_to_ready()
 [all …]
 
 | 
| /Linux-v5.4/drivers/media/platform/omap3isp/ | 
| D | ispccdc.c | 1395 			      unsigned int max_wait)  in ccdc_sbl_wait_idle()  argument1399 	if (max_wait == 0)  in ccdc_sbl_wait_idle()
 1400 		max_wait = 10000; /* 10 ms */  in ccdc_sbl_wait_idle()
 1402 	for (wait = 0; wait <= max_wait; wait++) {  in ccdc_sbl_wait_idle()
 
 | 
| /Linux-v5.4/Documentation/scsi/ | 
| D | ChangeLog.megaraid_sas | 358 	and Increase the max_wait to 60 from 10 in the controller359 	operational status.  With this max_wait increase, driver will
 
 | 
| /Linux-v5.4/drivers/scsi/ | 
| D | st.c | 967 	int attentions, waits, max_wait, scode;  in test_ready()  local973 	max_wait = do_wait ? ST_BLOCK_SECONDS : 0;  in test_ready()
 1003 				if (waits < max_wait) {  in test_ready()
 
 |