Home
last modified time | relevance | path

Searched refs:max_wait_count (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/scsi/pm8001/
Dpm80xx_hwi.c660 u32 max_wait_count; in mpi_init_check() local
669 max_wait_count = 4 * 1000 * 1000;/* 4 sec */ in mpi_init_check()
671 max_wait_count = 2 * 1000 * 1000;/* 2 sec */ in mpi_init_check()
677 } while ((value != 0) && (--max_wait_count)); in mpi_init_check()
679 if (!max_wait_count) in mpi_init_check()
682 max_wait_count = 100 * 1000;/* 100 msec */ in mpi_init_check()
689 (gst_len_mpistate & GST_MPI_STATE_MASK)) && (--max_wait_count)); in mpi_init_check()
690 if (!max_wait_count) in mpi_init_check()
708 u32 max_wait_count; in check_fw_ready() local
713 max_wait_time = max_wait_count = 100 * 1000; /* 100 milli sec */ in check_fw_ready()
[all …]
Dpm8001_hwi.c526 u32 max_wait_count; in mpi_init_check() local
533 max_wait_count = 1 * 1000 * 1000;/* 1 sec */ in mpi_init_check()
538 } while ((value != 0) && (--max_wait_count)); in mpi_init_check()
540 if (!max_wait_count) in mpi_init_check()
562 u32 max_wait_count; in check_fw_ready() local
595 max_wait_count = 1 * 1000 * 1000;/* 1 sec timeout */ in check_fw_ready()
604 if ((--max_wait_count) == 0) in check_fw_ready()
699 u32 max_wait_count; in mpi_uninit_check() local
718 max_wait_count = 1 * 1000 * 1000;/* 1 sec */ in mpi_uninit_check()
723 } while ((value != 0) && (--max_wait_count)); in mpi_uninit_check()
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.c1829 u32 *max_wait_count) in qlcnic_extend_lb_idc_cmpltn_wait() argument
1837 *max_wait_count += temp / QLC_83XX_LB_MSLEEP_COUNT; in qlcnic_extend_lb_idc_cmpltn_wait()
1845 u32 config, max_wait_count; in qlcnic_83xx_set_lb_mode() local
1849 max_wait_count = QLC_83XX_LB_WAIT_COUNT; in qlcnic_83xx_set_lb_mode()
1894 &max_wait_count); in qlcnic_83xx_set_lb_mode()
1896 if (loop++ > max_wait_count) { in qlcnic_83xx_set_lb_mode()
1913 u32 config = ahw->port_config, max_wait_count; in qlcnic_83xx_clear_lb_mode() local
1918 max_wait_count = QLC_83XX_LB_WAIT_COUNT; in qlcnic_83xx_clear_lb_mode()
1948 &max_wait_count); in qlcnic_83xx_clear_lb_mode()
1950 if (loop++ > max_wait_count) { in qlcnic_83xx_clear_lb_mode()