Searched refs:RISCV_ISA_EXT_MAX (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/arch/riscv/kernel/ |
D | cpufeature.c | 34 static DECLARE_BITMAP(riscv_isa, RISCV_ISA_EXT_MAX) __read_mostly; 69 if (bit >= RISCV_ISA_EXT_MAX) in __riscv_isa_extension_available() 423 DECLARE_BITMAP(prev_resolved_isa, RISCV_ISA_EXT_MAX); in riscv_resolve_isa() 433 bitmap_copy(prev_resolved_isa, resolved_isa, RISCV_ISA_EXT_MAX); in riscv_resolve_isa() 434 for_each_set_bit(bit, source_isa, RISCV_ISA_EXT_MAX) { in riscv_resolve_isa() 646 DECLARE_BITMAP(source_isa, RISCV_ISA_EXT_MAX) = { 0 }; in riscv_fill_hwcap_from_isa_string() 708 if (bitmap_empty(riscv_isa, RISCV_ISA_EXT_MAX)) in riscv_fill_hwcap_from_isa_string() 709 bitmap_copy(riscv_isa, isainfo->isa, RISCV_ISA_EXT_MAX); in riscv_fill_hwcap_from_isa_string() 711 bitmap_and(riscv_isa, riscv_isa, isainfo->isa, RISCV_ISA_EXT_MAX); in riscv_fill_hwcap_from_isa_string() 781 DECLARE_BITMAP(source_isa, RISCV_ISA_EXT_MAX) = { 0 }; in riscv_fill_hwcap_from_ext_list() [all …]
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | cpufeature.h | 26 DECLARE_BITMAP(isa, RISCV_ISA_EXT_MAX); 143 compiletime_assert(ext < RISCV_ISA_EXT_MAX, "ext must be < RISCV_ISA_EXT_MAX"); in riscv_has_extension_unlikely() 153 compiletime_assert(ext < RISCV_ISA_EXT_MAX, "ext must be < RISCV_ISA_EXT_MAX"); in riscv_has_extension_likely() 163 compiletime_assert(ext < RISCV_ISA_EXT_MAX, "ext must be < RISCV_ISA_EXT_MAX"); in riscv_cpu_has_extension_likely() 174 compiletime_assert(ext < RISCV_ISA_EXT_MAX, "ext must be < RISCV_ISA_EXT_MAX"); in riscv_cpu_has_extension_unlikely()
|
D | hwcap.h | 99 #define RISCV_ISA_EXT_MAX 128 macro
|
D | kvm_host.h | 199 DECLARE_BITMAP(isa, RISCV_ISA_EXT_MAX);
|
/linux-6.12.1/arch/riscv/kvm/ |
D | vcpu.c | 116 bitmap_zero(vcpu->arch.isa, RISCV_ISA_EXT_MAX); in kvm_arch_vcpu_create()
|