/drivers/platform/x86/ |
H A D | asus-laptop.c | 878 * of features supported by a given model. For now, 0x0100 or 0x0800 1714 union acpi_object *model = NULL; local 1749 * Try to match the object returned by INIT to the specific model. 1755 model = buffer.pointer; 1756 switch (model->type) { 1758 string = model->string.pointer; 1761 string = model->buffer.pointer; 1775 pr_notice(" %s model detected\n", string); 1780 kfree(model); 1847 const char *model; local [all...] |
/drivers/media/rc/ |
H A D | ite-cir.c | 82 /* override detected model id */ 85 MODULE_PARM_DESC(model_number, "Use this model number, don't autodetect"); 1344 .model = "ITE8704 CIR transceiver", 1369 .model = "ITE8713 CIR transceiver", 1394 .model = "ITE8708 CIR transceiver", 1420 .model = "ITE8709 CIR transceiver", 1448 {"ITE8704", 0}, /* Default model */ 1480 /* get the model number */ 1482 ite_pr(KERN_NOTICE, "Auto-detected model: %s\n", 1483 ite_dev_descs[model_no].model); [all...] |
/drivers/tty/ |
H A D | moxa.c | 438 static int moxa_check_fw_model(struct moxa_board_conf *brd, u8 model) argument 443 if (model != 1) 447 if (model != 3) 451 if (model != 2) 756 u8 model; /* C218T=1, C320T=2, CP204=3 */ member in struct:__anon6936 775 if (moxa_check_fw_model(brd, hdr->model)) { 776 sprintf(rsn, "not for this card, model is %u", hdr->model); 781 lencnt = hdr->model == 2 ? 5 : 3; 814 if (hdr->model [all...] |
/drivers/input/misc/ |
H A D | adxl34x.c | 206 unsigned model; member in struct:adxl34x 738 ac->model = 345; 741 ac->model = 346; 753 input_dev->id.product = ac->model; 860 if (ac->model == 346 && ac->pdata.orientation_enable) {
|
/drivers/input/mouse/ |
H A D | hgpk.c | 644 if (psmouse->model < HGPK_MODEL_C) 702 if (psmouse->model < HGPK_MODEL_D) 910 if (psmouse->model >= HGPK_MODEL_C) 962 if (psmouse->model >= HGPK_MODEL_C) { 1032 /* HGPK signature: 0x67, 0x00, 0x<model> */ 1052 psmouse->model = version;
|
H A D | alps.c | 2162 const struct alps_model_info *model; local 2166 model = &alps_model_data[i]; 2168 if (!memcmp(e7, model->signature, sizeof(model->signature)) && 2169 (!model->command_mode_resp || 2170 model->command_mode_resp == ec[2])) { 2172 priv->proto_version = model->proto_version; 2175 priv->flags = model->flags; 2176 priv->byte0 = model->byte0; 2177 priv->mask0 = model [all...] |
H A D | lifebook.c | 342 psmouse->model = lifebook_use_6byte_proto ? 6 : 3;
|
H A D | psmouse.h | 53 unsigned int model; member in struct:psmouse
|
/drivers/media/usb/gspca/ |
H A D | xirlink_cit.c | 57 u8 model; member in struct:sd 59 #define CIT_MODEL1 1 /* The model 1 - 4 nomenclature comes from the old */ 873 sd->model = id->driver_info; 874 if (sd->model == CIT_MODEL3 && ibm_netcam_pro) 875 sd->model = CIT_IBM_NETCAM_PRO; 878 switch (sd->model) { 1136 switch (sd->model) { 1159 switch (sd->model) { 1198 switch (sd->model) { 1261 switch (sd->model) { [all...] |
/drivers/video/fbdev/omap2/displays-new/ |
H A D | panel-sony-acx565akm.c | 78 int model; member in struct:panel_drv_data 248 ddata->model = MIPID_VER_ACX565AKM; 254 ddata->model = MIPID_VER_L4F00311; 258 ddata->model = MIPID_VER_LPH8923; 262 ddata->model = MIPID_VER_LS041Y3;
|
/drivers/scsi/ |
H A D | BusLogic.c | 1350 unsigned char model[5]; local 1368 tgt = adapter->model; 1372 for (i = 0; i < sizeof(fpinfo->model); i++) 1373 *tgt++ = fpinfo->model[i]; 1451 strcpy(model, "542B"); 1456 strcpy(model, "742A"); 1459 strcpy(model, "747A"); 1461 req_replylen = sizeof(model); 1463 sizeof(req_replylen), &model, 1464 sizeof(model)) ! [all...] |
/drivers/media/pci/saa7164/ |
H A D | saa7164-cards.c | 623 /* Make sure we support the board model */ 624 switch (tv.model) { 651 printk(KERN_ERR "%s: Warning: Unknown Hauppauge model #%d\n", 652 dev->name, tv.model); 656 printk(KERN_INFO "%s: Hauppauge eeprom: model=%d\n", dev->name, 657 tv.model);
|
/drivers/scsi/device_handler/ |
H A D | scsi_dh_emc.c | 236 * Parse extended information for SP model number 248 "%s: Invalid model number length %d\n", 642 !strncmp(sdev->model, clariion_dev_list[i].model, 643 strlen(clariion_dev_list[i].model))) {
|
/drivers/power/ |
H A D | bq2415x_charger.c | 179 char *model; member in struct:bq2415x_device 1020 val->strval = bq->model; 1052 bq->model = kasprintf(GFP_KERNEL, 1056 if (!bq->model) { 1057 dev_err(bq->dev, "failed to allocate model name\n"); 1063 kfree(bq->model); 1077 kfree(bq->model);
|
/drivers/scsi/bfa/ |
H A D | bfa_fcs.c | 828 char model[BFA_ADAPTER_MODEL_NAME_LEN] = {0}; local 831 bfa_ioc_get_adapter_model(&fabric->fcs->bfa->ioc, model); 834 strncpy((char *)&port_cfg->sym_name, model, 889 char model[BFA_ADAPTER_MODEL_NAME_LEN] = {0}; local 892 bfa_ioc_get_adapter_model(&fabric->fcs->bfa->ioc, model); 895 strncpy((char *)&port_cfg->node_sym_name, model,
|
/drivers/block/ |
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.h | 53 char model[MODEL_LEN + 1]; /* SCSI model string */ member in struct:_drive_info_struct
|
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);
|
/drivers/ide/ |
H A D | ide-iops.c | 65 * It is primarily used to tidy up the model name/number fields as 257 const char *model = (char *)&id[ATA_ID_PROD]; local 259 if (strstr(model, "TSSTcorp CDDVDW SH-S202")) {
|
/drivers/media/usb/em28xx/ |
H A D | em28xx.h | 329 depending on their model. So, it is possible to use AC97 mixer to 388 #define INPUT(nr) (&em28xx_boards[dev->model].input[nr]) 609 int model; /* index in the device_data struct */ member in struct:em28xx
|
/drivers/s390/char/ |
H A D | fs3270.c | 356 iocb.model = fp->view.model;
|
/drivers/usb/storage/ |
H A D | Kconfig | 79 - Planex eXtreme Drive RX-25HU USB-IDE cable (not model RX-25U)
|
/drivers/media/i2c/ |
H A D | mt9p031.c | 134 enum mt9p031_model model; member in struct:mt9p031 952 if (mt9p031->model == MT9P031_MODEL_MONOCHROME) 1056 mt9p031->model = did->driver_data; 1122 if (mt9p031->model == MT9P031_MODEL_MONOCHROME)
|
/drivers/media/i2c/soc_camera/ |
H A D | ov9740.c | 201 u16 model; member in struct:ov9740_priv 859 priv->model = (modelhi << 8) | modello; 873 if (priv->model != 0x9740) { 880 priv->model, priv->revision, priv->manid, priv->smiaver);
|
/drivers/media/pci/cx18/ |
H A D | cx18-driver.c | 351 tv->model = 0x718; 357 tv->model = 0xffffffff; 373 model numbers */ 375 from the model number. Use the cardtype module option if you 377 switch (tv.model) { 408 CX18_ERR("Unknown model %d, defaulting to original HVR-1600 " 409 "(cardtype=1)\n", tv.model); 1018 /* Based on the model number the cardtype may be changed.
|