Searched refs:max_loops (Results 1 – 11 of 11) sorted by relevance
68 unsigned int max_loops = KBASE_AS_INACTIVE_MAX_LOOPS; in wait_ready() local73 while (--max_loops && (val & AS_STATUS_AS_ACTIVE)) in wait_ready()76 if (max_loops == 0) { in wait_ready()82 if (KBASE_AS_INACTIVE_MAX_LOOPS - 1 > max_loops) in wait_ready()
1163 u32 max_loops = KBASE_CLEAN_CACHE_MAX_LOOPS; in kbasep_reset_timeout_worker() local1229 while (--max_loops && kbase_pm_get_trans_cores(kbdev, in kbasep_reset_timeout_worker()1233 WARN(!max_loops, "L2 power transition timed out while trying to reset\n"); in kbasep_reset_timeout_worker()
1819 u32 max_loops = KBASE_CLEAN_CACHE_MAX_LOOPS; in kbase_gpu_cacheclean() local1830 while (--max_loops && in kbase_gpu_cacheclean()
48 unsigned int max_loops = KBASE_AS_INACTIVE_MAX_LOOPS; in busy_wait_on_irq() local51 while (--max_loops && in busy_wait_on_irq()57 if (max_loops == 0) { in busy_wait_on_irq()
82 unsigned int max_loops = IPA_INACTIVE_MAX_LOOPS; in wait_status() local89 while (--max_loops && (status & flags)) in wait_status()91 if (max_loops == 0) { in wait_status()
1079 u32 max_loops = KBASE_CLEAN_CACHE_MAX_LOOPS; in kbasep_reset_timeout_worker() local1153 while (--max_loops && kbase_pm_get_trans_cores(kbdev, in kbasep_reset_timeout_worker()1157 WARN(!max_loops, "L2 power transition timed out while trying to reset\n"); in kbasep_reset_timeout_worker()
692 unsigned int max_loops = KBASE_AS_INACTIVE_MAX_LOOPS; in wait_mcu_as_inactive() local700 while (--max_loops && in wait_mcu_as_inactive()705 if (!WARN_ON_ONCE(max_loops == 0)) in wait_mcu_as_inactive()
479 int max_loops = 10; in fec_open() local481 if (--max_loops <= 0) { in fec_open()
222 u32 max_loops = CSF_MAX_FW_STOP_LOOPS; in wait_mcu_status_value() local225 while (--max_loops && in wait_mcu_status_value()229 return (max_loops == 0) ? -1 : 0; in wait_mcu_status_value()
829 unsigned long max_loops; in qlcnic_83xx_poll_for_mbx_completion() local831 max_loops = cmd->total_cmds * QLC_83XX_MBX_CMD_LOOP; in qlcnic_83xx_poll_for_mbx_completion()833 for (; max_loops; max_loops--) { in qlcnic_83xx_poll_for_mbx_completion()
3433 int max_loops = 16; in sdhci_irq() local3526 } while (intmask && --max_loops); in sdhci_irq()