/qemu/target/s390x/ |
H A D | cpu_features.c | 35 return &s390_features[feat]; in s390_feat_def() 40 S390Feat feat; in s390_feat_by_type_and_bit() local 42 for (feat = 0; feat < ARRAY_SIZE(s390_features); feat++) { in s390_feat_by_type_and_bit() 45 return feat; in s390_feat_by_type_and_bit() 69 S390Feat feat; in s390_fill_feat_block() local 103 while (feat < S390_FEAT_MAX) { in s390_fill_feat_block() 109 feat = find_next_bit(features, S390_FEAT_MAX, feat + 1); in s390_fill_feat_block() 180 if (feat < S390_FEAT_MAX) { in s390_add_from_feat_block() 192 S390Feat feat; in s390_feat_bitmap_to_ascii() local 209 while (feat < S390_FEAT_MAX) { in s390_feat_bitmap_to_ascii() [all …]
|
H A D | cpu_models.c | 207 bool s390_has_feat(S390Feat feat) in s390_has_feat() argument 218 if (feat == S390_FEAT_VECTOR) { in s390_has_feat() 225 if (feat == S390_FEAT_MSA_EXT_3) { in s390_has_feat() 230 if (feat == S390_FEAT_ZPCI) { in s390_has_feat() 238 switch (feat) { in s390_has_feat() 402 S390Feat feat; in s390_cpu_list() local 412 for (feat = 0; feat < S390_FEAT_MAX; feat++) { in s390_cpu_list() 666 set_bit(feat, cpu->model->features); in set_feature() 668 clear_bit(feat, cpu->model->features); in set_feature() 830 S390Feat feat; in s390_cpu_model_class_register_props() local [all …]
|
H A D | gen-features.c | 960 uint64_t feat[S390_FEAT_MAX / 64 + 1] = {}; in print_qemu_feature_defs() local 967 set_bits(feat, QemuFeatDef[i].bits); in print_qemu_feature_defs() 970 for (j = 0; j < ARRAY_SIZE(feat); j++) { in print_qemu_feature_defs() 971 printf("0x%016"PRIx64"ULL", feat[j]); in print_qemu_feature_defs() 972 if (j < ARRAY_SIZE(feat) - 1) { in print_qemu_feature_defs() 988 uint64_t feat[S390_FEAT_MAX / 64 + 1] = {}; in print_feature_group_defs() local 990 set_bits(feat, FeatGroupDef[i].bits); in print_feature_group_defs() 992 for (j = 0; j < ARRAY_SIZE(feat); j++) { in print_feature_group_defs() 993 printf("0x%016"PRIx64"ULL", feat[j]); in print_feature_group_defs() 994 if (j < ARRAY_SIZE(feat) - 1) { in print_feature_group_defs()
|
H A D | cpu_models.h | 76 void s390_cpudef_featoff(uint8_t gen, uint8_t ec_ga, S390Feat feat); 77 void s390_cpudef_featoff_greater(uint8_t gen, uint8_t ec_ga, S390Feat feat); 93 bool s390_has_feat(S390Feat feat);
|
H A D | cpu_features.h | 63 const S390FeatDef *s390_feat_def(S390Feat feat); 78 S390FeatBitmap feat; /* features contained in the group */ member
|
/qemu/hw/timer/ |
H A D | sh_timer.c | 45 int feat; member 75 if (s->feat & TIMER_FEAT_CAPT) { in sh_timer_read() 131 if (s->feat & TIMER_FEAT_EXTCLK) { in sh_timer_write() 145 if (s->feat & TIMER_FEAT_EXTCLK) { in sh_timer_write() 158 if (s->feat & TIMER_FEAT_CAPT) { in sh_timer_write() 193 if (s->feat & TIMER_FEAT_CAPT) { in sh_timer_write() 234 s->feat = feat; in sh_timer_init() 260 int feat; member 324 if (s->feat & TMU012_FEAT_3CHAN) { in tmu012_write() 355 s->feat = feat; in tmu012_init() [all …]
|
/qemu/tests/qapi-schema/ |
H A D | doc-good.json | 64 # @enum-feat: Also _one_ {and only} 65 # @enum-member-feat: a member feature 71 'features': [ 'enum-member-feat' ] }, 73 'features': [ 'enum-feat' ], 96 # @variant1-feat: a feature 97 # @member-feat: a member feature 100 'features': [ 'variant1-feat' ], 102 'features': [ 'member-feat' ], 133 # @alt-feat: a feature 136 'features': [ 'alt-feat' ],
|
H A D | doc-good.out | 16 feature enum-member-feat 19 feature enum-feat 26 feature member-feat 27 feature variant1-feat 41 feature alt-feat 110 feature=enum-feat 112 feature=enum-member-feat 131 feature=variant1-feat 133 feature=member-feat 152 feature=alt-feat
|
H A D | doc-good.txt | 56 "enum-feat" 59 "enum-member-feat" 108 "variant1-feat" 111 "member-feat" 156 "alt-feat"
|
H A D | doc-duplicate-features.json | 7 # @feat: mumble 11 { 'command': 'foo', 'features': ['feat'] }
|
H A D | test-qapi.py | 131 for feat, section in doc.features.items(): 132 print(' feature=%s\n%s' % (feat, section.text))
|
/qemu/hw/char/ |
H A D | sh_serial.c | 66 uint8_t feat; member 103 s->smr = val & ((s->feat & SH_SERIAL_FEAT_SCIF) ? 0x7b : 0xff); in sh_serial_write() 110 s->scr = val & ((s->feat & SH_SERIAL_FEAT_SCIF) ? 0xfa : 0xff); in sh_serial_write() 114 if ((s->feat & SH_SERIAL_FEAT_SCIF) && s->txi) { in sh_serial_write() 139 if (s->feat & SH_SERIAL_FEAT_SCIF) { in sh_serial_write() 235 if (s->feat & SH_SERIAL_FEAT_SCIF) { in sh_serial_read() 328 if (s->feat & SH_SERIAL_FEAT_SCIF) { in sh_serial_receive_break() 353 if (s->feat & SH_SERIAL_FEAT_SCIF) { in sh_serial_receive1() 405 if (s->feat & SH_SERIAL_FEAT_SCIF) { in sh_serial_reset() 452 DEFINE_PROP_UINT8("features", SHSerialState, feat, 0),
|
/qemu/scripts/ |
H A D | cpu-x86-uarch-abi.py | 156 for feat in models[name]["features"]: 157 allfeatures[feat] = True 161 for feat in allfeatures: 166 if feat not in models[name]["features"]: 169 commonfeatures.append(feat)
|
/qemu/bsd-user/arm/ |
H A D | target_arch_elf.h | 37 #define GET_FEATURE(feat, hwcap) \ argument 38 do { if (arm_feature(&cpu->env, feat)) { hwcaps |= hwcap; } } while (0) 40 #define GET_FEATURE_ID(feat, hwcap) \ argument 41 do { if (cpu_isar_feature(feat, cpu)) { hwcaps |= hwcap; } } while (0)
|
/qemu/tests/qtest/fuzz/ |
H A D | virtio_scsi_fuzz.c | 40 uint64_t feat; in qvirtio_scsi_init() local 45 feat = qvirtio_get_features(dev); in qvirtio_scsi_init() 47 feat &= ~QVIRTIO_F_BAD_FEATURE | mask; in qvirtio_scsi_init() 49 feat &= ~(QVIRTIO_F_BAD_FEATURE | (1ull << VIRTIO_RING_F_EVENT_IDX)); in qvirtio_scsi_init() 51 qvirtio_set_features(dev, feat); in qvirtio_scsi_init()
|
/qemu/scripts/qapi/ |
H A D | expr.py | 434 for feat in features: 436 assert isinstance(feat, dict) 437 check_keys(feat, info, source, ['name'], ['if']) 438 check_name_is_str(feat['name'], info, source) 439 source = "%s '%s'" % (source, feat['name']) 440 check_name_lower(feat['name'], info, source) 441 check_if(feat, info, source)
|
H A D | gen.py | 45 for feat in features if feat.is_special()]
|
H A D | events.py | 120 feat=f.name)
|
/qemu/target/riscv/tcg/ |
H A D | tcg-cpu.c | 166 const RISCVCPUMultiExtConfig *feat; in cpu_cfg_ext_get_name() local 175 for (feat = riscv_cpu_named_features; feat->name != NULL; feat++) { in cpu_cfg_ext_get_name() 176 if (feat->offset == ext_offset) { in cpu_cfg_ext_get_name() 177 return feat->name; in cpu_cfg_ext_get_name() 186 const RISCVCPUMultiExtConfig *feat; in cpu_cfg_offset_is_named_feat() local 188 for (feat = riscv_cpu_named_features; feat->name != NULL; feat in cpu_cfg_offset_is_named_feat() [all...] |
/qemu/include/hw/timer/ |
H A D | tmu012.h | 19 int feat, uint32_t freq,
|
/qemu/tests/qtest/libqos/ |
H A D | virtio-pci.c | 207 uint64_t feat; in qvirtio_pci_virtqueue_setup_common() local 213 feat = d->bus->get_guest_features(d); in qvirtio_pci_virtqueue_setup_common() 222 vqpci->vq.indirect = feat & (1ull << VIRTIO_RING_F_INDIRECT_DESC); in qvirtio_pci_virtqueue_setup_common() 223 vqpci->vq.event = feat & (1ull << VIRTIO_RING_F_EVENT_IDX); in qvirtio_pci_virtqueue_setup_common()
|
/qemu/linux-headers/asm-s390/ |
H A D | kvm.h | 448 __u64 feat[16]; member 487 __u64 feat; member
|
/qemu/linux-headers/linux/ |
H A D | userfaultfd.h | 121 } feat; member
|
/qemu/target/i386/kvm/ |
H A D | kvm.c | 1339 int feat; in kvm_hyperv_expand_features() local 1404 for (feat = 0; feat < ARRAY_SIZE(kvm_hyperv_properties); feat++) { in kvm_hyperv_expand_features() 1405 if (hyperv_feature_supported(cs, feat)) { in kvm_hyperv_expand_features() 1406 cpu->hyperv_features |= BIT(feat); in kvm_hyperv_expand_features() 1411 for (feat = 0; feat < ARRAY_SIZE(kvm_hyperv_properties); feat++) { in kvm_hyperv_expand_features() 1413 if (!hyperv_feat_enabled(cpu, feat)) { in kvm_hyperv_expand_features() 1418 if (!hyperv_feature_supported(cs, feat)) { in kvm_hyperv_expand_features() 1420 kvm_hyperv_properties[feat].desc); in kvm_hyperv_expand_features() 1425 if (!hv_feature_check_deps(cpu, feat, &local_err)) { in kvm_hyperv_expand_features()
|
/qemu/linux-user/ |
H A D | elfload.c | 521 #define GET_FEATURE(feat, hwcap) \ in get_elf_hwcap() argument 522 do { if (arm_feature(&cpu->env, feat)) { hwcaps |= hwcap; } } while (0) in get_elf_hwcap() 524 #define GET_FEATURE_ID(feat, hwcap) \ in get_elf_hwcap() argument 525 do { if (cpu_isar_feature(feat, cpu)) { hwcaps |= hwcap; } } while (0) in get_elf_hwcap() 785 #define GET_FEATURE_ID(feat, hwcap) \ argument 786 do { if (cpu_isar_feature(feat, cpu)) { hwcaps |= hwcap; } } while (0)
|