accel/ivpu: Move recovery work to system_unbound_wq
[drm/drm-misc.git] / drivers / infiniband / hw / hns / hns_roce_debugfs.h
blob98e87bd3161ee426a436bbde85d1f7d1f6f26e63
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * Copyright (c) 2023 Hisilicon Limited.
4 */
6 #ifndef __HNS_ROCE_DEBUGFS_H
7 #define __HNS_ROCE_DEBUGFS_H
9 /* debugfs seqfile */
10 struct hns_debugfs_seqfile {
11 int (*read)(struct seq_file *seq, void *data);
12 void *data;
15 struct hns_sw_stat_debugfs {
16 struct dentry *root;
17 struct hns_debugfs_seqfile sw_stat;
20 /* Debugfs for device */
21 struct hns_roce_dev_debugfs {
22 struct dentry *root;
23 struct hns_sw_stat_debugfs sw_stat_root;
26 struct hns_roce_dev;
28 void hns_roce_init_debugfs(void);
29 void hns_roce_cleanup_debugfs(void);
30 void hns_roce_register_debugfs(struct hns_roce_dev *hr_dev);
31 void hns_roce_unregister_debugfs(struct hns_roce_dev *hr_dev);
33 #endif