Lines Matching defs:hns3_pmu

301 struct hns3_pmu {  struct
316 #define to_hns3_pmu(p) (container_of((p), struct hns3_pmu, pmu)) argument
461 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in identifier_show() local
470 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in cpumask_show() local
479 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in bdf_min_show() local
490 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in bdf_max_show() local
501 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in hw_clk_freq_show() local
736 static u32 hns3_pmu_readl(struct hns3_pmu *hns3_pmu, u32 reg_offset, u32 idx) in hns3_pmu_readl()
743 static void hns3_pmu_writel(struct hns3_pmu *hns3_pmu, u32 reg_offset, u32 idx, in hns3_pmu_writel()
751 static u64 hns3_pmu_readq(struct hns3_pmu *hns3_pmu, u32 reg_offset, u32 idx) in hns3_pmu_readq()
758 static void hns3_pmu_writeq(struct hns3_pmu *hns3_pmu, u32 reg_offset, u32 idx, in hns3_pmu_writeq()
772 static int hns3_pmu_find_related_event_idx(struct hns3_pmu *hns3_pmu, in hns3_pmu_find_related_event_idx()
802 static int hns3_pmu_get_event_idx(struct hns3_pmu *hns3_pmu) in hns3_pmu_get_event_idx()
814 static bool hns3_pmu_valid_bdf(struct hns3_pmu *hns3_pmu, u16 bdf) in hns3_pmu_valid_bdf()
835 static void hns3_pmu_set_qid_para(struct hns3_pmu *hns3_pmu, u32 idx, u16 bdf, in hns3_pmu_set_qid_para()
845 static bool hns3_pmu_qid_req_start(struct hns3_pmu *hns3_pmu, u32 idx) in hns3_pmu_qid_req_start()
872 static bool hns3_pmu_valid_queue(struct hns3_pmu *hns3_pmu, u32 idx, u16 bdf, in hns3_pmu_valid_queue()
902 struct hns3_pmu *hns3_pmu) in hns3_pmu_set_func_mode()
916 struct hns3_pmu *hns3_pmu) in hns3_pmu_set_func_queue_mode()
1001 struct hns3_pmu *hns3_pmu, in hns3_pmu_is_enabled_func_intr_mode()
1013 struct hns3_pmu *hns3_pmu) in hns3_pmu_select_filter_mode()
1130 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_config_filter() local
1153 static void hns3_pmu_enable_counter(struct hns3_pmu *hns3_pmu, in hns3_pmu_enable_counter()
1164 static void hns3_pmu_disable_counter(struct hns3_pmu *hns3_pmu, in hns3_pmu_disable_counter()
1175 static void hns3_pmu_enable_intr(struct hns3_pmu *hns3_pmu, in hns3_pmu_enable_intr()
1186 static void hns3_pmu_disable_intr(struct hns3_pmu *hns3_pmu, in hns3_pmu_disable_intr()
1197 static void hns3_pmu_clear_intr_status(struct hns3_pmu *hns3_pmu, u32 idx) in hns3_pmu_clear_intr_status()
1212 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_read_counter() local
1219 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_write_counter() local
1236 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_event_init() local
1295 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_start() local
1314 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_stop() local
1333 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_add() local
1366 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); in hns3_pmu_del() local
1376 struct hns3_pmu *hns3_pmu = to_hns3_pmu(pmu); in hns3_pmu_enable() local
1386 struct hns3_pmu *hns3_pmu = to_hns3_pmu(pmu); in hns3_pmu_disable() local
1394 static int hns3_pmu_alloc_pmu(struct pci_dev *pdev, struct hns3_pmu *hns3_pmu) in hns3_pmu_alloc_pmu()
1443 struct hns3_pmu *hns3_pmu = data; in hns3_pmu_irq() local
1464 struct hns3_pmu *hns3_pmu; in hns3_pmu_online_cpu() local
1480 struct hns3_pmu *hns3_pmu; in hns3_pmu_offline_cpu() local
1511 struct hns3_pmu *hns3_pmu) in hns3_pmu_irq_register()
1540 static int hns3_pmu_init_pmu(struct pci_dev *pdev, struct hns3_pmu *hns3_pmu) in hns3_pmu_init_pmu()
1571 struct hns3_pmu *hns3_pmu = pci_get_drvdata(pdev); in hns3_pmu_uninit_pmu() local
1601 struct hns3_pmu *hns3_pmu; in hns3_pmu_probe() local