/linux/drivers/usb/host/ |
A D | xhci-pci.c | 164 if (pdev->vendor == PCI_VENDOR_ID_NEC) in xhci_pci_quirks() 174 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks() 181 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks() 190 if (pdev->vendor == PCI_VENDOR_ID_AMD) in xhci_pci_quirks() 193 if ((pdev->vendor == PCI_VENDOR_ID_AMD) && in xhci_pci_quirks() 200 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks() 288 if (pdev->vendor == PCI_VENDOR_ID_VIA) in xhci_pci_quirks() 292 if (pdev->vendor == PCI_VENDOR_ID_VIA && in xhci_pci_quirks() 327 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks() 332 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks() [all …]
|
/linux/drivers/char/agp/ |
A D | sis-agp.c | 244 .vendor = PCI_VENDOR_ID_SI, 252 .vendor = PCI_VENDOR_ID_SI, 260 .vendor = PCI_VENDOR_ID_SI, 268 .vendor = PCI_VENDOR_ID_SI, 276 .vendor = PCI_VENDOR_ID_SI, 284 .vendor = PCI_VENDOR_ID_SI, 292 .vendor = PCI_VENDOR_ID_SI, 300 .vendor = PCI_VENDOR_ID_SI, 308 .vendor = PCI_VENDOR_ID_SI, 316 .vendor = PCI_VENDOR_ID_SI, [all …]
|
A D | amd64-agp.c | 539 pdev->vendor, pdev->device); in agp_amd64_probe() 618 .vendor = PCI_VENDOR_ID_AMD, 627 .vendor = PCI_VENDOR_ID_AL, 636 .vendor = PCI_VENDOR_ID_VIA, 645 .vendor = PCI_VENDOR_ID_VIA, 654 .vendor = PCI_VENDOR_ID_VIA, 672 .vendor = PCI_VENDOR_ID_VIA, 681 .vendor = PCI_VENDOR_ID_VIA, 707 .vendor = PCI_VENDOR_ID_SI, 716 .vendor = PCI_VENDOR_ID_SI, [all …]
|
/linux/arch/x86/include/asm/ |
A D | cpu_device_id.h | 44 .vendor = X86_VENDOR_##_vendor, \ 66 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \ argument 67 X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(vendor, family, model, \ 83 #define X86_MATCH_VENDOR_FAM_FEATURE(vendor, family, feature, data) \ argument 84 X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, \ 99 #define X86_MATCH_VENDOR_FEATURE(vendor, feature, data) \ argument 100 X86_MATCH_VENDOR_FAM_FEATURE(vendor, X86_FAMILY_ANY, feature, data) 128 #define X86_MATCH_VENDOR_FAM_MODEL(vendor, family, model, data) \ argument 129 X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, \ 144 #define X86_MATCH_VENDOR_FAM(vendor, family, data) \ argument [all …]
|
/linux/drivers/scsi/ |
A D | scsi_devinfo.c | 23 char vendor[8]; member 51 char *vendor; member 366 scsi_strcpy_devinfo("vendor", devinfo->vendor, sizeof(devinfo->vendor), in scsi_dev_info_list_add_keyed() 367 vendor, compatible); in scsi_dev_info_list_add_keyed() 435 vmax = sizeof(devinfo->vendor); in scsi_dev_info_list_find() 436 vskip = vendor; in scsi_dev_info_list_find() 461 sizeof(devinfo->vendor)) || in scsi_dev_info_list_find() 474 if (!memcmp(devinfo->vendor, vendor, in scsi_dev_info_list_find() 475 sizeof(devinfo->vendor)) && in scsi_dev_info_list_find() 545 for (vendor = strsep(&next, ":"); vendor && (vendor[0] != '\0') in scsi_dev_info_list_add_str() [all …]
|
A D | sr_vendor.c | 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() 98 cd->vendor = VENDOR_TOSHIBA; in sr_vendor_init() 100 } else if (!strncmp(vendor, "Beurer", 6) && in sr_vendor_init() 109 cd->vendor = VENDOR_CYGNAL_85ED; in sr_vendor_init() 131 if (cd->vendor == VENDOR_TOSHIBA) in sr_set_blocklength() 192 switch (cd->vendor) { in sr_cd_check() [all …]
|
/linux/drivers/media/pci/saa7134/ |
A D | saa7134-cards.c | 5804 .vendor = PCI_VENDOR_ID_PHILIPS, 5810 .vendor = PCI_VENDOR_ID_PHILIPS, 5816 .vendor = PCI_VENDOR_ID_PHILIPS, 5822 .vendor = PCI_VENDOR_ID_PHILIPS, 5828 .vendor = PCI_VENDOR_ID_PHILIPS, 5834 .vendor = PCI_VENDOR_ID_PHILIPS, 5840 .vendor = PCI_VENDOR_ID_PHILIPS, 5846 .vendor = PCI_VENDOR_ID_PHILIPS, 5852 .vendor = PCI_VENDOR_ID_PHILIPS, 6423 .vendor = PCI_VENDOR_ID_PHILIPS, [all …]
|
/linux/arch/x86/kernel/ |
A D | probe_roms.c | 81 static bool match_id(struct pci_dev *pdev, unsigned short vendor, unsigned short device) in match_id() argument 86 if (pdev->vendor == vendor && pdev->device == device) in match_id() 89 for (id = drv ? drv->id_table : NULL; id && id->vendor; id++) in match_id() 90 if (id->vendor == vendor && id->device == device) in match_id() 93 return id && id->vendor; in match_id() 96 static bool probe_list(struct pci_dev *pdev, unsigned short vendor, in probe_list() argument 105 if (device && match_id(pdev, vendor, device)) in probe_list() 121 unsigned short offset, vendor, device, list, rev; in find_oprom() local 131 if (get_kernel_nofault(vendor, rom + offset + 0x4) != 0) in find_oprom() 137 if (match_id(pdev, vendor, device)) { in find_oprom() [all …]
|
/linux/tools/power/cpupower/utils/helpers/ |
A D | cpuid.c | 56 cpu_info->vendor = X86_VENDOR_UNKNOWN; 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 == X86_VENDOR_HYGON) { in get_cpu_info() 154 if (cpu_info->vendor == X86_VENDOR_INTEL) { in get_cpu_info() 160 if (cpu_info->vendor == X86_VENDOR_INTEL) { in get_cpu_info()
|
/linux/drivers/pnp/isapnp/ |
A D | compat.c | 13 static void pnp_convert_id(char *buf, unsigned short vendor, in pnp_convert_id() argument 17 'A' + ((vendor >> 2) & 0x3f) - 1, in pnp_convert_id() 18 'A' + (((vendor & 3) << 3) | ((vendor >> 13) & 7)) - 1, in pnp_convert_id() 19 'A' + ((vendor >> 8) & 0x1f) - 1, in pnp_convert_id() 24 struct pnp_dev *pnp_find_dev(struct pnp_card *card, unsigned short vendor, in pnp_find_dev() argument 30 pnp_convert_id(id, vendor, function); in pnp_find_dev()
|
/linux/drivers/acpi/acpica/ |
A D | rsmemory.c | 121 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 127 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 145 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 151 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 171 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 175 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 191 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 195 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]),
|
/linux/drivers/xen/ |
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() argument 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() 173 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_set_variable() [all …]
|
/linux/sound/firewire/dice/ |
A D | dice.c | 37 int key, val, vendor = -1, model = -1; in check_dice_category() local 50 vendor = val; in check_dice_category() 58 if (vendor == OUI_WEISS) in check_dice_category() 60 else if (vendor == OUI_LOUD) in check_dice_category() 62 else if (vendor == OUI_HARMAN) in check_dice_category() 101 char vendor[32], model[32]; in dice_card_strings() local 120 strcpy(vendor, "?"); in dice_card_strings() 121 fw_csr_string(dev->config_rom + 5, CSR_VENDOR, vendor, sizeof(vendor)); in dice_card_strings() 126 vendor, model, dev->config_rom[4] & 0x3fffff, in dice_card_strings() 254 .vendor_id = (vendor), \ [all …]
|
/linux/Documentation/devicetree/bindings/ |
A D | example-schema.yaml | 52 - vendor,soc4-ip 53 - vendor,soc3-ip 54 - vendor,soc2-ip 56 - vendor,soc1-ip 141 vendor,int-property: 146 vendor,bool-property: 180 # 'vendor,bool-property' is only allowed when 'vendor,string-array-property' 182 vendor,bool-property: [ 'vendor,string-array-property' ] 185 vendor,string-array-property: [ 'vendor,bool-property' ] 217 vendor,int-property: [all …]
|
/linux/drivers/usb/serial/ |
A D | usb-serial-simple.c | 20 #define DEVICE_N(vendor, IDS, nport) \ argument 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) argument
|
/linux/drivers/net/wireless/broadcom/b43/ |
A D | sdio.c | 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, device)); in b43_sdio_probe()
|
/linux/sound/pci/emu10k1/ |
A D | emu10k1_main.c | 1282 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x10241102, 1455 {.vendor = 0x1102, .device = 0x0008, 1566 {.vendor = 0x1102, .device = 0x0004, .revision = 0x04, 1593 {.vendor = 0x1102, .device = 0x0004, 1725 {.vendor = 0x1102, .device = 0x0002, 1810 pci->vendor, pci->device, emu->serial, emu->model); in snd_emu10k1_create() 1812 for (c = emu_chip_details; c->vendor; c++) { in snd_emu10k1_create() 1813 if (c->vendor == pci->vendor && c->device == pci->device) { in snd_emu10k1_create() 1828 if (c->vendor == 0) { in snd_emu10k1_create() 1839 pci->vendor, pci->device, emu->serial, c->subsystem); in snd_emu10k1_create() [all …]
|
/linux/drivers/vfio/pci/ |
A D | vfio_pci.c | 65 switch (pdev->vendor) { in vfio_pci_dev_in_denylist() 91 pdev->vendor, pdev->device); in vfio_pci_is_denylisted() 96 pdev->vendor, pdev->device); in vfio_pci_is_denylisted() 113 pdev->vendor == PCI_VENDOR_ID_INTEL && in vfio_pci_open_device() 210 unsigned int vendor, device, subvendor = PCI_ANY_ID, in vfio_pci_fill_ids() local 218 &vendor, &device, &subvendor, &subdevice, in vfio_pci_fill_ids() 226 rc = pci_add_dynid(&vfio_pci_driver, vendor, device, in vfio_pci_fill_ids() 230 vendor, device, subvendor, subdevice, in vfio_pci_fill_ids() 234 vendor, device, subvendor, subdevice, in vfio_pci_fill_ids()
|
/linux/drivers/usb/common/ |
A D | ulpi.c | 43 if (ulpi->id.vendor == 0) in ulpi_match() 46 for (id = drv->id_table; id->vendor; id++) in ulpi_match() 47 if (id->vendor == ulpi->id.vendor && in ulpi_match() 64 ulpi->id.vendor, ulpi->id.product)) in ulpi_uevent() 110 ulpi->id.vendor, ulpi->id.product); in modalias_show() 214 ulpi->id.vendor = ulpi_read(ulpi, ULPI_VENDOR_ID_LOW); in ulpi_read_id() 215 ulpi->id.vendor |= ulpi_read(ulpi, ULPI_VENDOR_ID_HIGH) << 8; in ulpi_read_id() 221 if (ulpi->id.vendor == 0) in ulpi_read_id() 224 request_module("ulpi:v%04xp%04x", ulpi->id.vendor, ulpi->id.product); in ulpi_read_id() 255 ulpi->id.vendor, ulpi->id.product); in ulpi_register()
|
/linux/drivers/tty/serial/8250/ |
A D | 8250_pci.c | 34 u32 vendor; member 2557 .vendor = 0x10DB, 2565 .vendor = 0x10DB, 2709 .vendor = 0x1c29, 2717 .vendor = 0x1c29, 2725 .vendor = 0x1c29, 2743 .vendor = 0x1c29, 2751 .vendor = 0x1c29, 2759 .vendor = 0x1c29, 2771 .vendor = PCI_ANY_ID, [all …]
|
/linux/include/linux/ |
A D | pci.h | 322 unsigned short vendor; member 920 .vendor = (vend), .device = (dev), \ 963 .vendor = (vend), .device = (dev), \ 977 .vendor = PCI_ANY_ID, .device = PCI_ANY_ID, \ 1475 unsigned int vendor, unsigned int device, 1967 u16 vendor; /* Or PCI_ANY_ID */ member 1995 ".short " #vendor ", " #device " \n" \ 2070 hook, vendor, device, PCI_ANY_ID, 0, hook) 2073 hook, vendor, device, PCI_ANY_ID, 0, hook) 2076 hook, vendor, device, PCI_ANY_ID, 0, hook) [all …]
|
/linux/drivers/firmware/efi/ |
A D | vars.c | 159 efi_guid_t vendor; member 237 efivar_validate(efi_guid_t vendor, efi_char16_t *var_name, u8 *data, in efivar_validate() argument 256 if (efi_guidcmp(vendor, variable_validate[i].vendor)) in efivar_validate() 284 if (efi_guidcmp(variable_validate[i].vendor, vendor)) in efivar_variable_is_removable() 347 *vendor)) { in variable_is_present() 657 efi_guid_t vendor = entry->var.VendorGuid; in efivar_entry_set() local 667 if (head && efivar_entry_find(name, vendor, head, false)) { in efivar_entry_set() 674 status = ops->set_variable(name, &vendor, in efivar_entry_set() 764 return efivar_entry_set_nonblocking(name, vendor, attributes, in efivar_entry_set_safe() 955 efi_guid_t *vendor = &entry->var.VendorGuid; in efivar_entry_set_get_size() local [all …]
|
/linux/tools/perf/arch/x86/util/ |
A D | header.c | 32 char vendor[16]; in __get_cpuid() local 35 strncpy(&vendor[0], (char *)(&b), 4); in __get_cpuid() 36 strncpy(&vendor[4], (char *)(&d), 4); in __get_cpuid() 37 strncpy(&vendor[8], (char *)(&c), 4); in __get_cpuid() 38 vendor[12] = '\0'; in __get_cpuid() 55 nb = scnprintf(buffer, sz, fmt, vendor, family, model, step); in __get_cpuid()
|
/linux/arch/x86/xen/ |
A D | efi.c | 19 static efi_char16_t vendor[100] __initdata; variable 68 info->vendor.bufsz = sizeof(vendor); in xen_efi_probe() 69 set_xen_guest_handle(info->vendor.name, vendor); in xen_efi_probe() 72 efi_systab_xen.fw_vendor = __pa_symbol(vendor); in xen_efi_probe() 73 efi_systab_xen.fw_revision = info->vendor.revision; in xen_efi_probe()
|
/linux/scripts/mod/ |
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 …]
|