linux/drivers/net/ethernet/huawei/hinic/hinic_debugfs.c

// SPDX-License-Identifier: GPL-2.0-only
/* Huawei HiNIC PCI Express Linux driver
 * Copyright(c) 2017 Huawei Technologies Co., Ltd
 */

#include <linux/debugfs.h>
#include <linux/device.h>

#include "hinic_debugfs.h"

static struct dentry *hinic_dbgfs_root;

enum sq_dbg_info {};

static char *sq_fields[] =;

static u64 hinic_dbg_get_sq_info(struct hinic_dev *nic_dev, struct hinic_sq *sq, int idx)
{}

enum rq_dbg_info {};

static char *rq_fields[] =;

static u64 hinic_dbg_get_rq_info(struct hinic_dev *nic_dev, struct hinic_rq *rq, int idx)
{}

enum func_tbl_info {};

static char *func_table_fields[] =;

static int hinic_dbg_get_func_table(struct hinic_dev *nic_dev, int idx)
{}

static ssize_t hinic_dbg_cmd_read(struct file *filp, char __user *buffer, size_t count,
				  loff_t *ppos)
{}

static const struct file_operations hinic_dbg_cmd_fops =;

static int create_dbg_files(struct hinic_dev *dev, enum hinic_dbg_type type, void *data,
			    struct dentry *root, struct hinic_debug_priv **dbg, char **field,
			    int nfile)
{}

static void rem_dbg_files(struct hinic_debug_priv *dbg)
{}

int hinic_sq_debug_add(struct hinic_dev *dev, u16 sq_id)
{}

void hinic_sq_debug_rem(struct hinic_sq *sq)
{}

int hinic_rq_debug_add(struct hinic_dev *dev, u16 rq_id)
{}

void hinic_rq_debug_rem(struct hinic_rq *rq)
{}

int hinic_func_table_debug_add(struct hinic_dev *dev)
{}

void hinic_func_table_debug_rem(struct hinic_dev *dev)
{}

void hinic_sq_dbgfs_init(struct hinic_dev *nic_dev)
{}

void hinic_sq_dbgfs_uninit(struct hinic_dev *nic_dev)
{}

void hinic_rq_dbgfs_init(struct hinic_dev *nic_dev)
{}

void hinic_rq_dbgfs_uninit(struct hinic_dev *nic_dev)
{}

void hinic_func_tbl_dbgfs_init(struct hinic_dev *nic_dev)
{}

void hinic_func_tbl_dbgfs_uninit(struct hinic_dev *nic_dev)
{}

void hinic_dbg_init(struct hinic_dev *nic_dev)
{}

void hinic_dbg_uninit(struct hinic_dev *nic_dev)
{}

void hinic_dbg_register_debugfs(const char *debugfs_dir_name)
{}

void hinic_dbg_unregister_debugfs(void)
{}