Home
last modified time | relevance | path

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

12345678910>>...54

/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()
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()
109 else if (info->model[4] == '0' && info->model[5] == '3') in read_eeprom()
[all …]
/openbmc/qemu/target/s390x/
H A Dcpu_models_system.c27 const S390CPUModel *model, in check_unavailable_features() argument
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()
91 list_data.model = get_max_cpu_model(NULL); in qmp_query_cpu_definitions()
[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()
121 bool kvm_s390_get_host_cpu_model(S390CPUModel *model, Error **errp);
122 bool kvm_s390_apply_cpu_model(const S390CPUModel *model, Error **errp);
H A Dcpu_models.c167 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()
215 s390_fill_feat_block(cpu->model->features, type, data); in s390_get_feat_block()
226 if (!cpu || !cpu->model) { in s390_has_feat()
[all …]
/openbmc/qemu/target/arm/
H A Darm-qmp-cmds.c104 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()
157 if (model->props) { 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()
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/u-boot/tools/
H A Dmicrocode-tool.py36 self.model = '%x' % self.words[3]
121 def List(date, microcodes, model): argument
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
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)
[all …]
H A Dmicrocode-tool36 self.model = '%x' % self.words[3]
121 def List(date, microcodes, model): argument
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
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)
[all …]
/openbmc/phosphor-power/tools/power-utils/
H A Dmodel.cpp37 namespace model namespace
105 std::string model = pmbus.readString(fileName, type); in getModelJson() local
106 return model; in getModelJson()
131 std::string model = pmbus->readString(fileName, type); in getModelDbus() local
132 return model; in getModelDbus()
139 std::string model; in getModel() local
145 model = internal::getModelJson(psuInventoryPath); in getModel()
150 model = internal::getModelDbus(bus, psuInventoryPath); in getModel()
157 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/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/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/u-boot/common/
H A Dboard_info.c20 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/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)]; \
/openbmc/qemu/linux-user/alpha/
H A Dtarget_proc.h14 char model[32]; in open_cpuinfo() local
21 assert(t < sizeof(model)); in open_cpuinfo()
22 memcpy(model, p, t); in open_cpuinfo()
23 model[t] = 0; in open_cpuinfo()
60 model, TARGET_PAGE_SIZE, TARGET_PHYS_ADDR_SPACE_BITS, in open_cpuinfo()
/openbmc/phosphor-psu-code-mgmt/tools/
H A Dgenerate-psu-tar10 --model <model> PSU FW model
85 model=""
101 --model)
102 model="$2"
151 if [ -z "${model}" ]; then
203 extended_version=model=$model,manufacturer=$manufacturer" > $manifest_location
/openbmc/u-boot/doc/device-tree-bindings/exynos/
H A Dsoc.txt1 Exynos SoC model
3 The "cpu-model" property is a non-standard extension for the device tree root
12 - cpu-model : Exynos product name
17 model = "Samsung/Google Peach Pi board based on Exynos5800";
18 cpu-model = "Exynos5800";
/openbmc/u-boot/arch/arm/mach-uniphier/
H A Dcpu-info.c17 unsigned int id, model, rev, required_model = 1, required_rev = 1; in print_cpuinfo() local
20 model = uniphier_get_soc_model(); in print_cpuinfo()
59 printf(" (model %d, revision %d)\n", model, rev); in print_cpuinfo()
61 if (model < required_model) { in print_cpuinfo()
/openbmc/webui-vue/src/components/Mixins/
H A DVuelidateMixin.js3 getValidationState(model) { argument
4 if (!model) return null;
5 const { $dirty, $error } = model;
/openbmc/qemu/target/riscv/
H A Driscv-qmp-cmds.c170 CpuModelInfo *model, in qmp_query_cpu_model_expansion() argument
184 oc = cpu_class_by_name(TYPE_RISCV_CPU, model->name); in qmp_query_cpu_model_expansion()
187 model->name); in qmp_query_cpu_model_expansion()
200 if (model->props) { in qmp_query_cpu_model_expansion()
201 riscv_cpuobj_validate_qdict_in(obj, model->props, "model.props", in qmp_query_cpu_model_expansion()
218 expansion_info->model = g_malloc0(sizeof(*expansion_info->model)); in qmp_query_cpu_model_expansion()
219 expansion_info->model->name = g_strdup(model->name); in qmp_query_cpu_model_expansion()
236 expansion_info->model->props = QOBJECT(qdict_out); in qmp_query_cpu_model_expansion()
/openbmc/qemu/target/i386/
H A Dhost-cpu.c107 void host_cpu_vendor_fms(char *vendor, int *family, int *model, int *stepping) in host_cpu_vendor_fms() argument
114 if (!family && !model && !stepping) { in host_cpu_vendor_fms()
122 if (model) { in host_cpu_vendor_fms()
123 *model = x86_cpu_model(eax); in host_cpu_vendor_fms()
136 int family, model, stepping; in host_cpu_instance_init() local
143 host_cpu_vendor_fms(vendor, &family, &model, &stepping); in host_cpu_instance_init()
156 object_property_set_int(OBJECT(cpu), "model", model, &error_abort); in host_cpu_instance_init()
H A Dcpu-system.c154 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()
191 CpuModelInfo *model, in qmp_query_cpu_model_expansion() argument
200 xc = x86_cpu_from_model(model->name, model->props, "model.props", &err); in qmp_query_cpu_model_expansion()
206 ret->model = g_new0(CpuModelInfo, 1); in qmp_query_cpu_model_expansion()
207 ret->model->props = QOBJECT(props); in qmp_query_cpu_model_expansion()
220 base_name = model->name; in qmp_query_cpu_model_expansion()
230 ret->model->name = g_strdup(base_name); in qmp_query_cpu_model_expansion()
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dtaskexp.py36 def __init__(self, model, dep_type, label): argument
40 self.filter_model = model.filter_new()
45 def _filter(self, model, iter, data): argument
46 this_type = model[iter][COL_DEP_TYPE]
47 package = model[iter][COL_DEP_PARENT]
57 def __init__(self, model, label): argument
60 self.filter_model = model.filter_new()
72 def _filter(self, model, iter, data): argument
73 package = model[iter][COL_DEP_PACKAGE]
143 model = treeview.get_model()
[all …]
/openbmc/u-boot/board/raspberrypi/rpi/
H A Drpi.c244 static const struct rpi_model *model; variable
296 fdtfile = model->fdtfile; in set_fdtfile()
330 if (!model->has_onboard_eth) in set_usbethaddr()
366 env_set("board_name", model->name); in set_board_info()
449 model = &rpi_model_unknown; in get_board_rev()
452 model = &rpi_model_unknown; in get_board_rev()
454 model = &models[rev_type]; in get_board_rev()
457 printf("RPI %s (0x%x)\n", model->name, revision); in get_board_rev()
/openbmc/u-boot/doc/driver-model/
H A DMIGRATION.txt4 U-Boot has been migrating to a new driver model since its introduction in
5 2014. This file describes the schedule for deprecation of pre-driver-model
15 switching over to using CONFIG_DM_MMC and other base driver model options in
26 other base driver model options in time for inclusion in the 2019.07 rerelease.
36 other base driver model options in time for inclusion in the 2019.07 rerelease.
95 The PCI subsystem has supported driver model since mid 2015. Maintainers should
97 model options in time for inclusion in the 2019.07 release.
104 The video subsystem has supported driver model since early 2016. Maintainers
106 driver model options in time for inclusion in the 2019.07 release.

12345678910>>...54