Lines Matching defs:model
1632 /* trust ADF-presence flag, even if ADF model is nonzero */
3810 DBG (3, "get_accessories_info: [2] ADF model: %d (%s)\n",
3824 * an ADF model number will still be reported. This happens on the
3830 DBG (3, "get_accessories_info: Found ADF model number but the ADF-present flag is not set. Trying to recover...\n");
3868 /* dev->sane.model
3877 strcmp (dev->sane.model, "AV121") == 0 ||
3878 strcmp (dev->sane.model, "AV122") == 0
3888 if (strcmp (dev->sane.model, "AV210C2") == 0 ||
3889 strcmp (dev->sane.model, "AV210D2+") == 0 ||
3890 strcmp (dev->sane.model, "AV220C2") == 0 ||
3891 strcmp (dev->sane.model, "AV610C2") == 0
3901 if (strcmp (dev->sane.model, "AV610") == 0)
4272 char model [17];
4314 memcpy (&model, result + 16, 16);
4315 model [16] = 0;
4327 for (i = sizeof (model) - 2; i > 0; i--) {
4328 if (model[i] == 0x20)
4329 model[i] = 0;
4334 DBG (1, "attach: Inquiry gives mfg=%s, model=%s, product revision=%s.\n",
4335 mfg, model, rev);
4344 DBG (1, "attach: Checking model: %d\n", model_num);
4353 if (strcmp(model, Avision_Device_List[model_num].scsi_model) == 0)
4357 /* we need 2 matches (mfg, model) for SCSI entries, or the ones available
4376 DBG (0, "attach: \"%s\" - \"%s\" not yet in whitelist!\n", mfg, model);
4430 dev->sane.model = dev->hw->real_model ? dev->hw->real_model : strdup (model);
4901 if (dev->inquiry_new_protocol) /* TODO: match on ASIC? which model hung? */