Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/pm8001/
Dpm80xx_hwi.c640 u32 max_wait_count; in mpi_init_check() local
649 max_wait_count = 4 * 1000 * 1000;/* 4 sec */ in mpi_init_check()
651 max_wait_count = 2 * 1000 * 1000;/* 2 sec */ in mpi_init_check()
657 } while ((value != 0) && (--max_wait_count)); in mpi_init_check()
659 if (!max_wait_count) in mpi_init_check()
662 max_wait_count = 100 * 1000;/* 100 msec */ in mpi_init_check()
669 (gst_len_mpistate & GST_MPI_STATE_MASK)) && (--max_wait_count)); in mpi_init_check()
670 if (!max_wait_count) in mpi_init_check()
688 u32 max_wait_count; in check_fw_ready() local
693 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-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.c1826 u32 *max_wait_count) in qlcnic_extend_lb_idc_cmpltn_wait() argument
1834 *max_wait_count += temp / QLC_83XX_LB_MSLEEP_COUNT; in qlcnic_extend_lb_idc_cmpltn_wait()
1842 u32 config, max_wait_count; in qlcnic_83xx_set_lb_mode() local
1846 max_wait_count = QLC_83XX_LB_WAIT_COUNT; in qlcnic_83xx_set_lb_mode()
1891 &max_wait_count); in qlcnic_83xx_set_lb_mode()
1893 if (loop++ > max_wait_count) { in qlcnic_83xx_set_lb_mode()
1910 u32 config = ahw->port_config, max_wait_count; in qlcnic_83xx_clear_lb_mode() local
1915 max_wait_count = QLC_83XX_LB_WAIT_COUNT; in qlcnic_83xx_clear_lb_mode()
1945 &max_wait_count); in qlcnic_83xx_clear_lb_mode()
1947 if (loop++ > max_wait_count) { in qlcnic_83xx_clear_lb_mode()