Home
last modified time | relevance | path

Searched refs:SYS_IMP_APL_PMCR0_EL1 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/perf/
H A Dapple_m1_cpu_pmu.c241 val = read_sysreg_s(SYS_IMP_APL_PMCR0_EL1); in __m1_pmu_enable_counter()
248 write_sysreg_s(val, SYS_IMP_APL_PMCR0_EL1); in __m1_pmu_enable_counter()
276 val = read_sysreg_s(SYS_IMP_APL_PMCR0_EL1); in __m1_pmu_enable_counter_interrupt()
283 write_sysreg_s(val, SYS_IMP_APL_PMCR0_EL1); in __m1_pmu_enable_counter_interrupt()
392 state = read_sysreg_s(SYS_IMP_APL_PMCR0_EL1); in m1_pmu_handle_irq()
394 write_sysreg_s(state, SYS_IMP_APL_PMCR0_EL1); in m1_pmu_handle_irq()
468 val = read_sysreg_s(SYS_IMP_APL_PMCR0_EL1); in __m1_pmu_set_mode()
471 write_sysreg_s(val, SYS_IMP_APL_PMCR0_EL1); in __m1_pmu_set_mode()
/openbmc/linux/arch/arm64/include/asm/
H A Dapple_m1_pmu.h22 #define SYS_IMP_APL_PMCR0_EL1 sys_reg(3, 1, 15, 0, 0) macro
/openbmc/linux/drivers/irqchip/
H A Dirq-apple-aic.c566 if (read_sysreg_s(SYS_IMP_APL_PMCR0_EL1) & PMCR0_IACT) { in aic_handle_fiq()
831 sysreg_clear_set_s(SYS_IMP_APL_PMCR0_EL1, PMCR0_IMODE | PMCR0_IACT, in aic_init_cpu()