/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-pci.c | 306 /* Look for vendor-specific quirks */ in xhci_pci_quirks() 307 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks() 338 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks() 342 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks() 346 if (pdev->vendor == PCI_VENDOR_ID_NEC) in xhci_pci_quirks() 349 if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version == 0x96) in xhci_pci_quirks() 353 if (pdev->vendor == PCI_VENDOR_ID_AMD && usb_amd_quirk_pll_check()) in xhci_pci_quirks() 356 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks() 363 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks() 367 if (pdev->vendor in xhci_pci_quirks() [all...] |
/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/test/ |
H A D | disk_test.cpp | 48 std::string vendor = ""; in HWTEST_F() local 50 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F() 58 EXPECT_EQ(result4, vendor); in HWTEST_F() 80 std::string vendor = ""; in HWTEST_F() local 82 Disk disk(diskId, sizeBytes, sysPath, vendor, flag); in HWTEST_F() 88 EXPECT_EQ(parcel.ReadString(), vendor); in HWTEST_F() 108 std::string vendor = ""; in HWTEST_F() local 114 parcel.WriteString(vendor); in HWTEST_F() 122 EXPECT_EQ(result->GetVendor(), vendor); in HWTEST_F()
|
/third_party/skia/third_party/externals/angle2/src/gpu_info_util/ |
H A D | SystemInfo_unittest.cpp | 106 uint32_t vendor = 0; in TEST() local 111 "PCI\\VEN_10DE&DEV_0FFA&SUBSYS_094B10DE&REV_A1\\4&95673C&0&0018", &vendor, &device)); in TEST() 112 EXPECT_EQ(0x10deu, vendor); in TEST() 116 EXPECT_TRUE(CMDeviceIDToDeviceAndVendorID("PCI\\VEN_10DE&DEV_0FFA", &vendor, &device)); in TEST() 117 EXPECT_EQ(0x10deu, vendor); in TEST() 121 EXPECT_FALSE(CMDeviceIDToDeviceAndVendorID("\\VEN_10DE&DEV_0FFA", &vendor, &device)); in TEST() 122 EXPECT_EQ(0u, vendor); in TEST() 126 EXPECT_FALSE(CMDeviceIDToDeviceAndVendorID("PCI\\VEN_XXXX&DEV_XXXX", &vendor, &device)); in TEST() 127 EXPECT_EQ(0u, vendor); in TEST()
|
/kernel/linux/linux-6.6/tools/power/cpupower/utils/helpers/ |
H A D | cpuid.c | 40 * Extract CPU vendor, family, model, stepping info from /proc/cpuinfo 56 cpu_info->vendor = X86_VENDOR_UNKNOWN; in get_cpu_info() 77 /* Get CPU vendor */ in get_cpu_info() 81 cpu_info->vendor = x; in get_cpu_info() 95 if (cpu_info->vendor == X86_VENDOR_UNKNOWN || in get_cpu_info() 111 if (cpu_info->vendor != X86_VENDOR_AMD && in get_cpu_info() 112 cpu_info->vendor != X86_VENDOR_HYGON && in get_cpu_info() 113 cpu_info->vendor != X86_VENDOR_INTEL) in get_cpu_info() 129 if (cpu_info->vendor == X86_VENDOR_AMD || in get_cpu_info() 130 cpu_info->vendor in get_cpu_info() [all...] |
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/ |
H A D | header.c | 14 void get_cpuid_0(char *vendor, unsigned int *lvl) in get_cpuid_0() argument 19 strncpy(&vendor[0], (char *)(&b), 4); in get_cpuid_0() 20 strncpy(&vendor[4], (char *)(&d), 4); in get_cpuid_0() 21 strncpy(&vendor[8], (char *)(&c), 4); in get_cpuid_0() 22 vendor[12] = '\0'; in get_cpuid_0() 31 char vendor[16]; in __get_cpuid() local 33 get_cpuid_0(vendor, &lvl); in __get_cpuid() 50 nb = scnprintf(buffer, sz, fmt, vendor, family, model, step); in __get_cpuid() 78 /* Full CPUID format for x86 is vendor-family-model-stepping */ 109 "vendor in strcmp_cpuid_str() [all...] |
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | efi.c | 119 static efi_status_t xen_efi_get_variable(efi_char16_t *name, efi_guid_t *vendor, in xen_efi_get_variable() argument 126 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_get_variable() 128 memcpy(&efi_data(op).u.get_variable.vendor_guid, vendor, sizeof(*vendor)); in xen_efi_get_variable() 144 efi_guid_t *vendor) in xen_efi_get_next_variable() 150 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_get_next_variable() 152 memcpy(&efi_data(op).u.get_next_variable_name.vendor_guid, vendor, in xen_efi_get_next_variable() 153 sizeof(*vendor)); in xen_efi_get_next_variable() 159 memcpy(vendor, &efi_data(op).u.get_next_variable_name.vendor_guid, in xen_efi_get_next_variable() 160 sizeof(*vendor)); in xen_efi_get_next_variable() 142 xen_efi_get_next_variable(unsigned long *name_size, efi_char16_t *name, efi_guid_t *vendor) xen_efi_get_next_variable() argument 165 xen_efi_set_variable(efi_char16_t *name, efi_guid_t *vendor, u32 attr, unsigned long data_size, void *data) xen_efi_set_variable() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
H A D | sdio.c | 22 #define HNBU_CHIPID 0x01 /* vendor & device id */ 28 u16 vendor; member 37 static unsigned int b43_sdio_get_quirks(u16 vendor, u16 device) in b43_sdio_get_quirks() argument 42 if (vendor == q->vendor && device == q->device) in b43_sdio_get_quirks() 97 u16 vendor = 0, device = 0; in b43_sdio_probe() local 109 vendor = tuple->data[1] | (tuple->data[2]<<8); in b43_sdio_probe() 112 vendor, device); in b43_sdio_probe() 123 if (!vendor || !device) { in b43_sdio_probe() 149 b43_sdio_get_quirks(vendor, devic in b43_sdio_probe() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/ |
H A D | sdio.c | 22 #define HNBU_CHIPID 0x01 /* vendor & device id */ 28 u16 vendor; member 37 static unsigned int b43_sdio_get_quirks(u16 vendor, u16 device) in b43_sdio_get_quirks() argument 42 if (vendor == q->vendor && device == q->device) in b43_sdio_get_quirks() 97 u16 vendor = 0, device = 0; in b43_sdio_probe() local 109 vendor = tuple->data[1] | (tuple->data[2]<<8); in b43_sdio_probe() 112 vendor, device); in b43_sdio_probe() 123 if (!vendor || !device) { in b43_sdio_probe() 149 b43_sdio_get_quirks(vendor, devic in b43_sdio_probe() [all...] |
/third_party/backends/backend/ |
H A D | u12-if.c | 94 static SANE_Status u12_initDev( U12_Device *dev, int handle, int vendor ) in u12_initDev() 100 /* well now we patch the vendor string... in u12_initDev() 101 * if not found, the default vendor will be Plustek in u12_initDev() 105 if( u12Vendors[i].id == vendor ) { in u12_initDev() 106 dev->sane.vendor = u12Vendors[i].desc; in u12_initDev() 107 DBG( _DBG_INFO, "Vendor adjusted to: >%s<\n", dev->sane.vendor ); in u12_initDev() 187 * string(vendor and product ID), is supported by this backend or not 189 * @param usbIdStr - string consisting out of product and vendor ID 226 * @param vendor - pointer to receive vendor I 231 usbDev_autodetect( SANE_Word *vendor, SANE_Word *product ) usbDev_autodetect() argument 266 SANE_Word vendor, product; u12if_open() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | sr_vendor.c | 4 * vendor-specific code for SCSI CD-ROM's goes here. 70 const char *vendor = cd->device->vendor; in sr_vendor_init() local 74 cd->vendor = VENDOR_SCSI3; in sr_vendor_init() 80 cd->vendor = VENDOR_WRITER; in sr_vendor_init() 82 } else if (!strncmp(vendor, "NEC", 3)) { in sr_vendor_init() 83 cd->vendor = VENDOR_NEC; in sr_vendor_init() 97 } else if (!strncmp(vendor, "TOSHIBA", 7)) { in sr_vendor_init() 98 cd->vendor = VENDOR_TOSHIBA; in sr_vendor_init() 100 } else if (!strncmp(vendor, "Beure in sr_vendor_init() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | sr_vendor.c | 4 * vendor-specific code for SCSI CD-ROM's goes here. 70 const char *vendor = cd->device->vendor; in sr_vendor_init() local 74 cd->vendor = VENDOR_SCSI3; in sr_vendor_init() 80 cd->vendor = VENDOR_WRITER; in sr_vendor_init() 82 } else if (!strncmp(vendor, "NEC", 3)) { in sr_vendor_init() 83 cd->vendor = VENDOR_NEC; in sr_vendor_init() 97 } else if (!strncmp(vendor, "TOSHIBA", 7)) { in sr_vendor_init() 98 cd->vendor = VENDOR_TOSHIBA; in sr_vendor_init() 100 } else if (!strncmp(vendor, "Beure in sr_vendor_init() [all...] |
/kernel/linux/linux-5.10/include/sound/ |
H A D | soc-card.h | 45 unsigned short vendor, in snd_soc_card_set_pci_ssid() 48 card->pci_subsystem_vendor = vendor; in snd_soc_card_set_pci_ssid() 54 unsigned short *vendor, in snd_soc_card_get_pci_ssid() 60 *vendor = card->pci_subsystem_vendor; in snd_soc_card_get_pci_ssid() 67 unsigned short vendor, in snd_soc_card_set_pci_ssid() 73 unsigned short *vendor, in snd_soc_card_get_pci_ssid() 44 snd_soc_card_set_pci_ssid(struct snd_soc_card *card, unsigned short vendor, unsigned short device) snd_soc_card_set_pci_ssid() argument 53 snd_soc_card_get_pci_ssid(struct snd_soc_card *card, unsigned short *vendor, unsigned short *device) snd_soc_card_get_pci_ssid() argument 66 snd_soc_card_set_pci_ssid(struct snd_soc_card *card, unsigned short vendor, unsigned short device) snd_soc_card_set_pci_ssid() argument 72 snd_soc_card_get_pci_ssid(struct snd_soc_card *card, unsigned short *vendor, unsigned short *device) snd_soc_card_get_pci_ssid() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
H A D | eap_gpsk_common.h | 40 u8 vendor[4]; member 48 int eap_gpsk_supported_ciphersuite(int vendor, int specifier); 49 int eap_gpsk_derive_keys(const u8 *psk, size_t psk_len, int vendor, 56 int eap_gpsk_derive_session_id(const u8 *psk, size_t psk_len, int vendor, 62 size_t eap_gpsk_mic_len(int vendor, int specifier); 63 int eap_gpsk_compute_mic(const u8 *sk, size_t sk_len, int vendor,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
H A D | eap_gpsk_common.h | 40 u8 vendor[4]; member 48 int eap_gpsk_supported_ciphersuite(int vendor, int specifier); 49 int eap_gpsk_derive_keys(const u8 *psk, size_t psk_len, int vendor, 56 int eap_gpsk_derive_session_id(const u8 *psk, size_t psk_len, int vendor, 62 size_t eap_gpsk_mic_len(int vendor, int specifier); 63 int eap_gpsk_compute_mic(const u8 *sk, size_t sk_len, int vendor,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_gpsk.c | 32 int vendor; /* CSuite/Specifier */ member 201 data->vendor = EAP_GPSK_VENDOR_IETF; in eap_gpsk_select_csuite() 205 int vendor, specifier; in eap_gpsk_select_csuite() local 206 vendor = WPA_GET_BE32(csuite->vendor); in eap_gpsk_select_csuite() 209 i, vendor, specifier); in eap_gpsk_select_csuite() 210 if (data->vendor == EAP_GPSK_VENDOR_IETF && in eap_gpsk_select_csuite() 212 eap_gpsk_supported_ciphersuite(vendor, specifier) && in eap_gpsk_select_csuite() 215 data->vendor = vendor; in eap_gpsk_select_csuite() 491 int vendor, specifier; eap_gpsk_validate_csuite() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_gpsk.c | 32 int vendor; /* CSuite/Specifier */ member 201 data->vendor = EAP_GPSK_VENDOR_IETF; in eap_gpsk_select_csuite() 205 int vendor, specifier; in eap_gpsk_select_csuite() local 206 vendor = WPA_GET_BE32(csuite->vendor); in eap_gpsk_select_csuite() 209 i, vendor, specifier); in eap_gpsk_select_csuite() 210 if (data->vendor == EAP_GPSK_VENDOR_IETF && in eap_gpsk_select_csuite() 212 eap_gpsk_supported_ciphersuite(vendor, specifier) && in eap_gpsk_select_csuite() 215 data->vendor = vendor; in eap_gpsk_select_csuite() 491 int vendor, specifier; eap_gpsk_validate_csuite() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | usb-serial-simple.c | 20 #define DEVICE_N(vendor, IDS, nport) \ 21 static const struct usb_device_id vendor##_id_table[] = { \ 25 static struct usb_serial_driver vendor##_device = { \ 28 .name = #vendor, \ 30 .id_table = vendor##_id_table, \ 34 #define DEVICE(vendor, IDS) DEVICE_N(vendor, IDS, 1)
|
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | usb-serial-simple.c | 20 #define DEVICE_N(vendor, IDS, nport) \ 21 static const struct usb_device_id vendor##_id_table[] = { \ 25 static struct usb_serial_driver vendor##_device = { \ 28 .name = #vendor, \ 30 .id_table = vendor##_id_table, \ 34 #define DEVICE(vendor, IDS) DEVICE_N(vendor, IDS, 1)
|
/kernel/linux/linux-6.6/drivers/firmware/efi/ |
H A D | vars.c | 172 * efivar_get_variable() - retrieve a variable identified by name/vendor 176 efi_status_t efivar_get_variable(efi_char16_t *name, efi_guid_t *vendor, in efivar_get_variable() argument 179 return __efivars->ops->get_variable(name, vendor, attr, size, data); in efivar_get_variable() 184 * efivar_get_next_variable() - enumerate the next name/vendor pair 189 efi_char16_t *name, efi_guid_t *vendor) in efivar_get_next_variable() 191 return __efivars->ops->get_next_variable(name_size, name, vendor); in efivar_get_next_variable() 196 * efivar_set_variable_locked() - set a variable identified by name/vendor 201 efi_status_t efivar_set_variable_locked(efi_char16_t *name, efi_guid_t *vendor, in efivar_set_variable_locked() argument 223 return setvar(name, vendor, attr, data_size, data); in efivar_set_variable_locked() 228 * efivar_set_variable() - set a variable identified by name/vendor 188 efivar_get_next_variable(unsigned long *name_size, efi_char16_t *name, efi_guid_t *vendor) efivar_get_next_variable() argument 234 efivar_set_variable(efi_char16_t *name, efi_guid_t *vendor, u32 attr, unsigned long data_size, void *data) efivar_set_variable() argument [all...] |
/third_party/libdrm/ |
H A D | gen_table_fourcc.py | 45 def print_fm(f, vendor, mod, f_name): 46 f.write(' {{ DRM_MODIFIER({}, {}, {}) }},\n'.format(vendor, mod, f_name)) 66 (vendor, mod) = entry.split('_', 1) 67 if vendor == 'ARM' and (mod == 'TYPE_AFBC' or mod == 'TYPE_MISC' or mod == 'TYPE_AFRC'): 69 print_fm(f, vendor, mod, mod)
|
/third_party/backends/testsuite/sanei/ |
H A D | sanei_usb_test.c | 131 device->vendor = 0xdead; in create_mock_device() 548 * loop on all existing devices and get vendor 558 SANE_Word vendor, product; in test_vendor_by_devname() local 568 &vendor, &product); in test_vendor_by_devname() 575 if (vendor == 0 || product == 0) in test_vendor_by_devname() 581 printf ("%s is %04x:%04x\n", devices[i].devname, vendor, product); in test_vendor_by_devname() 588 status = sanei_usb_get_vendor_product_byname ("mock", &vendor, &product); in test_vendor_by_devname() 591 printf ("ERROR: getting vendor for mock devname!\n"); in test_vendor_by_devname() 594 if (vendor != mock.vendor || produc in test_vendor_by_devname() 628 SANE_Word vendor, product; test_vendor_by_id() local [all...] |
/kernel/linux/linux-6.6/scripts/mod/ |
H A D | devicetable-offsets.c | 28 DEVID_FIELD(hid_device_id, vendor); in main() 39 DEVID_FIELD(pci_device_id, vendor); in main() 98 DEVID_FIELD(input_device_id, vendor); in main() 122 DEVID_FIELD(sdio_device_id, vendor); in main() 126 DEVID_FIELD(ssb_device_id, vendor); in main() 138 DEVID_FIELD(virtio_device_id, vendor); in main() 173 DEVID_FIELD(isapnp_device_id, vendor); in main() 178 DEVID_FIELD(ipack_device_id, vendor); in main() 192 DEVID_FIELD(x86_cpu_id, vendor); in main() 209 DEVID_FIELD(ulpi_device_id, vendor); in main() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/saa7134/ |
H A D | saa7134-cards.c | 5803 .vendor = PCI_VENDOR_ID_PHILIPS, 5809 .vendor = PCI_VENDOR_ID_PHILIPS, 5815 .vendor = PCI_VENDOR_ID_PHILIPS, 5821 .vendor = PCI_VENDOR_ID_PHILIPS, 5827 .vendor = PCI_VENDOR_ID_PHILIPS, 5833 .vendor = PCI_VENDOR_ID_PHILIPS, 5839 .vendor = PCI_VENDOR_ID_PHILIPS, 5845 .vendor = PCI_VENDOR_ID_PHILIPS, 5851 .vendor = PCI_VENDOR_ID_PHILIPS, 5857 .vendor [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/ |
H A D | saa7134-cards.c | 5777 .vendor = PCI_VENDOR_ID_PHILIPS, 5783 .vendor = PCI_VENDOR_ID_PHILIPS, 5789 .vendor = PCI_VENDOR_ID_PHILIPS, 5795 .vendor = PCI_VENDOR_ID_PHILIPS, 5801 .vendor = PCI_VENDOR_ID_PHILIPS, 5807 .vendor = PCI_VENDOR_ID_PHILIPS, 5813 .vendor = PCI_VENDOR_ID_PHILIPS, 5819 .vendor = PCI_VENDOR_ID_PHILIPS, 5825 .vendor = PCI_VENDOR_ID_PHILIPS, 5831 .vendor [all...] |
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | hdf_set_handler.py | 59 root, vendor, _, _, _ = self.get_args() 60 HdfLiteMkFile(root).set_vendor(vendor) 61 HdfLiteKconfigFile(root).set_vendor(vendor) 74 raise HdfToolException('vendor: "%s" not exist' % old_name, 78 raise HdfToolException('vendor: "%s" already exist' % new_name, 132 root, vendor, model, _, board, _, _ = self.get_args() 134 root=root, vendor=vendor, board=board, 142 root, vendor, model, _, board, _, _ = self.get_args() 144 root=root, vendor [all...] |