Searched refs:core_info (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/tools/power/cpupower/lib/ |
D | cpupower.c | 135 cpu_top->core_info = malloc(sizeof(struct cpuid_core_info) * cpus); in get_cpu_topology() 136 if (cpu_top->core_info == NULL) in get_cpu_topology() 140 cpu_top->core_info[cpu].cpu = cpu; in get_cpu_topology() 141 cpu_top->core_info[cpu].is_online = cpupower_is_cpu_online(cpu); in get_cpu_topology() 145 &(cpu_top->core_info[cpu].pkg)) < 0) { in get_cpu_topology() 146 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology() 147 cpu_top->core_info[cpu].core = -1; in get_cpu_topology() 153 &(cpu_top->core_info[cpu].core)) < 0) { in get_cpu_topology() 154 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology() 155 cpu_top->core_info[cpu].core = -1; in get_cpu_topology() [all …]
|
D | cpupower.h | 12 struct cpuid_core_info *core_info; member
|
/Linux-v5.4/tools/power/cpupower/utils/idle_monitor/ |
D | cpupower-monitor.c | 147 if (!bitmask_isbitset(cpus_chosen, cpu_top.core_info[cpu].cpu)) in print_results() 149 if (!cpu_top.core_info[cpu].is_online && in print_results() 150 cpu_top.core_info[cpu].pkg == -1) in print_results() 154 printf("%4d|", cpu_top.core_info[cpu].pkg); in print_results() 156 printf("%4d|", cpu_top.core_info[cpu].core); in print_results() 158 printf("%4d|", cpu_top.core_info[cpu].cpu); in print_results() 172 cpu_top.core_info[cpu].cpu); in print_results() 181 cpu_top.core_info[cpu].cpu); in print_results() 200 if (!cpu_top.core_info[cpu].is_online && in print_results() 201 cpu_top.core_info[cpu].pkg != -1) { in print_results() [all …]
|
/Linux-v5.4/arch/powerpc/kvm/ |
D | book3s_hv.c | 2740 struct core_info { struct 2754 static void init_core_info(struct core_info *cip, struct kvmppc_vcore *vc) in init_core_info() argument 2797 static bool can_dynamic_split(struct kvmppc_vcore *vc, struct core_info *cip) in can_dynamic_split() 2835 static bool can_piggyback(struct kvmppc_vcore *pvc, struct core_info *cip, in can_piggyback() 2863 static void collect_piggybacks(struct core_info *cip, int target_threads) in collect_piggybacks() 2894 static bool recheck_signals_and_mmu(struct core_info *cip) in recheck_signals_and_mmu() 3045 struct core_info core_info; in kvmppc_run_core() local 3107 init_core_info(&core_info, vc); in kvmppc_run_core() 3113 collect_piggybacks(&core_info, target_threads); in kvmppc_run_core() 3122 for (sub = 0; sub < core_info.n_subcores; ++sub) in kvmppc_run_core() [all …]
|
/Linux-v5.4/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_dev.h | 57 u32 core_info; member
|
/Linux-v5.4/drivers/gpu/drm/arm/display/komeda/d71/ |
D | d71_dev.c | 582 chip->core_info = malidp_read32(reg_base, GLB_CORE_INFO); in d71_identify()
|