| /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() 167 if (cpu_info->vendor == X86_VENDOR_INTEL) { in get_cpu_info() 173 if (cpu_info->vendor == X86_VENDOR_INTEL) { in get_cpu_info()
|
| A D | pci.c | 27 int slot, int func, int vendor, int dev) in pci_acc_init() argument 41 filter_nb_link.vendor = vendor; in pci_acc_init()
|
| A D | helpers.h | 84 enum cpupower_cpu_vendor vendor; member 128 int bus, int slot, int func, int vendor,
|
| /tools/perf/arch/x86/util/ |
| 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()
|
| A D | tsc.c | 65 char vendor[16]; in arch_get_tsc_freq() local 71 get_cpuid_0(vendor, &lvl); in arch_get_tsc_freq() 72 if (!strstr(vendor, "Intel")) in arch_get_tsc_freq()
|
| A D | cpuid.h | 32 void get_cpuid_0(char *vendor, unsigned int *lvl);
|
| /tools/testing/selftests/resctrl/ |
| A D | resctrl_tests.c | 53 static int vendor = -1; in get_vendor() local 55 if (vendor == -1) in get_vendor() 56 vendor = detect_vendor(); in get_vendor() 57 if (vendor == 0) in get_vendor() 60 return vendor; in get_vendor()
|
| /tools/power/cpupower/utils/ |
| A D | cpufreq-info.c | 148 if (cpupower_cpu_info.vendor == X86_VENDOR_AMD && in get_boost_mode_x86() 151 } else if ((cpupower_cpu_info.vendor == X86_VENDOR_AMD && in get_boost_mode_x86() 153 cpupower_cpu_info.vendor == X86_VENDOR_HYGON) { in get_boost_mode_x86() 213 if (cpupower_cpu_info.vendor == X86_VENDOR_AMD || in get_boost_mode() 214 cpupower_cpu_info.vendor == X86_VENDOR_HYGON || in get_boost_mode() 215 cpupower_cpu_info.vendor == X86_VENDOR_INTEL) in get_boost_mode() 469 if (cpupower_cpu_info.vendor == X86_VENDOR_AMD && in get_perf_cap()
|
| A D | cpupower-set.c | 89 if (cpupower_cpu_info.vendor != X86_VENDOR_AMD) in cmd_set()
|
| /tools/usb/usbip/libsrc/ |
| A D | usbip_common.c | 278 void usbip_names_get_product(char *buff, size_t size, uint16_t vendor, in usbip_names_get_product() argument 283 prod = names_product(vendor, product); in usbip_names_get_product() 288 vend = names_vendor(vendor); in usbip_names_get_product() 292 snprintf(buff, size, "%s : %s (%04x:%04x)", vend, prod, vendor, product); in usbip_names_get_product()
|
| A D | names.c | 25 struct vendor { struct 26 struct vendor *next; argument 77 static struct vendor *vendors[HASHSZ] = { NULL, }; 85 struct vendor *v; in names_vendor() 190 struct vendor *v; in new_vendor() 197 v = my_malloc(sizeof(struct vendor) + strlen(name)); in new_vendor()
|
| A D | usbip_common.h | 147 void usbip_names_get_product(char *buff, size_t size, uint16_t vendor,
|
| /tools/power/cpupower/utils/idle_monitor/ |
| A D | mperf_monitor.c | 275 if (cpupower_cpu_info.vendor == X86_VENDOR_AMD || in init_maxfreq_mode() 276 cpupower_cpu_info.vendor == X86_VENDOR_HYGON) { in init_maxfreq_mode() 300 } else if (cpupower_cpu_info.vendor == X86_VENDOR_INTEL) { in init_maxfreq_mode() 340 if (cpupower_cpu_info.vendor == X86_VENDOR_AMD) in mperf_register()
|
| A D | hsw_ext_idle.c | 150 if (cpupower_cpu_info.vendor != X86_VENDOR_INTEL in hsw_ext_register()
|
| A D | snb_idle.c | 148 if (cpupower_cpu_info.vendor != X86_VENDOR_INTEL in snb_register()
|
| A D | nhm_idle.c | 170 if (cpupower_cpu_info.vendor != X86_VENDOR_INTEL) in intel_nhm_register()
|
| A D | amd_fam14h_idle.c | 280 if (cpupower_cpu_info.vendor != X86_VENDOR_AMD) in amd_fam14h_register()
|
| /tools/usb/usbip/src/ |
| A D | usbip_list.c | 152 static void print_device(const char *busid, const char *vendor, in print_device() argument 156 printf("busid=%s#usbid=%.4s:%.4s#", busid, vendor, product); in print_device() 158 printf(" - busid %s (%.4s:%.4s)\n", busid, vendor, product); in print_device()
|
| /tools/testing/selftests/devices/probe/ |
| A D | test_discoverable_devices.py | 308 vendor = f.read().replace("\n", "") 312 filenames = [vendor + "," + product]
|
| /tools/perf/pmu-events/ |
| A D | README | 38 folder, or may be placed in a vendor sub-folder under the arch folder 39 for instances where the arch and vendor are not the same.
|
| /tools/arch/x86/kcpuid/ |
| A D | cpuid.csv | 13 # Maximum standard leaf number + CPU vendor string 16 0x0, 0, ebx, 31:0, cpu_vendorid_0 , CPU vendor ID string bytes 0 - 3 17 0x0, 0, ecx, 31:0, cpu_vendorid_2 , CPU vendor ID string bytes 8 - 11 18 0x0, 0, edx, 31:0, cpu_vendorid_1 , CPU vendor ID string bytes 4 - 7 483 # Intel SoC vendor attributes enumeration 486 0x17, 0, ebx, 15:0, soc_vendor_id , SoC vendor ID 592 0x21, 0, ebx, 31:0, tdx_vendorid_0 , TDX vendor ID string bytes 0 - 3 594 0x21, 0, edx, 31:0, tdx_vendorid_1 , CPU vendor ID string bytes 4 - 7 619 # Maximum hypervisor standard leaf + hypervisor vendor string 627 # Maximum extended leaf number + AMD/Transmeta CPU vendor string [all …]
|
| /tools/testing/selftests/hid/ |
| A D | hid_common.h | 150 ev.u.create.vendor = vid; in uhid_create()
|
| /tools/testing/selftests/kvm/include/x86/ |
| A D | processor.h | 675 static inline bool this_cpu_vendor_string_is(const char *vendor) in this_cpu_vendor_string_is() argument 677 const uint32_t *chunk = (const uint32_t *)vendor; in this_cpu_vendor_string_is()
|
| /tools/testing/nvdimm/test/ |
| A D | ndtest.c | 583 static DEVICE_ATTR_RO(vendor);
|
| /tools/perf/Documentation/ |
| A D | perf-list.txt | 187 in the CPU vendor specific documentation.
|