Home
last modified time | relevance | path

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

/Linux-v4.19/tools/power/x86/turbostat/
Dturbostat.c103 int base_cpu; variable
1984 get_msr(base_cpu, MSR_PLATFORM_INFO, &msr); in dump_nhm_platform_info()
1986 fprintf(outf, "cpu%d: MSR_PLATFORM_INFO: 0x%08llx\n", base_cpu, msr); in dump_nhm_platform_info()
1996 get_msr(base_cpu, MSR_IA32_POWER_CTL, &msr); in dump_nhm_platform_info()
1998 base_cpu, msr, msr & 0x2 ? "EN" : "DIS"); in dump_nhm_platform_info()
2009 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT2, &msr); in dump_hsw_turbo_ratio_limits()
2011 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT2: 0x%08llx\n", base_cpu, msr); in dump_hsw_turbo_ratio_limits()
2031 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT1, &msr); in dump_ivt_turbo_ratio_limits()
2033 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT1: 0x%08llx\n", base_cpu, msr); in dump_ivt_turbo_ratio_limits()
2097 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr); in dump_turbo_ratio_limits()
[all …]
/Linux-v4.19/tools/power/cpupower/utils/
Dcpupower.c35 int base_cpu; variable
204 base_cpu = sched_getcpu(); in main()
205 if (base_cpu < 0) { in main()
214 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); in main()
/Linux-v4.19/tools/power/cpupower/utils/idle_monitor/
Dnhm_idle.c132 nhm_get_count(TSC, &tsc_at_measure_start, base_cpu); in nhm_start()
140 nhm_get_count(TSC, &dbg, base_cpu); in nhm_start()
151 nhm_get_count(TSC, &tsc_at_measure_end, base_cpu); in nhm_stop()
159 nhm_get_count(TSC, &dbg, base_cpu); in nhm_stop()
Dhsw_ext_idle.c126 hsw_ext_get_count(TSC, &tsc_at_measure_start, base_cpu); in hsw_ext_start()
135 hsw_ext_get_count(TSC, &tsc_at_measure_end, base_cpu); in hsw_ext_stop()
Dsnb_idle.c123 snb_get_count(TSC, &tsc_at_measure_start, base_cpu); in snb_start()
132 snb_get_count(TSC, &tsc_at_measure_end, base_cpu); in snb_stop()
Dmperf_monitor.c84 ret = read_msr(base_cpu, MSR_TSC, tsc); in mperf_get_tsc()
/Linux-v4.19/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c57 int base_cpu; variable
1209 get_msr(base_cpu, MSR_PM_ENABLE, &msr); in verify_hwp_is_enabled()
1247 base_cpu = sched_getcpu(); in set_base_cpu()
1248 if (base_cpu < 0) in set_base_cpu()
1258 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); in probe_dev_msr()
1287 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr); in early_cpuid()
/Linux-v4.19/tools/power/cpupower/utils/helpers/
Dhelpers.h37 extern int base_cpu;
Dcpuid.c74 if (proc != (unsigned int)base_cpu) in get_cpu_info()
/Linux-v4.19/drivers/net/ethernet/atheros/atl1e/
Datl1e.h360 u32 base_cpu; member
Datl1e_main.c623 hw->base_cpu = 0; in atl1e_sw_init()
1011 AT_WRITE_REG(hw, REG_BASE_CPU_NUMBER, hw->base_cpu); in atl1e_configure_rx()
/Linux-v4.19/drivers/irqchip/
Dirq-gic-v3.c695 static u16 gic_compute_target_list(int *base_cpu, const struct cpumask *mask, in gic_compute_target_list() argument
698 int next_cpu, cpu = *base_cpu; in gic_compute_target_list()
718 *base_cpu = cpu; in gic_compute_target_list()
/Linux-v4.19/drivers/net/ethernet/atheros/atl1c/
Datl1c.h430 u32 base_cpu; member
Datl1c_main.c812 hw->base_cpu = 0; in atl1c_sw_init()