Searched refs:timer_rate (Results 1 – 1 of 1) sorted by relevance
379 u32 timer_rate = 0; in panthor_fw_conv_timeout() local383 timer_rate = arch_timer_get_cntfrq(); in panthor_fw_conv_timeout()386 if (!timer_rate) { in panthor_fw_conv_timeout()388 timer_rate = clk_get_rate(ptdev->clks.core); in panthor_fw_conv_timeout()391 if (drm_WARN_ON(&ptdev->base, !timer_rate)) { in panthor_fw_conv_timeout()400 mod_cycles = DIV_ROUND_UP_ULL((u64)timeout_us * timer_rate, in panthor_fw_conv_timeout()