Home
last modified time | relevance | path

Searched refs:ccl_id (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/perf/hisilicon/
Dhisi_uncore_pmu.c345 static void hisi_read_sccl_and_ccl_id(int *sccl_id, int *ccl_id) in hisi_read_sccl_and_ccl_id() argument
354 if (ccl_id) in hisi_read_sccl_and_ccl_id()
355 *ccl_id = aff2 & 0x7; in hisi_read_sccl_and_ccl_id()
359 if (ccl_id) in hisi_read_sccl_and_ccl_id()
360 *ccl_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in hisi_read_sccl_and_ccl_id()
369 int sccl_id, ccl_id; in hisi_pmu_cpu_is_associated_pmu() local
371 if (hisi_pmu->ccl_id == -1) { in hisi_pmu_cpu_is_associated_pmu()
378 hisi_read_sccl_and_ccl_id(&sccl_id, &ccl_id); in hisi_pmu_cpu_is_associated_pmu()
380 return sccl_id == hisi_pmu->sccl_id && ccl_id == hisi_pmu->ccl_id; in hisi_pmu_cpu_is_associated_pmu()
Dhisi_uncore_pmu.h69 int ccl_id; member
Dhisi_uncore_ddrc_pmu.c264 ddrc_pmu->ccl_id = -1; in hisi_ddrc_pmu_init_data()
Dhisi_uncore_hha_pmu.c257 hha_pmu->ccl_id = -1; in hisi_hha_pmu_init_data()
Dhisi_uncore_l3c_pmu.c257 &l3c_pmu->ccl_id)) { in hisi_l3c_pmu_init_data()