Home
last modified time | relevance | path

Searched refs:vendor_id (Results 1 – 25 of 207) sorted by relevance

123456789

/external/chromium_org/tools/usb_gadget/
Dhid_gadget_test.py53 vendor_id=0, product_id=0)
56 vendor_id=0, product_id=0)
60 vendor_id=0, product_id=0)
67 vendor_id=0, product_id=0)
73 vendor_id=0, product_id=0)
78 vendor_id=0, product_id=0)
86 vendor_id=0, product_id=0)
94 vendor_id=0, product_id=0)
139 vendor_id=0, product_id=0)
149 vendor_id=0, product_id=0)
[all …]
/external/chromium_org/gpu/config/
Dgpu_info_collector_linux.cc110 if (device->vendor_id == 0 || device->device_id == 0) in CollectPCIVideoCardInfo()
114 gpu.vendor_id = device->vendor_id; in CollectPCIVideoCardInfo()
124 if (gpu_info->gpu.vendor_id == kVendorIDIntel && in CollectPCIVideoCardInfo()
125 gpu.vendor_id != kVendorIDIntel) { in CollectPCIVideoCardInfo()
136 gpu_info->secondary_gpus[0].vendor_id == kVendorIDIntel) { in CollectPCIVideoCardInfo()
137 if (gpu_info->gpu.vendor_id == kVendorIDNVidia) in CollectPCIVideoCardInfo()
139 if (gpu_info->gpu.vendor_id == kVendorIDAMD) in CollectPCIVideoCardInfo()
175 CollectInfoResult CollectGpuID(uint32* vendor_id, uint32* device_id) { in CollectGpuID() argument
176 DCHECK(vendor_id && device_id); in CollectGpuID()
177 *vendor_id = 0; in CollectGpuID()
[all …]
Dgpu_info_collector_mac.mm59 gpu.vendor_id = GetEntryProperty(dsp_port, CFSTR("vendor-id"));
85 gpu.vendor_id = GetEntryProperty(entry, CFSTR("vendor-id"));
87 if (gpu.vendor_id && gpu.device_id) {
88 if (gpu.vendor_id == active_gpu.vendor_id &&
108 if (gpu_list[0].vendor_id == kVendorIDIntel)
110 else if (gpu_list[1].vendor_id == kVendorIDIntel)
113 switch (gpu_list[1 - integrated].vendor_id) {
157 if (gpu_info->gpu.vendor_id == 0 || gpu_info->gpu.device_id == 0)
176 CollectInfoResult CollectGpuID(uint32* vendor_id, uint32* device_id) {
177 DCHECK(vendor_id && device_id);
[all …]
Dgpu_info_collector_unittest.cc26 const uint32 vendor_id = 0x10de; in SetUp() local
39 const uint32 vendor_id = 0x10de; in SetUp() local
52 const uint32 vendor_id = 0x10de; in SetUp() local
65 test_values_.gpu.vendor_id = vendor_id; in SetUp()
/external/libmtp/examples/
Dhotplug.c126 …printf("ATTR{idVendor}==\"%04x\", ATTR{idProduct}==\"%04x\", %s\n", entry->vendor_id, entry->produ… in main()
131 … 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000\n", entry->vendor_id, entry->product_… in main()
135 printf(" <match key=\"usb.vendor_id\" int=\"0x%04x\">\n", entry->vendor_id); in main()
157 if (entry->vendor_id == 0x4102 || // iriver in main()
158 entry->vendor_id == 0x066f || // TrekStor in main()
159 entry->vendor_id == 0x1703) { // NormSoft, Inc. in main()
169 if (last_vendor != entry->vendor_id) { in main()
170 printf("%04x\n", entry->vendor_id); in main()
175 last_vendor = entry->vendor_id; in main()
191 …printf("ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", %s\n", entry->vendor_id, entry->pro… in main()
/external/chromium_org/third_party/mesa/src/src/gallium/targets/egl-static/
Degl.c67 drm_fd_get_pci_id(int fd, int *vendor_id, int *chip_id) in drm_fd_get_pci_id() argument
97 sscanf(pci_id, "%x:%x", vendor_id, chip_id) != 2) { in drm_fd_get_pci_id()
123 drm_fd_get_pci_id(int fd, int *vendor_id, int *chip_id) in drm_fd_get_pci_id() argument
144 *vendor_id = 0x8086; in drm_fd_get_pci_id()
159 *vendor_id = 0x1002; in drm_fd_get_pci_id()
171 *vendor_id = 0x10de; in drm_fd_get_pci_id()
176 *vendor_id = 0x15ad; in drm_fd_get_pci_id()
189 drm_fd_get_pci_id(int fd, int *vendor_id, int *chip_id) in drm_fd_get_pci_id() argument
199 int vendor_id, chip_id; in drm_fd_get_screen_name() local
202 if (!drm_fd_get_pci_id(fd, &vendor_id, &chip_id)) { in drm_fd_get_screen_name()
[all …]
/external/mesa3d/src/gallium/targets/egl-static/
Degl.c67 drm_fd_get_pci_id(int fd, int *vendor_id, int *chip_id) in drm_fd_get_pci_id() argument
97 sscanf(pci_id, "%x:%x", vendor_id, chip_id) != 2) { in drm_fd_get_pci_id()
123 drm_fd_get_pci_id(int fd, int *vendor_id, int *chip_id) in drm_fd_get_pci_id() argument
144 *vendor_id = 0x8086; in drm_fd_get_pci_id()
159 *vendor_id = 0x1002; in drm_fd_get_pci_id()
171 *vendor_id = 0x10de; in drm_fd_get_pci_id()
176 *vendor_id = 0x15ad; in drm_fd_get_pci_id()
189 drm_fd_get_pci_id(int fd, int *vendor_id, int *chip_id) in drm_fd_get_pci_id() argument
199 int vendor_id, chip_id; in drm_fd_get_screen_name() local
202 if (!drm_fd_get_pci_id(fd, &vendor_id, &chip_id)) { in drm_fd_get_screen_name()
[all …]
/external/chromium_org/apps/
Dsaved_devices_service.cc98 int vendor_id; in GetSavedDeviceEntries() local
100 &vendor_id) || in GetSavedDeviceEntries()
101 vendor_id < 0 || vendor_id > UINT16_MAX) { in GetSavedDeviceEntries()
116 result.push_back(SavedDeviceEntry(vendor_id, product_id, serial_number)); in GetSavedDeviceEntries()
123 SavedDeviceEntry::SavedDeviceEntry(uint16_t vendor_id, in SavedDeviceEntry() argument
126 : vendor_id(vendor_id), in SavedDeviceEntry()
134 device_entry_dict->SetIntegerWithoutPathExpansion(kDeviceVendorId, vendor_id); in ToValue()
154 if (it->vendor_id != device->vendor_id()) { in IsRegistered()
182 if (it->vendor_id != device->vendor_id()) { in RegisterDevice()
193 device->vendor_id(), device->product_id(), *serial_number); in RegisterDevice()
/external/mesa3d/src/gbm/backends/dri/
Ddriver_name.c45 int vendor_id, chip_id, i, j; in dri_fd_get_driver_name() local
60 sscanf(pci_id, "%x:%x", &vendor_id, &chip_id) != 2) { in dri_fd_get_driver_name()
66 if (vendor_id != driver_map[i].vendor_id) in dri_fd_get_driver_name()
71 fd, vendor_id, chip_id, driver); in dri_fd_get_driver_name()
79 fd, vendor_id, chip_id, driver); in dri_fd_get_driver_name()
/external/chromium_org/third_party/mesa/src/src/gbm/backends/dri/
Ddriver_name.c45 int vendor_id, chip_id, i, j; in dri_fd_get_driver_name() local
60 sscanf(pci_id, "%x:%x", &vendor_id, &chip_id) != 2) { in dri_fd_get_driver_name()
66 if (vendor_id != driver_map[i].vendor_id) in dri_fd_get_driver_name()
71 fd, vendor_id, chip_id, driver); in dri_fd_get_driver_name()
79 fd, vendor_id, chip_id, driver); in dri_fd_get_driver_name()
/external/chromium_org/device/usb/
Dusb_ids.cc29 const UsbVendor* UsbIds::FindVendor(uint16_t vendor_id) { in FindVendor() argument
30 const UsbVendor key = {vendor_id, NULL, 0, NULL}; in FindVendor()
38 const char* UsbIds::GetVendorName(uint16_t vendor_id) { in GetVendorName() argument
39 const UsbVendor* vendor = FindVendor(vendor_id); in GetVendorName()
45 const char* UsbIds::GetProductName(uint16_t vendor_id, uint16_t product_id) { in GetProductName() argument
46 const UsbVendor* vendor = FindVendor(vendor_id); in GetProductName()
Dusb_ids.h32 static const char* GetVendorName(uint16_t vendor_id);
38 static const char* GetProductName(uint16_t vendor_id, uint16_t product_id);
46 static const UsbVendor* FindVendor(uint16_t vendor_id);
/external/mesa3d/src/egl/drivers/dri2/
Dcommon.c98 int vendor_id, chip_id, i, j; in dri2_get_driver_for_fd() local
113 sscanf(pci_id, "%x:%x", &vendor_id, &chip_id) != 2) { in dri2_get_driver_for_fd()
119 if (vendor_id != driver_map[i].vendor_id) in dri2_get_driver_for_fd()
124 fd, vendor_id, chip_id, driver); in dri2_get_driver_for_fd()
132 fd, vendor_id, chip_id, driver); in dri2_get_driver_for_fd()
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/
Dcommon.c98 int vendor_id, chip_id, i, j; in dri2_get_driver_for_fd() local
113 sscanf(pci_id, "%x:%x", &vendor_id, &chip_id) != 2) { in dri2_get_driver_for_fd()
119 if (vendor_id != driver_map[i].vendor_id) in dri2_get_driver_for_fd()
124 fd, vendor_id, chip_id, driver); in dri2_get_driver_for_fd()
132 fd, vendor_id, chip_id, driver); in dri2_get_driver_for_fd()
/external/chromium_org/extensions/common/permissions/
Dusb_device_permission.h20 CheckParam(uint16 vendor_id, uint16 product_id, int interface_id) in CheckParam()
21 : vendor_id(vendor_id), in CheckParam()
24 const uint16 vendor_id; member
Dusb_device_permission_data.h38 UsbDevicePermissionData(uint16 vendor_id,
55 const uint16& vendor_id() const { return vendor_id_; } in vendor_id() function
60 uint16& vendor_id() { return vendor_id_; } in vendor_id() function
/external/chromium_org/third_party/libusb/src/libusb/
Dhotplug.c159 if (LIBUSB_HOTPLUG_MATCH_ANY != hotplug_cb->vendor_id && in usbi_hotplug_match_cb()
160 hotplug_cb->vendor_id != dev->device_descriptor.idVendor) { in usbi_hotplug_match_cb()
203 int vendor_id, int product_id, int dev_class, in libusb_hotplug_register_callback() argument
216 if ((LIBUSB_HOTPLUG_MATCH_ANY != vendor_id && (~0xffff & vendor_id)) || in libusb_hotplug_register_callback()
231 new_callback->vendor_id = vendor_id; in libusb_hotplug_register_callback()
/external/ipsec-tools/src/racoon/
Dvendorid.c66 static struct vendor_id all_vendor_ids[] = {
106 static struct vendor_id *
121 struct vendor_id *current; in vid_string_by_id()
131 static struct vendor_id *
187 struct vendor_id *current; in set_vendorid()
222 struct vendor_id *current; in check_vendorid()
/external/chromium_org/chrome/browser/resources/print_preview/data/ticket_items/
Dmedia_size.js57 option.vendor_id == value.vendor_id;
78 myValue.vendor_id == value.vendor_id;
/external/chromium_org/tools/telemetry/telemetry/page/
Dtest_expectations.py89 vendor_id = primary_gpu.vendor_id
92 elif vendor_id == 0x10DE:
94 elif vendor_id == 0x1002:
96 elif vendor_id == 0x8086:
/external/chromium_org/device/usb/tools/
Dusb_ids.py51 for vendor_id in sorted(table.keys()):
52 vendor = table[vendor_id]
69 for vendor_id in sorted(table.keys()):
70 vendor = table[vendor_id]
/external/chromium_org/device/serial/
Dserial_device_enumerator_linux.cc79 const char* vendor_id = in GetDevices() local
87 if (vendor_id && base::HexStringToUInt(vendor_id, &int_value)) { in GetDevices()
88 info->vendor_id = int_value; in GetDevices()
/external/chromium_org/tools/telemetry/telemetry/core/
Dgpu_device.py19 def __init__(self, vendor_id, device_id, vendor_string, device_string): argument
20 self._vendor_id = vendor_id
53 def vendor_id(self): member in GPUDevice
/external/chromium_org/content/test/gpu/gpu_tests/
Dcloud_storage_test_base.py53 self.vendor_id = None
101 if ((self.vendor_id and self.device_id) or
111 if device.vendor_id and device.device_id:
112 self.vendor_id = device.vendor_id
125 if self.vendor_id:
127 self.options.os_type, self.vendor_id, self.device_id, msaa_string)
/external/chromium_org/device/hid/
Dhid_device_filter.cc21 void HidDeviceFilter::SetVendorId(uint16_t vendor_id) { in SetVendorId() argument
23 vendor_id_ = vendor_id; in SetVendorId()
43 if (device_info.vendor_id != vendor_id_) { in Matches()

123456789