/drivers/scsi/ |
D | scsi_devinfo.c | 23 char vendor[8]; member 51 char *vendor; member 328 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument 331 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add() 354 int scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, in scsi_dev_info_list_add_keyed() argument 370 scsi_strcpy_devinfo("vendor", devinfo->vendor, sizeof(devinfo->vendor), in scsi_dev_info_list_add_keyed() 371 vendor, compatible); in scsi_dev_info_list_add_keyed() 405 static struct scsi_dev_info_list *scsi_dev_info_list_find(const char *vendor, in scsi_dev_info_list_find() argument 427 vmax = sizeof(devinfo->vendor); in scsi_dev_info_list_find() 428 vskip = vendor; in scsi_dev_info_list_find() [all …]
|
D | sr_vendor.c | 70 cd->vendor = VENDOR_SCSI3; in sr_vendor_init() 72 const char *vendor = cd->device->vendor; in sr_vendor_init() 76 cd->vendor = VENDOR_SCSI3; in sr_vendor_init() 82 cd->vendor = VENDOR_WRITER; in sr_vendor_init() 84 } else if (!strncmp(vendor, "NEC", 3)) { in sr_vendor_init() 85 cd->vendor = VENDOR_NEC; in sr_vendor_init() 99 } else if (!strncmp(vendor, "TOSHIBA", 7)) { in sr_vendor_init() 100 cd->vendor = VENDOR_TOSHIBA; in sr_vendor_init() 118 if (cd->vendor == VENDOR_TOSHIBA) in sr_set_blocklength() 180 switch (cd->vendor) { in sr_cd_check() [all …]
|
/drivers/char/agp/ |
D | sis-agp.c | 193 pdev->vendor, pdev->device); in agp_sis_probe() 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, [all …]
|
D | amd64-agp.c | 533 if (pdev->vendor == PCI_VENDOR_ID_AMD && in agp_amd64_probe() 538 pdev->vendor, pdev->device); in agp_amd64_probe() 553 if (pdev->vendor == PCI_VENDOR_ID_NVIDIA) { in agp_amd64_probe() 561 if (pdev->vendor == PCI_VENDOR_ID_AL) { in agp_amd64_probe() 605 if (pdev->vendor == PCI_VENDOR_ID_NVIDIA) in agp_amd64_resume() 617 .vendor = PCI_VENDOR_ID_AMD, 626 .vendor = PCI_VENDOR_ID_AL, 635 .vendor = PCI_VENDOR_ID_VIA, 644 .vendor = PCI_VENDOR_ID_VIA, 653 .vendor = PCI_VENDOR_ID_VIA, [all …]
|
/drivers/usb/host/ |
D | xhci-pci.c | 96 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks() 128 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks() 132 if (pdev->vendor == PCI_VENDOR_ID_NEC) in xhci_pci_quirks() 135 if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version == 0x96) in xhci_pci_quirks() 139 if (pdev->vendor == PCI_VENDOR_ID_AMD && usb_amd_find_chipset_info()) in xhci_pci_quirks() 142 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks() 149 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks() 153 if (pdev->vendor == PCI_VENDOR_ID_AMD) in xhci_pci_quirks() 156 if ((pdev->vendor == PCI_VENDOR_ID_AMD) && in xhci_pci_quirks() 163 if (pdev->vendor == PCI_VENDOR_ID_INTEL) { in xhci_pci_quirks() [all …]
|
/drivers/media/pci/saa7134/ |
D | saa7134-cards.c | 5771 .vendor = PCI_VENDOR_ID_PHILIPS, 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, [all …]
|
/drivers/pnp/isapnp/ |
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_card *pnp_find_card(unsigned short vendor, unsigned short device, in pnp_find_card() argument 31 pnp_convert_id(id, vendor, device); in pnp_find_card() 46 struct pnp_dev *pnp_find_dev(struct pnp_card *card, unsigned short vendor, in pnp_find_dev() argument 52 pnp_convert_id(id, vendor, function); in pnp_find_dev()
|
/drivers/acpi/acpica/ |
D | rsmemory.c | 157 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 163 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 181 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 187 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 207 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 211 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 227 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 231 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]),
|
/drivers/xen/ |
D | efi.c | 121 efi_status_t xen_efi_get_variable(efi_char16_t *name, efi_guid_t *vendor, in xen_efi_get_variable() argument 128 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_get_variable() 130 memcpy(&efi_data(op).u.get_variable.vendor_guid, vendor, sizeof(*vendor)); in xen_efi_get_variable() 147 efi_guid_t *vendor) in xen_efi_get_next_variable() argument 153 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_get_next_variable() 155 memcpy(&efi_data(op).u.get_next_variable_name.vendor_guid, vendor, in xen_efi_get_next_variable() 156 sizeof(*vendor)); in xen_efi_get_next_variable() 162 memcpy(vendor, &efi_data(op).u.get_next_variable_name.vendor_guid, in xen_efi_get_next_variable() 163 sizeof(*vendor)); in xen_efi_get_next_variable() 169 efi_status_t xen_efi_set_variable(efi_char16_t *name, efi_guid_t *vendor, in xen_efi_set_variable() argument [all …]
|
/drivers/usb/serial/ |
D | usb-serial-simple.c | 23 #define DEVICE_N(vendor, IDS, nport) \ argument 24 static const struct usb_device_id vendor##_id_table[] = { \ 28 static struct usb_serial_driver vendor##_device = { \ 31 .name = #vendor, \ 33 .id_table = vendor##_id_table, \ 37 #define DEVICE(vendor, IDS) DEVICE_N(vendor, IDS, 1) argument
|
/drivers/net/wireless/broadcom/b43/ |
D | sdio.c | 32 u16 vendor; member 41 static unsigned int b43_sdio_get_quirks(u16 vendor, u16 device) in b43_sdio_get_quirks() argument 46 if (vendor == q->vendor && device == q->device) in b43_sdio_get_quirks() 101 u16 vendor = 0, device = 0; in b43_sdio_probe() local 113 vendor = tuple->data[1] | (tuple->data[2]<<8); in b43_sdio_probe() 116 vendor, device); in b43_sdio_probe() 127 if (!vendor || !device) { in b43_sdio_probe() 153 b43_sdio_get_quirks(vendor, device)); in b43_sdio_probe()
|
/drivers/usb/common/ |
D | ulpi.c | 46 if (ulpi->id.vendor == 0) in ulpi_match() 49 for (id = drv->id_table; id->vendor; id++) in ulpi_match() 50 if (id->vendor == ulpi->id.vendor && in ulpi_match() 67 ulpi->id.vendor, ulpi->id.product)) in ulpi_uevent() 115 ulpi->id.vendor, ulpi->id.product); in modalias_show() 218 ulpi->id.vendor = ulpi_read(ulpi, ULPI_VENDOR_ID_LOW); in ulpi_read_id() 219 ulpi->id.vendor |= ulpi_read(ulpi, ULPI_VENDOR_ID_HIGH) << 8; in ulpi_read_id() 225 if (ulpi->id.vendor == 0) in ulpi_read_id() 228 request_module("ulpi:v%04xp%04x", ulpi->id.vendor, ulpi->id.product); in ulpi_read_id() 259 ulpi->id.vendor, ulpi->id.product); in ulpi_register()
|
/drivers/tty/serial/8250/ |
D | 8250_pci.c | 37 u32 vendor; member 70 pci_name(dev), str, dev->vendor, dev->device, in moan_device() 250 if (dev->vendor == PCI_VENDOR_ID_PANACOM || in pci_plx9050_init() 254 if ((dev->vendor == PCI_VENDOR_ID_PLX) && in pci_plx9050_init() 1003 if (dev->vendor == PCI_VENDOR_ID_ENDRUN && in pci_endrun_init() 1035 if (dev->vendor == PCI_VENDOR_ID_OXSEMI && in pci_oxsemi_tornado_init() 1554 priv->dev->vendor, priv->dev->device, in skip_tx_en_setup() 1759 .vendor = PCI_VENDOR_ID_AMCC, 1770 .vendor = PCI_VENDOR_ID_AFAVLAB, 1780 .vendor = PCI_VENDOR_ID_HP, [all …]
|
/drivers/uwb/ |
D | est.c | 50 u16 vendor, product; member 256 int uwb_est_register(u8 type, u8 event_high, u16 vendor, u16 product, in uwb_est_register() argument 272 && uwb_est[itr].vendor < vendor in uwb_est_register() 280 uwb_est[itr].vendor = vendor; in uwb_est_register() 305 int uwb_est_unregister(u8 type, u8 event_high, u16 vendor, u16 product, in uwb_est_unregister() argument 312 .vendor = vendor, in uwb_est_unregister() 364 est, est->type_event_high, est->vendor, est->product, in uwb_est_get_size() 372 est, est->type_event_high, est->vendor, est->product, in uwb_est_get_size() 393 est, est->type_event_high, est->vendor, in uwb_est_get_size()
|
/drivers/firmware/efi/ |
D | vars.c | 176 efi_guid_t vendor; member 254 efivar_validate(efi_guid_t vendor, efi_char16_t *var_name, u8 *data, in efivar_validate() argument 273 if (efi_guidcmp(vendor, variable_validate[i].vendor)) in efivar_validate() 290 efivar_variable_is_removable(efi_guid_t vendor, const char *var_name, in efivar_variable_is_removable() argument 301 if (efi_guidcmp(variable_validate[i].vendor, vendor)) in efivar_variable_is_removable() 350 static bool variable_is_present(efi_char16_t *variable_name, efi_guid_t *vendor, in variable_is_present() argument 364 *vendor)) { in variable_is_present() 678 efi_guid_t vendor = entry->var.VendorGuid; in efivar_entry_set() local 688 if (head && efivar_entry_find(name, vendor, head, false)) { in efivar_entry_set() 695 status = ops->set_variable(name, &vendor, in efivar_entry_set() [all …]
|
D | efivars.c | 214 sanity_check(struct efi_variable *var, efi_char16_t *name, efi_guid_t vendor, in sanity_check() argument 222 efi_guidcmp(vendor, var->VendorGuid)) { in sanity_check() 233 efivar_validate(vendor, name, data, size) == false) { in sanity_check() 270 efi_guid_t vendor; in efivar_store_raw() local 286 vendor = compat->VendorGuid; in efivar_store_raw() 291 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw() 303 vendor = new_var->VendorGuid; in efivar_store_raw() 308 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw() 506 efi_guid_t vendor; in efivar_delete() local 518 vendor = compat->VendorGuid; in efivar_delete() [all …]
|
D | runtime-wrappers.c | 147 efi_guid_t *vendor, in virt_efi_get_variable() argument 156 status = efi_call_virt(get_variable, name, vendor, attr, data_size, in virt_efi_get_variable() 164 efi_guid_t *vendor) in virt_efi_get_next_variable() argument 170 status = efi_call_virt(get_next_variable, name_size, name, vendor); in virt_efi_get_next_variable() 176 efi_guid_t *vendor, in virt_efi_set_variable() argument 185 status = efi_call_virt(set_variable, name, vendor, attr, data_size, in virt_efi_set_variable() 192 virt_efi_set_variable_nonblocking(efi_char16_t *name, efi_guid_t *vendor, in virt_efi_set_variable_nonblocking() argument 201 status = efi_call_virt(set_variable, name, vendor, attr, data_size, in virt_efi_set_variable_nonblocking()
|
D | arm-init.c | 93 char vendor[100] = "unknown"; in uefi_init() local 124 sizeof(vendor) * sizeof(efi_char16_t)); in uefi_init() 126 for (i = 0; i < (int) sizeof(vendor) - 1 && *c16; ++i) in uefi_init() 127 vendor[i] = c16[i]; in uefi_init() 128 vendor[i] = '\0'; in uefi_init() 129 early_memunmap(c16, sizeof(vendor) * sizeof(efi_char16_t)); in uefi_init() 134 efi.systab->hdr.revision & 0xffff, vendor); in uefi_init()
|
/drivers/misc/mic/bus/ |
D | vop_bus.c | 41 return sprintf(buf, "0x%04x\n", dev->id.vendor); in vendor_show() 43 static DEVICE_ATTR_RO(vendor); 51 dev->id.device, dev->id.vendor); in modalias_show() 69 return id->vendor == VOP_DEV_ANY_ID || id->vendor == dev->id.vendor; in vop_id_match() 94 dev->id.device, dev->id.vendor); in vop_uevent() 156 vdev->id.vendor = VOP_DEV_ANY_ID; in vop_register_device()
|
D | mic_bus.c | 40 return sprintf(buf, "0x%04x\n", dev->id.vendor); in vendor_show() 42 static DEVICE_ATTR_RO(vendor); 49 dev->id.device, dev->id.vendor); in modalias_show() 67 return id->vendor == MBUS_DEV_ANY_ID || id->vendor == dev->id.vendor; in mbus_id_match() 92 dev->id.device, dev->id.vendor); in mbus_uevent() 160 mbdev->id.vendor = MBUS_DEV_ANY_ID; in mbus_register_device()
|
D | scif_bus.c | 38 return sprintf(buf, "0x%04x\n", dev->id.vendor); in vendor_show() 40 static DEVICE_ATTR_RO(vendor); 48 dev->id.device, dev->id.vendor); in modalias_show() 66 return id->vendor == SCIF_DEV_ANY_ID || id->vendor == dev->id.vendor; in scif_id_match() 91 dev->id.device, dev->id.vendor); in scif_uevent() 156 sdev->id.vendor = SCIF_DEV_ANY_ID; in scif_register_device()
|
/drivers/mmc/core/ |
D | sdio_cis.c | 77 unsigned int vendor, device; in cistpl_manfid() local 80 vendor = buf[0] | (buf[1] << 8); in cistpl_manfid() 86 func->vendor = vendor; in cistpl_manfid() 89 card->cis.vendor = vendor; in cistpl_manfid() 391 if (func->vendor == 0) { in sdio_read_func_cis() 392 func->vendor = func->card->cis.vendor; in sdio_read_func_cis()
|
/drivers/firmware/efi/libstub/ |
D | tpm.c | 25 #define get_efi_var(name, vendor, ...) \ argument 27 (efi_char16_t *)(name), (efi_guid_t *)(vendor), \ 30 #define set_efi_var(name, vendor, ...) \ argument 32 (efi_char16_t *)(name), (efi_guid_t *)(vendor), \
|
/drivers/media/usb/go7007/ |
D | go7007-loader.c | 21 u16 vendor; member 47 u16 vendor, product; in go7007_loader_probe() local 61 vendor = le16_to_cpu(usbdev->descriptor.idVendor); in go7007_loader_probe() 65 if (fw_configs[i].vendor == vendor && in go7007_loader_probe()
|
/drivers/pci/ |
D | pci-stub.c | 57 unsigned int vendor, device, subvendor = PCI_ANY_ID, in pci_stub_init() local 65 &vendor, &device, &subvendor, &subdevice, in pci_stub_init() 76 vendor, device, subvendor, subdevice, class, class_mask); in pci_stub_init() 78 rc = pci_add_dynid(&stub_driver, vendor, device, in pci_stub_init()
|