/drivers/ata/ |
H A D | libata-core.c | 3945 unsigned char model[2][ATA_ID_PROD_LEN + 1]; local 3954 ata_id_c_string(old_id, model[0], ATA_ID_PROD, sizeof(model[0])); 3955 ata_id_c_string(new_id, model[1], ATA_ID_PROD, sizeof(model[1])); 3959 if (strcmp(model[0], model[1])) { 3960 ata_dev_info(dev, "model number mismatch '%s' != '%s'\n", 3961 model[0], model[ [all...] |
H A D | libata-scsi.c | 2070 * name ("ATA "), model and serial numbers. 2091 /* SAT defined lu model and serial numbers descriptor */ 2320 unsigned char model[ATA_ID_PROD_LEN + 1], fw[ATA_ID_FW_REV_LEN + 1]; local 2327 ata_id_c_string(id, model, ATA_ID_PROD, sizeof(model)); 2330 if (strcmp(model, "Maxtor"))
|
H A D | pata_macio.c | 484 const char *model = of_get_property(root, "model", NULL); local 491 if (!strncmp(model, "PowerBook", 9))
|
/drivers/block/ |
H A D | cciss.c | 245 * set bit 0 for pull model, bits 3-1 for block fetch 721 char model[MODEL_LEN + 1]; local 729 memcpy(model, drv->model, MODEL_LEN + 1); 735 return snprintf(buf, sizeof(model) + 1, "%s\n", drv->model); 737 static DEVICE_ATTR(model, S_IRUGO, dev_show_model, NULL); 1864 /* This function gets the SCSI vendor, model, and revision of a logical drive 1869 char *vendor, char *model, char *rev) 1876 *model 1868 cciss_get_device_descr(ctlr_info_t *h, int logvol, char *vendor, char *model, char *rev) argument [all...] |
H A D | cciss.h | 53 char model[MODEL_LEN + 1]; /* SCSI model string */ member in struct:_drive_info_struct
|
H A D | cciss_scsi.c | 514 memcmp(dev1->model, dev2->model, 515 sizeof(dev1->model)) == 0 && 594 memcpy(csd->model, sd[j].model, 595 sizeof(csd->model)); 1229 memcpy(this_device->model, &inq_buff[16], 1230 sizeof(this_device->model));
|
H A D | cciss_scsi.h | 67 unsigned char model[16]; /* bytes 16-31 of inquiry data */ member in struct:cciss_scsi_dev_t
|
H A D | mg_disk.c | 350 char model[ATA_ID_PROD_LEN + 1]; local 388 mg_id_c_string(id, model, ATA_ID_PROD, sizeof(model)); 390 printk(KERN_INFO "mg_disk: model: %s\n", model);
|
H A D | nvme-core.c | 2249 memcpy(dev->model, ctrl->mn, sizeof(ctrl->mn));
|
H A D | nvme-scsi.c | 718 strncpy(&inq_response[16], dev->model, 16); 830 inq_response[16] = dev->model[0]; 831 inq_response[17] = dev->model[1];
|
H A D | ps3disk.c | 49 unsigned char model[ATA_ID_PROD_LEN+1]; member in struct:ps3disk_private 393 /* All we're interested in are raw capacity and model name */ 395 ata_id_c_string(id, priv->model, ATA_ID_PROD, sizeof(priv->model)); 499 gendisk->disk_name, priv->model, priv->raw_capacity >> 11,
|
/drivers/char/ |
H A D | sonypi.c | 392 int model; member in struct:sonypi_eventtypes 494 int model; member in struct:sonypi_device 606 /* This model type uses the same initialiazation of 846 for (i = 0; sonypi_eventtypes[i].model; i++) { 847 if (sonypi_device.model != sonypi_eventtypes[i].model) 1082 switch (sonypi_device.model) { 1116 switch (sonypi_device.model) { 1282 printk(KERN_INFO "sonypi: detected type%d model, " 1285 sonypi_device.model, [all...] |
/drivers/clocksource/ |
H A D | sh_cmt.c | 75 enum sh_cmt_model model; member in struct:sh_cmt_info 184 .model = SH_CMT_16BIT, 194 .model = SH_CMT_32BIT, 204 .model = SH_CMT_32BIT_FAST, 214 .model = SH_CMT_48BIT, 224 .model = SH_CMT_48BIT_GEN2, 867 switch (cmt->info->model) { 896 ch->timer_bit = cmt->info->model == SH_CMT_48BIT_GEN2 ? 0 : ch->hwidx;
|
H A D | sh_tmu.c | 63 enum sh_tmu_model model; member in struct:sh_tmu_device 93 switch (ch->tmu->model) { 115 switch (ch->tmu->model) { 477 if (tmu->model == SH_TMU_SH3) 517 tmu->model = SH_TMU; 548 tmu->model = id->driver_data;
|
/drivers/cpufreq/ |
H A D | intel_pstate.c | 718 #define ICPU(model, policy) \ 719 { X86_VENDOR_INTEL, 6, model, X86_FEATURE_APERFMPERF,\
|
H A D | speedstep-centrino.c | 38 __u8 x86_model; /* model */ 235 struct cpu_model *model; local 237 for(model = models; model->cpu_id != NULL; model++) 238 if (centrino_verify_cpu_id(cpu, model->cpu_id) && 239 (model->model_name == NULL || 240 strcmp(cpu->x86_model_id, model->model_name) == 0)) 243 if (model->cpu_id == NULL) { 245 pr_debug("no support for CPU model \" [all...] |
/drivers/edac/ |
H A D | amd64_edac.c | 97 reg &= (pvt->model == 0x30) ? ~3 : ~1; 144 dct = (dct && pvt->model == 0x30) ? 3 : dct; 222 if (pvt->fam == 0x15 && pvt->model < 0x10) 235 if (pvt->fam == 0x15 && pvt->model < 0x10) 362 (pvt->fam == 0x15 && pvt->model >= 0x30)) { 759 } else if (pvt->fam == 0x15 && pvt->model >= 0x30) { 961 pci_func = (pvt->model == 0x30) ? PCI_DEVICE_ID_AMD_15H_M30H_NB_F1 1195 * F16h and F15h model 30h have only limited cs_modes. 1419 if (pvt->fam == 0x15 && pvt->model >= 0x30) { 1443 if (pvt->model < [all...] |
H A D | amd64_edac.h | 61 * presentation model. 346 u8 model; /* ... model */ member in struct:amd64_pvt 349 int ext_model; /* extended model value of this node */ 428 if (pvt->fam == 0x15 && pvt->model >= 0x30) 522 if (pvt->fam == 0x15 && pvt->model >= 0x30) { 532 if (pvt->fam == 0x15 && pvt->model >= 0x30) { 542 if (pvt->fam == 0x15 && pvt->model >= 0x30) {
|
/drivers/firewire/ |
H A D | core-device.c | 337 IMMEDIATE_ATTR(model, CSR_MODEL),
|
H A D | sbp2.c | 343 u32 model; member in struct:__anon611 348 .model = 0x001010, 355 .model = 0x000000, 360 .model = SBP2_ROM_VALUE_WILDCARD, 365 .model = SBP2_ROM_VALUE_WILDCARD, 370 .model = SBP2_ROM_VALUE_WILDCARD, 375 .model = SBP2_ROM_VALUE_WILDCARD, 384 .model = 0x000000, 390 .model = 0x000021, 395 .model 1037 sbp2_scan_unit_dir(struct sbp2_target *tgt, const u32 *directory, u32 *model, u32 *firmware_revision) argument 1104 sbp2_init_workarounds(struct sbp2_target *tgt, u32 model, u32 firmware_revision) argument 1135 w, firmware_revision, model); local 1148 u32 model, firmware_revision; local [all...] |
/drivers/gpio/ |
H A D | Kconfig | 512 Board setup code must specify the model to use, and the start
|
/drivers/hwmon/ |
H A D | coretemp.c | 214 u8 model; member in struct:tjmax_model 253 * First try PCI host bridge IDs, followed by model ID strings 254 * and model/stepping information. 270 if (c->x86_model == tm->model && 343 u8 model = c->x86_model; local 345 return model > 0xe && 346 model != 0x1c && 347 model != 0x26 && 348 model != 0x27 && 349 model ! [all...] |
H A D | hwmon-vid.c | 188 * The model match must be exact for 4-bit values. For model values 0x10 189 * and above (extended model), all models below the parameter will match. 240 * Special case for VIA model D: there are two different possible 245 * Note: something similar might be needed for model A, I'm not sure. 272 static u8 find_vrm(u8 family, u8 model, u8 stepping, u8 vendor) argument 279 model >= vrm_models[i].model_from && 280 model <= vrm_models[i].model_to &&
|
H A D | k8temp.c | 145 static int is_rev_g_desktop(u8 model) argument 149 if (model < 0x69) 152 if (model == 0xc1 || model == 0x6c || model == 0x7c) 164 if ((model == 0x6f || model == 0x7f) && 169 if (model == 0x6b && 182 u8 model, stepping; local 189 model [all...] |
H A D | lm95234.c | 654 int val, model; local 668 model = i2c_smbus_read_byte_data(client, LM95234_REG_REM_MODEL); 669 if (model < 0) 670 return model; 671 if (model & val) { 676 model & ~val);
|