Searched refs:model (Results 1 - 25 of 210) sorted by relevance

123456789

/drivers/ide/
H A Dide-pio-blacklist.c77 * @model: Drive model string
80 * matching the start/whole of the supplied model name.
86 int ide_scan_pio_blacklist(char *model) argument
91 if (strncmp(p->name, model, strlen(p->name)) == 0)
H A Dqd65xx.h55 char model[4]; /* 4 chars from Model number, no conversion */ member in struct:qd65xx_timing_s
/drivers/macintosh/
H A Dvia-pmu-led.c85 const char *model; local
94 model = of_get_property(dt, "model", NULL);
95 if (model == NULL) {
99 if (strncmp(model, "PowerBook", strlen("PowerBook")) != 0 &&
100 strncmp(model, "iBook", strlen("iBook")) != 0 &&
101 strcmp(model, "PowerMac7,2") != 0 &&
102 strcmp(model, "PowerMac7,3") != 0) {
/drivers/block/
H A Dcciss_scsi.h67 unsigned char model[16]; /* bytes 16-31 of inquiry data */ member in struct:cciss_scsi_dev_t
/drivers/media/i2c/smiapp/
H A Dsmiapp.h100 #define SMIAPP_IDENT_FQ(manufacturer, model, rev, fl, _name, _quirk) \
102 .model_id = model, \
108 #define SMIAPP_IDENT_LQ(manufacturer, model, rev, _name, _quirk) \
110 .model_id = model, \
116 #define SMIAPP_IDENT_L(manufacturer, model, rev, _name) \
118 .model_id = model, \
123 #define SMIAPP_IDENT_Q(manufacturer, model, rev, _name, _quirk) \
125 .model_id = model, \
131 #define SMIAPP_IDENT(manufacturer, model, rev, _name) \
133 .model_id = model, \
[all...]
/drivers/scsi/
H A Dscsi_devinfo.c23 char model[16]; member in struct:scsi_dev_info_list
52 char *model; member in struct:__anon6144
281 * devinfo vendor and model strings.
313 * @model: model (product) string
318 * Create and add one dev_info entry for @vendor, @model, @strflags or
325 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, argument
328 return scsi_dev_info_list_add_keyed(compatible, vendor, model,
337 * @model: model (produc
351 scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, char *strflags, int flags, int key) argument
402 scsi_dev_info_list_del_keyed(char *vendor, char *model, int key) argument
489 char *vendor, *model, *strflags, *next; local
538 scsi_get_device_flags(struct scsi_device *sdev, const unsigned char *vendor, const unsigned char *model) argument
560 scsi_get_device_flags_keyed(struct scsi_device *sdev, const unsigned char *vendor, const unsigned char *model, int key) argument
[all...]
H A Dsr_vendor.c72 const char *model = cd->device->model;
85 if (!strncmp(model, "CD-ROM DRIVE:25", 15) ||
86 !strncmp(model, "CD-ROM DRIVE:36", 15) ||
87 !strncmp(model, "CD-ROM DRIVE:83", 15) ||
88 !strncmp(model, "CD-ROM DRIVE:84 ", 16)
92 || !strncmp(model, "CD-ROM DRIVE:500", 16)
H A Dscsi_priv.h55 const unsigned char *model);
58 const unsigned char *model, int key);
60 char *model, char *strflags,
62 extern int scsi_dev_info_list_del_keyed(char *vendor, char *model, int key);
/drivers/media/usb/cx231xx/
H A Dcx231xx-input.c69 if (!cx231xx_boards[dev->model].rc_map_name)
80 dev->init_data.name = cx231xx_boards[dev->model].name;
92 dev->init_data.ir_codes = cx231xx_boards[dev->model].rc_map_name;
100 ir_i2c_bus = cx231xx_boards[dev->model].ir_i2c_master;
/drivers/mfd/
H A Dda9063-core.c113 int model, variant_id, variant_code; local
134 ret = regmap_read(da9063->regmap, DA9063_REG_CHIP_ID, &model);
136 dev_err(da9063->dev, "Cannot read chip model id.\n");
139 if (model != PMIC_DA9063) {
140 dev_err(da9063->dev, "Invalid chip model id: 0x%02x\n", model);
154 model, variant_id);
162 da9063->model = model;
/drivers/hwmon/
H A Dk8temp.c145 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...]
/drivers/parisc/
H A Dled.c90 unsigned long model:16; /* DISPLAY_MODEL_XXXX */ member in struct:pdc_chassis_lcd_info_ret_block
115 .model = DISPLAY_MODEL_LCD,
534 if (lcd_info.model == DISPLAY_MODEL_LCD)
551 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg) argument
558 lcd_info.model = model; /* store the values */
561 switch (lcd_info.model) {
586 printk(KERN_ERR "%s: Wrong LCD/LED model %d !\n",
587 __func__, lcd_info.model);
617 switch (lcd_info.model) {
[all...]
/drivers/cpufreq/
H A Dspeedstep-centrino.c38 __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/media/usb/tm6000/
H A Dtm6000-cards.c56 #define is_generic(model) ((model == TM6000_BOARD_UNKNOWN) || \
57 (model == TM5600_BOARD_GENERIC) || \
58 (model == TM6000_BOARD_GENERIC) || \
59 (model == TM6010_BOARD_GENERIC))
654 switch (dev->model) {
672 switch (dev->model) {
739 switch (dev->model) {
811 switch (dev->model) {
942 switch (dev->model) {
1027 int i, model = -1; local
[all...]
/drivers/input/mouse/
H A Dlogips2pp.c33 u8 model; member in struct:ps2pp_info
202 static const struct ps2pp_info *get_model_info(unsigned char model) argument
255 if (model == ps2pp_list[i].model)
262 * Set up input device's properties based on the detected mouse model.
324 * and its exact model and try turning on extended protocol for ones
332 unsigned char model, buttons; local
345 model = ((param[0] >> 4) & 0x07) | ((param[0] << 3) & 0x78);
348 if (!model || !buttons)
351 model_info = get_model_info(model);
[all...]
/drivers/input/joystick/
H A Dtmdc.c280 const struct tmdc_model *model; local
295 for (model = tmdc_models; model->id && model->id != port->mode; model++)
298 port->abs = model->axes;
299 port->btn = model->buttons;
301 if (!model->id) {
306 port->absc = model->abs;
308 port->btnc[i] = model
[all...]
/drivers/staging/comedi/drivers/
H A Dvmk80xx.c120 enum vmk80xx_model model; member in struct:vmk80xx_board
134 .model = VMK8055_MODEL,
144 .model = VMK8061_MODEL,
163 enum vmk80xx_model model; member in struct:vmk80xx_private
254 if (devpriv->model == VMK8061_MODEL) {
275 if (devpriv->model == VMK8061_MODEL) {
315 switch (devpriv->model) {
335 if (devpriv->model == VMK8055_MODEL) {
364 switch (devpriv->model) {
434 if (devpriv->model
[all...]
/drivers/net/wireless/libertas/
H A Dif_sdio.c117 int model; member in struct:if_sdio_card
184 switch (card->model) {
286 if (card->model == MODEL_8385) {
762 } else if ((card->model == MODEL_8686) && (scratch & 0x7fff)) {
768 ret = lbs_get_firmware_async(card->priv, &card->func->dev, card->model,
794 if ((card->model != MODEL_8385)
795 && (card->model != MODEL_8686))
832 if (card->model == MODEL_8688) {
876 /* For 1-bit transfers to the 8686 model, we need to enable the
879 if ((card->model
1187 unsigned int model; local
[all...]
/drivers/scsi/bfa/
H A Dbfad_attr.c733 char model[BFA_ADAPTER_MODEL_NAME_LEN]; local
735 bfa_get_adapter_model(&bfad->bfa, model);
736 return snprintf(buf, PAGE_SIZE, "%s\n", model);
747 char model[BFA_ADAPTER_MODEL_NAME_LEN]; local
751 bfa_get_adapter_model(&bfad->bfa, model);
753 if (!strcmp(model, "Brocade-425"))
756 else if (!strcmp(model, "Brocade-825"))
759 else if (!strcmp(model, "Brocade-42B"))
762 else if (!strcmp(model, "Brocade-82B"))
765 else if (!strcmp(model, "Brocad
[all...]
/drivers/isdn/sc/
H A Dinit.c54 int model; local
70 model = -1;
165 * board model
169 model = identify_board(ram[b], io[b]);
176 * a signature and id the board model
182 model = identify_board(i, io[b]);
184 if (model >= 0) {
186 boardname[model]);
197 * See if we found free RAM and the board model
199 if (!ram[b] || model <
[all...]
/drivers/s390/char/
H A Draw3270.c39 short model, rows, cols; member in struct:raw3270
477 int rc, model; local
485 model = diag_data.vrdccrmd;
486 /* Use default model 2 if the size could not be detected */
487 if (rc || model < 2 || model > 5)
488 model = 2;
489 switch (model) {
491 rp->model = model;
[all...]
/drivers/platform/x86/
H A Deeepc-wmi.c137 char *model; local
141 model = (char *)dmi->matches[1].substr;
142 if (unlikely(strncmp(model, "ET2012", 6) == 0))
/drivers/firewire/
H A Dsbp2.c343 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/input/touchscreen/
H A Dads7846.c107 u16 model; member in struct:ads7846
471 if (ts->model == 7846)
486 if (ts->model == 7843 && index < 2) /* in0, in1 */
488 if (ts->model == 7845 && index != 2) /* in0 */
511 switch (ts->model) {
524 ts->model);
674 if (ts->model == 7845) {
758 if (ts->model == 7845) {
774 if (ts->model == 7843) {
776 } else if (ts->model
[all...]
/drivers/mcb/
H A Dmcb-internal.h30 * @model: Chameleon table model ASCII char
39 char model; member in struct:chameleon_fpga_header

Completed in 1282 milliseconds

123456789