/linux/tools/power/cpupower/utils/idle_monitor/ |
H A D | nhm_idle.c | 131 nhm_get_count(TSC, &tsc_at_measure_start, base_cpu); in nhm_start() 139 nhm_get_count(TSC, &dbg, base_cpu); in nhm_start() 150 nhm_get_count(TSC, &tsc_at_measure_end, base_cpu); in nhm_stop() 158 nhm_get_count(TSC, &dbg, base_cpu); in nhm_stop()
|
H A D | snb_idle.c | 122 snb_get_count(TSC, &tsc_at_measure_start, base_cpu); in snb_start() 131 snb_get_count(TSC, &tsc_at_measure_end, base_cpu); in snb_stop()
|
H A D | hsw_ext_idle.c | 124 hsw_ext_get_count(TSC, &tsc_at_measure_start, base_cpu); in hsw_ext_start() 133 hsw_ext_get_count(TSC, &tsc_at_measure_end, base_cpu); in hsw_ext_stop()
|
H A D | mperf_monitor.c | 87 ret = read_msr(base_cpu, MSR_TSC, tsc); in mperf_get_tsc()
|
/linux/tools/power/cpupower/utils/ |
H A D | cpupower.c | 34 int base_cpu; variable 208 base_cpu = sched_getcpu(); in main() 209 if (base_cpu < 0) { in main() 218 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); in main()
|
H A D | cpupower-info.c | 72 bitmask_setbit(cpus_chosen, base_cpu); in cmd_info()
|
H A D | cpuidle-info.c | 185 bitmask_setbit(cpus_chosen, base_cpu); in cmd_idle_info()
|
H A D | cpufreq-info.c | 577 bitmask_setbit(cpus_chosen, base_cpu); in cmd_freq_info()
|
/linux/tools/power/x86/turbostat/ |
H A D | turbostat.c | 360 int base_cpu; variable 449 if (get_msr(base_cpu, MSR_FSB_FREQ, &msr)) in slm_bclk() 1626 int base_cpu; member 1641 int base_cpu; member 1976 return ((int)t->cpu_id == c->base_cpu || c->base_cpu < 0); in is_cpu_first_thread_in_core() 1983 return ((int)t->cpu_id == p->base_cpu || p->base_cpu < 0); in is_cpu_first_core_in_package() 4826 get_msr(base_cpu, MSR_PKG_CST_CONFIG_CONTROL, &msr); in probe_cst_limit() 4838 get_msr(base_cpu, MSR_PLATFORM_INFO, &msr); in dump_platform_info() 4840 fprintf(outf, "cpu%d: MSR_PLATFORM_INFO: 0x%08llx\n", base_cpu, msr); in dump_platform_info() 4856 get_msr(base_cpu, MSR_IA32_POWER_CTL, &msr); in dump_power_ctl() [all …]
|
/linux/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 56 int base_cpu; variable 1339 get_msr(base_cpu, MSR_PM_ENABLE, &msr); in verify_hwp_is_enabled() 1377 base_cpu = sched_getcpu(); in set_base_cpu() 1378 if (base_cpu < 0) in set_base_cpu() 1388 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); in probe_dev_msr() 1421 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr); in early_cpuid()
|
/linux/tools/power/cpupower/utils/helpers/ |
H A D | helpers.h | 37 extern int base_cpu;
|
H A D | cpuid.c | 74 if (proc != (unsigned int)base_cpu) in get_cpu_info()
|
/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e.h | 347 u32 base_cpu; member
|
H A D | atl1e_main.c | 607 hw->base_cpu = 0; in atl1e_sw_init() 1001 AT_WRITE_REG(hw, REG_BASE_CPU_NUMBER, hw->base_cpu); in atl1e_configure_rx()
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c.h | 416 u32 base_cpu; member
|
H A D | atl1c_main.c | 818 hw->base_cpu = 0; in atl1c_sw_init()
|
/linux/drivers/irqchip/ |
H A D | irq-gic-v3.c | 1371 static u16 gic_compute_target_list(int *base_cpu, const struct cpumask *mask, in gic_compute_target_list() argument 1374 int next_cpu, cpu = *base_cpu; in gic_compute_target_list() 1396 *base_cpu = cpu; in gic_compute_target_list()
|