Lines Matching defs:vendor

148   SANE_Int vendor;
241 * descriptors are vendor specific. As a result the device will get configured
327 /* read the vendor and product IDs via the IOCTLs */
331 DBG (3, "kernel_get_vendor_product: ioctl (vendor) "
342 uint16 vendor, product;
343 if (ioctl (fd, B_SCANNER_IOCTL_VENDOR, &vendor) != B_OK)
344 DBG (3, "kernel_get_vendor_product: ioctl (vendor) "
350 *vendorID = vendor;
391 "vendor/product ID from device %s\n", name);
415 && devices[i].vendor == device.vendor
1306 device.vendor = device_id;
1679 device.vendor = pDevDesc->idVendor;
1710 SANE_Int vendor, product;
1768 vendor = -1;
1770 kernel_get_vendor_product (fd, devname, &vendor, &product);
1779 device.vendor = vendor;
1784 vendor, product, devname);
1890 device.vendor = dev->descriptor.idVendor;
2066 device.vendor = vid;
2244 device.vendor = vid;
2328 char *vendor, *product;
2339 name = sanei_config_get_string (name, &vendor);
2340 if (vendor)
2342 vendorID = strtol (vendor, 0, 0);
2343 free (vendor);
2366 SANE_Word * vendor, SANE_Word * product)
2386 if ((devices[i].vendor == 0) && (devices[i].product == 0))
2392 if (vendor)
2393 *vendor = devices[i].vendor;
2402 sanei_usb_get_vendor_product (SANE_Int dn, SANE_Word * vendor,
2421 vendorID = devices[dn].vendor;
2424 if (vendor)
2425 *vendor = vendorID;
2432 "seem to support detection of vendor+product ids\n", dn);
2444 sanei_usb_find_devices (SANE_Int vendor, SANE_Int product,
2450 "sanei_usb_find_devices: vendor=0x%04x, product=0x%04x\n",
2451 vendor, product);
2455 if (devices[dn].vendor == vendor
2632 sanei_xml_set_hex_attr(e_description, "id_vendor", devices[dn].vendor);
3379 devices[devcount].vendor,devices[devcount].product);
3382 devices[devcount].vendor,