Home
last modified time | relevance | path

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

/linux-6.12.1/arch/mips/kernel/
Dcsrc-r4k.c20 static struct clocksource clocksource_mips = { variable
94 clocksource_mark_unstable(&clocksource_mips); in r4k_clocksource_unstable()
126 clocksource_mips.rating = 200; in init_r4k_clocksource()
127 clocksource_mips.rating += clamp(mips_hpt_frequency / 10000000, 0, 99); in init_r4k_clocksource()
134 clocksource_mips.vdso_clock_mode = VDSO_CLOCKMODE_R4K; in init_r4k_clocksource()
136 clocksource_register_hz(&clocksource_mips, mips_hpt_frequency); in init_r4k_clocksource()
/linux-6.12.1/arch/mips/cavium-octeon/
Dcsrc-octeon.c107 static struct clocksource clocksource_mips = { variable
119 u64 mult = clocksource_mips.mult; in sched_clock()
120 u64 shift = clocksource_mips.shift; in sched_clock()
140 clocksource_mips.rating = 300; in plat_time_init()
141 clocksource_register_hz(&clocksource_mips, octeon_get_clock_rate()); in plat_time_init()