Lines Matching defs:device
730 * attach a device to the backend
752 XDBG ((3, "attach: device %s already attached\n", dev_name));
756 XDBG ((3, "attach: device %s NOT attached\n", dev_name));
757 /* allocate some memory for the device */
766 * go ahead and open the scanner device
771 XDBG ((3, "Could not open device!!\n"));
779 /* assign all the stuff we need for this device... */
944 * function to retrieve the device name of a given string
957 if (0 == strncmp ("device", src, 6))
959 name = (const char *) &src[strlen ("device")];
962 XDBG ((1, "Decoding device name >%s<\n", name));
1462 XDBG ((3, "%s: couldn't malloc %lu bytes for device\n",
1514 XDBG ((3, "%s: device already open\n", function_name));
1558 XDBG ((3, "%s: device already active\n", function_name));
2932 SANE_I18N ("If enabled, the device will be calibrated before the "
3054 For a CIS device, it's sufficient to determine those values once. It's not necessary, to
3823 XDBG ((2, "sane_open: found matching device %s\n",
3837 /* empty devicename -> use first device */
3848 XDBG ((3, "could not open device\n"));
3851 XDBG ((2, "sane_open: opening device `%s', handle = %p\n", dev->sane.name,
3860 XDBG ((3, "could not activate device\n"));
4426 Artec48U_Device *device = 0;
4459 status = attach (_DEFAULT_DEVICE, &device);
4525 else if (0 == strncmp (str, "device", 6))
4563 /*function will check, whether device is really open */