Searched refs:timer_rate (Results 1 – 1 of 1) sorted by relevance
331 u32 timer_rate = 0; in panthor_fw_conv_timeout() local335 timer_rate = arch_timer_get_cntfrq(); in panthor_fw_conv_timeout()338 if (!timer_rate) { in panthor_fw_conv_timeout()340 timer_rate = clk_get_rate(ptdev->clks.core); in panthor_fw_conv_timeout()343 if (drm_WARN_ON(&ptdev->base, !timer_rate)) { in panthor_fw_conv_timeout()352 mod_cycles = DIV_ROUND_UP_ULL((u64)timeout_us * timer_rate, in panthor_fw_conv_timeout()