| /linux/tools/testing/selftests/arm64/abi/ |
| H A D | hwcap.c | 610 .at_hwcap = AT_HWCAP, 617 .at_hwcap = AT_HWCAP, 624 .at_hwcap = AT_HWCAP, 678 .at_hwcap = AT_HWCAP, 685 .at_hwcap = AT_HWCAP, 699 .at_hwcap = AT_HWCAP, 714 .at_hwcap = AT_HWCAP, 721 .at_hwcap = AT_HWCAP, 729 .at_hwcap = AT_HWCAP, 736 .at_hwcap = AT_HWCAP, [all …]
|
| H A D | syscall-abi.c | 477 if (!(getauxval(AT_HWCAP) & HWCAP_SVE)) in sve_count_vls()
|
| /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/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/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/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/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/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()
|
| H A D | fp-stress.c | 480 if (getauxval(AT_HWCAP) & HWCAP_SVE) { in main()
|
| H A D | vec-syscfg.c | 49 .hwcap_type = AT_HWCAP,
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | host_sve.c | 120 if (!(getauxval(AT_HWCAP) & HWCAP_SVE)) { in main()
|
| /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 448 4. Unused AT_HWCAP bits 452 and 63 of AT_HWCAP will always be returned as 0.
|
| /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/testing/selftests/arm64/bti/ |
| H A D | test.c | 175 case AT_HWCAP: in start()
|
| /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 | 390 if (!(getauxval(AT_HWCAP) & HWCAP_GCS)) in main()
|
| H A D | gcs-stress.c | 377 if (getauxval(AT_HWCAP) & HWCAP_GCS) { in main()
|
| /linux/tools/perf/arch/arm64/util/ |
| H A D | perf_regs.c | 161 if (getauxval(AT_HWCAP) & HWCAP_SVE) in arch__user_reg_mask()
|
| /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()
|