| /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/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/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/s390/kvm/ |
| H A D | kvm-s390.c | 249 * and defines the facilities that can be enabled via a cpu model. 799 set_kvm_facility(kvm->arch.model.fac_mask, 129); in kvm_vm_ioctl_enable_cap() 800 set_kvm_facility(kvm->arch.model.fac_list, 129); in kvm_vm_ioctl_enable_cap() 802 set_kvm_facility(kvm->arch.model.fac_mask, 134); in kvm_vm_ioctl_enable_cap() 803 set_kvm_facility(kvm->arch.model.fac_list, 134); in kvm_vm_ioctl_enable_cap() 806 set_kvm_facility(kvm->arch.model.fac_mask, 135); in kvm_vm_ioctl_enable_cap() 807 set_kvm_facility(kvm->arch.model.fac_list, 135); in kvm_vm_ioctl_enable_cap() 810 set_kvm_facility(kvm->arch.model.fac_mask, 148); in kvm_vm_ioctl_enable_cap() 811 set_kvm_facility(kvm->arch.model.fac_list, 148); in kvm_vm_ioctl_enable_cap() 814 set_kvm_facility(kvm->arch.model in kvm_vm_ioctl_enable_cap() 3598 struct kvm_s390_cpu_model *model = &vcpu->kvm->arch.model; kvm_s390_vcpu_setup_model() local [all...] |
| /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/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/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/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 | 94 static void _select_menu(GtkTreeView *view, GtkTreeModel *model, in _select_menu() argument 100 valid = gtk_tree_model_iter_children(model, &iter, parent); in _select_menu() 104 gtk_tree_model_get(model, &iter, COL_MENU, &menu, -1); in _select_menu() 114 path = gtk_tree_model_get_path(model, &iter); in _select_menu() 126 _select_menu(view, model, &iter, match); in _select_menu() 128 valid = gtk_tree_model_iter_next(model, &iter); in _select_menu() 251 GtkTreeModel *model = GTK_TREE_MODEL(store); in _update_tree() local 255 valid = gtk_tree_model_iter_children(model, &iter, parent); in _update_tree() 259 gtk_tree_model_get(model, &iter, COL_MENU, &menu, -1); in _update_tree() 266 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/sound/firewire/dice/ |
| H A D | dice.c | 38 int key, val, vendor = -1, model = -1; in check_dice_category() local 54 model = val; in check_dice_category() 68 device->config_rom[4] >> 22 != model) in check_dice_category() 102 char vendor[32], model[32]; in dice_card_strings() local 123 strscpy(model, "?"); in dice_card_strings() 124 fw_csr_string(dice->unit->directory, CSR_MODEL, model, sizeof(model)); in dice_card_strings() 127 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), \
|
| /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/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() 249 add_device_randomness(&boot_cpu_data.pdc.model, in collect_boot_cpu_data() 250 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/drivers/net/wireless/marvell/libertas/ |
| H A D | if_sdio.c | 113 int model; member 181 switch (card->model) { in if_sdio_read_rx_len() 271 if (card->model == MODEL_8385) { in if_sdio_handle_event() 730 } else if ((card->model == MODEL_8686) && (scratch & 0x7fff)) { in if_sdio_prog_firmware() 736 ret = lbs_get_firmware_async(card->priv, &card->func->dev, card->model, in if_sdio_prog_firmware() 761 if ((card->model != MODEL_8385) in if_sdio_finish_power_on() 762 && (card->model != MODEL_8686)) in if_sdio_finish_power_on() 799 if (card->model == MODEL_8688) { in if_sdio_finish_power_on() 846 if ((card->model == MODEL_8686) && in if_sdio_power_on() 1140 unsigned int model; in if_sdio_probe() local [all …]
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfad_attr.c | 725 char model[BFA_ADAPTER_MODEL_NAME_LEN]; in bfad_im_model_show() local 727 bfa_get_adapter_model(&bfad->bfa, model); in bfad_im_model_show() 728 return sysfs_emit(buf, "%s\n", model); in bfad_im_model_show() 739 char model[BFA_ADAPTER_MODEL_NAME_LEN]; in bfad_im_model_desc_show() local 743 bfa_get_adapter_model(&bfad->bfa, model); in bfad_im_model_desc_show() 745 if (!strcmp(model, "QLogic-425")) in bfad_im_model_desc_show() 748 else if (!strcmp(model, "QLogic-825")) in bfad_im_model_desc_show() 751 else if (!strcmp(model, "QLogic-42B")) in bfad_im_model_desc_show() 754 else if (!strcmp(model, "QLogic-82B")) in bfad_im_model_desc_show() 757 else if (!strcmp(model, "QLogic-1010")) in bfad_im_model_desc_show() [all …]
|
| /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()
|