Home
last modified time | relevance | path

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

12345

/third_party/libinput/udev/
Dlibinput-device-group.c38 int *vendor_id, in wacom_handle_paired() argument
49 tablet = libwacom_new_from_usbid(db, *vendor_id, *product_id, NULL); in wacom_handle_paired()
56 *vendor_id = libwacom_match_get_vendor_id(paired); in wacom_handle_paired()
96 int *vendor_id, in wacom_handle_ekr() argument
137 *vendor_id = vid; in wacom_handle_ekr()
160 int bustype, vendor_id, product_id, version; in main() local
205 &vendor_id, in main()
213 if (vendor_id == VENDOR_ID_WACOM) { in main()
216 &vendor_id, in main()
221 &vendor_id, in main()
[all …]
/third_party/libusb/libusb/
Dhotplug.c162 hotplug_cb->vendor_id != dev->device_descriptor.idVendor) { in usbi_hotplug_match_cb()
233 int vendor_id, int product_id, int dev_class, in libusb_hotplug_register_callback() argument
242 (LIBUSB_HOTPLUG_MATCH_ANY != vendor_id && (~0xffff & vendor_id)) || in libusb_hotplug_register_callback()
262 if (LIBUSB_HOTPLUG_MATCH_ANY != vendor_id) { in libusb_hotplug_register_callback()
264 new_callback->vendor_id = (uint16_t)vendor_id; in libusb_hotplug_register_callback()
/third_party/gstreamer/gstplugins_bad/sys/bluez/
Da2dp-codecs.h127 (((uint32_t)(a).vendor_id[0]) << 0) | \
128 (((uint32_t)(a).vendor_id[1]) << 8) | \
129 (((uint32_t)(a).vendor_id[2]) << 16) | \
130 (((uint32_t)(a).vendor_id[3]) << 24) \
201 uint8_t vendor_id[4]; member
/third_party/mesa3d/src/loader/
Dloader.c388 drm_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) in drm_get_pci_id_for_fd() argument
403 *vendor_id = device->deviceinfo.pci->vendor_id; in drm_get_pci_id_for_fd()
412 loader_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) in loader_get_pci_id_for_fd() argument
415 return drm_get_pci_id_for_fd(fd, vendor_id, chip_id); in loader_get_pci_id_for_fd()
435 int vendor_id, chip_id, i, j; in loader_get_pci_driver() local
438 if (!loader_get_pci_id_for_fd(fd, &vendor_id, &chip_id)) in loader_get_pci_driver()
442 if (vendor_id != driver_map[i].vendor_id) in loader_get_pci_driver()
463 fd, vendor_id, chip_id, driver); in loader_get_pci_driver()
Dloader.h47 loader_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id);
/third_party/libusb/examples/
Dhotplugtest.c83 int product_id, vendor_id, class_id; in main() local
86 vendor_id = (argc > 1) ? (int)strtol (argv[1], NULL, 0) : 0x045a; in main()
103 rc = libusb_hotplug_register_callback (NULL, LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED, 0, vendor_id, in main()
111 rc = libusb_hotplug_register_callback (NULL, LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT, 0, vendor_id, in main()
/third_party/mesa3d/src/gallium/targets/d3dadapter9/
Ddrm.c73 unsigned vendor_id; member
138 *vendorid = fallback_cards[0].vendor_id; in get_bus_info()
165 if (fallback_cards[i].vendor_id == override_vendorid) { in read_descriptor()
168 fallback_cards[i].vendor_id, in read_descriptor()
170 drvid->VendorId = fallback_cards[i].vendor_id; in read_descriptor()
184 …d3d_match_vendor_id(drvid, fallback_cards[0].vendor_id, fallback_cards[0].device_id, fallback_card… in read_descriptor()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_ttls.c107 static u8 * eap_ttls_avp_hdr(u8 *avphdr, u32 avp_code, u32 vendor_id, in eap_ttls_avp_hdr() argument
116 if (vendor_id) { in eap_ttls_avp_hdr()
119 avp->vendor_id = host_to_be32(vendor_id); in eap_ttls_avp_hdr()
189 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_avp_parse() local
219 vendor_id = be_to_host32(* (be32 *) dpos); in eap_ttls_avp_parse()
221 (int) vendor_id); in eap_ttls_avp_parse()
228 if (vendor_id == 0 && avp_code == RADIUS_ATTR_EAP_MESSAGE) { in eap_ttls_avp_parse()
252 } else if (vendor_id == 0 && in eap_ttls_avp_parse()
258 } else if (vendor_id == 0 && in eap_ttls_avp_parse()
271 } else if (vendor_id == 0 && in eap_ttls_avp_parse()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_ttls.c107 static u8 * eap_ttls_avp_hdr(u8 *avphdr, u32 avp_code, u32 vendor_id, in eap_ttls_avp_hdr() argument
116 if (vendor_id) { in eap_ttls_avp_hdr()
119 avp->vendor_id = host_to_be32(vendor_id); in eap_ttls_avp_hdr()
189 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_avp_parse() local
219 vendor_id = be_to_host32(* (be32 *) dpos); in eap_ttls_avp_parse()
221 (int) vendor_id); in eap_ttls_avp_parse()
228 if (vendor_id == 0 && avp_code == RADIUS_ATTR_EAP_MESSAGE) { in eap_ttls_avp_parse()
252 } else if (vendor_id == 0 && in eap_ttls_avp_parse()
258 } else if (vendor_id == 0 && in eap_ttls_avp_parse()
271 } else if (vendor_id == 0 && in eap_ttls_avp_parse()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/pipe-loader/
Dpipe_loader_drm.c126 int vendor_id, chip_id; in pipe_loader_drm_probe_fd_nodup() local
131 if (loader_get_pci_id_for_fd(fd, &vendor_id, &chip_id)) { in pipe_loader_drm_probe_fd_nodup()
133 ddev->base.u.pci.vendor_id = vendor_id; in pipe_loader_drm_probe_fd_nodup()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_ttls.c205 static u8 * eap_ttls_avp_hdr(u8 *avphdr, u32 avp_code, u32 vendor_id, in eap_ttls_avp_hdr() argument
214 if (vendor_id) { in eap_ttls_avp_hdr()
217 avp->vendor_id = host_to_be32(vendor_id); in eap_ttls_avp_hdr()
231 u32 vendor_id, int mandatory, in eap_ttls_avp_add() argument
235 pos = eap_ttls_avp_hdr(avphdr, avp_code, vendor_id, mandatory, len); in eap_ttls_avp_add()
918 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_parse_avp() local
952 vendor_id = WPA_GET_BE32(dpos); in eap_ttls_parse_avp()
954 (int) vendor_id); in eap_ttls_parse_avp()
961 if (vendor_id == 0 && avp_code == RADIUS_ATTR_EAP_MESSAGE) { in eap_ttls_parse_avp()
964 } else if (vendor_id == 0 && avp_code == RADIUS_ATTR_REPLY_MESSAGE) { in eap_ttls_parse_avp()
[all …]
/third_party/eudev/src/udev/
Dudev-builtin-usb_id.c234 const char *vendor_id; in builtin_usb_id() local
368 vendor_id = udev_device_get_sysattr_value(dev_usb, "idVendor"); in builtin_usb_id()
377 usb_vendor = vendor_id; in builtin_usb_id()
441 udev_builtin_add_property(dev, test, "ID_VENDOR_ID", vendor_id); in builtin_usb_id()
/third_party/flutter/skia/third_party/externals/angle2/src/gpu_info_util/
DSystemInfo_libpci.cpp116 if (device->vendor_id == 0 || device->device_id == 0) in GetPCIDevicesWithLibPCI()
122 info.vendorId = device->vendor_id; in GetPCIDevicesWithLibPCI()
/third_party/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_x11.c110 if (xdev->deviceinfo.pci->vendor_id == devices[i].dev_info.vendor_id && in device_select_find_xcb_pci_default()
Ddevice_select_wayland.c133 if (info.dev_info->deviceinfo.pci->vendor_id == devices[i].dev_info.vendor_id && in device_select_find_wayland_pci_default()
Ddevice_select_layer.c261 drm_device->dev_info.vendor_id = properties.properties.vendorID; in fill_drm_device_info()
278 unsigned vendor_id, device_id; in device_select_find_explicit_default() local
279 int matched = sscanf(selection, "%x:%x", &vendor_id, &device_id); in device_select_find_explicit_default()
284 if (pci_infos[i].dev_info.vendor_id == vendor_id && in device_select_find_explicit_default()
Ddevice_select.h33 uint32_t vendor_id; member
/third_party/skia/third_party/externals/angle2/src/gpu_info_util/
DSystemInfo_libpci.cpp114 if (device->vendor_id == 0 || device->device_id == 0) in GetPCIDevicesWithLibPCI()
120 info.vendorId = device->vendor_id; in GetPCIDevicesWithLibPCI()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_ttls.c205 static u8 * eap_ttls_avp_hdr(u8 *avphdr, u32 avp_code, u32 vendor_id, in eap_ttls_avp_hdr() argument
214 if (vendor_id) { in eap_ttls_avp_hdr()
217 avp->vendor_id = host_to_be32(vendor_id); in eap_ttls_avp_hdr()
231 u32 vendor_id, int mandatory, in eap_ttls_avp_add() argument
235 pos = eap_ttls_avp_hdr(avphdr, avp_code, vendor_id, mandatory, len); in eap_ttls_avp_add()
947 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_parse_avp() local
981 vendor_id = WPA_GET_BE32(dpos); in eap_ttls_parse_avp()
983 (int) vendor_id); in eap_ttls_parse_avp()
990 if (vendor_id == 0 && avp_code == RADIUS_ATTR_EAP_MESSAGE) { in eap_ttls_parse_avp()
993 } else if (vendor_id == 0 && avp_code == RADIUS_ATTR_REPLY_MESSAGE) { in eap_ttls_parse_avp()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/
Dradius.c935 u32 vendor_id; in radius_msg_get_vendor_attr() local
948 os_memcpy(&vendor_id, pos, 4); in radius_msg_get_vendor_attr()
952 if (ntohl(vendor_id) != vendor) in radius_msg_get_vendor_attr()
1193 u32 vendor_id = htonl(RADIUS_VENDOR_ID_MICROSOFT); in radius_msg_add_mppe_keys() local
1201 hlen = sizeof(vendor_id) + sizeof(*vhdr) + 2; in radius_msg_add_mppe_keys()
1209 os_memcpy(pos, &vendor_id, sizeof(vendor_id)); in radius_msg_add_mppe_keys()
1210 pos += sizeof(vendor_id); in radius_msg_add_mppe_keys()
1223 vhdr->vendor_length = hlen + elen - sizeof(vendor_id); in radius_msg_add_mppe_keys()
1238 os_memcpy(pos, &vendor_id, sizeof(vendor_id)); in radius_msg_add_mppe_keys()
1239 pos += sizeof(vendor_id); in radius_msg_add_mppe_keys()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/
Dradius.c935 u32 vendor_id; in radius_msg_get_vendor_attr() local
948 os_memcpy(&vendor_id, pos, 4); in radius_msg_get_vendor_attr()
952 if (ntohl(vendor_id) != vendor) in radius_msg_get_vendor_attr()
1193 u32 vendor_id = htonl(RADIUS_VENDOR_ID_MICROSOFT); in radius_msg_add_mppe_keys() local
1201 hlen = sizeof(vendor_id) + sizeof(*vhdr) + 2; in radius_msg_add_mppe_keys()
1209 os_memcpy(pos, &vendor_id, sizeof(vendor_id)); in radius_msg_add_mppe_keys()
1210 pos += sizeof(vendor_id); in radius_msg_add_mppe_keys()
1223 vhdr->vendor_length = hlen + elen - sizeof(vendor_id); in radius_msg_add_mppe_keys()
1238 os_memcpy(pos, &vendor_id, sizeof(vendor_id)); in radius_msg_add_mppe_keys()
1239 pos += sizeof(vendor_id); in radius_msg_add_mppe_keys()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_attr_parse.c114 u32 vendor_id; in wps_parse_vendor_ext() local
121 vendor_id = WPA_GET_BE24(pos); in wps_parse_vendor_ext()
122 switch (vendor_id) { in wps_parse_vendor_ext()
130 vendor_id); in wps_parse_vendor_ext()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_attr_parse.c114 u32 vendor_id; in wps_parse_vendor_ext() local
121 vendor_id = WPA_GET_BE24(pos); in wps_parse_vendor_ext()
122 switch (vendor_id) { in wps_parse_vendor_ext()
130 vendor_id); in wps_parse_vendor_ext()
/third_party/mesa3d/src/amd/common/
Dac_rgp.c174 uint32_t vendor_id[4]; member
202 strncpy((char *)chunk->vendor_id, "Unknown", sizeof(chunk->vendor_id)); in ac_sqtt_fill_cpu_info()
222 char *ptr = (char *)chunk->vendor_id; in ac_sqtt_fill_cpu_info()
225 strncpy(ptr, v + 1, sizeof(chunk->vendor_id) - 1); in ac_sqtt_fill_cpu_info()
226 ptr[sizeof(chunk->vendor_id) - 1] = '\0'; in ac_sqtt_fill_cpu_info()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/d3d11/
Dgstd3d11utils.cpp194 guint vendor_id = 0; in context_set_d3d11_device() local
202 "vendor-id", &vendor_id, "hardware", &hardware, "description", &desc, in context_set_d3d11_device()
215 "vendor-id", G_TYPE_UINT, vendor_id, in context_set_d3d11_device()

12345