Home
last modified time | relevance | path

Searched refs:hwcap (Results 1 – 19 of 19) sorted by relevance

/linux/tools/testing/selftests/arm64/abi/
H A Dhwcap.c925 if (!hwcap->SIG##_fn) { \
934 hwcap->SIG##_fn(); \
939 #SIG"_%s\n", hwcap->name); \
943 #SIG"_%s\n", hwcap->name); \
948 hwcap->name); \
950 hwcap->name); \
963 const struct hwcap_data *hwcap; in main() local
970 hwcap = &hwcaps[i]; in main()
972 have_hwcap = getauxval(hwcap->at_hwcap) & hwcap->hwcap_bit; in main()
979 "cpuinfo_match_%s\n", hwcap->name); in main()
[all …]
H A D.gitignore1 hwcap
H A DMakefile4 TEST_GEN_PROGS := hwcap ptrace syscall-abi tpidr2
/linux/tools/testing/selftests/arm64/bti/
H A Dtest.c161 unsigned long hwcap = 0, hwcap2 = 0; in start() local
176 hwcap = auxv->val; in start()
186 if (hwcap & HWCAP_PACA) in start()
193 if (!(hwcap & HWCAP_PACA)) in start()
/linux/Documentation/devicetree/bindings/powerpc/
H A Dibm,powerpc-cpu-features.txt107 If bit 0 is set, then the hwcap-bit-nr property will exist.
174 - hwcap-bit-nr
189 advertised to userspace without a one-to-one hwcap bit number may not specify
191 features usable by userspace will have a hwcap-bit-nr property.
214 hwcap-bit-nr = <xx>;
221 hwcap-bit-nr = <xx>;
236 hwcap-bit-nr = <xx>;
244 hwcap-bit-nr = <xx>;
/linux/Documentation/translations/zh_CN/arch/arm64/
H A Delf_hwcaps.rst33 如果软件依赖于 hwcap 描述的功能,在尝试使用该功能前则应检查相关的 hwcap
44 描述的功能的存在。这些 hwcap 通过 ID 寄存器字段定义,并且应根据 ARM 体系
/linux/Documentation/translations/zh_TW/arch/arm64/
H A Delf_hwcaps.rst36 如果軟件依賴於 hwcap 描述的功能,在嘗試使用該功能前則應檢查相關的 hwcap
47 描述的功能的存在。這些 hwcap 通過 ID 寄存器字段定義,並且應根據 ARM 體系
/linux/tools/testing/selftests/arm64/fp/
H A Dsve-ptrace.c46 unsigned long hwcap; member
55 .hwcap = HWCAP_SVE,
62 .hwcap = HWCAP2_SME,
682 if (getauxval(vec_types[i].hwcap_type) & vec_types[i].hwcap) { in do_parent()
692 if (getauxval(vec_types[i].hwcap_type) & vec_types[i].hwcap) { in do_parent()
707 vec_types[i].hwcap) { in do_parent()
H A Dvec-syscfg.c30 unsigned long hwcap; member
50 .hwcap = HWCAP_SVE,
60 .hwcap = HWCAP2_SME,
71 return getauxval(data->hwcap_type) & data->hwcap; in vec_type_supported()
/linux/arch/powerpc/boot/dts/
H A Dmicrowatt.dts50 hwcap-bit-nr = <1>;
69 hwcap-bit-nr = <27>;
/linux/arch/riscv/kernel/
H A Dcpufeature.c715 unsigned long hwcap; in riscv_get_elf_hwcap() local
717 hwcap = (elf_hwcap & ((1UL << RISCV_ISA_EXT_BASE) - 1)); in riscv_get_elf_hwcap()
720 hwcap &= ~COMPAT_HWCAP_ISA_V; in riscv_get_elf_hwcap()
722 return hwcap; in riscv_get_elf_hwcap()
/linux/Documentation/arch/arm64/
H A Delf_hwcaps.rst32 Where software relies on a feature described by a hwcap, it should check
33 the relevant hwcap flag to verify that the feature is present before
H A Dcpu-feature-registers.rst379 #include <asm/hwcap.h>
H A Dmemory-tagging-extension.rst270 * From arch/arm64/include/uapi/asm/hwcap.h
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_hash.c202 struct hw_cap *hwcap = &rvu->hw->cap; in npc_config_secret_key() local
206 if (!hwcap->npc_hash_extract) in npc_config_secret_key()
222 struct hw_cap *hwcap = &rvu->hw->cap; in npc_program_mkex_hash() local
228 if (!hwcap->npc_hash_extract) in npc_program_mkex_hash()
/linux/arch/arm64/kernel/
H A Dcpufeature.c2883 .hwcap = cap, \
3089 cpu_set_feature(cap->hwcap); in cap_set_elf_hwcap()
3093 compat_elf_hwcap |= (u32)cap->hwcap; in cap_set_elf_hwcap()
3096 compat_elf_hwcap2 |= (u32)cap->hwcap; in cap_set_elf_hwcap()
3112 rc = cpu_have_feature(cap->hwcap); in cpus_have_elf_hwcap()
3116 rc = (compat_elf_hwcap & (u32)cap->hwcap) != 0; in cpus_have_elf_hwcap()
3119 rc = (compat_elf_hwcap2 & (u32)cap->hwcap) != 0; in cpus_have_elf_hwcap()
/linux/arch/arm64/include/asm/
H A Dcpufeature.h370 unsigned long hwcap; member
/linux/Documentation/arch/x86/x86_64/
H A Dfsgs.rst113 /* Will be eventually in asm/hwcap.h */
/linux/arch/arm64/
H A DKconfig574 This option removes the AES hwcap for aarch32 user-space to