Searched refs:mdcr_el2 (Results 1 – 4 of 4) sorted by relevance
12 static u_register_t init_mdcr_el2_hpmn(u_register_t mdcr_el2) in init_mdcr_el2_hpmn() argument18 mdcr_el2 &= ~MDCR_EL2_HPMN_MASK; in init_mdcr_el2_hpmn()19 mdcr_el2 |= ((read_pmcr_el0() >> PMCR_EL0_N_SHIFT) & PMCR_EL0_N_MASK); in init_mdcr_el2_hpmn()21 return mdcr_el2; in init_mdcr_el2_hpmn()43 mdcr_el2_val = read_el2_ctx_common(get_el2_sysregs_ctx(ctx), mdcr_el2); in pmuv3_enable()45 write_el2_ctx_common(get_el2_sysregs_ctx(ctx), mdcr_el2, mdcr_el2_val); in pmuv3_enable()124 static u_register_t mtpmu_disable_el2(u_register_t mdcr_el2) in mtpmu_disable_el2() argument132 mdcr_el2 &= ~MDCR_EL2_MTPME; in mtpmu_disable_el2()134 return mdcr_el2; in mtpmu_disable_el2()139 u_register_t mdcr_el2 = read_mdcr_el2(); in pmuv3_init_el2_unused() local[all …]
1036 u_register_t mdcr_el2; in init_nonsecure_el2_unused() local1109 mdcr_el2 = MDCR_EL2_RESET_VAL & in init_nonsecure_el2_unused()1113 write_mdcr_el2(mdcr_el2); in init_nonsecure_el2_unused()1464 write_el2_ctx_common(ctx, mdcr_el2, read_mdcr_el2()); in el2_sysregs_context_save_common()1499 write_mdcr_el2(read_el2_ctx_common(ctx, mdcr_el2)); in el2_sysregs_context_restore_common()
39 uint64_t mdcr_el2; member
576 DEFINE_SYSREG_RW_FUNCS(mdcr_el2)