Home
last modified time | relevance | path

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

/Linux-v6.1/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.h21 return get_lppaca()->cede_latency_hint; in get_cede_latency_hint()
26 get_lppaca()->cede_latency_hint = latency_hint; in set_cede_latency_hint()
Dpaca.h51 #define get_lppaca() (get_paca()->lppaca_ptr) macro
/Linux-v6.1/drivers/cpuidle/
Dcpuidle-pseries.c224 get_lppaca()->donate_dedicated_cpu = 1; in dedicated_cede_loop()
225 old_latency_hint = get_lppaca()->cede_latency_hint; in dedicated_cede_loop()
226 get_lppaca()->cede_latency_hint = cede_latency_hint[index]; in dedicated_cede_loop()
232 get_lppaca()->donate_dedicated_cpu = 0; in dedicated_cede_loop()
233 get_lppaca()->cede_latency_hint = old_latency_hint; in dedicated_cede_loop()
/Linux-v6.1/arch/powerpc/platforms/pseries/
Dkexec.c33 if (get_lppaca()->dtl_enable_mask) { in pseries_kexec_cpu_down()
Dlparcfg.c208 if (lppaca_shared_proc(get_lppaca())) { in parse_ppp_data()
619 lppaca_shared_proc(get_lppaca())); in pseries_lparcfg_data()
Ddtl.c439 if (get_paca()->dtl_ridx != be64_to_cpu(get_lppaca()->dtl_idx)) in pseries_calculate_stolen_time()
Dsetup.c849 if (lppaca_shared_proc(get_lppaca())) { in pSeries_setup_arch()
Dlpar.c646 if (!lppaca_shared_proc(get_lppaca())) { in vcpudispatch_stats_procfs_init()
/Linux-v6.1/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-v6.1/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()