14262a727SDavid Howells /* 24262a727SDavid Howells * Copyright (C) 2012 ARM Ltd. 34262a727SDavid Howells * 44262a727SDavid Howells * This program is free software; you can redistribute it and/or modify 54262a727SDavid Howells * it under the terms of the GNU General Public License version 2 as 64262a727SDavid Howells * published by the Free Software Foundation. 74262a727SDavid Howells * 84262a727SDavid Howells * This program is distributed in the hope that it will be useful, 94262a727SDavid Howells * but WITHOUT ANY WARRANTY; without even the implied warranty of 104262a727SDavid Howells * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 114262a727SDavid Howells * GNU General Public License for more details. 124262a727SDavid Howells * 134262a727SDavid Howells * You should have received a copy of the GNU General Public License 144262a727SDavid Howells * along with this program. If not, see <http://www.gnu.org/licenses/>. 154262a727SDavid Howells */ 164262a727SDavid Howells #ifndef _UAPI__ASM_HWCAP_H 174262a727SDavid Howells #define _UAPI__ASM_HWCAP_H 184262a727SDavid Howells 194262a727SDavid Howells /* 204262a727SDavid Howells * HWCAP flags - for elf_hwcap (in kernel) and AT_HWCAP 214262a727SDavid Howells */ 224262a727SDavid Howells #define HWCAP_FP (1 << 0) 234262a727SDavid Howells #define HWCAP_ASIMD (1 << 1) 2446efe547SSudeep KarkadaNagesha #define HWCAP_EVTSTRM (1 << 2) 254bff28ccSSteve Capper #define HWCAP_AES (1 << 3) 264bff28ccSSteve Capper #define HWCAP_PMULL (1 << 4) 274bff28ccSSteve Capper #define HWCAP_SHA1 (1 << 5) 284bff28ccSSteve Capper #define HWCAP_SHA2 (1 << 6) 294bff28ccSSteve Capper #define HWCAP_CRC32 (1 << 7) 3040a1db24SWill Deacon #define HWCAP_ATOMICS (1 << 8) 31bf500618SSuzuki K Poulose #define HWCAP_FPHP (1 << 9) 32bf500618SSuzuki K Poulose #define HWCAP_ASIMDHP (1 << 10) 3377c97b4eSSuzuki K Poulose #define HWCAP_CPUID (1 << 11) 34f92f5ce0SSuzuki K Poulose #define HWCAP_ASIMDRDM (1 << 12) 35c8c3798dSSuzuki K Poulose #define HWCAP_JSCVT (1 << 13) 36*cb567e79SSuzuki K Poulose #define HWCAP_FCMA (1 << 14) 374262a727SDavid Howells 384262a727SDavid Howells #endif /* _UAPI__ASM_HWCAP_H */ 39