Lines Matching refs:elf_hwcap
31 unsigned long elf_hwcap __read_mostly;
703 if (elf_hwcap) in riscv_fill_hwcap_from_isa_string()
704 elf_hwcap &= this_hwcap; in riscv_fill_hwcap_from_isa_string()
706 elf_hwcap = this_hwcap; in riscv_fill_hwcap_from_isa_string()
813 if (elf_hwcap) in riscv_fill_hwcap_from_ext_list()
814 elf_hwcap &= this_hwcap; in riscv_fill_hwcap_from_ext_list()
816 elf_hwcap = this_hwcap; in riscv_fill_hwcap_from_ext_list()
873 if ((elf_hwcap & COMPAT_HWCAP_ISA_F) && !(elf_hwcap & COMPAT_HWCAP_ISA_D)) { in riscv_fill_hwcap()
875 elf_hwcap &= ~COMPAT_HWCAP_ISA_F; in riscv_fill_hwcap()
885 if (elf_hwcap & COMPAT_HWCAP_ISA_V) { in riscv_fill_hwcap()
892 elf_hwcap &= ~COMPAT_HWCAP_ISA_V; in riscv_fill_hwcap()
903 if (elf_hwcap & BIT_MASK(i)) in riscv_fill_hwcap()
912 hwcap = (elf_hwcap & ((1UL << RISCV_ISA_EXT_BASE) - 1)); in riscv_get_elf_hwcap()