Lines Matching full:vendor

15  * The extension keys of each vendor must be strictly less than this value.
36 * The alternatives need some way of distinguishing between vendor extensions
37 * and errata. Incrementing all of the vendor extension keys so they are at
44 bool __riscv_isa_vendor_extension_available(int cpu, unsigned long vendor, unsigned int bit);
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
48 __riscv_isa_vendor_extension_available(VENDOR_EXT_ALL_CPUS, vendor, \
51 static __always_inline bool riscv_has_vendor_extension_likely(const unsigned long vendor, in riscv_has_vendor_extension_likely() argument
58 return __riscv_has_extension_likely(vendor, 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()
64 static __always_inline bool riscv_has_vendor_extension_unlikely(const unsigned long vendor, in riscv_has_vendor_extension_unlikely() argument
71 return __riscv_has_extension_unlikely(vendor, 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()
77 static __always_inline bool riscv_cpu_has_vendor_extension_likely(const unsigned long vendor, 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()
90 static __always_inline bool riscv_cpu_has_vendor_extension_unlikely(const unsigned long vendor, 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()