/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | cpu_device_id.h | 26 * @_vendor: The vendor name, e.g. INTEL, AMD, HYGON, ..., ANY 44 .vendor = X86_VENDOR_##_vendor, \ 54 * @_vendor: The vendor name, e.g. INTEL, AMD, HYGON, ..., ANY 66 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \ 67 X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(vendor, family, model, \ 71 * X86_MATCH_VENDOR_FAM_FEATURE - Macro for matching vendor, family and CPU feature 72 * @vendor: The vendor name, e.g. INTEL, AMD, HYGON, ..., ANY 73 * The name is expanded to X86_VENDOR_@vendor 83 #define X86_MATCH_VENDOR_FAM_FEATURE(vendor, famil [all...] |
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | cpu_device_id.h | 26 * @_vendor: The vendor name, e.g. INTEL, AMD, HYGON, ..., ANY 44 .vendor = X86_VENDOR_##_vendor, \ 54 * @_vendor: The vendor name, e.g. INTEL, AMD, HYGON, ..., ANY 66 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \ 67 X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(vendor, family, model, \ 71 * X86_MATCH_VENDOR_FAM_FEATURE - Macro for matching vendor, family and CPU feature 72 * @vendor: The vendor name, e.g. INTEL, AMD, HYGON, ..., ANY 73 * The name is expanded to X86_VENDOR_@vendor 83 #define X86_MATCH_VENDOR_FAM_FEATURE(vendor, famil [all...] |
/kernel/linux/linux-6.6/drivers/char/agp/ |
H A D | sis-agp.c | 193 pdev->vendor, pdev->device); in agp_sis_probe() 229 .vendor = PCI_VENDOR_ID_SI, 237 .vendor = PCI_VENDOR_ID_SI, 245 .vendor = PCI_VENDOR_ID_SI, 253 .vendor = PCI_VENDOR_ID_SI, 261 .vendor = PCI_VENDOR_ID_SI, 269 .vendor = PCI_VENDOR_ID_SI, 277 .vendor = PCI_VENDOR_ID_SI, 285 .vendor = PCI_VENDOR_ID_SI, 293 .vendor [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-pci.c | 118 /* Look for vendor-specific quirks */ in xhci_pci_quirks() 119 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks() 151 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks() 155 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks() 159 if (pdev->vendor == PCI_VENDOR_ID_NEC) in xhci_pci_quirks() 162 if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version == 0x96) in xhci_pci_quirks() 166 if (pdev->vendor == PCI_VENDOR_ID_AMD && usb_amd_quirk_pll_check()) in xhci_pci_quirks() 169 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks() 176 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks() 180 if (pdev->vendor in xhci_pci_quirks() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_devinfo.c | 23 char vendor[8]; member 51 char *vendor; member 286 * devinfo vendor and model strings. 310 * @vendor: vendor string 316 * Create and add one dev_info entry for @vendor, @model, @strflags or 323 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument 326 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add() 334 * @vendor: vendor strin 349 scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, char *strflags, blist_flags_t flags, enum scsi_devinfo_key key) scsi_dev_info_list_add_keyed() argument 413 scsi_dev_info_list_find(const char *vendor, const char *model, enum scsi_devinfo_key key) scsi_dev_info_list_find() argument 497 scsi_dev_info_list_del_keyed(char *vendor, char *model, enum scsi_devinfo_key key) scsi_dev_info_list_del_keyed() argument 526 char *vendor, *model, *strflags, *next; scsi_dev_info_list_add_str() local 575 scsi_get_device_flags(struct scsi_device *sdev, const unsigned char *vendor, const unsigned char *model) scsi_get_device_flags() argument 597 scsi_get_device_flags_keyed(struct scsi_device *sdev, const unsigned char *vendor, const unsigned char *model, enum scsi_devinfo_key key) scsi_get_device_flags_keyed() argument [all...] |
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 | scsi_devinfo.c | 23 char vendor[8]; member 51 char *vendor; member 288 * devinfo vendor and model strings. 312 * @vendor: vendor string 318 * Create and add one dev_info entry for @vendor, @model, @strflags or 325 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument 328 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add() 336 * @vendor: vendor strin 351 scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, char *strflags, blist_flags_t flags, enum scsi_devinfo_key key) scsi_dev_info_list_add_keyed() argument 415 scsi_dev_info_list_find(const char *vendor, const char *model, enum scsi_devinfo_key key) scsi_dev_info_list_find() argument 499 scsi_dev_info_list_del_keyed(char *vendor, char *model, enum scsi_devinfo_key key) scsi_dev_info_list_del_keyed() argument 528 char *vendor, *model, *strflags, *next; scsi_dev_info_list_add_str() local 578 scsi_get_device_flags(struct scsi_device *sdev, const unsigned char *vendor, const unsigned char *model) scsi_get_device_flags() argument 600 scsi_get_device_flags_keyed(struct scsi_device *sdev, const unsigned char *vendor, const unsigned char *model, enum scsi_devinfo_key key) scsi_get_device_flags_keyed() argument [all...] |
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/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-5.10/drivers/acpi/acpica/ |
H A D | rsmemory.c | 119 /* Length of the vendor data (byte count) */ 121 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 127 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 143 /* Length of the vendor data (byte count) */ 145 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 151 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 163 /* Default is a small vendor descriptor */ 171 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 175 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 185 /* Must create a large vendor descripto [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | rsmemory.c | 119 /* Length of the vendor data (byte count) */ 121 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 127 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 143 /* Length of the vendor data (byte count) */ 145 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 151 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 163 /* Default is a small vendor descriptor */ 171 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 175 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 185 /* Must create a large vendor descripto [all...] |
/kernel/linux/linux-5.10/drivers/pnp/isapnp/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/pnp/isapnp/ |
H 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()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H 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, devic in find_oprom() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | probe_roms.c | 82 static bool match_id(struct pci_dev *pdev, unsigned short vendor, unsigned short device) in match_id() argument 87 if (pdev->vendor == vendor && pdev->device == device) in match_id() 90 for (id = drv ? drv->id_table : NULL; id && id->vendor; id++) in match_id() 91 if (id->vendor == vendor && id->device == device) in match_id() 94 return id && id->vendor; in match_id() 97 static bool probe_list(struct pci_dev *pdev, unsigned short vendor, in probe_list() argument 106 if (device && match_id(pdev, vendor, device)) in probe_list() 122 unsigned short offset, vendor, devic in find_oprom() local [all...] |
/kernel/linux/linux-5.10/drivers/char/agp/ |
H A 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 [all...] |
/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...] |
/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...] |
/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
|
/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)
|