Lines Matching +full:linux +full:- +full:event +full:- +full:codes
1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/types.h>
11 #include <linux/cpumask.h>
153 /** General pmu event codes specified in SBI PMU extension */
173 * event type in Linux kernel perf framework.
203 /* SBI PMU event types */
211 /* SBI PMU event types */
217 /* Helper macros to decode event idx */
256 /* SBI STA (steal-time accounting) extension */
269 #define SBI_STA_SHMEM_DISABLE -1
277 /* SBI return error codes */
279 #define SBI_ERR_FAILURE -1
280 #define SBI_ERR_NOT_SUPPORTED -2
281 #define SBI_ERR_INVALID_PARAM -3
282 #define SBI_ERR_DENIED -4
283 #define SBI_ERR_INVALID_ADDRESS -5
284 #define SBI_ERR_ALREADY_AVAILABLE -6
285 #define SBI_ERR_ALREADY_STARTED -7
286 #define SBI_ERR_ALREADY_STOPPED -8
305 static inline int sbi_console_getchar(void) { return -ENOENT; } in sbi_console_getchar()
369 static inline int sbi_remote_fence_i(const struct cpumask *cpu_mask) { return -1; } in sbi_remote_fence_i()