Home
last modified time | relevance | path

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

/Linux-v6.1/arch/riscv/include/asm/
Dhwcap.h102 unsigned long riscv_isa_extension_base(const unsigned long *isa_bitmap);
106 bool __riscv_isa_extension_available(const unsigned long *isa_bitmap, int bit);
107 #define riscv_isa_extension_available(isa_bitmap, ext) \ argument
108 __riscv_isa_extension_available(isa_bitmap, RISCV_ISA_EXT_##ext)
/Linux-v6.1/arch/riscv/kernel/
Dcpufeature.c42 unsigned long riscv_isa_extension_base(const unsigned long *isa_bitmap) in riscv_isa_extension_base() argument
44 if (!isa_bitmap) in riscv_isa_extension_base()
46 return isa_bitmap[0]; in riscv_isa_extension_base()
60 bool __riscv_isa_extension_available(const unsigned long *isa_bitmap, int bit) in __riscv_isa_extension_available() argument
62 const unsigned long *bmap = (isa_bitmap) ? isa_bitmap : riscv_isa; in __riscv_isa_extension_available()