Searched refs:hns3_pmu (Results 1 – 3 of 3) sorted by relevance
301 struct hns3_pmu { struct316 #define to_hns3_pmu(p) (container_of((p), struct hns3_pmu, pmu)) argument471 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in identifier_show() local473 return sysfs_emit(buf, "0x%x\n", hns3_pmu->identifier); in identifier_show()480 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in cpumask_show() local482 return sysfs_emit(buf, "%d\n", hns3_pmu->on_cpu); in cpumask_show()489 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in bdf_min_show() local490 u16 bdf = hns3_pmu->bdf_min; in bdf_min_show()500 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in bdf_max_show() local501 u16 bdf = hns3_pmu->bdf_max; in bdf_max_show()[all …]
7 obj-$(CONFIG_HNS3_PMU) += hns3_pmu.o
9258 F: drivers/perf/hisilicon/hns3_pmu.c