Home
last modified time | relevance | path

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

12345678910>>...174

/openbmc/qemu/target/s390x/
H A Dcpu_models_sysemu.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.c165 if (!cpu || !cpu->model) { in s390_get_hmfai()
168 return cpu->model->def->hmfai; in s390_get_hmfai()
179 if (!cpu || !cpu->model) { in s390_get_mha_pow()
182 return cpu->model->def->mha_pow; in s390_get_mha_pow()
194 if (!cpu || !cpu->model) { in s390_get_ibc_val()
197 unblocked_ibc = s390_ibc_from_cpu_model(cpu->model); in s390_get_ibc_val()
198 lowest_ibc = cpu->model->lowest_ibc; in s390_get_ibc_val()
210 if (!cpu || !cpu->model) { in s390_get_feat_block()
213 s390_fill_feat_block(cpu->model->features, type, data); in s390_get_feat_block()
224 if (!cpu || !cpu->model) { in s390_has_feat()
[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()
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/qapi/
H A Dmachine-target.json12 # Virtual CPU model.
14 # A CPU model consists of the name of a CPU definition, to which delta
20 # @name: the name of the CPU definition the model is based on
33 # An enumeration of CPU model expansion types.
35 # @static: Expand to a static CPU model, a combination of a static
36 # base model name and property delta changes. As the static base
37 # model will never change, the expanded CPU model will be the
40 # model can be used by tooling without having to specify a
41 # compatibility machine - e.g. when displaying the "host" model.
44 # @full: Expand all properties. The produced model is not guaranteed
[all …]
/openbmc/qemu/target/arm/
H A Darm-qmp-cmds.c102 CpuModelInfo *model, in qmp_query_cpu_model_expansion() argument
118 if (!kvm_enabled() && !strcmp(model->name, "host")) { in qmp_query_cpu_model_expansion()
119 error_setg(errp, "The CPU type '%s' requires KVM", model->name); 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()
148 "with KVM on this host", model->name); in qmp_query_cpu_model_expansion()
155 if (model->props) { 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-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/linux/sound/pci/oxygen/
H A Doxygen.c203 data->dacs = chip->model.dac_channels_pcm / 2; in ak4396_init()
759 chip->model = model_generic; in get_oxygen_model()
763 chip->model.init = meridian_init; in get_oxygen_model()
764 chip->model.mixer_init = meridian_mixer_init; in get_oxygen_model()
765 chip->model.resume = meridian_resume; in get_oxygen_model()
766 chip->model.set_adc_params = set_ak5385_params; in get_oxygen_model()
767 chip->model.dump_registers = dump_ak4396_registers; in get_oxygen_model()
768 chip->model.device_config = PLAYBACK_0_TO_I2S | in get_oxygen_model()
773 chip->model.device_config |= AC97_CD_INPUT; in get_oxygen_model()
776 chip->model.init = claro_init; 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()
184 chip->model.gpio_changed(chip); in oxygen_gpio_changed()
229 if (chip->model.dump_registers) in oxygen_proc_read()
230 chip->model.dump_registers(chip, buffer); in oxygen_proc_read()
359 chip->dac_volume[i] = chip->model.dac_volume_min; in oxygen_init()
376 chip->model.function_flags, in oxygen_init()
388 chip->model.misc_flags, in oxygen_init()
404 chip->model.dac_i2s_format | in oxygen_init()
[all …]
H A Dxonar_pcm179x.c258 if ((chip->model.function_flags & OXYGEN_FUNCTION_2WIRE_SPI_MASK) == in pcm1796_write()
382 data->pcm179x.dacs = chip->model.dac_channels_mixer / 2; in xonar_hdav_init()
383 data->pcm179x.h6 = chip->model.dac_channels_mixer > 2; in xonar_hdav_init()
413 data->dacs = chip->model.dac_channels_mixer / 2; in xonar_st_init_common()
414 data->h6 = chip->model.dac_channels_mixer > 2; in xonar_st_init_common()
462 data->h6 = chip->model.dac_channels_mixer > 2; in xonar_st_init()
1280 chip->model = model_xonar_d2; in get_xonar_pcm179x_model()
1281 chip->model.shortname = "Xonar D2"; in get_xonar_pcm179x_model()
1284 chip->model = model_xonar_d2; in get_xonar_pcm179x_model()
1285 chip->model.shortname = "Xonar D2X"; in get_xonar_pcm179x_model()
[all …]
H A Doxygen_pcm.c129 (chip->model.device_config & CAPTURE_2_FROM_AC97_1)) in oxygen_open()
135 if (chip->model.device_config & CAPTURE_1_FROM_SPDIF) { in oxygen_open()
146 runtime->hw.channels_max = chip->model.dac_channels_pcm; in oxygen_open()
149 if (chip->model.pcm_hardware_filter) in oxygen_open()
150 chip->model.pcm_hardware_filter(channel, &runtime->hw); in oxygen_open()
330 mclks = chip->model.dac_mclks; in get_mclk()
332 mclks = chip->model.adc_mclks; in get_mclk()
360 chip->model.adc_i2s_format | in oxygen_rec_a_hw_params()
370 chip->model.set_adc_params(chip, hw_params); in oxygen_rec_a_hw_params()
387 (chip->model.device_config & CAPTURE_2_FROM_AC97_1); in oxygen_rec_b_hw_params()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_devinfo.c24 char model[16]; member
52 char *model; member
325 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument
328 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add()
351 int scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, in scsi_dev_info_list_add_keyed() argument
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()
385 vendor, model, flags & __BLIST_UNUSED_MASK); in scsi_dev_info_list_add_keyed()
416 const char *model, enum scsi_devinfo_key key) in scsi_dev_info_list_find() argument
447 mmax = sizeof(devinfo->model); in scsi_dev_info_list_find()
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Dcpu_device_id.h82 .model = _model, \
93 .model = _model, \
114 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \ argument
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, \
[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/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/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/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/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/linux/arch/powerpc/platforms/chrp/
H A Dsetup.c103 const char *model = ""; in chrp_show_cpuinfo() local
107 model = of_get_property(root, "model", NULL); in chrp_show_cpuinfo()
108 seq_printf(m, "machine\t\t: CHRP %s\n", model); in chrp_show_cpuinfo()
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()
[all …]
/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/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/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()

12345678910>>...174