Home
last modified time | relevance | path

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

/Linux-v5.10/arch/mips/oprofile/
Dop_model_loongson2.c39 unsigned long long reset_counter2; member
57 reg.reset_counter2 = 0; in loongson2_reg_setup()
70 reg.reset_counter2 = 0x80000000ULL - cfg[1].count; in loongson2_reg_setup()
89 write_c0_perfcnt((reg.reset_counter2 << 32) | reg.reset_counter1); in loongson2_cpu_setup()
132 counter2 = reg.reset_counter2; in loongson2_perfcount_handler()
Dop_model_loongson3.c49 unsigned long long reset_counter2; member
68 reg.reset_counter2 = 0; in loongson3_reg_setup()
88 reg.reset_counter2 = 0x8000000000000000ULL - ctr[1].count; in loongson3_reg_setup()
108 perfcount2 = reg.reset_counter2; in loongson3_cpu_setup()
157 counter2 = reg.reset_counter2; in loongson3_perfcount_handler()