Lines Matching refs:isa2hwcap
419 unsigned long *isa2hwcap) in riscv_resolve_isa() argument
455 *this_hwcap |= isa2hwcap[bit]; in riscv_resolve_isa()
623 static void __init riscv_fill_hwcap_from_isa_string(unsigned long *isa2hwcap) in riscv_fill_hwcap_from_isa_string() argument
692 this_hwcap &= ~isa2hwcap[RISCV_ISA_EXT_v]; in riscv_fill_hwcap_from_isa_string()
696 riscv_resolve_isa(source_isa, isainfo->isa, &this_hwcap, isa2hwcap); in riscv_fill_hwcap_from_isa_string()
773 static int __init riscv_fill_hwcap_from_ext_list(unsigned long *isa2hwcap) in riscv_fill_hwcap_from_ext_list() argument
804 riscv_resolve_isa(source_isa, isainfo->isa, &this_hwcap, isa2hwcap); in riscv_fill_hwcap_from_ext_list()
847 unsigned long isa2hwcap[26] = {0}; in riscv_fill_hwcap() local
850 isa2hwcap['i' - 'a'] = COMPAT_HWCAP_ISA_I; in riscv_fill_hwcap()
851 isa2hwcap['m' - 'a'] = COMPAT_HWCAP_ISA_M; in riscv_fill_hwcap()
852 isa2hwcap['a' - 'a'] = COMPAT_HWCAP_ISA_A; in riscv_fill_hwcap()
853 isa2hwcap['f' - 'a'] = COMPAT_HWCAP_ISA_F; in riscv_fill_hwcap()
854 isa2hwcap['d' - 'a'] = COMPAT_HWCAP_ISA_D; in riscv_fill_hwcap()
855 isa2hwcap['c' - 'a'] = COMPAT_HWCAP_ISA_C; in riscv_fill_hwcap()
856 isa2hwcap['v' - 'a'] = COMPAT_HWCAP_ISA_V; in riscv_fill_hwcap()
859 riscv_fill_hwcap_from_isa_string(isa2hwcap); in riscv_fill_hwcap()
861 int ret = riscv_fill_hwcap_from_ext_list(isa2hwcap); in riscv_fill_hwcap()
865 riscv_fill_hwcap_from_isa_string(isa2hwcap); in riscv_fill_hwcap()