Lines Matching full:ext
45 #define riscv_cpu_isa_vendor_extension_available(cpu, vendor, ext) \ argument
46 __riscv_isa_vendor_extension_available(cpu, vendor, RISCV_ISA_VENDOR_EXT_##ext)
47 #define riscv_isa_vendor_extension_available(vendor, ext) \ argument
49 RISCV_ISA_VENDOR_EXT_##ext)
52 const unsigned long ext) in riscv_has_vendor_extension_likely() argument
59 ext + RISCV_VENDOR_EXT_ALTERNATIVES_BASE); in riscv_has_vendor_extension_likely()
61 return __riscv_isa_vendor_extension_available(VENDOR_EXT_ALL_CPUS, vendor, ext); in riscv_has_vendor_extension_likely()
65 const unsigned long ext) in riscv_has_vendor_extension_unlikely() argument
72 ext + RISCV_VENDOR_EXT_ALTERNATIVES_BASE); in riscv_has_vendor_extension_unlikely()
74 return __riscv_isa_vendor_extension_available(VENDOR_EXT_ALL_CPUS, vendor, ext); in riscv_has_vendor_extension_unlikely()
78 int cpu, const unsigned long ext) in riscv_cpu_has_vendor_extension_likely() argument
84 __riscv_has_extension_likely(vendor, ext + RISCV_VENDOR_EXT_ALTERNATIVES_BASE)) in riscv_cpu_has_vendor_extension_likely()
87 return __riscv_isa_vendor_extension_available(cpu, vendor, ext); in riscv_cpu_has_vendor_extension_likely()
92 const unsigned long ext) in riscv_cpu_has_vendor_extension_unlikely() argument
98 __riscv_has_extension_unlikely(vendor, ext + RISCV_VENDOR_EXT_ALTERNATIVES_BASE)) in riscv_cpu_has_vendor_extension_unlikely()
101 return __riscv_isa_vendor_extension_available(cpu, vendor, ext); in riscv_cpu_has_vendor_extension_unlikely()