/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/mesa3d/src/loader/ |
D | loader.c | 451 drm_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) in drm_get_pci_id_for_fd() argument 466 *vendor_id = device->deviceinfo.pci->vendor_id; in drm_get_pci_id_for_fd() 492 loader_get_linux_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) in loader_get_linux_pci_id_for_fd() argument 503 *vendor_id = loader_get_linux_pci_field(maj, min, "vendor"); in loader_get_linux_pci_id_for_fd() 506 return *vendor_id && *chip_id; in loader_get_linux_pci_id_for_fd() 511 loader_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) in loader_get_pci_id_for_fd() argument 515 if (loader_get_linux_pci_id_for_fd(fd, vendor_id, chip_id)) in loader_get_pci_id_for_fd() 520 return drm_get_pci_id_for_fd(fd, vendor_id, chip_id); in loader_get_pci_id_for_fd() 540 int vendor_id, chip_id, i, j; in loader_get_pci_driver() local 543 if (!loader_get_pci_id_for_fd(fd, &vendor_id, &chip_id)) in loader_get_pci_driver() [all …]
|
/third_party/vulkan-loader/loader/ |
D | loader_linux.c | 125 uint32_t left_xord_dev_vend = left->device_id ^ left->vendor_id; in compare_devices() 126 uint32_t right_xord_dev_vend = right->device_id ^ right->vendor_id; in compare_devices() 196 uint32_t left_xord_dev_vend = left->device_id ^ left->vendor_id; in compare_device_groups() 197 uint32_t right_xord_dev_vend = right->device_id ^ right->vendor_id; in compare_device_groups() 216 unsigned vendor_id, device_id; in linux_env_var_default_device() local 217 int32_t matched = sscanf(selection, "%x:%x", &vendor_id, &device_id); in linux_env_var_default_device() 220 …if (sorted_device_info[i].vendor_id == vendor_id && sorted_device_info[i].device_id == device_id) { in linux_env_var_default_device() 266 sorted_device_info[index].vendor_id = dev_props.vendorID; in linux_read_sorted_physical_devices() 370 sorted_group_term[group].internal_device_info[gpu].vendor_id = dev_props.vendorID; in linux_sort_physical_device_groups()
|
D | loader_windows.c | 353 unsigned int vendor_id; in windows_get_registry_files() member 358 .vendor_id = 0x8086, in windows_get_registry_files() 362 .vendor_id = 0x10de, in windows_get_registry_files() 366 .vendor_id = 0x1002, in windows_get_registry_files() 370 .vendor_id = 0x1002, in windows_get_registry_files() 375 .vendor_id = 0x8086, in windows_get_registry_files() 379 .vendor_id = 0x10de, in windows_get_registry_files() 383 .vendor_id = 0x1002, in windows_get_registry_files() 387 .vendor_id = 0x1002, in windows_get_registry_files() 495 if (description.VendorId == known_drivers[i].vendor_id) { in windows_get_registry_files()
|
/third_party/mesa3d/src/gallium/targets/d3dadapter9/ |
D | drm.c | 80 unsigned vendor_id; member 145 *vendorid = fallback_cards[0].vendor_id; in get_bus_info() 172 if (fallback_cards[i].vendor_id == override_vendorid) { in read_descriptor() 175 fallback_cards[i].vendor_id, in read_descriptor() 177 drvid->VendorId = fallback_cards[i].vendor_id; in read_descriptor() 191 …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/pulseaudio/src/modules/bluetooth/ |
D | a2dp-codec-aptx-gst.c | 60 static bool can_accept_capabilities_common(const a2dp_aptx_t *capabilities, uint32_t vendor_id, uin… in can_accept_capabilities_common() argument 61 …if (A2DP_GET_VENDOR_ID(capabilities->info) != vendor_id || A2DP_GET_CODEC_ID(capabilities->info) !… in can_accept_capabilities_common() 120 static void fill_capabilities_common(a2dp_aptx_t *capabilities, uint32_t vendor_id, uint16_t codec_… in fill_capabilities_common() argument 121 capabilities->info = A2DP_SET_VENDOR_ID_CODEC_ID(vendor_id, codec_id); in fill_capabilities_common() 143 static bool is_configuration_valid_common(const a2dp_aptx_t *config, uint32_t vendor_id, uint16_t c… in is_configuration_valid_common() argument 144 …if (A2DP_GET_VENDOR_ID(config->info) != vendor_id || A2DP_GET_CODEC_ID(config->info) != codec_id) { in is_configuration_valid_common() 185 …le_spec, const a2dp_aptx_t *capabilities, a2dp_aptx_t *config, uint32_t vendor_id, uint16_t codec_… in fill_preferred_configuration_common() argument 198 …if (A2DP_GET_VENDOR_ID(capabilities->info) != vendor_id || A2DP_GET_CODEC_ID(capabilities->info) !… in fill_preferred_configuration_common() 203 config->info = A2DP_SET_VENDOR_ID_CODEC_ID(vendor_id, codec_id); in fill_preferred_configuration_common()
|
D | a2dp-codec-ldac-gst.c | 52 static bool can_accept_capabilities_common(const a2dp_ldac_t *capabilities, uint32_t vendor_id, uin… in can_accept_capabilities_common() argument 53 …if (A2DP_GET_VENDOR_ID(capabilities->info) != vendor_id || A2DP_GET_CODEC_ID(capabilities->info) !… in can_accept_capabilities_common() 89 static void fill_capabilities_common(a2dp_ldac_t *capabilities, uint32_t vendor_id, uint16_t codec_… in fill_capabilities_common() argument 90 capabilities->info = A2DP_SET_VENDOR_ID_CODEC_ID(vendor_id, codec_id); in fill_capabilities_common() 131 …le_spec, const a2dp_ldac_t *capabilities, a2dp_ldac_t *config, uint32_t vendor_id, uint16_t codec_… in fill_preferred_configuration_common() argument 149 config->info = A2DP_SET_VENDOR_ID_CODEC_ID(vendor_id, codec_id); in fill_preferred_configuration_common()
|
/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/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/mesa3d/src/vulkan/device-select-layer/ |
D | device_select_layer.c | 258 drm_device->dev_info.vendor_id = properties.properties.vendorID; in fill_drm_device_info() 275 unsigned vendor_id, device_id; in device_select_find_explicit_default() local 276 int matched = sscanf(selection, "%x:%x", &vendor_id, &device_id); in device_select_find_explicit_default() 281 if (pci_infos[i].dev_info.vendor_id == vendor_id && in device_select_find_explicit_default() 355 if (id.vid == pci_infos[i].dev_info.vendor_id && in device_select_find_boot_vga_vid_did()
|
D | device_select_x11.c | 111 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.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/mesa3d/src/imagination/vulkan/ |
D | pvr_pipeline_cache.c | 55 if (header.vendor_id != VK_VENDOR_ID_IMAGINATION) in pvr_pipeline_cache_load() 128 .vendor_id = VK_VENDOR_ID_IMAGINATION, in pvr_GetPipelineCacheData()
|
/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/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/mesa3d/src/amd/common/ |
D | ac_rgp.c | 171 uint32_t vendor_id[4]; member 199 strncpy((char *)chunk->vendor_id, "Unknown", sizeof(chunk->vendor_id)); in ac_sqtt_fill_cpu_info() 219 char *ptr = (char *)chunk->vendor_id; in ac_sqtt_fill_cpu_info() 222 strncpy(ptr, v + 1, sizeof(chunk->vendor_id) - 1); in ac_sqtt_fill_cpu_info() 223 ptr[sizeof(chunk->vendor_id) - 1] = '\0'; in ac_sqtt_fill_cpu_info()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_screen.cpp | 94 switch (screen->vendor_id) { in d3d12_get_device_vendor() 234 return screen->vendor_id != HW_VENDOR_MICROSOFT; in d3d12_get_param() 890 switch (screen->vendor_id) { in can_attribute_at_vertex() 1361 if ((screen->vendor_id == HW_VENDOR_MICROSOFT && in d3d12_init_screen() 1388 _mesa_sha1_update(&sha1_ctx, &screen->vendor_id, sizeof(screen->vendor_id)); in d3d12_init_screen()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_physical_device_enum.h | 44 uint32_t vendor_id; member
|