Home
last modified time | relevance | path

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

/linux-6.12.1/arch/riscv/kernel/
Dcpufeature.c47 unsigned long riscv_isa_extension_base(const unsigned long *isa_bitmap) in riscv_isa_extension_base() argument
49 if (!isa_bitmap) in riscv_isa_extension_base()
51 return isa_bitmap[0]; in riscv_isa_extension_base()
65 bool __riscv_isa_extension_available(const unsigned long *isa_bitmap, unsigned int bit) in __riscv_isa_extension_available() argument
67 const unsigned long *bmap = (isa_bitmap) ? isa_bitmap : riscv_isa; in __riscv_isa_extension_available()
77 const unsigned long *isa_bitmap) in riscv_ext_zicbom_validate() argument
91 const unsigned long *isa_bitmap) in riscv_ext_zicboz_validate() argument
105 const unsigned long *isa_bitmap) in riscv_ext_zca_depends() argument
107 if (__riscv_isa_extension_available(isa_bitmap, RISCV_ISA_EXT_ZCA)) in riscv_ext_zca_depends()
113 const unsigned long *isa_bitmap) in riscv_ext_zcd_validate() argument
[all …]
Dcpu.c265 static void print_isa(struct seq_file *f, const unsigned long *isa_bitmap, int cpu) in print_isa() argument
274 if (!__riscv_isa_extension_available(isa_bitmap, riscv_isa_ext[i].id)) in print_isa()
/linux-6.12.1/arch/riscv/include/asm/
Dcpufeature.h98 int (*validate)(const struct riscv_isa_ext_data *data, const unsigned long *isa_bitmap);
105 unsigned long riscv_isa_extension_base(const unsigned long *isa_bitmap);
109 bool __riscv_isa_extension_available(const unsigned long *isa_bitmap, unsigned int bit);
110 #define riscv_isa_extension_available(isa_bitmap, ext) \ argument
111 __riscv_isa_extension_available(isa_bitmap, RISCV_ISA_EXT_##ext)