Searched refs:hisi_pmu (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/perf/hisilicon/ |
H A D | hisi_uncore_pmu.c | 132 struct hisi_pmu *hisi_pmu = data; in hisi_uncore_pmu_isr() local 147 hisi_pmu->ops->clear_int_status(hisi_pmu, idx); in hisi_uncore_pmu_isr() 187 struct hisi_pmu *hisi_pmu; in hisi_uncore_pmu_event_init() local 254 hisi_pmu->ops->enable_counter(hisi_pmu, hwc); in hisi_uncore_pmu_enable_event() 265 hisi_pmu->ops->disable_counter(hisi_pmu, hwc); in hisi_uncore_pmu_disable_event() 397 struct hisi_pmu *hisi_pmu = to_hisi_pmu(pmu); in hisi_uncore_pmu_enable() local 404 hisi_pmu->ops->start_counters(hisi_pmu); in hisi_uncore_pmu_enable() 410 struct hisi_pmu *hisi_pmu = to_hisi_pmu(pmu); in hisi_uncore_pmu_disable() local 412 hisi_pmu->ops->stop_counters(hisi_pmu); in hisi_uncore_pmu_disable() 481 struct hisi_pmu *hisi_pmu = hlist_entry_safe(node, struct hisi_pmu, in hisi_uncore_pmu_online_cpu() local [all …]
|
H A D | hisi_uncore_pmu.h | 28 #define to_hisi_pmu(p) (container_of(p, struct hisi_pmu, pmu)) 51 struct hisi_pmu; 55 void (*write_evtype)(struct hisi_pmu *, int, u32); 57 u64 (*read_counter)(struct hisi_pmu *, struct hw_perf_event *); 63 void (*start_counters)(struct hisi_pmu *); 64 void (*stop_counters)(struct hisi_pmu *); 65 u32 (*get_int_status)(struct hisi_pmu *hisi_pmu); 66 void (*clear_int_status)(struct hisi_pmu *hisi_pmu, int idx); 85 struct hisi_pmu { struct 135 int hisi_uncore_pmu_init_irq(struct hisi_pmu *hisi_pmu, [all …]
|
H A D | hisi_uncore_ddrc_pmu.c | 81 static u64 hisi_ddrc_pmu_v1_read_counter(struct hisi_pmu *ddrc_pmu, in hisi_ddrc_pmu_v1_read_counter() 88 static void hisi_ddrc_pmu_v1_write_counter(struct hisi_pmu *ddrc_pmu, in hisi_ddrc_pmu_v1_write_counter() 95 static u64 hisi_ddrc_pmu_v2_read_counter(struct hisi_pmu *ddrc_pmu, in hisi_ddrc_pmu_v2_read_counter() 102 static void hisi_ddrc_pmu_v2_write_counter(struct hisi_pmu *ddrc_pmu, in hisi_ddrc_pmu_v2_write_counter() 125 static void hisi_ddrc_pmu_v1_start_counters(struct hisi_pmu *ddrc_pmu) in hisi_ddrc_pmu_v1_start_counters() 135 static void hisi_ddrc_pmu_v1_stop_counters(struct hisi_pmu *ddrc_pmu) in hisi_ddrc_pmu_v1_stop_counters() 169 struct hisi_pmu *ddrc_pmu = to_hisi_pmu(event->pmu); in hisi_ddrc_pmu_v1_get_event_idx() 298 struct hisi_pmu *ddrc_pmu) in hisi_ddrc_pmu_init_data() 455 struct hisi_pmu *ddrc_pmu) in hisi_ddrc_pmu_dev_probe() 488 struct hisi_pmu *ddrc_pmu; in hisi_ddrc_pmu_probe() [all …]
|
H A D | hisi_uncore_cpa_pmu.c | 49 static u64 hisi_cpa_pmu_read_counter(struct hisi_pmu *cpa_pmu, in hisi_cpa_pmu_read_counter() 55 static void hisi_cpa_pmu_write_counter(struct hisi_pmu *cpa_pmu, in hisi_cpa_pmu_write_counter() 84 static void hisi_cpa_pmu_start_counters(struct hisi_pmu *cpa_pmu) in hisi_cpa_pmu_start_counters() 93 static void hisi_cpa_pmu_stop_counters(struct hisi_pmu *cpa_pmu) in hisi_cpa_pmu_stop_counters() 102 static void hisi_cpa_pmu_disable_pm(struct hisi_pmu *cpa_pmu) in hisi_cpa_pmu_disable_pm() 111 static void hisi_cpa_pmu_enable_pm(struct hisi_pmu *cpa_pmu) in hisi_cpa_pmu_enable_pm() 164 static u32 hisi_cpa_pmu_get_int_status(struct hisi_pmu *cpa_pmu) in hisi_cpa_pmu_get_int_status() 181 struct hisi_pmu *cpa_pmu) in hisi_cpa_pmu_init_data() 277 struct hisi_pmu *cpa_pmu) in hisi_cpa_pmu_dev_probe() 302 struct hisi_pmu *cpa_pmu; in hisi_cpa_pmu_probe() [all …]
|
H A D | hisi_uncore_uc_pmu.c | 56 struct hisi_pmu *uc_pmu = to_hisi_pmu(event->pmu); in hisi_uc_pmu_check_filter() 78 struct hisi_pmu *uc_pmu = to_hisi_pmu(event->pmu); in hisi_uc_pmu_config_req_tracetag() 99 struct hisi_pmu *uc_pmu = to_hisi_pmu(event->pmu); in hisi_uc_pmu_clear_req_tracetag() 119 struct hisi_pmu *uc_pmu = to_hisi_pmu(event->pmu); in hisi_uc_pmu_config_srcid_tracetag() 146 struct hisi_pmu *uc_pmu = to_hisi_pmu(event->pmu); in hisi_uc_pmu_clear_srcid_tracetag() 171 struct hisi_pmu *uc_pmu = to_hisi_pmu(event->pmu); in hisi_uc_pmu_config_uring_channel() 192 struct hisi_pmu *uc_pmu = to_hisi_pmu(event->pmu); in hisi_uc_pmu_clear_uring_channel() 284 static u64 hisi_uc_pmu_read_counter(struct hisi_pmu *uc_pmu, in hisi_uc_pmu_read_counter() 367 struct hisi_pmu *uc_pmu) in hisi_uc_pmu_init_data() 492 struct hisi_pmu *uc_pmu) in hisi_uc_pmu_dev_probe() [all …]
|
H A D | hisi_uncore_pa_pmu.c | 63 struct hisi_pmu *pa_pmu = to_hisi_pmu(event->pmu); in hisi_pa_pmu_enable_tracetag() 77 struct hisi_pmu *pa_pmu = to_hisi_pmu(event->pmu); in hisi_pa_pmu_clear_tracetag() 91 struct hisi_pmu *pa_pmu = to_hisi_pmu(event->pmu); in hisi_pa_pmu_config_tgtid() 104 struct hisi_pmu *pa_pmu = to_hisi_pmu(event->pmu); in hisi_pa_pmu_clear_tgtid() 113 struct hisi_pmu *pa_pmu = to_hisi_pmu(event->pmu); in hisi_pa_pmu_config_srcid() 126 struct hisi_pmu *pa_pmu = to_hisi_pmu(event->pmu); in hisi_pa_pmu_clear_srcid() 156 static u64 hisi_pa_pmu_read_counter(struct hisi_pmu *pa_pmu, in hisi_pa_pmu_read_counter() 270 struct hisi_pmu *pa_pmu) in hisi_pa_pmu_init_data() 454 struct hisi_pmu *pa_pmu) in hisi_pa_pmu_dev_probe() 479 struct hisi_pmu *pa_pmu; in hisi_pa_pmu_probe() [all …]
|
H A D | hisi_uncore_hha_pmu.c | 61 struct hisi_pmu *hha_pmu = to_hisi_pmu(event->pmu); in hisi_hha_pmu_enable_tracetag() 75 struct hisi_pmu *hha_pmu = to_hisi_pmu(event->pmu); in hisi_hha_pmu_clear_tracetag() 85 struct hisi_pmu *hha_pmu = to_hisi_pmu(event->pmu); in hisi_hha_pmu_config_ds() 99 struct hisi_pmu *hha_pmu = to_hisi_pmu(event->pmu); in hisi_hha_pmu_clear_ds() 113 struct hisi_pmu *hha_pmu = to_hisi_pmu(event->pmu); in hisi_hha_pmu_config_srcid() 129 struct hisi_pmu *hha_pmu = to_hisi_pmu(event->pmu); in hisi_hha_pmu_disable_srcid() 168 static u64 hisi_hha_pmu_read_counter(struct hisi_pmu *hha_pmu, in hisi_hha_pmu_read_counter() 293 struct hisi_pmu *hha_pmu) in hisi_hha_pmu_init_data() 467 struct hisi_pmu *hha_pmu) in hisi_hha_pmu_dev_probe() 499 struct hisi_pmu *hha_pmu; in hisi_hha_pmu_probe() [all …]
|
H A D | hisi_uncore_sllc_pmu.c | 58 struct hisi_pmu *sllc_pmu = to_hisi_pmu(event->pmu); in hisi_sllc_pmu_enable_tracetag() 72 struct hisi_pmu *sllc_pmu = to_hisi_pmu(event->pmu); in hisi_sllc_pmu_disable_tracetag() 86 struct hisi_pmu *sllc_pmu = to_hisi_pmu(event->pmu); in hisi_sllc_pmu_config_tgtid() 103 struct hisi_pmu *sllc_pmu = to_hisi_pmu(event->pmu); in hisi_sllc_pmu_clear_tgtid() 120 struct hisi_pmu *sllc_pmu = to_hisi_pmu(event->pmu); in hisi_sllc_pmu_config_srcid() 138 struct hisi_pmu *sllc_pmu = to_hisi_pmu(event->pmu); in hisi_sllc_pmu_clear_srcid() 175 static u64 hisi_sllc_pmu_read_counter(struct hisi_pmu *sllc_pmu, in hisi_sllc_pmu_read_counter() 289 struct hisi_pmu *sllc_pmu) in hisi_sllc_pmu_init_data() 399 struct hisi_pmu *sllc_pmu) in hisi_sllc_pmu_dev_probe() 424 struct hisi_pmu *sllc_pmu; in hisi_sllc_pmu_probe() [all …]
|
H A D | hisi_uncore_l3c_pmu.c | 65 struct hisi_pmu *l3c_pmu = to_hisi_pmu(event->pmu); in hisi_l3c_pmu_config_req_tracetag() 86 struct hisi_pmu *l3c_pmu = to_hisi_pmu(event->pmu); in hisi_l3c_pmu_clear_req_tracetag() 107 struct hisi_pmu *l3c_pmu = to_hisi_pmu(event->pmu); in hisi_l3c_pmu_write_ds() 131 struct hisi_pmu *l3c_pmu = to_hisi_pmu(event->pmu); in hisi_l3c_pmu_config_ds() 149 struct hisi_pmu *l3c_pmu = to_hisi_pmu(event->pmu); in hisi_l3c_pmu_clear_ds() 167 struct hisi_pmu *l3c_pmu = to_hisi_pmu(event->pmu); in hisi_l3c_pmu_config_core_tracetag() 188 struct hisi_pmu *l3c_pmu = to_hisi_pmu(event->pmu); in hisi_l3c_pmu_clear_core_tracetag() 356 struct hisi_pmu *l3c_pmu) in hisi_l3c_pmu_init_data() 501 struct hisi_pmu *l3c_pmu) in hisi_l3c_pmu_dev_probe() 533 struct hisi_pmu *l3c_pmu; in hisi_l3c_pmu_probe() [all …]
|