Searched refs:perf_ctrl (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/perf/hisilicon/ |
| H A D | hisi_uncore_sllc_pmu.c | 74 u32 perf_ctrl; member 101 val = readl(sllc_pmu->base + regs->perf_ctrl); in hisi_sllc_pmu_enable_tracetag() 103 writel(val, sllc_pmu->base + regs->perf_ctrl); in hisi_sllc_pmu_enable_tracetag() 116 val = readl(sllc_pmu->base + regs->perf_ctrl); in hisi_sllc_pmu_disable_tracetag() 118 writel(val, sllc_pmu->base + regs->perf_ctrl); in hisi_sllc_pmu_disable_tracetag() 135 val = readl(sllc_pmu->base + regs->perf_ctrl); in hisi_sllc_pmu_config_tgtid() 137 writel(val, sllc_pmu->base + regs->perf_ctrl); in hisi_sllc_pmu_config_tgtid() 153 val = readl(sllc_pmu->base + regs->perf_ctrl); in hisi_sllc_pmu_clear_tgtid() 155 writel(val, sllc_pmu->base + regs->perf_ctrl); in hisi_sllc_pmu_clear_tgtid() 173 val = readl(sllc_pmu->base + regs->perf_ctrl); in hisi_sllc_pmu_config_srcid() [all …]
|
| H A D | hisi_uncore_ddrc_pmu.c | 79 u32 perf_ctrl; member 156 val = readl(ddrc_pmu->base + regs->perf_ctrl); in hisi_ddrc_pmu_start_counters() 158 writel(val, ddrc_pmu->base + regs->perf_ctrl); in hisi_ddrc_pmu_start_counters() 166 val = readl(ddrc_pmu->base + regs->perf_ctrl); in hisi_ddrc_pmu_stop_counters() 168 writel(val, ddrc_pmu->base + regs->perf_ctrl); in hisi_ddrc_pmu_stop_counters() 436 .perf_ctrl = DDRC_PERF_CTRL, 454 .perf_ctrl = DDRC_V2_PERF_CTRL, 472 .perf_ctrl = DDRC_V2_PERF_CTRL,
|
| H A D | hisi_uncore_mn_pmu.c | 42 u32 perf_ctrl; member 110 val = readl(mn_pmu->base + reg_info->perf_ctrl); in hisi_mn_pmu_start_counters() 112 writel(val, mn_pmu->base + reg_info->perf_ctrl); in hisi_mn_pmu_start_counters() 120 val = readl(mn_pmu->base + reg_info->perf_ctrl); in hisi_mn_pmu_stop_counters() 122 writel(val, mn_pmu->base + reg_info->perf_ctrl); in hisi_mn_pmu_stop_counters() 344 .perf_ctrl = HISI_MN_PERF_CTRL_REG,
|
| /linux/arch/loongarch/kvm/ |
| H A D | vcpu.c | 50 context->perf_ctrl[0] = write_csr_perfctrl0(0); in kvm_save_host_pmu() 51 context->perf_ctrl[1] = write_csr_perfctrl1(0); in kvm_save_host_pmu() 52 context->perf_ctrl[2] = write_csr_perfctrl2(0); in kvm_save_host_pmu() 53 context->perf_ctrl[3] = write_csr_perfctrl3(0); in kvm_save_host_pmu() 65 write_csr_perfctrl0(context->perf_ctrl[0]); in kvm_restore_host_pmu() 66 write_csr_perfctrl1(context->perf_ctrl[1]); in kvm_restore_host_pmu() 67 write_csr_perfctrl2(context->perf_ctrl[2]); in kvm_restore_host_pmu() 68 write_csr_perfctrl3(context->perf_ctrl[3]); in kvm_restore_host_pmu()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | kvm_host.h | 81 u64 perf_ctrl[HOST_MAX_PMNUM]; member
|