Home
last modified time | relevance | path

Searched refs:r4k_ticks (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/mips/sgi-ip22/
H A Dip22-time.c71 unsigned long r4k_ticks[3]; in plat_time_init() local
88 r4k_ticks[0] = dosample(); in plat_time_init()
89 } while (!r4k_ticks[0]); in plat_time_init()
92 } while (!r4k_ticks[1]); in plat_time_init()
94 if (r4k_ticks[0] != r4k_ticks[1]) { in plat_time_init()
97 if (r4k_ticks[2] == r4k_ticks[0] in plat_time_init()
98 || r4k_ticks[2] == r4k_ticks[1]) in plat_time_init()
99 r4k_tick = r4k_ticks[2]; in plat_time_init()
102 r4k_tick = (r4k_ticks[0] + r4k_ticks[1] in plat_time_init()
103 + r4k_ticks[2]) / 3; in plat_time_init()
[all …]
/openbmc/linux/arch/mips/sni/
H A Dtime.c115 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()
136 } while (!r4k_ticks[1]); in plat_time_init()
138 if (r4k_ticks[0] != r4k_ticks[1]) { 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()
[all …]