Home
last modified time | relevance | path

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

/linux-5.19.10/arch/riscv/include/asm/
Dhwcap.h66 unsigned long riscv_isa_extension_base(const unsigned long *isa_bitmap);
70 bool __riscv_isa_extension_available(const unsigned long *isa_bitmap, int bit);
71 #define riscv_isa_extension_available(isa_bitmap, ext) \ argument
72 __riscv_isa_extension_available(isa_bitmap, RISCV_ISA_EXT_##ext)
/linux-5.19.10/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()