18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci#ifndef _ASM_LOONGARCH_PERF_REGS_H
38c2ecf20Sopenharmony_ci#define _ASM_LOONGARCH_PERF_REGS_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_cienum perf_event_loongarch_regs {
68c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_PC,
78c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R1,
88c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R2,
98c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R3,
108c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R4,
118c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R5,
128c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R6,
138c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R7,
148c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R8,
158c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R9,
168c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R10,
178c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R11,
188c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R12,
198c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R13,
208c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R14,
218c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R15,
228c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R16,
238c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R17,
248c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R18,
258c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R19,
268c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R20,
278c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R21,
288c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R22,
298c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R23,
308c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R24,
318c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R25,
328c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R26,
338c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R27,
348c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R28,
358c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R29,
368c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R30,
378c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_R31,
388c2ecf20Sopenharmony_ci	PERF_REG_LOONGARCH_MAX,
398c2ecf20Sopenharmony_ci};
408c2ecf20Sopenharmony_ci#endif /* _ASM_LOONGARCH_PERF_REGS_H */
41