18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28c2ecf20Sopenharmony_ci#ifndef _UAPI_ASM_HWCAP_H 38c2ecf20Sopenharmony_ci#define _UAPI_ASM_HWCAP_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* HWCAP flags */ 68c2ecf20Sopenharmony_ci#define HWCAP_LOONGARCH_CPUCFG (1 << 0) 78c2ecf20Sopenharmony_ci#define HWCAP_LOONGARCH_LAM (1 << 1) 88c2ecf20Sopenharmony_ci#define HWCAP_LOONGARCH_UAL (1 << 2) 98c2ecf20Sopenharmony_ci#define HWCAP_LOONGARCH_FPU (1 << 3) 108c2ecf20Sopenharmony_ci#define HWCAP_LOONGARCH_LSX (1 << 4) 118c2ecf20Sopenharmony_ci#define HWCAP_LOONGARCH_LASX (1 << 5) 128c2ecf20Sopenharmony_ci#define HWCAP_LOONGARCH_CRC32 (1 << 6) 138c2ecf20Sopenharmony_ci#define HWCAP_LOONGARCH_COMPLEX (1 << 7) 148c2ecf20Sopenharmony_ci#define HWCAP_LOONGARCH_CRYPTO (1 << 8) 158c2ecf20Sopenharmony_ci#define HWCAP_LOONGARCH_LVZ (1 << 9) 168c2ecf20Sopenharmony_ci#define HWCAP_LOONGARCH_LBT_X86 (1 << 10) 178c2ecf20Sopenharmony_ci#define HWCAP_LOONGARCH_LBT_ARM (1 << 11) 188c2ecf20Sopenharmony_ci#define HWCAP_LOONGARCH_LBT_MIPS (1 << 12) 198c2ecf20Sopenharmony_ci#define HWCAP_LOONGARCH_PTW (1 << 13) 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#endif /* _UAPI_ASM_HWCAP_H */ 22