/drivers/ide/ |
H A D | ide-pio-blacklist.c | 77 * @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 D | qd65xx.h | 55 char model[4]; /* 4 chars from Model number, no conversion */ member in struct:qd65xx_timing_s
|
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")) {
|
H A D | qd65xx.c | 155 char model[ATA_ID_PROD_LEN]; local 160 strncpy(model, m, ATA_ID_PROD_LEN); 161 ide_fixstring(model, ATA_ID_PROD_LEN, 1); /* byte-swap */ 164 if (!strncmp(p->model, model+p->offset, 4)) {
|
/drivers/net/wireless/libertas/ |
H A D | decl.h | 16 int model; member in struct:lbs_fw_table
|
H A D | if_usb.h | 46 uint32_t model; /* MODEL_* */ member in struct:if_usb_card
|
/drivers/macintosh/ |
H A D | via-pmu-led.c | 85 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/mfd/ |
H A D | da9063-core.c | 113 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/block/ |
H A D | cciss_scsi.h | 67 unsigned char model[16]; /* bytes 16-31 of inquiry data */ member in struct:cciss_scsi_dev_t
|
/drivers/hwmon/ |
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);
|
/drivers/isdn/sc/ |
H A D | init.c | 54 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...] |
H A D | card.h | 74 int model; member in struct:__anon1938
|
/drivers/cpufreq/ |
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/input/mouse/ |
H A D | logips2pp.c | 33 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/isdn/hisax/ |
H A D | avm_a1p.c | 218 u_char model, vers; local 242 model = bytein(cs->hw.avm.cfg_reg + MODREG_OFFSET); 245 printk(KERN_INFO "AVM A1 PCMCIA: io 0x%x irq %d model %d version %d\n", 246 cs->hw.avm.cfg_reg, cs->irq, model, vers);
|
/drivers/mcb/ |
H A D | mcb-internal.h | 30 * @model: Chameleon table model ASCII char 39 char model; member in struct:chameleon_fpga_header
|
/drivers/media/usb/gspca/ |
H A D | sn9c2028.c | 35 u16 model; member in struct:sd 175 sd->model = id->idProduct; 177 switch (sd->model) { 199 switch (sd->model) { 622 switch (sd->model) {
|
/drivers/platform/x86/ |
H A D | eeepc-wmi.c | 137 char *model; local 141 model = (char *)dmi->matches[1].substr; 142 if (unlikely(strncmp(model, "ET2012", 6) == 0))
|
/drivers/power/ |
H A D | isp1704_charger.c | 67 char model[8]; member in struct:isp1704_charger 343 val->strval = isp->model; 392 sprintf(isp->model, "isp%x", product); 479 dev_info(isp->dev, "registered with product id %s\n", isp->model);
|
/drivers/video/backlight/ |
H A D | tdo24m.c | 340 enum tdo24m_model model; local 345 model = pdata->model; 347 model = TDO24M; 376 switch (model) { 386 dev_err(&spi->dev, "Unsupported model");
|
/drivers/input/joystick/ |
H A D | tmdc.c | 280 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/input/touchscreen/ |
H A D | tsc2007.c | 75 u16 model; member in struct:tsc2007 350 ts->model = pdata->model;
|
/drivers/media/usb/tm6000/ |
H A D | tm6000-cards.c | 56 #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...] |