Lines Matching defs:ext
498 #define KVM_ISA_EXT_ARR(ext) \
499 [KVM_RISCV_ISA_EXT_##ext] = "KVM_REG_RISCV_ISA_SINGLE | KVM_RISCV_ISA_EXT_" #ext
624 #define KVM_SBI_EXT_ARR(ext) \
625 [ext] = "KVM_REG_RISCV_SBI_SINGLE | " #ext
1081 #define KVM_ISA_EXT_SIMPLE_CONFIG(ext, extu) \
1082 static __u64 regs_##ext[] = { \
1087 static struct vcpu_reg_list config_##ext = { \
1091 .name = #ext, \
1093 .regs = regs_##ext, \
1094 .regs_n = ARRAY_SIZE(regs_##ext), \
1100 #define KVM_SBI_EXT_SIMPLE_CONFIG(ext, extu) \
1101 static __u64 regs_sbi_##ext[] = { \
1106 static struct vcpu_reg_list config_sbi_##ext = { \
1110 .name = "sbi-"#ext, \
1113 .regs = regs_sbi_##ext, \
1114 .regs_n = ARRAY_SIZE(regs_sbi_##ext), \
1120 #define KVM_ISA_EXT_SUBLIST_CONFIG(ext, extu) \
1121 static struct vcpu_reg_list config_##ext = { \
1129 #define KVM_SBI_EXT_SUBLIST_CONFIG(ext, extu) \
1130 static struct vcpu_reg_list config_sbi_##ext = { \