| /linux/arch/x86/kernel/cpu/microcode/ |
| H A D | intel-ucode-defs.h | 3 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x03, .… 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 = 0x05, .… 7 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x05, .… 8 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x05, .… 9 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x05, .… 10 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x05, .… 11 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x05, .… 12 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x05, .… [all …]
|
| /linux/drivers/scsi/ |
| H A D | scsi_devinfo.c | 24 char model[16]; member 51 char *model; member 283 * devinfo vendor and model strings. 310 * @model: model (product) string 315 * Create and add one dev_info entry for @vendor, @model, @strflags or 322 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument 325 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add() 334 * @model: model (produc 348 scsi_dev_info_list_add_keyed(int compatible,char * vendor,char * model,char * strflags,blist_flags_t flags,enum scsi_devinfo_key key) scsi_dev_info_list_add_keyed() argument 413 scsi_dev_info_list_find(const char * vendor,const char * model,enum scsi_devinfo_key key) scsi_dev_info_list_find() argument 498 char *vendor, *model, *strflags, *next; scsi_dev_info_list_add_str() local 550 scsi_get_device_flags(struct scsi_device * sdev,const unsigned char * vendor,const unsigned char * model) scsi_get_device_flags() argument 572 scsi_get_device_flags_keyed(struct scsi_device * sdev,const unsigned char * vendor,const unsigned char * model,enum scsi_devinfo_key key) scsi_get_device_flags_keyed() argument [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/drivers/gpu/drm/verisilicon/ |
| H A D | vs_hwdb.c | 61 .model = 0x8200, 70 .model = 0x8200, 79 .model = 0x8200, 88 .model = 0x8200, 101 u32 model; in vs_fill_chip_identity() local 106 regmap_read(regs, VSDC_TOP_CHIP_MODEL, &model); in vs_fill_chip_identity() 111 if (vs_chip_identities[i].model == model && in vs_fill_chip_identity()
|
| /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 …]
|
| /linux/drivers/perf/ |
| H A D | arm-cci.c | 35 #define CCI_PMU_CNTR_SIZE(model) ((model)->cntr_size) argument 36 #define CCI_PMU_CNTR_BASE(model, idx) ((idx) * CCI_PMU_CNTR_SIZE(model)) argument 40 #define CCI_PMU_MAX_HW_CNTRS(model) \ argument 41 ((model)->num_hw_cntrs + (model)->fixed_hw_cntrs) 104 const struct cci_pmu_model *model; member 360 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci400_validate_hw_event() 361 ev_code <= cci_pmu->model in cci400_validate_hw_event() 1388 const struct cci_pmu_model *model = cci_pmu->model; cci_pmu_init() local 1585 const struct cci_pmu_model *model; cci_pmu_alloc() local [all...] |
| /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/parisc/ |
| H A D | led.c | 54 unsigned long model:16; /* DISPLAY_MODEL_XXXX */ member 79 .model = DISPLAY_MODEL_NONE, 102 if (lcd_info.model != DISPLAY_MODEL_LCD) in lcd_print_now() 388 * @model: model type, one of the DISPLAY_MODEL_XXXX values 395 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg) in register_led_driver() argument 404 lcd_info.model = model; /* store the values */ in register_led_driver() 407 switch (lcd_info.model) { in register_led_driver() 435 pr_err("led: Unknown LCD/LED model typ in register_led_driver() [all...] |
| /linux/drivers/input/keyboard/ |
| H A D | cap11xx.c | 71 const struct cap11xx_hw_model *model; member 183 if (!priv->model->has_gain) { in cap11xx_init_keys() 185 "This model doesn't support 'sensor-gain'\n"); in cap11xx_init_keys() 202 if (priv->model->has_irq_config) { in cap11xx_init_keys() 211 "This model doesn't support 'irq-active-high'\n"); in cap11xx_init_keys() 234 priv->thresholds, priv->model->num_sensor_thresholds)) { in cap11xx_init_keys() 235 for (i = 0; i < priv->model->num_sensor_thresholds; i++) { in cap11xx_init_keys() 251 if (!priv->model->has_sensitivity_control) { in cap11xx_init_keys() 253 "This model doesn't support 'calib-sensitivity'\n"); in cap11xx_init_keys() 256 priv->model in cap11xx_init_keys() [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/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 189 if (devpriv->model == VMK8061_MODEL) in vmk80xx_read_packet() 208 if (devpriv->model == VMK8061_MODEL) in vmk80xx_write_packet() 246 switch (devpriv->model) { in vmk80xx_ai_insn_read() 266 if (devpriv->model == VMK8055_MODEL) { in vmk80xx_ai_insn_read() 295 switch (devpriv->model) { in vmk80xx_ao_insn_write() 365 if (devpriv->model in vmk80xx_di_insn_bits() [all...] |
| /linux/arch/s390/kvm/s390/ |
| H A D | s390.c | 260 * and defines the facilities that can be enabled via a cpu model. 786 set_kvm_facility(kvm->arch.model.fac_mask, 129); in kvm_vm_ioctl_enable_cap() 787 set_kvm_facility(kvm->arch.model.fac_list, 129); in kvm_vm_ioctl_enable_cap() 789 set_kvm_facility(kvm->arch.model.fac_mask, 134); in kvm_vm_ioctl_enable_cap() 790 set_kvm_facility(kvm->arch.model.fac_list, 134); in kvm_vm_ioctl_enable_cap() 793 set_kvm_facility(kvm->arch.model.fac_mask, 135); in kvm_vm_ioctl_enable_cap() 794 set_kvm_facility(kvm->arch.model.fac_list, 135); in kvm_vm_ioctl_enable_cap() 797 set_kvm_facility(kvm->arch.model.fac_mask, 148); in kvm_vm_ioctl_enable_cap() 798 set_kvm_facility(kvm->arch.model.fac_list, 148); in kvm_vm_ioctl_enable_cap() 801 set_kvm_facility(kvm->arch.model in kvm_vm_ioctl_enable_cap() 3676 struct kvm_s390_cpu_model *model = &vcpu->kvm->arch.model; kvm_s390_vcpu_setup_model() local [all...] |
| /linux/arch/arm64/kernel/ |
| H A D | cpu_errata.c | 35 return midr_is_cpu_model_range(midr, range->model, in __is_midr_in_range() 55 while (ranges->model) in is_midr_in_range_list() 107 u32 model; in is_kryo_midr() local 111 model = read_cpuid_id(); in is_kryo_midr() 112 model &= MIDR_IMPLEMENTOR_MASK | (0xf00 << MIDR_PARTNUM_SHIFT) | in is_kryo_midr() 115 return model == entry->midr_range.model; in is_kryo_midr() 235 #define CAP_MIDR_RANGE(model, v_min, r_min, v_max, r_max) \ argument 237 .midr_range = MIDR_RANGE(model, v_min, r_min, v_max, r_max) 239 #define CAP_MIDR_ALL_VERSIONS(model) \ argument 246 ERRATA_MIDR_RANGE(model,v_min,r_min,v_max,r_max) global() argument 259 ERRATA_MIDR_REV(model,var,rev) global() argument 263 ERRATA_MIDR_ALL_VERSIONS(model) global() argument [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/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/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 [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/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/arch/m68k/atari/ |
| H A D | config.c | 72 static void atari_get_model(char *model); 568 static void atari_get_model(char *model) in atari_get_model() argument 570 strcpy(model, "Atari "); in atari_get_model() 574 strcat(model, "Mega ST"); in atari_get_model() 576 strcat(model, "ST"); in atari_get_model() 580 strcat(model, "Mega STE"); in atari_get_model() 582 strcat(model, "STE"); in atari_get_model() 587 strcat(model, "Medusa"); in atari_get_model() 589 strcat(model, "TT"); in atari_get_model() 592 strcat(model, "Falcon"); in atari_get_model() [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), \ [all...] |
| /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/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()
|