Home
last modified time | relevance | path

Searched refs:model (Results 1 – 25 of 2860) sorted by relevance

12345678910>>...115

/openbmc/qemu/target/s390x/
H A Dcpu_models_sysemu.c49 S390CPUModel *model; member
76 check_unavailable_features(cpu_list_data->model, sc->model, in create_cpu_model_list()
122 if (!cpu->model) { in cpu_model_from_info()
158 memcpy(model, cpu->model, sizeof(*model)); in cpu_model_from_info()
184 bitmap_andnot(bitmap, model->def->base_feat, model->features, in cpu_info_from_model()
191 bitmap_andnot(bitmap, model->features, model->def->base_feat, in cpu_info_from_model()
237 expansion_info->model = g_malloc0(sizeof(*expansion_info->model)); in qmp_query_cpu_model_expansion()
398 bitmap_and(model.features, model.features, model.def->full_feat, in qmp_query_cpu_model_baseline()
402 baseline_info->model = g_malloc0(sizeof(*baseline_info->model)); in qmp_query_cpu_model_baseline()
403 cpu_info_from_model(baseline_info->model, &model, true); in qmp_query_cpu_model_baseline()
[all …]
H A Dcpu_models.c596 if (!cpu->model) { in s390_realize_cpu_model()
637 if (!cpu->model) { in get_feature()
690 if (!cpu->model) { in get_feature_group()
733 bitmap_or(cpu->model->features, cpu->model->features, def->feat, in set_feature_group()
736 bitmap_andnot(cpu->model->features, cpu->model->features, def->feat, in set_feature_group()
746 cpu->model = g_malloc0(sizeof(*cpu->model)); in s390_cpu_model_initfn()
751 bitmap_copy(cpu->model->features, cpu->model->def->base_feat, in s390_cpu_model_initfn()
783 cpu->model = g_malloc0(sizeof(*cpu->model)); in s390_qemu_cpu_model_initfn()
785 memcpy(cpu->model, &s390_qemu_cpu_model, sizeof(*cpu->model)); in s390_qemu_cpu_model_initfn()
810 memcpy(cpu->model, max_model, sizeof(*cpu->model)); in s390_max_cpu_model_initfn()
[all …]
H A Dcpu_models.h83 static inline uint16_t s390_ibc_from_cpu_model(const S390CPUModel *model) in s390_ibc_from_cpu_model() argument
87 if (model->def->gen >= S390_GEN_Z10) { in s390_ibc_from_cpu_model()
88 ibc = ((model->def->gen - S390_GEN_Z10) << 4) + model->def->ec_ga; in s390_ibc_from_cpu_model()
107 static inline uint64_t s390_cpuid_from_cpu_model(const S390CPUModel *model) in s390_cpuid_from_cpu_model() argument
109 return ((uint64_t)model->cpu_ver << 56) | in s390_cpuid_from_cpu_model()
110 ((uint64_t)model->cpu_id << CPU_ID_SHIFT) | in s390_cpuid_from_cpu_model()
111 ((uint64_t)model->def->type << 16) | in s390_cpuid_from_cpu_model()
112 (model->def->gen == 7 ? 0 : (uint64_t)model->cpu_id_format << 15); in s390_cpuid_from_cpu_model()
118 bool kvm_s390_get_host_cpu_model(S390CPUModel *model, Error **errp);
119 bool kvm_s390_apply_cpu_model(const S390CPUModel *model, Error **errp);
/openbmc/u-boot/board/gateworks/gw_ventana/
H A Deeprom.c48 if (info->model[0] != 'G' || info->model[1] != 'W') { in read_eeprom()
67 baseboard = info->model[3]; in read_eeprom()
105 if (info->model[4] == '0' && info->model[5] == '1') in read_eeprom()
107 else if (info->model[4] == '0' && info->model[5] == '2') in read_eeprom()
109 else if (info->model[4] == '0' && info->model[5] == '3') in read_eeprom()
111 else if (info->model[4] == '0' && info->model[5] == '4') in read_eeprom()
113 else if (info->model[4] == '0' && info->model[5] == '5') in read_eeprom()
115 else if (info->model[4] == '0' && info->model[5] == '6') in read_eeprom()
117 else if (info->model[4] == '0' && info->model[5] == '7') in read_eeprom()
119 else if (info->model[4] == '0' && info->model[5] == '8') in read_eeprom()
[all …]
/openbmc/qemu/qapi/
H A Dmachine-target.json12 # Virtual CPU model.
37 # model will never change, the expanded CPU model will be the
69 # @incompatible: If model A is incompatible to model B, model A is not
72 # @identical: If model A is identical to model B, model A is
75 # @superset: If model A is a superset of model B, model B is
79 # @subset: If model A is a subset of model B, model A is guaranteed to
136 # model of a certain configuration (e.g. the "host" model for KVM).
188 # third model. The created model will always be a static,
189 # migration-safe CPU model (see "static" CPU model expansion for
269 # Expands a given CPU model, @model, (or a combination of CPU model +
[all …]
/openbmc/linux/Documentation/devicetree/bindings/arm/bcm/
H A Dbcm2835.yaml23 - raspberrypi,4-model-b
29 - raspberrypi,model-a
30 - raspberrypi,model-a-plus
31 - raspberrypi,model-b
33 - raspberrypi,model-b-rev2
34 - raspberrypi,model-b-plus
36 - raspberrypi,model-zero
37 - raspberrypi,model-zero-w
43 - raspberrypi,2-model-b
49 - raspberrypi,3-model-a-plus
[all …]
/openbmc/qemu/target/arm/
H A Darm-qmp-cmds.c118 if (!kvm_enabled() && !strcmp(model->name, "host")) { in qmp_query_cpu_model_expansion()
123 oc = cpu_class_by_name(TYPE_ARM_CPU, model->name); in qmp_query_cpu_model_expansion()
126 model->name); in qmp_query_cpu_model_expansion()
133 if (!strcmp(model->name, "host") || !strcmp(model->name, "max")) { in qmp_query_cpu_model_expansion()
140 if (strlen(model->name) == len && in qmp_query_cpu_model_expansion()
141 !strncmp(model->name, cpu_type, len)) { in qmp_query_cpu_model_expansion()
155 if (model->props) { in qmp_query_cpu_model_expansion()
159 visitor = qobject_input_visitor_new(model->props); in qmp_query_cpu_model_expansion()
166 qdict_in = qobject_to(QDict, model->props); in qmp_query_cpu_model_expansion()
194 expansion_info->model = g_malloc0(sizeof(*expansion_info->model)); in qmp_query_cpu_model_expansion()
[all …]
/openbmc/linux/drivers/hwmon/
H A Dk8temp.c39 static int is_rev_g_desktop(u8 model) in is_rev_g_desktop() argument
43 if (model < 0x69) in is_rev_g_desktop()
46 if (model == 0xc1 || model == 0x6c || model == 0x7c) in is_rev_g_desktop()
58 if ((model == 0x6f || model == 0x7f) && in is_rev_g_desktop()
63 if (model == 0x6b && in is_rev_g_desktop()
137 u8 model, stepping; in k8temp_probe() local
145 model = boot_cpu_data.x86_model; in k8temp_probe()
149 if ((model == 4 && stepping == 0) || in k8temp_probe()
150 (model == 5 && stepping <= 1)) in k8temp_probe()
157 if (model >= 0x40) { in k8temp_probe()
[all …]
/openbmc/u-boot/tools/
H A Dmicrocode-tool36 self.model = '%x' % self.words[3]
121 def List(date, microcodes, model): argument
130 if model:
139 def FindMicrocode(microcodes, model): argument
158 mcode = microcodes.get(model)
165 abbrev = model[:-i] if i else model
168 if mcode.model.startswith(abbrev):
290 List(date, microcodes, options.model)
294 if not options.model:
296 model = options.model.lower()
[all …]
H A Dmicrocode-tool.py36 self.model = '%x' % self.words[3]
121 def List(date, microcodes, model): argument
130 if model:
139 def FindMicrocode(microcodes, model): argument
158 mcode = microcodes.get(model)
165 abbrev = model[:-i] if i else model
168 if mcode.model.startswith(abbrev):
290 List(date, microcodes, options.model)
294 if not options.model:
296 model = options.model.lower()
[all …]
/openbmc/qemu/target/loongarch/
H A Dloongarch-qmp-cmds.c47 CpuModelInfo *model, in qmp_query_cpu_model_expansion() argument
64 if (model->props) { in qmp_query_cpu_model_expansion()
65 visitor = qobject_input_visitor_new(model->props); in qmp_query_cpu_model_expansion()
79 oc = cpu_class_by_name(TYPE_LOONGARCH_CPU, model->name); in qmp_query_cpu_model_expansion()
82 model->name); in qmp_query_cpu_model_expansion()
89 expansion_info->model = g_malloc0(sizeof(*expansion_info->model)); in qmp_query_cpu_model_expansion()
90 expansion_info->model->name = g_strdup(model->name); in qmp_query_cpu_model_expansion()
110 expansion_info->model->props = QOBJECT(qdict_out); in qmp_query_cpu_model_expansion()
/openbmc/linux/arch/x86/include/asm/
H A Dcpu_device_id.h82 .model = _model, \
93 .model = _model, \
115 X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(vendor, family, model, \
176 #define X86_MATCH_VENDOR_FAM_MODEL(vendor, family, model, data) \ argument
177 X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, \
208 #define X86_MATCH_INTEL_FAM6_MODEL(model, data) \ argument
209 X86_MATCH_VENDOR_FAM_MODEL(INTEL, 6, INTEL_FAM6_##model, data)
211 #define X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(model, steppings, data) \ argument
212 X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(INTEL, 6, INTEL_FAM6_##model, \
283 #define INTEL_CPU_DESC(model, stepping, revision) { \ argument
[all …]
/openbmc/linux/sound/pci/oxygen/
H A Doxygen.c759 chip->model = model_generic; in get_oxygen_model()
763 chip->model.init = meridian_init; in get_oxygen_model()
776 chip->model.init = claro_init; in get_oxygen_model()
780 chip->model.resume = claro_resume; in get_oxygen_model()
783 chip->model.init = claro_halo_init; in get_oxygen_model()
787 chip->model.resume = claro_resume; in get_oxygen_model()
800 chip->model.chip = "CMI8787"; in get_oxygen_model()
802 chip->model.init = fantasia_init; in get_oxygen_model()
805 chip->model.resume = stereo_resume; in get_oxygen_model()
815 chip->model.dac_channels_pcm = 2; in get_oxygen_model()
[all …]
H A Doxygen_lib.c49 if (chip->model.uart_input) in oxygen_read_uart()
50 chip->model.uart_input(chip); in oxygen_read_uart()
183 if (chip->model.gpio_changed) in oxygen_gpio_changed()
388 chip->model.misc_flags, in oxygen_init()
575 chip->model.cleanup(chip); in oxygen_card_free()
647 chip->model.init(chip); in __oxygen_pci_probe()
725 if (chip->model.suspend) in oxygen_pci_suspend()
726 chip->model.suspend(chip); in oxygen_pci_suspend()
783 if (chip->model.resume) in oxygen_pci_resume()
784 chip->model.resume(chip); in oxygen_pci_resume()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_devinfo.c24 char model[16]; member
52 char *model; member
370 scsi_strcpy_devinfo("model", devinfo->model, sizeof(devinfo->model), in scsi_dev_info_list_add_keyed()
371 model, compatible); in scsi_dev_info_list_add_keyed()
447 mmax = sizeof(devinfo->model); in scsi_dev_info_list_find()
448 mskip = model; in scsi_dev_info_list_find()
471 mlen = strnlen(devinfo->model, sizeof(devinfo->model)); in scsi_dev_info_list_find()
478 !memcmp(devinfo->model, model, in scsi_dev_info_list_find()
550 model = strsep(&next, ":"); in scsi_dev_info_list_add_str()
551 if (model) in scsi_dev_info_list_add_str()
[all …]
/openbmc/phosphor-power/tools/power-utils/
H A Dmodel.cpp38 namespace model namespace
106 std::string model = pmbus.readString(fileName, type); in getModelJson() local
107 return model; in getModelJson()
132 std::string model = pmbus->readString(fileName, type); in getModelDbus() local
133 return model; in getModelDbus()
140 std::string model; in getModel() local
146 model = internal::getModelJson(psuInventoryPath); in getModel()
151 model = internal::getModelDbus(bus, psuInventoryPath); in getModel()
158 return model; in getModel()
/openbmc/qemu/linux-user/s390x/
H A Dtarget_proc.h49 S390CPUModel *model = env_archcpu(cpu_env)->model; in show_cpu_summary() local
77 i, model->cpu_ver, cpu_ident(i), model->def->type); in show_cpu_summary()
83 S390CPUModel *model = env_archcpu(cpu_env)->model; in show_cpu_ids() local
85 dprintf(fd, "version : %02X\n", model->cpu_ver); in show_cpu_ids()
87 dprintf(fd, "machine : %04X\n", model->def->type); in show_cpu_ids()
/openbmc/linux/drivers/macintosh/
H A Dvia-pmu-led.c85 const char *model; in via_pmu_led_init() local
94 model = of_get_property(dt, "model", NULL); in via_pmu_led_init()
95 if (model == NULL) { in via_pmu_led_init()
99 if (strncmp(model, "PowerBook", strlen("PowerBook")) != 0 && in via_pmu_led_init()
100 strncmp(model, "iBook", strlen("iBook")) != 0 && in via_pmu_led_init()
101 strcmp(model, "PowerMac7,2") != 0 && in via_pmu_led_init()
102 strcmp(model, "PowerMac7,3") != 0) { in via_pmu_led_init()
/openbmc/u-boot/drivers/demo/
H A DKconfig1 menu "Demo for driver model"
7 This uclass allows you to play around with driver model. It provides
13 bool "Enable simple demo device for driver model"
16 This device allows you to play around with driver model. It prints
18 this device. It can be used to help understand how driver model
22 bool "Enable shape demo device for driver model"
25 This device allows you to play around with driver model. It prints
27 this device. It can be used to help understand how driver model
/openbmc/linux/sound/pci/hda/
H A Dcs35l41_hda_property.c94 const struct cs35l41_prop_model *model; in cs35l41_add_dsd_properties() local
96 for (model = cs35l41_prop_model_table; model->hid; model++) { in cs35l41_add_dsd_properties()
97 if (!strcmp(model->hid, hid) && in cs35l41_add_dsd_properties()
98 (!model->ssid || in cs35l41_add_dsd_properties()
100 !strcmp(model->ssid, cs35l41->acpi_subsystem_id)))) in cs35l41_add_dsd_properties()
101 return model->add_prop(cs35l41, physdev, id, hid); in cs35l41_add_dsd_properties()
/openbmc/linux/tools/perf/arch/s390/util/
H A Dheader.c33 char type[8], model[33], version[8], manufacturer[32], authorization[8]; in get_cpuid() local
52 memset(model, 0, sizeof(model)); in get_cpuid()
83 mdsize += scnprintf(model + mdsize, sizeof(model) - mdsize, in get_cpuid()
84 "%s%s", model[0] ? "," : "", cp); in get_cpuid()
92 if (!manufacturer[0] || !type[0] || !model[0]) in get_cpuid()
132 manufacturer, type, model, version, in get_cpuid()
136 model); in get_cpuid()
/openbmc/linux/arch/powerpc/platforms/chrp/
H A Dsetup.c103 const char *model = ""; in chrp_show_cpuinfo() local
111 if (model && !strncmp(model, "IBM,LongTrail", 13)) { in chrp_show_cpuinfo()
124 model = "4 MB"; in chrp_show_cpuinfo()
127 model = "8 MB"; in chrp_show_cpuinfo()
130 model = "16 MB"; in chrp_show_cpuinfo()
133 model = "32 MB"; in chrp_show_cpuinfo()
136 model = "64 MB"; in chrp_show_cpuinfo()
139 model = "128 MB"; in chrp_show_cpuinfo()
142 model = "Reserved"; in chrp_show_cpuinfo()
199 const char *model; in sio_init() local
[all …]
/openbmc/linux/arch/alpha/kernel/
H A Dpc873xx.c13 static unsigned int base, model; variable
23 return pc873xx_names[model]; in pc873xx_get_model()
54 model = PC87332; in pc873xx_probe()
57 model = PC87306; in pc873xx_probe()
60 model = PC87334; in pc873xx_probe()
63 model = PC87303; in pc873xx_probe()
/openbmc/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_hwdb.c10 .model = 0x400,
42 .model = 0x520,
73 .model = 0x7000,
105 .model = 0x7000,
137 .model = 0x7000,
168 .model = 0x7000,
200 .model = 0x8000,
232 .model = 0x8000,
274 if (etnaviv_chip_identities[i].model == ident->model && in etnaviv_fill_identity_from_hwdb()
/openbmc/qemu/hw/block/
H A Dm25p80_sfdp.c14 #define define_sfdp_read(model) \ argument
15 uint8_t m25p80_sfdp_##model(uint32_t addr) \
17 assert(is_power_of_2(sizeof(sfdp_##model))); \
18 return sfdp_##model[addr & (sizeof(sfdp_##model) - 1)]; \

12345678910>>...115