Lines Matching refs:r4k_ticks
115 unsigned long r4k_ticks[3]; in plat_time_init() local
132 r4k_ticks[0] = dosample(); in plat_time_init()
133 } while (!r4k_ticks[0]); in plat_time_init()
135 r4k_ticks[1] = dosample(); in plat_time_init()
136 } while (!r4k_ticks[1]); in plat_time_init()
138 if (r4k_ticks[0] != r4k_ticks[1]) { in plat_time_init()
140 r4k_ticks[2] = dosample(); in plat_time_init()
141 if (r4k_ticks[2] == r4k_ticks[0] in plat_time_init()
142 || r4k_ticks[2] == r4k_ticks[1]) in plat_time_init()
143 r4k_tick = r4k_ticks[2]; in plat_time_init()
146 r4k_tick = (r4k_ticks[0] + r4k_ticks[1] in plat_time_init()
147 + r4k_ticks[2]) / 3; in plat_time_init()
150 r4k_tick = r4k_ticks[0]; in plat_time_init()