Home
last modified time | relevance | path

Searched full:model (Results 1 – 25 of 2355) sorted by relevance

12345678910>>...95

/openbmc/qemu/target/s390x/
H A Dcpu_models_system.c27 const S390CPUModel *model, in check_unavailable_features() argument
32 /* check general model compatibility */ in check_unavailable_features()
33 if (max_model->def->gen < model->def->gen || in check_unavailable_features()
34 (max_model->def->gen == model->def->gen && in check_unavailable_features()
35 max_model->def->ec_ga < model->def->ec_ga)) { in check_unavailable_features()
40 bitmap_andnot(missing, model->features, max_model->features, in check_unavailable_features()
49 S390CPUModel *model; member
69 if (cpu_list_data->model) { in create_cpu_model_list()
74 if (sc->model) { in create_cpu_model_list()
76 check_unavailable_features(cpu_list_data->model, sc->model, in create_cpu_model_list()
[all …]
H A Dcpu_models.c92 CPUDEF_INIT(0x3907, 14, 1, 47, 0x08000000U, "z14ZR1", "IBM z14 Model ZR1 GA1"),
106 /* features part of a base model but not relevant for finding a base model */
167 if (!cpu || !cpu->model) { in s390_get_hmfai()
170 return cpu->model->def->hmfai; in s390_get_hmfai()
181 if (!cpu || !cpu->model) { in s390_get_mha_pow()
184 return cpu->model->def->mha_pow; in s390_get_mha_pow()
196 if (!cpu || !cpu->model) { in s390_get_ibc_val()
199 unblocked_ibc = s390_ibc_from_cpu_model(cpu->model); in s390_get_ibc_val()
200 lowest_ibc = cpu->model->lowest_ibc; in s390_get_ibc_val()
212 if (!cpu || !cpu->model) { in s390_get_feat_block()
[all …]
H A Dcpu_models.h43 /* CPU model based on a CPU definition */
47 /* values copied from the "host" model, can change during migration */
83 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()
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/logging/
H A Dphosphor-logging_%.bbappend5 SRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json"
6 SRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json"
7 SRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json"
8 SRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json"
9 FILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Raini…
10 FILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Raini…
11 FILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Evere…
12 FILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Bonne…
20 …com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/c…
21 …com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/c…
[all …]
/openbmc/phosphor-power/tools/power-utils/
H A Dmodel.cpp18 #include "model.hpp"
37 namespace model namespace
44 * @brief Get the PSU model from sysfs.
52 * @return PSU model
79 // Get sysfs filename from JSON for Model information in getModelJson()
88 if (fru.contains("propertyName") && (fru["propertyName"] == "Model") && in getModelJson()
97 throw std::runtime_error{"Unable to find file name for Model"}; in getModelJson()
103 // Read model from sysfs file in getModelJson()
105 std::string model = pmbus.readString(fileName, type); in getModelJson() local
106 return model; in getModelJson()
[all …]
/openbmc/u-boot/tools/
H A Dmicrocode-tool.py17 """Holds information about the microcode for a particular model of CPU.
22 model: Model code string (this is cpuid(1).eax, e.g. '206a7')
35 # The model is in the 4rd hex word
36 self.model = '%x' % self.words[3]
121 def List(date, microcodes, model): argument
127 model: Model string to search for, or None
130 if model:
131 mcode_list, tried = FindMicrocode(microcodes, model.lower())
137 print '%-20s: model %s' % (mcode.name, mcode.model)
139 def FindMicrocode(microcodes, model): argument
[all …]
H A Dmicrocode-tool17 """Holds information about the microcode for a particular model of CPU.
22 model: Model code string (this is cpuid(1).eax, e.g. '206a7')
35 # The model is in the 4rd hex word
36 self.model = '%x' % self.words[3]
121 def List(date, microcodes, model): argument
127 model: Model string to search for, or None
130 if model:
131 mcode_list, tried = FindMicrocode(microcodes, model.lower())
137 print '%-20s: model %s' % (mcode.name, mcode.model)
139 def FindMicrocode(microcodes, model): argument
[all …]
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/configuration/romulus-yaml-config/
H A Dromulus-ipmi-fru.yaml62 Model:
101 Model:
102 IPMIFruProperty: Model Number
129 Model:
130 IPMIFruProperty: Model Number
157 Model:
158 IPMIFruProperty: Model Number
185 Model:
186 IPMIFruProperty: Model Number
213 Model:
[all …]
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/configuration/ethanolx-yaml-config/
H A Dethanolx-ipmi-fru.yaml89 Model:
128 Model:
129 IPMIFruProperty: Model Number
156 Model:
157 IPMIFruProperty: Model Number
184 Model:
185 IPMIFruProperty: Model Number
212 Model:
213 IPMIFruProperty: Model Number
240 Model:
[all …]
/openbmc/openbmc/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/
H A Ddaytonax-ipmi-fru.yaml89 Model:
128 Model:
129 IPMIFruProperty: Model Number
156 Model:
157 IPMIFruProperty: Model Number
184 Model:
185 IPMIFruProperty: Model Number
212 Model:
213 IPMIFruProperty: Model Number
240 Model:
[all …]
/openbmc/u-boot/board/gateworks/gw_ventana/
H A Deeprom.c48 if (info->model[0] != 'G' || info->model[1] != 'W') { in read_eeprom()
49 puts("EEPROM: Invalid Model in EEPROM\n"); in read_eeprom()
67 baseboard = info->model[3]; in read_eeprom()
68 if (strncasecmp((const char *)info->model, "GW5400-A", 8) == 0) in read_eeprom()
89 if (info->model[4] == '1') { in read_eeprom()
92 } else if (info->model[4] == '2') { in read_eeprom()
95 } else if (info->model[4] == '3') { in read_eeprom()
101 if (info->model[4] == '0') 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()
[all …]
/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/u-boot/board/raspberrypi/rpi/
H A Drpi.c80 "Unknown model",
87 "Model A",
92 "Model B",
97 "Model A+",
102 "Model B+",
107 "2 Model B",
117 "3 Model B",
137 "3 Model B+",
142 "3 Model A+",
155 "Model B",
[all …]
/openbmc/u-boot/common/
H A Dboard_info.c13 * If the root node of the DTB has a "model" property, show it.
20 const char *model; in show_board_info() local
22 model = fdt_getprop(gd->fdt_blob, 0, "model", NULL); in show_board_info()
24 if (model) in show_board_info()
25 printf("Model: %s\n", model); in show_board_info()
/openbmc/openbmc/poky/bitbake/lib/toaster/orm/fixtures/
H A Dpoky.xml4 <object model="orm.toastersetting" pk="1">
10 <object model="orm.bitbakeversion" pk="1">
16 <object model="orm.bitbakeversion" pk="2">
22 <object model="orm.bitbakeversion" pk="3">
28 <object model="orm.bitbakeversion" pk="4">
34 <object model="orm.bitbakeversion" pk="5">
40 <object model="orm.bitbakeversion" pk="6">
46 <object model="orm.bitbakeversion" pk="7">
55 <object model="orm.release" pk="1">
62 <object model="orm.release" pk="2">
[all …]
H A Doe-core.xml4 <object model="orm.toastersetting" pk="1">
10 <object model="orm.bitbakeversion" pk="1">
15 <object model="orm.bitbakeversion" pk="2">
20 <object model="orm.bitbakeversion" pk="3">
25 <object model="orm.bitbakeversion" pk="4">
30 <object model="orm.bitbakeversion" pk="5">
35 <object model="orm.bitbakeversion" pk="6">
40 <object model="orm.bitbakeversion" pk="7">
47 <object model="orm.release" pk="1">
54 <object model="orm.release" pk="2">
[all …]
H A Dsettings.xml5 <object model="orm.toastersetting" pk="2">
9 <object model="orm.toastersetting" pk="3">
13 <object model="orm.toastersetting" pk="4">
17 <object model="orm.toastersetting" pk="5">
21 <object model="orm.toastersetting" pk="6">
25 <object model="orm.toastersetting" pk="7">
29 <object model="orm.toastersetting" pk="8">
/openbmc/u-boot/drivers/power/regulator/
H A DKconfig2 bool "Enable Driver Model for REGULATOR drivers (UCLASS_REGULATOR)"
5 This config enables the driver model regulator support.
47 bool "Enable Driver Model for REGULATOR PFUZE100"
50 This config enables implementation of driver-model regulator uclass
68 This config enables implementation of driver-model regulator uclass
72 bool "Enable Driver Model for REGULATOR MAX77686"
75 This config enables implementation of driver-model regulator uclass
80 bool "Enable Driver Model for REGULATOR FAN53555"
83 This config enables implementation of driver-model regulator
96 bool "Enable Driver Model for REGULATOR Fixed value"
[all …]
/openbmc/qemu/target/arm/
H A Darm-qmp-cmds.c88 * These are cpu model features we want to advertise. The order here
104 CpuModelInfo *model, in qmp_query_cpu_model_expansion() argument
120 if (!kvm_enabled() && !strcmp(model->name, "host")) { in qmp_query_cpu_model_expansion()
121 error_setg(errp, "The CPU type '%s' requires KVM", model->name); in qmp_query_cpu_model_expansion()
125 oc = cpu_class_by_name(TYPE_ARM_CPU, model->name); in qmp_query_cpu_model_expansion()
128 model->name); in qmp_query_cpu_model_expansion()
135 if (!strcmp(model->name, "host") || !strcmp(model->name, "max")) { in qmp_query_cpu_model_expansion()
142 if (strlen(model->name) == len && in qmp_query_cpu_model_expansion()
143 !strncmp(model->name, cpu_type, len)) { in qmp_query_cpu_model_expansion()
150 "with KVM on this host", model->name); in qmp_query_cpu_model_expansion()
[all …]
/openbmc/qemu/target/loongarch/
H A Dloongarch-qmp-cmds.c48 CpuModelInfo *model, in qmp_query_cpu_model_expansion() argument
65 if (model->props) { in qmp_query_cpu_model_expansion()
66 visitor = qobject_input_visitor_new(model->props); in qmp_query_cpu_model_expansion()
67 if (!visit_start_struct(visitor, "model.props", NULL, 0, errp)) { in qmp_query_cpu_model_expansion()
80 oc = cpu_class_by_name(TYPE_LOONGARCH_CPU, model->name); in qmp_query_cpu_model_expansion()
83 model->name); in qmp_query_cpu_model_expansion()
90 expansion_info->model = g_malloc0(sizeof(*expansion_info->model)); in qmp_query_cpu_model_expansion()
91 expansion_info->model->name = g_strdup(model->name); in qmp_query_cpu_model_expansion()
111 expansion_info->model->props = QOBJECT(qdict_out); in qmp_query_cpu_model_expansion()
/openbmc/qemu/tests/functional/
H A Dtest_cpu_queries.py17 Run query-cpu-model-expansion for each CPU model, and validate results
31 model = {'name': c['name']}
32 e = self.vm.cmd('query-cpu-model-expansion', model=model,
34 self.assertEqual(e['model']['name'], c['name'])
/openbmc/qemu/docs/system/
H A Dcpu-models-x86.rst.inc1 Recommendations for KVM CPU model configuration on x86 hosts
15 This passes the host CPU model features, model, stepping, exactly to
16 the guest. Note that KVM may filter out some host CPU model features
22 (2) **Named model**
34 model". This uses the QEMU "Named model" feature, automatically picking
35 a CPU model that is similar the host CPU, and then adding extra features
36 to approximate the host model as closely as possible. This does not
51 lists the long term stable CPU model versions (eg Haswell-v4).
52 In addition to what is listed, there are also many CPU model
53 aliases which resolve to a different CPU model version,
[all …]
/openbmc/qemu/scripts/
H A Dcpu-x86-uarch-abi.py6 # compatibility levels for each CPU model.
65 # the CPU model definitions, as does KVM.
81 "model",
82 "model-id",
88 for model in models:
89 if "alias-of" in model:
91 names.append(model["name"])
96 cpu = shell.cmd("query-cpu-model-expansion",
98 model={ "name": name })
101 for (feature, present) in cpu["model"]["props"].items():
[all …]
/openbmc/openbmc/poky/meta/recipes-support/boost/boost/
H A D0001-dont-setup-compiler-flags-m32-m64.patch24 - # Handle address-model
25 - compile-link-flags <target-os>aix/<address-model>32 : -maix32 ;
26 - compile-link-flags <target-os>aix/<address-model>64 : -maix64 ;
28 - compile-link-flags <target-os>hpux/<address-model>32 : -milp32 ;
29 - compile-link-flags <target-os>hpux/<address-model>64 : -mlp64 ;
32 - compile-link-flags <target-os>$(generic-os)/<architecture>s390x/<address-model>32 : -m31 ;
33 - compile-link-flags <target-os>$(generic-os)/<architecture>s390x/<address-model>64 : -m64 ;
35 - compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>32 : -m32 ;
36 - compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>64 : -m64 ;
/openbmc/qemu/target/i386/
H A Dcpu-system.c43 "model", in x86_cpu_static_props()
45 "model-id", in x86_cpu_static_props()
84 /* Convert CPU model data from X86CPU object to a property dictionary
85 * that can recreate exactly the same CPU model.
98 /* Convert CPU model data from X86CPU object to a property dictionary
99 * that can recreate exactly the same CPU model, including every
153 /* Create X86CPU object according to model+props specification */
154 static X86CPU *x86_cpu_from_model(const char *model, QObject *props, in x86_cpu_from_model() argument
161 xcc = X86_CPU_CLASS(cpu_class_by_name(TYPE_X86_CPU, model)); in x86_cpu_from_model()
163 error_setg(&err, "CPU model '%s' not found", model); in x86_cpu_from_model()
[all …]

12345678910>>...95