Lines Matching refs:r4k_ticks
121 unsigned long r4k_ticks[3]; in plat_time_init() local
138 r4k_ticks[0] = dosample(); in plat_time_init()
139 } while (!r4k_ticks[0]); in plat_time_init()
141 r4k_ticks[1] = dosample(); in plat_time_init()
142 } while (!r4k_ticks[1]); in plat_time_init()
144 if (r4k_ticks[0] != r4k_ticks[1]) { in plat_time_init()
146 r4k_ticks[2] = dosample(); in plat_time_init()
147 if (r4k_ticks[2] == r4k_ticks[0] in plat_time_init()
148 || r4k_ticks[2] == r4k_ticks[1]) in plat_time_init()
149 r4k_tick = r4k_ticks[2]; in plat_time_init()
152 r4k_tick = (r4k_ticks[0] + r4k_ticks[1] in plat_time_init()
153 + r4k_ticks[2]) / 3; in plat_time_init()
156 r4k_tick = r4k_ticks[0]; in plat_time_init()