Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/perf/hisilicon/
Dhisi_uncore_pmu.c357 static void hisi_read_sccl_and_ccl_id(int *sccl_id, int *ccl_id) in hisi_read_sccl_and_ccl_id() argument
366 if (ccl_id) in hisi_read_sccl_and_ccl_id()
367 *ccl_id = aff2 & 0x7; in hisi_read_sccl_and_ccl_id()
371 if (ccl_id) in hisi_read_sccl_and_ccl_id()
372 *ccl_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in hisi_read_sccl_and_ccl_id()
381 int sccl_id, ccl_id; in hisi_pmu_cpu_is_associated_pmu() local
383 if (hisi_pmu->ccl_id == -1) { in hisi_pmu_cpu_is_associated_pmu()
390 hisi_read_sccl_and_ccl_id(&sccl_id, &ccl_id); in hisi_pmu_cpu_is_associated_pmu()
392 return sccl_id == hisi_pmu->sccl_id && ccl_id == hisi_pmu->ccl_id; in hisi_pmu_cpu_is_associated_pmu()
Dhisi_uncore_pmu.h72 int ccl_id; member
Dhisi_uncore_ddrc_pmu.c269 ddrc_pmu->ccl_id = -1; in hisi_ddrc_pmu_init_data()
Dhisi_uncore_hha_pmu.c262 hha_pmu->ccl_id = -1; in hisi_hha_pmu_init_data()
Dhisi_uncore_l3c_pmu.c262 &l3c_pmu->ccl_id)) { in hisi_l3c_pmu_init_data()