Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/scsi/pm8001/
Dpm80xx_hwi.c998 u32 max_wait_count; in mpi_init_check() local
1007 max_wait_count = SPCV_DOORBELL_CLEAR_TIMEOUT; in mpi_init_check()
1009 max_wait_count = SPC_DOORBELL_CLEAR_TIMEOUT; in mpi_init_check()
1015 } while ((value != 0) && (--max_wait_count)); in mpi_init_check()
1017 if (!max_wait_count) { in mpi_init_check()
1024 max_wait_count = 100 * 1000;/* 100 msec */ in mpi_init_check()
1031 (gst_len_mpistate & GST_MPI_STATE_MASK)) && (--max_wait_count)); in mpi_init_check()
1032 if (!max_wait_count) in mpi_init_check()
1050 u32 max_wait_count; in check_fw_ready() local
1055 max_wait_time = max_wait_count = 100 * 1000; /* 100 milli sec */ in check_fw_ready()
[all …]
Dpm8001_hwi.c532 u32 max_wait_count; in mpi_init_check() local
539 max_wait_count = 1 * 1000 * 1000;/* 1 sec */ in mpi_init_check()
544 } while ((value != 0) && (--max_wait_count)); in mpi_init_check()
546 if (!max_wait_count) in mpi_init_check()
568 u32 max_wait_count; in check_fw_ready() local
601 max_wait_count = 1 * 1000 * 1000;/* 1 sec timeout */ in check_fw_ready()
610 if ((--max_wait_count) == 0) in check_fw_ready()
705 u32 max_wait_count; in mpi_uninit_check() local
724 max_wait_count = 1 * 1000 * 1000;/* 1 sec */ in mpi_uninit_check()
729 } while ((value != 0) && (--max_wait_count)); in mpi_uninit_check()
[all …]
/Linux-v5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.c1827 u32 *max_wait_count) in qlcnic_extend_lb_idc_cmpltn_wait() argument
1835 *max_wait_count += temp / QLC_83XX_LB_MSLEEP_COUNT; in qlcnic_extend_lb_idc_cmpltn_wait()
1843 u32 config, max_wait_count; in qlcnic_83xx_set_lb_mode() local
1847 max_wait_count = QLC_83XX_LB_WAIT_COUNT; in qlcnic_83xx_set_lb_mode()
1892 &max_wait_count); in qlcnic_83xx_set_lb_mode()
1894 if (loop++ > max_wait_count) { in qlcnic_83xx_set_lb_mode()
1911 u32 config = ahw->port_config, max_wait_count; in qlcnic_83xx_clear_lb_mode() local
1916 max_wait_count = QLC_83XX_LB_WAIT_COUNT; in qlcnic_83xx_clear_lb_mode()
1946 &max_wait_count); in qlcnic_83xx_clear_lb_mode()
1948 if (loop++ > max_wait_count) { in qlcnic_83xx_clear_lb_mode()