Searched refs:work_freq (Results 1 – 1 of 1) sorted by relevance
1490 unsigned long work_freq, r; in cv64_compute_clock() local1505 work_freq = (0x37EE * (mnr[0] + 2)) / ((mnr[1] & 0x1F) + 2); in cv64_compute_clock()1509 work_freq = work_freq >> r; /* r is the freq divider */ in cv64_compute_clock()1512 work_freq *= 0x3E8; /* 2nd part of OSC */ in cv64_compute_clock()1514 diff = abs(freq - work_freq); in cv64_compute_clock()