| /linux/tools/testing/selftests/arm64/abi/ |
| H A D | hwcap.c | 651 .at_hwcap = AT_HWCAP, 658 .at_hwcap = AT_HWCAP, 665 .at_hwcap = AT_HWCAP, 719 .at_hwcap = AT_HWCAP, 726 .at_hwcap = AT_HWCAP, 740 .at_hwcap = AT_HWCAP, 755 .at_hwcap = AT_HWCAP, 762 .at_hwcap = AT_HWCAP, 770 .at_hwcap = AT_HWCAP, 777 .at_hwcap = AT_HWCAP, [all …]
|
| /linux/Documentation/translations/zh_CN/arch/arm64/ |
| H A D | elf_hwcaps.rst | 21 用户空间软件可以通过获取辅助向量的 AT_HWCAP 或 AT_HWCAP2 条目来测试功能, 26 unsigned long hwcaps = getauxval(AT_HWCAP); 58 3. AT_HWCAP 中揭示的 hwcaps 237 4. 未使用的 AT_HWCAP 位 240 为了与用户空间交互,内核保证 AT_HWCAP 的第62、63位将始终返回0。
|
| /linux/Documentation/translations/zh_TW/arch/arm64/ |
| H A D | elf_hwcaps.rst | 24 用戶空間軟件可以通過獲取輔助向量的 AT_HWCAP 或 AT_HWCAP2 條目來測試功能, 29 unsigned long hwcaps = getauxval(AT_HWCAP); 61 3. AT_HWCAP 中揭示的 hwcaps 240 4. 未使用的 AT_HWCAP 位 243 爲了與用戶空間交互,內核保證 AT_HWCAP 的第62、63位將始終返回0。
|
| /linux/lib/raid6/ |
| H A D | loongarch.h | 33 #define cpu_has_lsx (getauxval(AT_HWCAP) & HWCAP_LOONGARCH_LSX) 34 #define cpu_has_lasx (getauxval(AT_HWCAP) & HWCAP_LOONGARCH_LASX)
|
| H A D | rvv.h | 17 #define has_vector() (getauxval(AT_HWCAP) & COMPAT_HWCAP_ISA_V)
|
| /linux/tools/testing/selftests/arm64/pauth/ |
| H A D | pac.c | 26 unsigned long hwcaps = getauxval(AT_HWCAP); \ 33 unsigned long hwcaps = getauxval(AT_HWCAP); \ 261 unsigned long hwcaps = getauxval(AT_HWCAP); in TEST() 304 unsigned long hwcaps = getauxval(AT_HWCAP); in TEST()
|
| H A D | exec_target.c | 26 hwcaps = getauxval(AT_HWCAP); in main()
|
| /linux/tools/testing/selftests/arm64/signal/ |
| H A D | test_signals_utils.c | 332 if (getauxval(AT_HWCAP) & HWCAP_SSBS) in test_init() 334 if (getauxval(AT_HWCAP) & HWCAP_SVE) in test_init() 342 if (getauxval(AT_HWCAP) & HWCAP_GCS) in test_init()
|
| H A D | test_signals.c | 30 if (getauxval(AT_HWCAP) & HWCAP_GCS) in main()
|
| /linux/tools/testing/selftests/vDSO/ |
| H A D | vdso_test_chacha.c | 18 return getauxval(AT_HWCAP) & HWCAP_ASIMD; in cpu_has_capabilities() 23 return getauxval(AT_HWCAP) & HWCAP_S390_VXRS; in cpu_has_capabilities()
|
| /linux/Documentation/arch/arm64/ |
| H A D | elf_hwcaps.rst | 19 Userspace software can test for features by acquiring the AT_HWCAP, 25 unsigned long hwcaps = getauxval(AT_HWCAP); 66 3. The hwcaps exposed in AT_HWCAP 455 4. Unused AT_HWCAP bits 459 and 63 of AT_HWCAP will always be returned as 0.
|
| /linux/include/uapi/linux/ |
| H A D | auxvec.h | 25 #define AT_HWCAP 16 /* arch dependent hints at CPU capabilities */ macro
|
| /linux/arch/um/os-Linux/ |
| H A D | elf_aux.c | 37 case AT_HWCAP: in scan_elf_aux()
|
| /linux/tools/perf/tests/shell/attr/ |
| H A D | test-record-user-regs-no-sve-aarch64 | 9 auxv = auxv["AT_HWCAP"] & 0x400000 == 0
|
| H A D | test-record-user-regs-sve-aarch64 | 9 auxv = auxv["AT_HWCAP"] & 0x400000 == 0x400000
|
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | sve-probe-vls.c | 28 if (!(getauxval(AT_HWCAP) & HWCAP_SVE)) in main()
|
| H A D | vlset.c | 118 if (!(getauxval(AT_HWCAP) & HWCAP_SVE)) { in main()
|
| H A D | sve-ptrace.c | 54 .hwcap_type = AT_HWCAP, 882 if (!(getauxval(AT_HWCAP) & HWCAP_SVE) && in do_parent()
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | host_sve.c | 120 if (!(getauxval(AT_HWCAP) & HWCAP_SVE)) { in main()
|
| /linux/Documentation/arch/powerpc/ |
| H A D | elf_hwcaps.rst | 19 Userspace software can test for features by acquiring the AT_HWCAP or 25 unsigned long HWCAPs = getauxval(AT_HWCAP); 70 5. The HWCAPs exposed in AT_HWCAP
|
| /linux/tools/perf/util/perf-regs-arch/ |
| H A D | perf_regs_aarch64.c | 123 if (getauxval(AT_HWCAP) & HWCAP_SVE) in __perf_reg_mask_arm64()
|
| /linux/tools/testing/selftests/arm64/gcs/ |
| H A D | gcs-locking.c | 184 if (!(getauxval(AT_HWCAP) & HWCAP_GCS)) in main()
|
| H A D | basic-gcs.c | 384 if (!(getauxval(AT_HWCAP) & HWCAP_GCS)) in main()
|
| /linux/tools/testing/selftests/arm64/bti/ |
| H A D | test.c | 175 case AT_HWCAP: in start()
|
| /linux/tools/testing/selftests/powerpc/include/ |
| H A D | utils.h | 87 return ((unsigned long)get_auxv_entry(AT_HWCAP) & ftr) == ftr; in have_hwcap()
|