Lines Matching defs:hns3_pmu

301 struct hns3_pmu {  struct
316 #define to_hns3_pmu(p) (container_of((p), struct hns3_pmu, pmu)) argument
471 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in identifier_show() local
480 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in cpumask_show() local
489 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in bdf_min_show() local
500 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in bdf_max_show() local
511 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in hw_clk_freq_show() local
746 static u32 hns3_pmu_readl(struct hns3_pmu *hns3_pmu, u32 reg_offset, u32 idx) in hns3_pmu_readl()
753 static void hns3_pmu_writel(struct hns3_pmu *hns3_pmu, u32 reg_offset, u32 idx, in hns3_pmu_writel()
761 static u64 hns3_pmu_readq(struct hns3_pmu *hns3_pmu, u32 reg_offset, u32 idx) in hns3_pmu_readq()
768 static void hns3_pmu_writeq(struct hns3_pmu *hns3_pmu, u32 reg_offset, u32 idx, in hns3_pmu_writeq()
782 static int hns3_pmu_find_related_event_idx(struct hns3_pmu *hns3_pmu, in hns3_pmu_find_related_event_idx()
812 static int hns3_pmu_get_event_idx(struct hns3_pmu *hns3_pmu) in hns3_pmu_get_event_idx()
824 static bool hns3_pmu_valid_bdf(struct hns3_pmu *hns3_pmu, u16 bdf) in hns3_pmu_valid_bdf()
845 static void hns3_pmu_set_qid_para(struct hns3_pmu *hns3_pmu, u32 idx, u16 bdf, in hns3_pmu_set_qid_para()
855 static bool hns3_pmu_qid_req_start(struct hns3_pmu *hns3_pmu, u32 idx) in hns3_pmu_qid_req_start()
882 static bool hns3_pmu_valid_queue(struct hns3_pmu *hns3_pmu, u32 idx, u16 bdf, in hns3_pmu_valid_queue()
912 struct hns3_pmu *hns3_pmu) in hns3_pmu_set_func_mode()
926 struct hns3_pmu *hns3_pmu) in hns3_pmu_set_func_queue_mode()
1011 struct hns3_pmu *hns3_pmu, in hns3_pmu_is_enabled_func_intr_mode()
1023 struct hns3_pmu *hns3_pmu) in hns3_pmu_select_filter_mode()
1140 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_config_filter() local
1163 static void hns3_pmu_enable_counter(struct hns3_pmu *hns3_pmu, in hns3_pmu_enable_counter()
1174 static void hns3_pmu_disable_counter(struct hns3_pmu *hns3_pmu, in hns3_pmu_disable_counter()
1185 static void hns3_pmu_enable_intr(struct hns3_pmu *hns3_pmu, in hns3_pmu_enable_intr()
1196 static void hns3_pmu_disable_intr(struct hns3_pmu *hns3_pmu, in hns3_pmu_disable_intr()
1207 static void hns3_pmu_clear_intr_status(struct hns3_pmu *hns3_pmu, u32 idx) in hns3_pmu_clear_intr_status()
1222 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_read_counter() local
1229 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_write_counter() local
1246 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_event_init() local
1305 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_start() local
1324 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_stop() local
1343 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_add() local
1376 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_del() local
1386 struct hns3_pmu *hns3_pmu = to_hns3_pmu(pmu); in hns3_pmu_enable() local
1396 struct hns3_pmu *hns3_pmu = to_hns3_pmu(pmu); in hns3_pmu_disable() local
1404 static int hns3_pmu_alloc_pmu(struct pci_dev *pdev, struct hns3_pmu *hns3_pmu) in hns3_pmu_alloc_pmu()
1452 struct hns3_pmu *hns3_pmu = data; in hns3_pmu_irq() local
1473 struct hns3_pmu *hns3_pmu; in hns3_pmu_online_cpu() local
1489 struct hns3_pmu *hns3_pmu; in hns3_pmu_offline_cpu() local
1520 struct hns3_pmu *hns3_pmu) in hns3_pmu_irq_register()
1549 static int hns3_pmu_init_pmu(struct pci_dev *pdev, struct hns3_pmu *hns3_pmu) in hns3_pmu_init_pmu()
1580 struct hns3_pmu *hns3_pmu = pci_get_drvdata(pdev); in hns3_pmu_uninit_pmu() local
1610 struct hns3_pmu *hns3_pmu; in hns3_pmu_probe() local