Searched refs:isa_bitmap (Results 1 – 3 of 3) sorted by relevance
47 unsigned long riscv_isa_extension_base(const unsigned long *isa_bitmap) in riscv_isa_extension_base() argument49 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() argument67 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() argument91 const unsigned long *isa_bitmap) in riscv_ext_zicboz_validate() argument105 const unsigned long *isa_bitmap) in riscv_ext_zca_depends() argument107 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 …]
265 static void print_isa(struct seq_file *f, const unsigned long *isa_bitmap, int cpu) in print_isa() argument274 if (!__riscv_isa_extension_available(isa_bitmap, riscv_isa_ext[i].id)) in print_isa()
98 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) \ argument111 __riscv_isa_extension_available(isa_bitmap, RISCV_ISA_EXT_##ext)