blob: 1cc77c255b750ac310cda69fb7ab07e9efa3e191 [file] [log] [blame]
Catalin Marinas2c020ed2012-03-05 11:49:31 +00001/*
2 * Copyright (C) 2012 ARM Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
David Howells4262a722012-10-11 11:05:13 +010016#ifndef _UAPI__ASM_HWCAP_H
17#define _UAPI__ASM_HWCAP_H
Catalin Marinas2c020ed2012-03-05 11:49:31 +000018
David Howells4262a722012-10-11 11:05:13 +010019/*
20 * HWCAP flags - for elf_hwcap (in kernel) and AT_HWCAP
21 */
22#define HWCAP_FP (1 << 0)
23#define HWCAP_ASIMD (1 << 1)
Sudeep KarkadaNagesha46efe542013-08-13 15:57:53 +010024#define HWCAP_EVTSTRM (1 << 2)
Steve Capper4bff28c2013-12-16 21:04:36 +000025#define HWCAP_AES (1 << 3)
26#define HWCAP_PMULL (1 << 4)
27#define HWCAP_SHA1 (1 << 5)
28#define HWCAP_SHA2 (1 << 6)
29#define HWCAP_CRC32 (1 << 7)
Will Deacon40a1db22015-01-26 18:46:19 +000030#define HWCAP_ATOMICS (1 << 8)
Suzuki K Poulosebf500612016-01-26 15:52:46 +000031#define HWCAP_FPHP (1 << 9)
32#define HWCAP_ASIMDHP (1 << 10)
Suzuki K Pouloseba62b302017-10-11 14:01:02 +010033#define HWCAP_SHA3 (1 << 17)
34#define HWCAP_SM3 (1 << 18)
35#define HWCAP_SM4 (1 << 19)
36#define HWCAP_ASIMDDP (1 << 20)
37#define HWCAP_SHA512 (1 << 21)
Catalin Marinas2c020ed2012-03-05 11:49:31 +000038
David Howells4262a722012-10-11 11:05:13 +010039#endif /* _UAPI__ASM_HWCAP_H */