Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/pm8001/
Dpm80xx_hwi.c991 u32 max_wait_count; in mpi_init_check() local
1000 max_wait_count = SPCV_DOORBELL_CLEAR_TIMEOUT; in mpi_init_check()
1002 max_wait_count = SPC_DOORBELL_CLEAR_TIMEOUT; in mpi_init_check()
1008 } while ((value != 0) && (--max_wait_count)); in mpi_init_check()
1010 if (!max_wait_count) { in mpi_init_check()
1018 max_wait_count = 5;/* 100 msec */ in mpi_init_check()
1025 (gst_len_mpistate & GST_MPI_STATE_MASK)) && (--max_wait_count)); in mpi_init_check()
1026 if (!max_wait_count) in mpi_init_check()
1052 u32 max_wait_count; in check_fw_ready() local
1058 max_wait_time = max_wait_count = 5; /* 100 milli sec */ in check_fw_ready()
[all …]
Dpm8001_hwi.c535 u32 max_wait_count; in mpi_init_check() local
542 max_wait_count = 1 * 1000 * 1000;/* 1 sec */ in mpi_init_check()
547 } while ((value != 0) && (--max_wait_count)); in mpi_init_check()
549 if (!max_wait_count) in mpi_init_check()
571 u32 max_wait_count; in check_fw_ready() local
604 max_wait_count = 1 * 1000 * 1000;/* 1 sec timeout */ in check_fw_ready()
613 if ((--max_wait_count) == 0) in check_fw_ready()
708 u32 max_wait_count; in mpi_uninit_check() local
727 max_wait_count = 1 * 1000 * 1000;/* 1 sec */ in mpi_uninit_check()
732 } while ((value != 0) && (--max_wait_count)); in mpi_uninit_check()
[all …]
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.c1833 u32 *max_wait_count) in qlcnic_extend_lb_idc_cmpltn_wait() argument
1841 *max_wait_count += temp / QLC_83XX_LB_MSLEEP_COUNT; in qlcnic_extend_lb_idc_cmpltn_wait()
1849 u32 config, max_wait_count; in qlcnic_83xx_set_lb_mode() local
1853 max_wait_count = QLC_83XX_LB_WAIT_COUNT; in qlcnic_83xx_set_lb_mode()
1898 &max_wait_count); in qlcnic_83xx_set_lb_mode()
1900 if (loop++ > max_wait_count) { in qlcnic_83xx_set_lb_mode()
1917 u32 config = ahw->port_config, max_wait_count; in qlcnic_83xx_clear_lb_mode() local
1922 max_wait_count = QLC_83XX_LB_WAIT_COUNT; in qlcnic_83xx_clear_lb_mode()
1952 &max_wait_count); in qlcnic_83xx_clear_lb_mode()
1954 if (loop++ > max_wait_count) { in qlcnic_83xx_clear_lb_mode()