/linux-master/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; local 74 cd->vendor = VENDOR_SCSI3; 80 cd->vendor = VENDOR_WRITER; 82 } else if (!strncmp(vendor, "NEC", 3)) { 83 cd->vendor = VENDOR_NEC; 97 } else if (!strncmp(vendor, "TOSHIBA", 7)) { 98 cd->vendor = VENDOR_TOSHIBA; 100 } else if (!strncmp(vendor, "Beure [all...] |
/linux-master/arch/x86/kernel/ |
H A D | probe_roms.c | 82 static bool match_id(struct pci_dev *pdev, unsigned short vendor, unsigned short device) argument 87 if (pdev->vendor == vendor && pdev->device == device) 90 for (id = drv ? drv->id_table : NULL; id && id->vendor; id++) 91 if (id->vendor == vendor && id->device == device) 94 return id && id->vendor; 97 static bool probe_list(struct pci_dev *pdev, unsigned short vendor, argument 106 if (device && match_id(pdev, vendor, device)) 122 unsigned short offset, vendor, devic local [all...] |
H A D | reboot_fixups_32.c | 58 unsigned int vendor; member in struct:device_fixup 95 dev = pci_get_device(cur->vendor, cur->device, NULL);
|
/linux-master/drivers/firmware/efi/libstub/ |
H A D | secureboot.c | 19 static efi_status_t get_var(efi_char16_t *name, efi_guid_t *vendor, u32 *attr, argument 22 return get_efi_var(name, vendor, attr, data_size, data);
|
/linux-master/drivers/hid/i2c-hid/ |
H A D | i2c-hid.h | 12 u32 i2c_hid_get_dmi_quirks(const u16 vendor, const u16 product); 20 static inline u32 i2c_hid_get_dmi_quirks(const u16 vendor, const u16 product) argument
|
/linux-master/drivers/firmware/efi/ |
H A D | vars.c | 180 * efivar_get_variable() - retrieve a variable identified by name/vendor 184 efi_status_t efivar_get_variable(efi_char16_t *name, efi_guid_t *vendor, argument 187 return __efivars->ops->get_variable(name, vendor, attr, size, data); 192 * efivar_get_next_variable() - enumerate the next name/vendor pair 197 efi_char16_t *name, efi_guid_t *vendor) 199 return __efivars->ops->get_next_variable(name_size, name, vendor); 204 * efivar_set_variable_locked() - set a variable identified by name/vendor 209 efi_status_t efivar_set_variable_locked(efi_char16_t *name, efi_guid_t *vendor, argument 231 return setvar(name, vendor, attr, data_size, data); 236 * efivar_set_variable() - set a variable identified by name/vendor 196 efivar_get_next_variable(unsigned long *name_size, efi_char16_t *name, efi_guid_t *vendor) argument 242 efivar_set_variable(efi_char16_t *name, efi_guid_t *vendor, u32 attr, unsigned long data_size, void *data) argument [all...] |
H A D | runtime-wrappers.c | 68 efi_guid_t *vendor; member in struct:efi_rts_args::__anon172 77 efi_guid_t *vendor; member in struct:efi_rts_args::__anon173 82 efi_guid_t *vendor; member in struct:efi_rts_args::__anon174 249 args->GET_VARIABLE.vendor, 258 args->GET_NEXT_VARIABLE.vendor); 263 args->SET_VARIABLE.vendor, 394 efi_guid_t *vendor, 403 status = efi_queue_work(GET_VARIABLE, name, vendor, attr, data_size, 411 efi_guid_t *vendor) 417 status = efi_queue_work(GET_NEXT_VARIABLE, name_size, name, vendor); 393 virt_efi_get_variable(efi_char16_t *name, efi_guid_t *vendor, u32 *attr, unsigned long *data_size, void *data) argument 409 virt_efi_get_next_variable(unsigned long *name_size, efi_char16_t *name, efi_guid_t *vendor) argument 422 virt_efi_set_variable(efi_char16_t *name, efi_guid_t *vendor, u32 attr, unsigned long data_size, void *data) argument 439 virt_efi_set_variable_nb(efi_char16_t *name, efi_guid_t *vendor, u32 attr, unsigned long data_size, void *data) argument [all...] |
/linux-master/include/linux/usb/ |
H A D | iowarrior.h | 18 /* vendor id : supposed to be USB_VENDOR_ID_CODEMERCS in all cases */ 19 __u32 vendor; member in struct:iowarrior_info
|
H A D | input.h | 17 id->vendor = le16_to_cpu(dev->descriptor.idVendor);
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | match.c | 15 * contains vendor (X86_VENDOR_*), family, model and feature bits or 24 * %X86_MODEL_ANY, %X86_FEATURE_ANY (except for vendor) 43 m->vendor | m->family | m->model | m->steppings | m->feature; 45 if (m->vendor != X86_VENDOR_ANY && c->x86_vendor != m->vendor)
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | tsc.c | 63 char vendor[16]; local 69 get_cpuid_0(vendor, &lvl); 70 if (!strstr(vendor, "Intel"))
|
/linux-master/drivers/tc/ |
H A D | tc-driver.c | 65 while (id->name[0] || id->vendor[0]) { 67 strcmp(tdev->vendor, id->vendor) == 0)
|
/linux-master/drivers/media/usb/go7007/ |
H A D | go7007-loader.c | 13 u16 vendor; member in struct:fw_config 39 u16 vendor, product; local 53 vendor = le16_to_cpu(usbdev->descriptor.idVendor); 57 if (fw_configs[i].vendor == vendor &&
|
/linux-master/arch/x86/platform/geode/ |
H A D | alix.c | 171 const char *vendor, *product; local 173 vendor = dmi_get_system_info(DMI_SYS_VENDOR); 174 if (!vendor || strcmp(vendor, "PC Engines")) 182 KBUILD_MODNAME, vendor, product);
|
/linux-master/arch/x86/xen/ |
H A D | efi.c | 21 static efi_char16_t vendor[100] __initdata; 70 info->vendor.bufsz = sizeof(vendor); 71 set_xen_guest_handle(info->vendor.name, vendor); 74 efi_systab_xen.fw_vendor = __pa_symbol(vendor); 75 efi_systab_xen.fw_revision = info->vendor.revision;
|
/linux-master/drivers/usb/host/ |
H A D | xhci-pci.c | 244 /* Look for vendor-specific quirks */ 245 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && 276 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && 280 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && 284 if (pdev->vendor == PCI_VENDOR_ID_NEC) 287 if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version == 0x96) 291 if (pdev->vendor == PCI_VENDOR_ID_AMD && usb_amd_quirk_pll_check()) 294 if (pdev->vendor == PCI_VENDOR_ID_AMD && 301 if (pdev->vendor == PCI_VENDOR_ID_AMD && 305 if (pdev->vendor [all...] |
/linux-master/scripts/mod/ |
H A D | devicetable-offsets.c | 28 DEVID_FIELD(hid_device_id, vendor); 39 DEVID_FIELD(pci_device_id, vendor); 98 DEVID_FIELD(input_device_id, vendor); 122 DEVID_FIELD(sdio_device_id, vendor); 126 DEVID_FIELD(ssb_device_id, vendor); 138 DEVID_FIELD(virtio_device_id, vendor); 173 DEVID_FIELD(isapnp_device_id, vendor); 178 DEVID_FIELD(ipack_device_id, vendor); 192 DEVID_FIELD(x86_cpu_id, vendor); 209 DEVID_FIELD(ulpi_device_id, vendor); [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | reset.c | 49 u16 vendor; local 128 &vendor) && vendor != 0xffff) 134 if (vendor == 0xffff) {
|
/linux-master/drivers/vfio/pci/ |
H A D | vfio_pci.c | 35 MODULE_PARM_DESC(ids, "Initial PCI IDs to add to the vfio driver, format is \"vendor:device[:subvendor[:subdevice[:class[:class_mask]]]]\" and multiple comma separated entries can be specified"); 65 switch (pdev->vendor) { 91 pdev->vendor, pdev->device); 96 pdev->vendor, pdev->device); 113 pdev->vendor == PCI_VENDOR_ID_INTEL && 218 unsigned int vendor, device, subvendor = PCI_ANY_ID, local 226 &vendor, &device, &subvendor, &subdevice, 234 rc = pci_add_dynid(&vfio_pci_driver, vendor, device, 238 vendor, device, subvendor, subdevice, 242 vendor, devic [all...] |
/linux-master/drivers/thunderbolt/ |
H A D | quirks.c | 55 u16 vendor; member in struct:tb_quirk 129 if (q->vendor && q->vendor != sw->vendor)
|
/linux-master/drivers/usb/common/ |
H A D | ulpi.c | 44 * Some ULPI devices don't have a vendor id 47 if (ulpi->id.vendor == 0 || !drv->id_table) 50 for (id = drv->id_table; id->vendor; id++) 51 if (id->vendor == ulpi->id.vendor && 68 ulpi->id.vendor, ulpi->id.product)) 114 ulpi->id.vendor, ulpi->id.product); 219 ulpi->id.vendor = ulpi_read(ulpi, ULPI_VENDOR_ID_LOW); 220 ulpi->id.vendor |= ulpi_read(ulpi, ULPI_VENDOR_ID_HIGH) << 8; 225 /* Some ULPI devices don't have a vendor i [all...] |
/linux-master/drivers/pci/ |
H A D | search.c | 286 * pci_get_subsys - begin or continue searching for a PCI device by vendor/subvendor/device/subdevice id 287 * @vendor: PCI vendor id to match, or %PCI_ANY_ID to match all vendor ids 289 * @ss_vendor: PCI subsystem vendor id to match, or %PCI_ANY_ID to match all vendor ids 294 * with a matching @vendor, @device, @ss_vendor and @ss_device, a pointer to its 301 struct pci_dev *pci_get_subsys(unsigned int vendor, unsigned int device, argument 306 .vendor = vendor, 330 pci_get_device(unsigned int vendor, unsigned int device, struct pci_dev *from) argument [all...] |
/linux-master/drivers/xen/ |
H A D | efi.c | 120 static efi_status_t xen_efi_get_variable(efi_char16_t *name, efi_guid_t *vendor, argument 127 BUILD_BUG_ON(sizeof(*vendor) != 129 memcpy(&efi_data(op).u.get_variable.vendor_guid, vendor, sizeof(*vendor)); 145 efi_guid_t *vendor) 151 BUILD_BUG_ON(sizeof(*vendor) != 153 memcpy(&efi_data(op).u.get_next_variable_name.vendor_guid, vendor, 154 sizeof(*vendor)); 160 memcpy(vendor, &efi_data(op).u.get_next_variable_name.vendor_guid, 161 sizeof(*vendor)); 143 xen_efi_get_next_variable(unsigned long *name_size, efi_char16_t *name, efi_guid_t *vendor) argument 166 xen_efi_set_variable(efi_char16_t *name, efi_guid_t *vendor, u32 attr, unsigned long data_size, void *data) argument [all...] |
/linux-master/sound/firewire/dice/ |
H A D | dice.c | 37 int key, val, vendor = -1, model = -1; local 50 vendor = val; 58 if (vendor == OUI_WEISS) 60 else if (vendor == OUI_LOUD) 62 else if (vendor == OUI_HARMAN) 66 if (device->config_rom[3] != ((vendor << 8) | category) || 101 char vendor[32], model[32]; local 120 strcpy(vendor, "?"); 121 fw_csr_string(dev->config_rom + 5, CSR_VENDOR, vendor, sizeof(vendor)); [all...] |
/linux-master/drivers/xen/xen-pciback/ |
H A D | conf_space_quirks.c | 21 if ((id->vendor == PCI_ANY_ID || id->vendor == dev->vendor) && 106 quirk->devid.vendor = dev->vendor;
|