Home
last modified time | relevance | path

Searched refs:vendor (Results 1 – 14 of 14) sorted by relevance

/tools/perf/arch/x86/util/
Dheader.c28 char vendor[16]; in get_cpuid() local
31 strncpy(&vendor[0], (char *)(&b), 4); in get_cpuid()
32 strncpy(&vendor[4], (char *)(&d), 4); in get_cpuid()
33 strncpy(&vendor[8], (char *)(&c), 4); in get_cpuid()
34 vendor[12] = '\0'; in get_cpuid()
51 nb = scnprintf(buffer, sz, "%s,%u,%u,%u$", vendor, family, model, step); in get_cpuid()
/tools/power/cpupower/utils/helpers/
Dcpuid.c55 cpu_info->vendor = X86_VENDOR_UNKNOWN; in get_cpu_info()
80 cpu_info->vendor = x; in get_cpu_info()
94 if (cpu_info->vendor == X86_VENDOR_UNKNOWN || in get_cpu_info()
110 if (cpu_info->vendor != X86_VENDOR_AMD && in get_cpu_info()
111 cpu_info->vendor != X86_VENDOR_INTEL) in get_cpu_info()
127 if (cpu_info->vendor == X86_VENDOR_AMD) { in get_cpu_info()
133 if (cpu_info->vendor == X86_VENDOR_INTEL) { in get_cpu_info()
139 if (cpu_info->vendor == X86_VENDOR_INTEL) { in get_cpu_info()
Dpci.c26 int slot, int func, int vendor, int dev) in pci_acc_init() argument
29 vendor, dev }; in pci_acc_init()
Dhelpers.h75 enum cpupower_cpu_vendor vendor; member
138 int bus, int slot, int func, int vendor,
/tools/usb/usbip/libsrc/
Dusbip_common.c245 void usbip_names_get_product(char *buff, size_t size, uint16_t vendor, in usbip_names_get_product() argument
250 prod = names_product(vendor, product); in usbip_names_get_product()
255 vend = names_vendor(vendor); in usbip_names_get_product()
259 snprintf(buff, size, "%s : %s (%04x:%04x)", vend, prod, vendor, product); in usbip_names_get_product()
Dnames.c43 struct vendor { struct
44 struct vendor *next; argument
95 static struct vendor *vendors[HASHSZ] = { NULL, };
103 struct vendor *v; in names_vendor()
208 struct vendor *v; in new_vendor()
215 v = my_malloc(sizeof(struct vendor) + strlen(name)); in new_vendor()
Dusbip_common.h132 void usbip_names_get_product(char *buff, size_t size, uint16_t vendor,
/tools/usb/usbip/src/
Dusbip_list.c154 static void print_device(const char *busid, const char *vendor, in print_device() argument
158 printf("busid=%s#usbid=%.4s:%.4s#", busid, vendor, product); in print_device()
160 printf(" - busid %s (%.4s:%.4s)\n", busid, vendor, product); in print_device()
/tools/power/cpupower/utils/idle_monitor/
Dmperf_monitor.c243 if (cpupower_cpu_info.vendor == X86_VENDOR_AMD) { in init_maxfreq_mode()
267 } else if (cpupower_cpu_info.vendor == X86_VENDOR_INTEL) { in init_maxfreq_mode()
Dsnb_idle.c149 if (cpupower_cpu_info.vendor != X86_VENDOR_INTEL in snb_register()
Dhsw_ext_idle.c152 if (cpupower_cpu_info.vendor != X86_VENDOR_INTEL in hsw_ext_register()
Dnhm_idle.c171 if (cpupower_cpu_info.vendor != X86_VENDOR_INTEL) in intel_nhm_register()
Damd_fam14h_idle.c281 if (cpupower_cpu_info.vendor != X86_VENDOR_AMD) in amd_fam14h_register()
/tools/power/cpupower/utils/
Dcpufreq-info.c172 if (cpupower_cpu_info.vendor != X86_VENDOR_AMD && in get_boost_mode()
173 cpupower_cpu_info.vendor != X86_VENDOR_INTEL) in get_boost_mode()
193 if (cpupower_cpu_info.vendor == X86_VENDOR_AMD && in get_boost_mode()