Home
last modified time | relevance | path

Searched refs:get_lppaca (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/arch/powerpc/include/asm/
Didle.h27 wait_cycles = be64_to_cpu(get_lppaca()->wait_state_cycles); in update_idle_purr_accounting()
29 get_lppaca()->wait_state_cycles = cpu_to_be64(wait_cycles); in update_idle_purr_accounting()
49 get_lppaca()->idle = 1; in pseries_idle_prolog()
56 get_lppaca()->idle = 0; in pseries_idle_epilog()
68 if (unlikely(get_lppaca()->idle == 1)) { in read_this_idle_purr()
73 return be64_to_cpu(get_lppaca()->wait_state_cycles); in read_this_idle_purr()
84 if (get_lppaca()->idle == 1) { in read_this_idle_spurr()
Dpmc.h28 get_lppaca()->pmcregs_in_use = inuse; in ppc_set_pmu_inuse()
Dplpar_wrappers.h22 return get_lppaca()->cede_latency_hint; in get_cede_latency_hint()
27 get_lppaca()->cede_latency_hint = latency_hint; in set_cede_latency_hint()
Dlppaca.h123 #define get_lppaca() (get_paca()->lppaca_ptr) macro
/linux-6.6.21/drivers/cpuidle/
Dcpuidle-pseries.c226 get_lppaca()->donate_dedicated_cpu = 1; in dedicated_cede_loop()
227 old_latency_hint = get_lppaca()->cede_latency_hint; in dedicated_cede_loop()
228 get_lppaca()->cede_latency_hint = cede_latency_hint[index]; in dedicated_cede_loop()
234 get_lppaca()->donate_dedicated_cpu = 0; in dedicated_cede_loop()
235 get_lppaca()->cede_latency_hint = old_latency_hint; in dedicated_cede_loop()
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dkexec.c33 if (get_lppaca()->dtl_enable_mask) { in pseries_kexec_cpu_down()
Ddtl.c439 if (get_paca()->dtl_ridx != be64_to_cpu(get_lppaca()->dtl_idx)) in pseries_calculate_stolen_time()
/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_hv_p9_perf.c77 get_lppaca()->pmcregs_in_use = load_pmu; in switch_pmu_to_guest()
189 get_lppaca()->pmcregs_in_use = ppc_get_pmu_inuse(); in switch_pmu_to_host()
/linux-6.6.21/arch/powerpc/mm/
Dfault.c295 page_ins = be32_to_cpu(get_lppaca()->page_ins); in cmo_account_page_fault()
297 get_lppaca()->page_ins = cpu_to_be32(page_ins); in cmo_account_page_fault()