/openbmc/linux/drivers/cpufreq/ |
H A D | speedstep-centrino.c | 237 struct cpu_model *model; in centrino_cpu_init_table() local 239 for(model = models; model->cpu_id != NULL; model++) in centrino_cpu_init_table() 240 if (centrino_verify_cpu_id(cpu, model->cpu_id) && in centrino_cpu_init_table() 241 (model->model_name == NULL || in centrino_cpu_init_table() 242 strcmp(cpu->x86_model_id, model->model_name) == 0)) in centrino_cpu_init_table() 245 if (model->cpu_id == NULL) { in centrino_cpu_init_table() 253 if (model->op_points == NULL) { in centrino_cpu_init_table() 261 per_cpu(centrino_model, policy->cpu) = model; in centrino_cpu_init_table() 264 model->model_name, model->max_freq); in centrino_cpu_init_table()
|
/openbmc/linux/drivers/input/mouse/ |
H A D | logips2pp.c | 32 u8 model; member 207 static const struct ps2pp_info *get_model_info(unsigned char model) in get_model_info() argument 260 if (model == ps2pp_list[i].model) in get_model_info() 362 u8 model, buttons; in ps2pp_detect() local 374 model = ((param[0] >> 4) & 0x07) | ((param[0] << 3) & 0x78); in ps2pp_detect() 377 if (!model || !buttons) in ps2pp_detect() 380 model_info = get_model_info(model); in ps2pp_detect() 422 model); in ps2pp_detect() 427 psmouse->model = model; in ps2pp_detect()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-thrustmaster.c | 103 uint16_t model; member 113 uint16_t model; member 223 uint16_t model = 0; in thrustmaster_model_handler() local 233 model = le16_to_cpu(tm_wheel->response->data.a.model); in thrustmaster_model_handler() 235 model = le16_to_cpu(tm_wheel->response->data.b.model); in thrustmaster_model_handler() 242 if (tm_wheels_infos[i].wheel_type == model) in thrustmaster_model_handler() 246 hid_info(hdev, "Wheel with model id 0x%x is a %s\n", model, twi->wheel_name); in thrustmaster_model_handler() 248 …hid_err(hdev, "Unknown wheel's model id 0x%x, unable to proceed further with wheel init\n", model); in thrustmaster_model_handler()
|
/openbmc/u-boot/arch/arm/mach-uniphier/ |
H A D | cpu-info.c | 17 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/linux/tools/power/x86/turbostat/ |
H A D | turbostat.c | 278 double discover_bclk(unsigned int family, unsigned int model); 2426 void prewake_cstate_probe(unsigned int family, unsigned int model); 2516 int has_turbo_ratio_group_limits(int family, int model) in has_turbo_ratio_group_limits() argument 2525 switch (model) { in has_turbo_ratio_group_limits() 2538 static void dump_turbo_ratio_limits(int trl_msr_offset, int family, int model) in dump_turbo_ratio_limits() argument 2547 if (has_turbo_ratio_group_limits(family, model)) { in dump_turbo_ratio_limits() 3700 int probe_nhm_msrs(unsigned int family, unsigned int model) in probe_nhm_msrs() argument 3712 bclk = discover_bclk(family, model); in probe_nhm_msrs() 3714 switch (model) { in probe_nhm_msrs() 3788 int has_slv_msrs(unsigned int family, unsigned int model) in has_slv_msrs() argument [all …]
|
/openbmc/linux/arch/s390/kvm/ |
H A D | kvm-s390.c | 772 set_kvm_facility(kvm->arch.model.fac_mask, 129); in kvm_vm_ioctl_enable_cap() 773 set_kvm_facility(kvm->arch.model.fac_list, 129); in kvm_vm_ioctl_enable_cap() 775 set_kvm_facility(kvm->arch.model.fac_mask, 134); in kvm_vm_ioctl_enable_cap() 776 set_kvm_facility(kvm->arch.model.fac_list, 134); in kvm_vm_ioctl_enable_cap() 779 set_kvm_facility(kvm->arch.model.fac_mask, 135); in kvm_vm_ioctl_enable_cap() 780 set_kvm_facility(kvm->arch.model.fac_list, 135); in kvm_vm_ioctl_enable_cap() 783 set_kvm_facility(kvm->arch.model.fac_mask, 148); in kvm_vm_ioctl_enable_cap() 784 set_kvm_facility(kvm->arch.model.fac_list, 148); in kvm_vm_ioctl_enable_cap() 787 set_kvm_facility(kvm->arch.model.fac_mask, 152); in kvm_vm_ioctl_enable_cap() 788 set_kvm_facility(kvm->arch.model.fac_list, 152); in kvm_vm_ioctl_enable_cap() [all …]
|
/openbmc/linux/sound/firewire/tascam/ |
H A D | tascam.c | 48 char model[9]; in identify_model() local 63 model[i] = c; in identify_model() 65 model[i] = '\0'; in identify_model() 68 if (strcmp(model, model_specs[i].name) == 0) { in identify_model() 77 strcpy(tscm->card->shortname, model); in identify_model() 78 strcpy(tscm->card->mixername, model); in identify_model() 80 "TASCAM %s, GUID %08x%08x at %s, S%d", model, in identify_model()
|
/openbmc/linux/Documentation/trace/rv/ |
H A D | da_monitor_instrumentation.rst | 13 * are translated into model's event. 47 instrumentation section translates *kernel events* into the *model's 54 functions* for each of the three events from the wip model. The developer 64 The preempt_disable event from the model connects directly to the 79 preempt_enable event will be used to synchronize the system to the model. 81 Initially, the *model* is placed in the initial state. However, the *system* 87 and the model are expected to return to the initial state after the 89 system and the model at the initialization of the monitoring section. 142 is used to connect the wip model events to the relative kernel event. dot2k automatically 143 adds "rv_attach_trace_probe()" function call for each model event in the enable phase, as [all …]
|
/openbmc/linux/sound/pci/oxygen/ |
H A D | oxygen_mixer.c | 22 info->count = chip->model.dac_channels_mixer; in dac_volume_info() 23 info->value.integer.min = chip->model.dac_volume_min; in dac_volume_info() 24 info->value.integer.max = chip->model.dac_volume_max; in dac_volume_info() 35 for (i = 0; i < chip->model.dac_channels_mixer; ++i) in dac_volume_get() 50 for (i = 0; i < chip->model.dac_channels_mixer; ++i) in dac_volume_put() 56 chip->model.update_dac_volume(chip); in dac_volume_put() 82 chip->model.update_dac_mute(chip); in dac_mute_put() 90 if (chip->model.dac_channels_pcm < 8) in upmix_item_count() 92 else if (chip->model.update_center_lfe_mix) in upmix_item_count() 171 if (chip->model.adjust_dac_routing) in oxygen_update_dac_routing() [all …]
|
/openbmc/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_drv.c | 254 strscpy(mdev->model, vsp1->info->model, sizeof(mdev->model)); in vsp1_create_entities() 683 .model = "VSP1-S", 695 .model = "VSP1-R", 705 .model = "VSP1-D", 716 .model = "VSP1-S", 728 .model = "VSP1V-S", 739 .model = "VSP1V-D", 750 .model = "VSP2-I", 761 .model = "VSP2-BD", 770 .model = "VSP2-BC", [all …]
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-sx150x.c | 77 u8 model; member 151 .model = SX150X_123, 171 .model = SX150X_123, 194 .model = SX150X_123, 217 .model = SX150X_456, 236 .model = SX150X_456, 258 .model = SX150X_456, 281 .model = SX150X_789, 302 .model = SX150X_789, 323 .model = SX150X_789, [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | pxe-test.c | 27 const char *model; /* NIC device model */ member 81 test->model, extra); in test_pxe_one() 111 if (!qtest_has_device(test->model)) { in test_batch() 116 test->machine, test->model); in test_batch() 122 test->machine, test->model); in test_batch()
|
/openbmc/u-boot/doc/driver-model/ |
H A D | serial-howto.txt | 1 How to port a serial driver to driver model 14 model. Please feel free to update this file with your ideas and suggestions. 18 - If the board does not already use driver model, you need CONFIG_DM also 26 - If you convert all existing users of the driver, remove the pre-driver-model 31 - add driver model code 32 - convert at least one existing board to use driver model serial 33 - (if no boards remain that don't use driver model) remove the old code
|
H A D | i2c-howto.txt | 1 How to port a serial driver to driver model 24 model. Please feel free to update this file with your ideas and suggestions. 28 - If the board does not already use driver model, you need CONFIG_DM also 36 - If you convert all existing users of the driver, remove the pre-driver-model 41 - add driver model code 42 - convert at least one existing board to use driver model serial 43 - (if no boards remain that don't use driver model) remove the old code
|
/openbmc/qemu/docs/system/ |
H A D | cpu-models-mips.rst.inc | 1 Supported CPU model configurations on MIPS hosts 10 Administrators / applications are recommended to use the CPU model that 13 compatibility is required, use the newest CPU model that is compatible 42 Administrators / applications are recommended to use the CPU model that 45 compatibility is required, use the newest CPU model that is compatible 86 Administrators / applications are recommended to use the CPU model that 89 compatibility is required, use the newest CPU model that is compatible
|
/openbmc/linux/arch/m68k/atari/ |
H A D | config.c | 70 static void atari_get_model(char *model); 575 static void atari_get_model(char *model) in atari_get_model() argument 577 strcpy(model, "Atari "); in atari_get_model() 581 strcat(model, "Mega ST"); in atari_get_model() 583 strcat(model, "ST"); in atari_get_model() 587 strcat(model, "Mega STE"); in atari_get_model() 589 strcat(model, "STE"); in atari_get_model() 594 strcat(model, "Medusa"); in atari_get_model() 596 strcat(model, "TT"); in atari_get_model() 599 strcat(model, "Falcon"); in atari_get_model() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | sr_vendor.c | 71 const char *model = cd->device->model; in sr_vendor_init() local 84 if (!strncmp(model, "CD-ROM DRIVE:25", 15) || in sr_vendor_init() 85 !strncmp(model, "CD-ROM DRIVE:36", 15) || in sr_vendor_init() 86 !strncmp(model, "CD-ROM DRIVE:83", 15) || in sr_vendor_init() 87 !strncmp(model, "CD-ROM DRIVE:84 ", 16) in sr_vendor_init() 91 || !strncmp(model, "CD-ROM DRIVE:500", 16) in sr_vendor_init() 101 !strncmp(model, "Gluco Memory", 12)) { in sr_vendor_init()
|
/openbmc/linux/drivers/s390/char/ |
H A D | raw3270.c | 41 int model, rows, cols; member 446 int rc, model; in raw3270_size_device_vm() local 454 rp->model = 2; in raw3270_size_device_vm() 465 model = diag_data.vrdccrmd; in raw3270_size_device_vm() 467 if (rc || model < 2 || model > 5) in raw3270_size_device_vm() 468 model = 2; in raw3270_size_device_vm() 469 switch (model) { in raw3270_size_device_vm() 471 rp->model = model; in raw3270_size_device_vm() 476 rp->model = model; in raw3270_size_device_vm() 481 rp->model = model; in raw3270_size_device_vm() [all …]
|
/openbmc/linux/sound/firewire/dice/ |
H A D | dice.c | 37 int key, val, vendor = -1, model = -1; in check_dice_category() local 53 model = val; in check_dice_category() 67 device->config_rom[4] >> 22 != model) in check_dice_category() 101 char vendor[32], model[32]; in dice_card_strings() local 122 strcpy(model, "?"); in dice_card_strings() 123 fw_csr_string(dice->unit->directory, CSR_MODEL, model, sizeof(model)); in dice_card_strings() 126 vendor, model, dev->config_rom[4] & 0x3fffff, in dice_card_strings() 248 #define DICE_DEV_ENTRY_TYPICAL(vendor, model, data) \ argument 255 .model_id = (model), \
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | nspire-clock.txt | 5 "lsi,nspire-cx-ahb-divider" for the AHB divider in the CX model 6 "lsi,nspire-classic-ahb-divider" for the AHB divider in the older model 7 "lsi,nspire-cx-clock" for the base clock in the CX model 8 "lsi,nspire-classic-clock" for the base clock in the older model
|
/openbmc/linux/sound/pci/ymfpci/ |
H A D | ymfpci.c | 164 const char *str, *model; in __snd_card_ymfpci_probe() local 182 case 0x0004: str = "YMF724"; model = "DS-1"; break; in __snd_card_ymfpci_probe() 183 case 0x000d: str = "YMF724F"; model = "DS-1"; break; in __snd_card_ymfpci_probe() 184 case 0x000a: str = "YMF740"; model = "DS-1L"; break; in __snd_card_ymfpci_probe() 185 case 0x000c: str = "YMF740C"; model = "DS-1L"; break; in __snd_card_ymfpci_probe() 186 case 0x0010: str = "YMF744"; model = "DS-1S"; break; in __snd_card_ymfpci_probe() 187 case 0x0012: str = "YMF754"; model = "DS-1E"; break; in __snd_card_ymfpci_probe() 188 default: model = str = "???"; break; in __snd_card_ymfpci_probe() 192 sprintf(card->shortname, "Yamaha %s (%s)", model, str); in __snd_card_ymfpci_probe()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | processor.c | 242 #define p ((unsigned long *)&boot_cpu_data.pdc.model) in collect_boot_cpu_data() 243 if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) { in collect_boot_cpu_data() 248 add_device_randomness(&boot_cpu_data.pdc.model, in collect_boot_cpu_data() 249 sizeof(boot_cpu_data.pdc.model)); in collect_boot_cpu_data() 286 boot_cpu_data.hversion = boot_cpu_data.pdc.model.hversion; in collect_boot_cpu_data() 287 boot_cpu_data.sversion = boot_cpu_data.pdc.model.sversion; in collect_boot_cpu_data() 342 per_cpu(cpu_data, cpunum).fp_model = coproc_cfg.model; in init_per_cpu() 346 cpunum, coproc_cfg.revision, coproc_cfg.model); in init_per_cpu() 453 boot_cpu_data.pdc.model.sw_id); in show_cpuinfo()
|
/openbmc/ibm-logging/ |
H A D | callout.cpp | 50 callout.manufacturer(), callout.model(), callout.partNumber(), in save() 69 std::string model; in load() local 73 archive(id, timestamp, inventoryPath, build, mfgr, model, pn, sn); in load() 80 callout.model(model); in load() 114 model(std::get<std::string>(it->second)); in Callout()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nand_jedec.c | 90 sanitize_string(p->model, sizeof(p->model)); in nand_jedec_detect() 91 chip->parameters.model = kstrdup(p->model, GFP_KERNEL); in nand_jedec_detect() 92 if (!chip->parameters.model) { in nand_jedec_detect()
|
/openbmc/smbios-mdr/src/ |
H A D | sst_mailbox.cpp | 43 PECIManager(uint8_t address, CPUModel model, WakePolicy wakePolicy_) : in PECIManager() 44 peciAddress(address), peciWoken(false), cpuModel(model), in PECIManager() 47 mbBus = (model == iceLake) ? mbBusIceLake : mbBusOther; in PECIManager() 396 CPUModel model; member in cpu_info::sst::SSTMailbox 403 address(_address), model(_model), in SSTMailbox() 404 pm(static_cast<uint8_t>(address), model, wakePolicy) in SSTMailbox() 415 switch (model) in supportsControl() 574 uint8_t address, CPUModel model, WakePolicy wakePolicy) in createMailbox() argument 577 switch (model) in createMailbox() 583 return std::make_unique<SSTMailbox>(address, model, wakePolicy); in createMailbox()
|