xref: /linux/arch/mips/include/uapi/asm/hwcap.h (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
16f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2e14f1db7SPaul Burton #ifndef _UAPI_ASM_HWCAP_H
3e14f1db7SPaul Burton #define _UAPI_ASM_HWCAP_H
4e14f1db7SPaul Burton 
5e14f1db7SPaul Burton /* HWCAP flags */
6e14f1db7SPaul Burton #define HWCAP_MIPS_R6		(1 << 0)
7e14f1db7SPaul Burton #define HWCAP_MIPS_MSA		(1 << 1)
8256211f2SMarcin Nowakowski #define HWCAP_MIPS_CRC32	(1 << 2)
938dffe1eSJiaxun Yang #define HWCAP_MIPS_MIPS16	(1 << 3)
1038dffe1eSJiaxun Yang #define HWCAP_MIPS_MDMX     (1 << 4)
1138dffe1eSJiaxun Yang #define HWCAP_MIPS_MIPS3D   (1 << 5)
1238dffe1eSJiaxun Yang #define HWCAP_MIPS_SMARTMIPS (1 << 6)
1338dffe1eSJiaxun Yang #define HWCAP_MIPS_DSP      (1 << 7)
1438dffe1eSJiaxun Yang #define HWCAP_MIPS_DSP2     (1 << 8)
1538dffe1eSJiaxun Yang #define HWCAP_MIPS_DSP3     (1 << 9)
1638dffe1eSJiaxun Yang #define HWCAP_MIPS_MIPS16E2 (1 << 10)
1738dffe1eSJiaxun Yang #define HWCAP_LOONGSON_MMI  (1 << 11)
1838dffe1eSJiaxun Yang #define HWCAP_LOONGSON_EXT  (1 << 12)
1938dffe1eSJiaxun Yang #define HWCAP_LOONGSON_EXT2 (1 << 13)
20*f06da27eSWANG Xuerui #define HWCAP_LOONGSON_CPUCFG (1 << 14)
21e14f1db7SPaul Burton 
22e14f1db7SPaul Burton #endif /* _UAPI_ASM_HWCAP_H */
23