/Linux-v4.19/tools/power/x86/turbostat/ |
D | turbostat.c | 103 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/ |
D | cpupower.c | 35 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/ |
D | nhm_idle.c | 132 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()
|
D | hsw_ext_idle.c | 126 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()
|
D | snb_idle.c | 123 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()
|
D | mperf_monitor.c | 84 ret = read_msr(base_cpu, MSR_TSC, tsc); in mperf_get_tsc()
|
/Linux-v4.19/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 57 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/ |
D | helpers.h | 37 extern int base_cpu;
|
D | cpuid.c | 74 if (proc != (unsigned int)base_cpu) in get_cpu_info()
|
/Linux-v4.19/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e.h | 360 u32 base_cpu; member
|
D | atl1e_main.c | 623 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/ |
D | irq-gic-v3.c | 695 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/ |
D | atl1c.h | 430 u32 base_cpu; member
|
D | atl1c_main.c | 812 hw->base_cpu = 0; in atl1c_sw_init()
|