/third_party/libinput/udev/ |
D | libinput-device-group.c | 38 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/ |
D | hotplug.c | 162 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/ |
D | a2dp-codecs.h | 127 (((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/ |
D | loader.c | 388 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()
|
D | loader.h | 47 loader_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id);
|
/third_party/libusb/examples/ |
D | hotplugtest.c | 83 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/ |
D | drm.c | 73 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/ |
D | eap_server_ttls.c | 107 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/ |
D | eap_server_ttls.c | 107 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/ |
D | pipe_loader_drm.c | 126 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/ |
D | eap_ttls.c | 205 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/ |
D | udev-builtin-usb_id.c | 234 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/ |
D | SystemInfo_libpci.cpp | 116 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/ |
D | device_select_x11.c | 110 if (xdev->deviceinfo.pci->vendor_id == devices[i].dev_info.vendor_id && in device_select_find_xcb_pci_default()
|
D | device_select_wayland.c | 133 if (info.dev_info->deviceinfo.pci->vendor_id == devices[i].dev_info.vendor_id && in device_select_find_wayland_pci_default()
|
D | device_select_layer.c | 261 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()
|
D | device_select.h | 33 uint32_t vendor_id; member
|
/third_party/skia/third_party/externals/angle2/src/gpu_info_util/ |
D | SystemInfo_libpci.cpp | 114 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/ |
D | eap_ttls.c | 205 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/ |
D | radius.c | 935 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/ |
D | radius.c | 935 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/ |
D | wps_attr_parse.c | 114 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/ |
D | wps_attr_parse.c | 114 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/ |
D | ac_rgp.c | 174 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/ |
D | gstd3d11utils.cpp | 194 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()
|