H A D | hns3_pmu.c | 301 struct hns3_pmu { struct 316 #define to_hns3_pmu(p) (container_of((p), struct hns3_pmu, pmu)) 471 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); in identifier_show() local 473 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() local 482 return sysfs_emit(buf, "%d\n", hns3_pmu->on_cpu); in cpumask_show() 489 struct hns3_pmu *hns3_pmu in bdf_min_show() local 500 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); bdf_max_show() local 511 struct hns3_pmu *hns3_pmu = to_hns3_pmu(dev_get_drvdata(dev)); hw_clk_freq_show() local 746 hns3_pmu_readl(struct hns3_pmu *hns3_pmu, u32 reg_offset, u32 idx) hns3_pmu_readl() argument 753 hns3_pmu_writel(struct hns3_pmu *hns3_pmu, u32 reg_offset, u32 idx, u32 val) hns3_pmu_writel() argument 761 hns3_pmu_readq(struct hns3_pmu *hns3_pmu, u32 reg_offset, u32 idx) hns3_pmu_readq() argument 768 hns3_pmu_writeq(struct hns3_pmu *hns3_pmu, u32 reg_offset, u32 idx, u64 val) hns3_pmu_writeq() argument 782 hns3_pmu_find_related_event_idx(struct hns3_pmu *hns3_pmu, struct perf_event *event) hns3_pmu_find_related_event_idx() argument 812 hns3_pmu_get_event_idx(struct hns3_pmu *hns3_pmu) hns3_pmu_get_event_idx() argument 824 hns3_pmu_valid_bdf(struct hns3_pmu *hns3_pmu, u16 bdf) hns3_pmu_valid_bdf() argument 845 hns3_pmu_set_qid_para(struct hns3_pmu *hns3_pmu, u32 idx, u16 bdf, u16 queue) hns3_pmu_set_qid_para() argument 855 hns3_pmu_qid_req_start(struct hns3_pmu *hns3_pmu, u32 idx) hns3_pmu_qid_req_start() argument 882 hns3_pmu_valid_queue(struct hns3_pmu *hns3_pmu, u32 idx, u16 bdf, u16 queue) hns3_pmu_valid_queue() argument 911 hns3_pmu_set_func_mode(struct perf_event *event, struct hns3_pmu *hns3_pmu) hns3_pmu_set_func_mode() argument 925 hns3_pmu_set_func_queue_mode(struct perf_event *event, struct hns3_pmu *hns3_pmu) hns3_pmu_set_func_queue_mode() argument 1010 hns3_pmu_is_enabled_func_intr_mode(struct perf_event *event, struct hns3_pmu *hns3_pmu, struct hns3_pmu_event_attr *pmu_event) hns3_pmu_is_enabled_func_intr_mode() argument 1022 hns3_pmu_select_filter_mode(struct perf_event *event, struct hns3_pmu *hns3_pmu) hns3_pmu_select_filter_mode() argument 1128 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); hns3_pmu_config_filter() local 1151 hns3_pmu_enable_counter(struct hns3_pmu *hns3_pmu, struct hw_perf_event *hwc) hns3_pmu_enable_counter() argument 1162 hns3_pmu_disable_counter(struct hns3_pmu *hns3_pmu, struct hw_perf_event *hwc) hns3_pmu_disable_counter() argument 1173 hns3_pmu_enable_intr(struct hns3_pmu *hns3_pmu, struct hw_perf_event *hwc) hns3_pmu_enable_intr() argument 1184 hns3_pmu_disable_intr(struct hns3_pmu *hns3_pmu, struct hw_perf_event *hwc) hns3_pmu_disable_intr() argument 1195 hns3_pmu_clear_intr_status(struct hns3_pmu *hns3_pmu, u32 idx) hns3_pmu_clear_intr_status() argument 1210 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); hns3_pmu_read_counter() local 1217 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); hns3_pmu_write_counter() local 1234 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); hns3_pmu_event_init() local 1293 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); hns3_pmu_start() local 1312 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); hns3_pmu_stop() local 1331 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); hns3_pmu_add() local 1364 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu); hns3_pmu_del() local 1374 struct hns3_pmu *hns3_pmu = to_hns3_pmu(pmu); hns3_pmu_enable() local 1384 struct hns3_pmu *hns3_pmu = to_hns3_pmu(pmu); hns3_pmu_disable() local 1392 hns3_pmu_alloc_pmu(struct pci_dev *pdev, struct hns3_pmu *hns3_pmu) hns3_pmu_alloc_pmu() argument 1440 struct hns3_pmu *hns3_pmu = data; hns3_pmu_irq() local 1461 struct hns3_pmu *hns3_pmu; hns3_pmu_online_cpu() local 1477 struct hns3_pmu *hns3_pmu; hns3_pmu_offline_cpu() local 1507 hns3_pmu_irq_register(struct pci_dev *pdev, struct hns3_pmu *hns3_pmu) hns3_pmu_irq_register() argument 1537 hns3_pmu_init_pmu(struct pci_dev *pdev, struct hns3_pmu *hns3_pmu) hns3_pmu_init_pmu() argument 1568 struct hns3_pmu *hns3_pmu = pci_get_drvdata(pdev); hns3_pmu_uninit_pmu() local 1598 struct hns3_pmu *hns3_pmu; hns3_pmu_probe() local [all...] |