Home
last modified time | relevance | path

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

/linux/tools/power/cpupower/utils/idle_monitor/
H A Dnhm_idle.c131 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 Dsnb_idle.c122 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 Dhsw_ext_idle.c124 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 Dmperf_monitor.c87 ret = read_msr(base_cpu, MSR_TSC, tsc); in mperf_get_tsc()
/linux/tools/power/cpupower/utils/
H A Dcpupower.c34 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 Dcpupower-info.c72 bitmask_setbit(cpus_chosen, base_cpu); in cmd_info()
H A Dcpuidle-info.c185 bitmask_setbit(cpus_chosen, base_cpu); in cmd_idle_info()
H A Dcpufreq-info.c577 bitmask_setbit(cpus_chosen, base_cpu); in cmd_freq_info()
/linux/tools/power/x86/turbostat/
H A Dturbostat.c360 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 Dx86_energy_perf_policy.c56 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 Dhelpers.h37 extern int base_cpu;
H A Dcpuid.c74 if (proc != (unsigned int)base_cpu) in get_cpu_info()
/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e.h347 u32 base_cpu; member
H A Datl1e_main.c607 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 Datl1c.h416 u32 base_cpu; member
H A Datl1c_main.c818 hw->base_cpu = 0; in atl1c_sw_init()
/linux/drivers/irqchip/
H A Dirq-gic-v3.c1371 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()