Debian Codegraph @

drivers/net/ethernet/marvell/octeontx2/af/cn20k/debugfs.h

raw
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Marvell OcteonTx2 CGX driver
3 *
4 * Copyright (C) 2024 Marvell.
5 *
6 */
7
8 #ifndef DEBUFS_H
9 #define DEBUFS_H
10
11 #include <linux/fs.h>
12 #include <linux/debugfs.h>
13 #include <linux/module.h>
14 #include <linux/pci.h>
15
16 #include "struct.h"
17 #include "../mbox.h"
18
19 int npc_cn20k_debugfs_init(struct rvu *rvu);
20 void npc_cn20k_debugfs_deinit(struct rvu *rvu);
21
22 void print_nix_cn20k_sq_ctx(struct seq_file *m,
23 struct nix_cn20k_sq_ctx_s *sq_ctx);
24 void print_nix_cn20k_cq_ctx(struct seq_file *m,
25 struct nix_cn20k_aq_enq_rsp *rsp);
26 void print_npa_cn20k_aura_ctx(struct seq_file *m,
27 struct npa_cn20k_aq_enq_rsp *rsp);
28 void print_npa_cn20k_pool_ctx(struct seq_file *m,
29 struct npa_cn20k_aq_enq_rsp *rsp);
30
31 #endif