Home
last modified time | relevance | path

Searched refs:family (Results 1 – 12 of 12) sorted by relevance

/tools/perf/arch/x86/util/
Dheader.c26 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/
Damd.c32 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()
Dcpuid.c56 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()
Dhelpers.h76 unsigned int family; member
/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c140 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/
Dturbostat.c1471 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/
Dusbipd.c490 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/
Damd_fam14h_idle.c284 if (cpupower_cpu_info.family == 0x14) in amd_fam14h_register()
287 else if (cpupower_cpu_info.family == 0x12) in amd_fam14h_register()
Dsnb_idle.c150 || cpupower_cpu_info.family != 6) in snb_register()
Dhsw_ext_idle.c153 || cpupower_cpu_info.family != 6) in hsw_ext_register()
/tools/hv/
Dhv_kvp_daemon.c837 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/
Dcpufreq-info.c194 cpupower_cpu_info.family >= 0x10) { in get_boost_mode()
195 ret = decode_pstates(cpu, cpupower_cpu_info.family, b_states, in get_boost_mode()