Home
last modified time | relevance | path

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

/Linux-v5.10/arch/mips/oprofile/
Dop_model_loongson2.c38 unsigned long long reset_counter1; member
56 reg.reset_counter1 = 0; in loongson2_reg_setup()
65 reg.reset_counter1 = 0x80000000ULL - cfg[0].count; in loongson2_reg_setup()
89 write_c0_perfcnt((reg.reset_counter2 << 32) | reg.reset_counter1); in loongson2_cpu_setup()
127 counter1 = reg.reset_counter1; in loongson2_perfcount_handler()
Dop_model_loongson3.c48 unsigned long long reset_counter1; member
67 reg.reset_counter1 = 0; in loongson3_reg_setup()
78 reg.reset_counter1 = 0x8000000000000000ULL - ctr[0].count; in loongson3_reg_setup()
107 perfcount1 = reg.reset_counter1; in loongson3_cpu_setup()
152 counter1 = reg.reset_counter1; in loongson3_perfcount_handler()