Lines Matching refs:to_hns3_pmu
316 #define to_hns3_pmu(p) (container_of((p), struct hns3_pmu, pmu)) macro
471 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in identifier_show()
480 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in cpumask_show()
489 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in bdf_min_show()
500 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in bdf_max_show()
511 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in hw_clk_freq_show()
1128 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_config_filter()
1210 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_read_counter()
1217 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_write_counter()
1234 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_event_init()
1293 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_start()
1312 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_stop()
1331 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_add()
1364 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_del()
1374 struct hns3_pmu *hns3_pmu = to_hns3_pmu(pmu); in hns3_pmu_enable()
1384 struct hns3_pmu *hns3_pmu = to_hns3_pmu(pmu); in hns3_pmu_disable()