/tools/perf/arch/x86/util/ |
D | header.c | 26 int family = -1, model = -1, step = -1; in get_cpuid() local 39 family = (a >> 8) & 0xf; /* bits 11 - 8 */ in get_cpuid() 44 if (family == 0xf) in get_cpuid() 45 family += (a >> 20) & 0xff; in get_cpuid() 48 if (family >= 0x6) 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 | amd.c | 32 static int get_did(int family, union msr_pstate pstate) in get_did() argument 36 if (family == 0x12) in get_did() 44 static int get_cof(int family, union msr_pstate pstate) in get_cof() argument 49 did = get_did(family, pstate); in get_cof() 53 if (family == 0x11) in get_cof()
|
D | cpuid.c | 56 cpu_info->family = unknown; in get_cpu_info() 85 &cpu_info->family); in get_cpu_info() 95 cpu_info->family == unknown || in get_cpu_info() 145 if (cpu_info->family == 6) { in get_cpu_info()
|
D | helpers.h | 76 unsigned int family; member
|
/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 140 unsigned int fms, family, model, stepping; in validate_cpuid() local 155 family = (fms >> 8) & 0xf; in validate_cpuid() 158 if (family == 6 || family == 0xf) in validate_cpuid() 164 family, model, stepping, family, model, stepping); in validate_cpuid()
|
/tools/power/x86/turbostat/ |
D | turbostat.c | 1471 int has_nehalem_turbo_ratio_limit(unsigned int family, unsigned int model) in has_nehalem_turbo_ratio_limit() argument 1476 if (family != 6) in has_nehalem_turbo_ratio_limit() 1505 int has_ivt_turbo_ratio_limit(unsigned int family, unsigned int model) in has_ivt_turbo_ratio_limit() argument 1510 if (family != 6) in has_ivt_turbo_ratio_limit() 1593 void rapl_probe(unsigned int family, unsigned int model) in rapl_probe() argument 1602 if (family != 6) in rapl_probe() 1846 int is_snb(unsigned int family, unsigned int model) in is_snb() argument 1868 int has_c8_c9_c10(unsigned int family, unsigned int model) in has_c8_c9_c10() argument 1882 int is_slm(unsigned int family, unsigned int model) in is_slm() argument 1918 double discover_bclk(unsigned int family, unsigned int model) in discover_bclk() argument [all …]
|
/tools/usb/usbip/src/ |
D | usbipd.c | 490 int nsockfd, family; in do_standalone_mode() local 522 family = AF_UNSPEC; in do_standalone_mode() 524 family = AF_INET; in do_standalone_mode() 526 family = AF_INET6; in do_standalone_mode() 528 ai_head = do_getaddrinfo(NULL, family); in do_standalone_mode()
|
/tools/power/cpupower/utils/idle_monitor/ |
D | amd_fam14h_idle.c | 284 if (cpupower_cpu_info.family == 0x14) in amd_fam14h_register() 287 else if (cpupower_cpu_info.family == 0x12) in amd_fam14h_register()
|
D | snb_idle.c | 150 || cpupower_cpu_info.family != 6) in snb_register()
|
D | hsw_ext_idle.c | 153 || cpupower_cpu_info.family != 6) in hsw_ext_register()
|
/tools/hv/ |
D | hv_kvp_daemon.c | 837 int family, char *buffer, in kvp_process_ip_address() argument 846 if (family == AF_INET) { in kvp_process_ip_address() 848 str = inet_ntop(family, &addr->sin_addr, tmp, 50); in kvp_process_ip_address() 852 str = inet_ntop(family, &addr6->sin6_addr.s6_addr, tmp, 50); in kvp_process_ip_address() 875 kvp_get_ip_info(int family, char *if_name, int op, in kvp_get_ip_info() argument 932 if ((((family != 0) && in kvp_get_ip_info() 933 (curp->ifa_addr->sa_family != family))) || in kvp_get_ip_info()
|
/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 194 cpupower_cpu_info.family >= 0x10) { in get_boost_mode() 195 ret = decode_pstates(cpu, cpupower_cpu_info.family, b_states, in get_boost_mode()
|