/linux-master/tools/testing/selftests/powerpc/eeh/ |
H A 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-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic.h | 82 int ionic_dev_cmd_wait(struct ionic *ionic, unsigned long max_wait); 83 int ionic_dev_cmd_wait_nomsg(struct ionic *ionic, unsigned long max_wait);
|
H A D | ionic_main.c | 516 unsigned long max_wait; local 526 max_wait = jiffies + (max_seconds * HZ); 531 !done && fw_up && time_before(jiffies, max_wait); 551 if (!done && !time_before(jiffies, max_wait)) { 561 time_before(jiffies, (max_wait - HZ))) {
|
/linux-master/drivers/media/pci/pt3/ |
H A D | pt3_i2c.c | 126 static int wait_i2c_result(struct pt3_board *pt3, u32 *result, int max_wait) argument 131 for (i = 0; i < max_wait; i++) { 137 if (i >= max_wait)
|
/linux-master/lib/ |
H A D | test_lockup.c | 232 s64 max_wait = atomic64_read(&max_lock_wait); local 235 if (cur_wait < max_wait) 237 max_wait = atomic64_cmpxchg(&max_lock_wait, 238 max_wait, cur_wait); 239 } while (max_wait != cur_wait);
|
/linux-master/arch/powerpc/kernel/ |
H A D | eeh_pe.c | 102 * @max_wait: maximal period in millisecond 107 int eeh_wait_state(struct eeh_pe *pe, int max_wait) argument 129 if (max_wait <= 0) { 131 __func__, max_wait); 145 msleep(min(mwait, max_wait)); 146 max_wait -= mwait;
|
/linux-master/drivers/net/ethernet/amd/pds_core/ |
H A D | dev.c | 133 unsigned long max_wait; local 142 max_wait = start_time + (max_seconds * HZ); 153 timeout = time_after(jiffies, max_wait);
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | eeh_pseries.c | 201 int max_wait = 200; local 203 while (max_wait > 0) { 222 max_wait -= rtas_busy_delay_time(ret); 224 if (max_wait < 0)
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | psp_v13_0.c | 474 int max_wait; local 481 max_wait = MEM_TRAIN_SEND_MSG_TIMEOUT_US / adev->usec_timeout; 482 for (i = 0; i < max_wait; i++) { 488 if (i < max_wait)
|
H A D | psp_v14_0.c | 362 int max_wait; local 369 max_wait = MEM_TRAIN_SEND_MSG_TIMEOUT_US / adev->usec_timeout; 370 for (i = 0; i < max_wait; i++) { 376 if (i < max_wait)
|
H A D | psp_v11_0.c | 414 int max_wait; local 421 max_wait = MEM_TRAIN_SEND_MSG_TIMEOUT_US / adev->usec_timeout; 422 for (i = 0; i < max_wait; i++) { 428 if (i < max_wait)
|
/linux-master/drivers/net/phy/ |
H A D | smsc.c | 226 unsigned int max_wait = priv->edpd_max_wait_ms * 1000; local 244 10000, max_wait, true, phydev,
|
/linux-master/arch/powerpc/include/asm/ |
H A D | eeh.h | 278 int eeh_wait_state(struct eeh_pe *pe, int max_wait);
|
/linux-master/drivers/dma/ |
H A D | mxs-dma.c | 204 const unsigned long max_wait = 50000; /* 50ms */ local 215 while ((readl(reg_dbg1) & 0xf) == 0x8 && elapsed < max_wait) { 220 if (elapsed >= max_wait)
|
/linux-master/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp2_execution.c | 156 uint16_t max_wait = 20; // units of ms local 158 uint16_t wait_time = max_wait / num_polls;
|
/linux-master/block/ |
H A D | blk-throttle.c | 905 unsigned long bps_wait = 0, iops_wait = 0, max_wait = 0; local 950 max_wait = max(bps_wait, iops_wait); 953 *wait = max_wait; 955 if (time_before(tg->slice_end[rw], jiffies + max_wait)) 956 throtl_extend_slice(tg, rw, jiffies + max_wait);
|
/linux-master/drivers/scsi/megaraid/ |
H A D | megaraid_sas_base.c | 4116 u8 max_wait; local 4137 max_wait = MEGASAS_RESET_WAIT_TIME; 4162 max_wait = MEGASAS_RESET_WAIT_TIME; 4177 max_wait = MEGASAS_RESET_WAIT_TIME; 4209 max_wait = MEGASAS_RESET_WAIT_TIME; 4216 max_wait = MEGASAS_RESET_WAIT_TIME; 4220 max_wait = MEGASAS_RESET_WAIT_TIME; 4224 max_wait = MEGASAS_RESET_WAIT_TIME; 4228 max_wait = MEGASAS_RESET_WAIT_TIME; 4232 max_wait [all...] |
/linux-master/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 486 unsigned long max_wait; member in struct:tcpm_port 4644 port->max_wait = 0; 4655 port->max_wait = 0; 4659 if (port->max_wait == 0) { 4660 port->max_wait = jiffies + 4665 if (time_is_after_jiffies(port->max_wait)) 4667 jiffies_to_msecs(port->max_wait - 4895 port->max_wait = 0; 4899 if (port->max_wait == 0) { 4900 port->max_wait [all...] |
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | ispccdc.c | 1402 * @max_wait: Max retry count in us for wait for idle/busy transition. 1405 unsigned int max_wait) 1409 if (max_wait == 0) 1410 max_wait = 10000; /* 10 ms */ 1412 for (wait = 0; wait <= max_wait; wait++) { 1404 ccdc_sbl_wait_idle(struct isp_ccdc_device *ccdc, unsigned int max_wait) argument
|
/linux-master/drivers/scsi/ |
H A D | st.c | 974 int attentions, waits, max_wait, scode; 980 max_wait = do_wait ? ST_BLOCK_SECONDS : 0; 1010 if (waits < max_wait) { 970 int attentions, waits, max_wait, scode; local
|