Lines Matching defs:device
199 /* device characteristics */
258 static SANE_Status cs3_open(const char *device, cs3_interface_t interface,
380 DBG(6, "%s: %i device(s) detected.\n",
409 /* get device properties */
1776 cs3_open(const char *device, cs3_interface_t interface, cs3_t ** sp)
1785 DBG(6, "%s, device = %s, interface = %i\n",
1786 __func__, device, interface);
1788 if (!strncmp(device, "auto", 5)) {
1831 if (!strncmp(device, prefix, strlen(prefix))) {
1832 const void *p = device + strlen(prefix);
1844 __func__, device);
1845 status = sanei_scsi_open(device, &s->fd,
1856 __func__, device);
1857 status = sanei_usb_open(device, &s->fd);
1867 DBG(6, "%s, trying to identify device.\n", __func__);
1905 "%s, device identified as coolscan3 type #%i.\n",
1908 DBG(10, "%s, device not identified.\n", __func__);
1946 line = (char *) cs3_xmalloc(strlen(device) + strlen(prefix) +
1952 strcat(line, device);
2815 /* The prefix "real_" refers to data in device units (1/maxdpi),
3094 /* wait for device to be ready with document, and set device unit */