| /linux/arch/x86/kernel/cpu/microcode/ |
| H A D | intel-ucode-defs.h | 1 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x03, … 2 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x05, … 3 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x05, … 4 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x05, … 5 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x05, … 6 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x06, … 7 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x06, … 8 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x06, … 9 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x06, … 10 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x07, … [all …]
|
| /linux/drivers/hwmon/ |
| H A D | k8temp.c | 39 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 …]
|
| /linux/drivers/scsi/ |
| H A D | scsi_devinfo.c | 24 char model[16]; member 51 char *model; member 321 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument 324 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add() 347 int scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, in scsi_dev_info_list_add_keyed() argument 366 scsi_strcpy_devinfo("model", devinfo->model, sizeof(devinfo->model), in scsi_dev_info_list_add_keyed() 367 model, compatible); in scsi_dev_info_list_add_keyed() 381 vendor, model, flags & __BLIST_UNUSED_MASK); in scsi_dev_info_list_add_keyed() 412 const char *model, enum scsi_devinfo_key key) in scsi_dev_info_list_find() argument 443 mmax = sizeof(devinfo->model); in scsi_dev_info_list_find() [all …]
|
| 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()
|
| /linux/arch/powerpc/platforms/chrp/ |
| H A D | setup.c | 103 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 …]
|
| H A D | pci.c | 214 const char *model, *machine; in chrp_find_bridges() local 267 model = of_get_property(dev, "model", NULL); in chrp_find_bridges() 268 if (model == NULL) in chrp_find_bridges() 269 model = "<none>"; in chrp_find_bridges() 270 if (strncmp(model, "IBM, Python", 11) == 0) { in chrp_find_bridges() 273 || strncmp(model, "Motorola, Grackle", 17) == 0) { in chrp_find_bridges() 284 } else if (!strncmp(model, "IBM,CPC710", 10)) { in chrp_find_bridges() 301 dev, model); in chrp_find_bridges()
|
| /linux/tools/memory-model/ |
| H A D | README | 9 This directory contains the memory consistency model (memory model, for 33 For example, a future version of herd7 might not work with the model 34 in this release. A compatible model will likely be made available in 37 If you absolutely need to run the model in this particular release, 40 klitmus7 is independent of the model provided here. It has its own 46 memory model maintainers. 66 The memory model is used, in conjunction with "herd7", to exhaustively 69 tests is available in tools/memory-model/Documentation/litmus-tests.txt. 73 tools/memory-model/litmu [all...] |
| /linux/arch/alpha/kernel/ |
| H A D | pc873xx.c | 13 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()
|
| /linux/arch/arm64/kernel/ |
| H A D | cpu_errata.c | 35 return midr_is_cpu_model_range(read_cpuid_id(), range->model, in is_midr_in_range() 40 range->model, in is_midr_in_range() 49 while (ranges->model) in is_midr_in_range_list() 101 u32 model; in is_kryo_midr() local 105 model = read_cpuid_id(); in is_kryo_midr() 106 model &= MIDR_IMPLEMENTOR_MASK | (0xf00 << MIDR_PARTNUM_SHIFT) | in is_kryo_midr() 109 return model == entry->midr_range.model; in is_kryo_midr() 178 #define CAP_MIDR_RANGE(model, v_min, r_min, v_max, r_max) \ argument 180 .midr_range = MIDR_RANGE(model, v_min, r_min, v_max, r_max) 182 #define CAP_MIDR_ALL_VERSIONS(model) \ argument [all …]
|
| /linux/drivers/comedi/drivers/ |
| H A D | vmk80xx.c | 109 enum vmk80xx_model model; member 123 .model = VMK8055_MODEL, 133 .model = VMK8061_MODEL, 151 enum vmk80xx_model model; member 186 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_read_packet() 207 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_write_packet() 247 switch (devpriv->model) { in vmk80xx_ai_insn_read() 267 if (devpriv->model == VMK8055_MODEL) { in vmk80xx_ai_insn_read() 296 switch (devpriv->model) { in vmk80xx_ao_insn_write() 366 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_di_insn_bits() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-glorious.c | 48 const char *model = "Device"; in glorious_update_name() local 52 model = "Model O"; break; in glorious_update_name() 54 model = "Model D"; break; in glorious_update_name() 56 model = "Model I"; break; in glorious_update_name() 59 snprintf(hdev->name, sizeof(hdev->name), "%s %s", "Glorious", model); in glorious_update_name()
|
| H A D | hid-thrustmaster.c | 103 uint16_t model; member 113 uint16_t model; member 224 uint16_t model = 0; in thrustmaster_model_handler() local 234 model = le16_to_cpu(tm_wheel->response->data.a.model); in thrustmaster_model_handler() 236 model = le16_to_cpu(tm_wheel->response->data.b.model); in thrustmaster_model_handler() 243 if (tm_wheels_infos[i].wheel_type == model) in thrustmaster_model_handler() 247 hid_info(hdev, "Wheel with model id 0x%x is a %s\n", model, twi->wheel_name); in thrustmaster_model_handler() 249 …hid_err(hdev, "Unknown wheel's model id 0x%x, unable to proceed further with wheel init\n", model); in thrustmaster_model_handler()
|
| /linux/drivers/input/joystick/ |
| H A D | tmdc.c | 261 const struct tmdc_model *model; in tmdc_setup_port() local 276 for (model = tmdc_models; model->id && model->id != port->mode; model++) in tmdc_setup_port() 279 port->abs = model->axes; in tmdc_setup_port() 280 port->btn = model->buttons; in tmdc_setup_port() 282 if (!model->id) { in tmdc_setup_port() 287 port->absc = model->abs; in tmdc_setup_port() 289 port->btnc[i] = model->btnc[i]; in tmdc_setup_port() 293 port->btno[i] = model->btno[i]; in tmdc_setup_port() 295 snprintf(port->name, sizeof(port->name), model->name, in tmdc_setup_port() 305 input_dev->id.product = model->id; in tmdc_setup_port() [all …]
|
| /linux/arch/s390/kvm/ |
| H A D | kvm-s390.c | 800 set_kvm_facility(kvm->arch.model.fac_mask, 129); in kvm_vm_ioctl_enable_cap() 801 set_kvm_facility(kvm->arch.model.fac_list, 129); in kvm_vm_ioctl_enable_cap() 803 set_kvm_facility(kvm->arch.model.fac_mask, 134); in kvm_vm_ioctl_enable_cap() 804 set_kvm_facility(kvm->arch.model.fac_list, 134); in kvm_vm_ioctl_enable_cap() 807 set_kvm_facility(kvm->arch.model.fac_mask, 135); in kvm_vm_ioctl_enable_cap() 808 set_kvm_facility(kvm->arch.model.fac_list, 135); in kvm_vm_ioctl_enable_cap() 811 set_kvm_facility(kvm->arch.model.fac_mask, 148); in kvm_vm_ioctl_enable_cap() 812 set_kvm_facility(kvm->arch.model.fac_list, 148); in kvm_vm_ioctl_enable_cap() 815 set_kvm_facility(kvm->arch.model.fac_mask, 152); in kvm_vm_ioctl_enable_cap() 816 set_kvm_facility(kvm->arch.model.fac_list, 152); in kvm_vm_ioctl_enable_cap() [all …]
|
| /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()
|
| /linux/arch/x86/lib/ |
| H A D | cpu.c | 21 unsigned int fam, model; in x86_model() local 25 model = (sig >> 4) & 0xf; in x86_model() 28 model += ((sig >> 16) & 0xf) << 4; in x86_model() 30 return model; in x86_model()
|
| /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 …]
|
| /linux/arch/m68k/atari/ |
| H A D | config.c | 71 static void atari_get_model(char *model); 567 static void atari_get_model(char *model) in atari_get_model() argument 569 strcpy(model, "Atari "); in atari_get_model() 573 strcat(model, "Mega ST"); in atari_get_model() 575 strcat(model, "ST"); in atari_get_model() 579 strcat(model, "Mega STE"); in atari_get_model() 581 strcat(model, "STE"); in atari_get_model() 586 strcat(model, "Medusa"); in atari_get_model() 588 strcat(model, "TT"); in atari_get_model() 591 strcat(model, "Falcon"); in atari_get_model() [all …]
|
| /linux/drivers/s390/char/ |
| H A D | raw3270.c | 45 int model, rows, cols; member 452 int rc, model; in raw3270_size_device_vm() local 460 rp->model = 2; in raw3270_size_device_vm() 471 model = diag_data.vrdccrmd; in raw3270_size_device_vm() 473 if (rc || model < 2 || model > 5) in raw3270_size_device_vm() 474 model = 2; in raw3270_size_device_vm() 475 switch (model) { in raw3270_size_device_vm() 477 rp->model = model; in raw3270_size_device_vm() 482 rp->model = model; in raw3270_size_device_vm() 487 rp->model = model; in raw3270_size_device_vm() [all …]
|
| /linux/scripts/kconfig/ |
| H A D | gconf.c | 95 static void _select_menu(GtkTreeView *view, GtkTreeModel *model, in _select_menu() argument 101 valid = gtk_tree_model_iter_children(model, &iter, parent); in _select_menu() 105 gtk_tree_model_get(model, &iter, COL_MENU, &menu, -1); in _select_menu() 115 path = gtk_tree_model_get_path(model, &iter); in _select_menu() 127 _select_menu(view, model, &iter, match); in _select_menu() 129 valid = gtk_tree_model_iter_next(model, &iter); in _select_menu() 252 GtkTreeModel *model = GTK_TREE_MODEL(store); in _update_tree() local 256 valid = gtk_tree_model_iter_children(model, &iter, parent); in _update_tree() 260 gtk_tree_model_get(model, &iter, COL_MENU, &menu, -1); in _update_tree() 267 valid = gtk_tree_model_iter_next(model, &iter); in _update_tree() [all …]
|
| /linux/drivers/input/keyboard/ |
| H A D | cap11xx.c | 88 const struct cap11xx_hw_model *model; member 209 if (!priv->model->has_gain) { in cap11xx_init_keys() 228 if (priv->model->has_irq_config) { in cap11xx_init_keys() 260 priv->thresholds, priv->model->num_channels)) { in cap11xx_init_keys() 261 for (i = 0; i < priv->model->num_channels; i++) { in cap11xx_init_keys() 278 priv->model->num_channels)) { in cap11xx_init_keys() 279 if (priv->model->has_sensitivity_control) { in cap11xx_init_keys() 280 for (i = 0; i < priv->model->num_channels; i++) { in cap11xx_init_keys() 294 if (priv->model->num_channels > 4) { in cap11xx_init_keys() 305 for (i = 0; i < priv->model->num_channels; i++) { in cap11xx_init_keys() [all …]
|
| /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()
|
| /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()
|
| /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()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-media | 1 What: /sys/bus/media/devices/.../model 5 Description: Contains the device model name in UTF-8. The device version is 6 is not be appended to the model name.
|