Lines Matching defs:tmp
755 u32 tmp = post_div * ref_div;
757 tmp *= target_clock;
758 *fb_div = tmp / pll->reference_freq;
759 *frac_fb_div = tmp % pll->reference_freq;
770 u32 vco, post_div, tmp;
788 tmp = vco % target_clock;
791 if (tmp)
794 if (!tmp)
819 u32 fb_div = 0, frac_fb_div = 0, tmp;
843 tmp = (pll->reference_freq * fb_div) / (post_div * ref_div);
844 tmp = (tmp * 10000) / target_clock;
846 if (tmp > (10000 + MAX_TOLERANCE))
848 else if (tmp >= (10000 - MAX_TOLERANCE))
971 uint64_t tmp;
975 tmp = (uint64_t)pll->reference_freq * feedback_div;
976 vco = radeon_div(tmp, ref_div);
988 tmp = (uint64_t)pll->reference_freq * 10000 * feedback_div;
989 tmp += (uint64_t)pll->reference_freq * 1000 * frac_feedback_div;
990 current_freq = radeon_div(tmp, ref_div * post_div);