Home
last modified time | relevance | path

Searched refs:riscv_isa_ext (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/riscv/kernel/
H A Dcpufeature.c154 const struct riscv_isa_ext_data riscv_isa_ext[] = { variable
187 const size_t riscv_isa_ext_count = ARRAY_SIZE(riscv_isa_ext);
339 SET_ISA_EXT_MAP(riscv_isa_ext[i].name, in riscv_parse_isa_string()
340 riscv_isa_ext[i].id); in riscv_parse_isa_string()
460 riscv_isa_ext[i].property) < 0) in riscv_fill_hwcap_from_ext_list()
463 if (!riscv_isa_extension_check(riscv_isa_ext[i].id)) in riscv_fill_hwcap_from_ext_list()
467 if (strnlen(riscv_isa_ext[i].name, 2) == 1) in riscv_fill_hwcap_from_ext_list()
468 this_hwcap |= isa2hwcap[riscv_isa_ext[i].id]; in riscv_fill_hwcap_from_ext_list()
470 set_bit(riscv_isa_ext[i].id, isainfo->isa); in riscv_fill_hwcap_from_ext_list()
H A Dcpu.c248 if (!__riscv_isa_extension_available(NULL, riscv_isa_ext[i].id)) in print_isa()
252 if (strnlen(riscv_isa_ext[i].name, 2) != 1) in print_isa()
255 seq_printf(f, "%s", riscv_isa_ext[i].name); in print_isa()
/openbmc/linux/arch/riscv/include/asm/
H A Dhwcap.h82 extern const struct riscv_isa_ext_data riscv_isa_ext[];