/tools/perf/arch/x86/util/ |
D | header.c | 28 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/ |
D | cpuid.c | 55 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()
|
D | pci.c | 26 int slot, int func, int vendor, int dev) in pci_acc_init() argument 29 vendor, dev }; in pci_acc_init()
|
D | helpers.h | 75 enum cpupower_cpu_vendor vendor; member 138 int bus, int slot, int func, int vendor,
|
/tools/usb/usbip/libsrc/ |
D | usbip_common.c | 245 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()
|
D | names.c | 43 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()
|
D | usbip_common.h | 132 void usbip_names_get_product(char *buff, size_t size, uint16_t vendor,
|
/tools/usb/usbip/src/ |
D | usbip_list.c | 154 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/ |
D | mperf_monitor.c | 243 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()
|
D | snb_idle.c | 149 if (cpupower_cpu_info.vendor != X86_VENDOR_INTEL in snb_register()
|
D | hsw_ext_idle.c | 152 if (cpupower_cpu_info.vendor != X86_VENDOR_INTEL in hsw_ext_register()
|
D | nhm_idle.c | 171 if (cpupower_cpu_info.vendor != X86_VENDOR_INTEL) in intel_nhm_register()
|
D | amd_fam14h_idle.c | 281 if (cpupower_cpu_info.vendor != X86_VENDOR_AMD) in amd_fam14h_register()
|
/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 172 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()
|