mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00

The dump register function is being refactored. The first step in refactoring is put the dump regs function into a separate file. Signed-off-by: Jijie Shao <shaojijie@huawei.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
18 lines
450 B
C
18 lines
450 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
// Copyright (c) 2023 Hisilicon Limited.
|
|
|
|
#ifndef __HCLGE_REGS_H
|
|
#define __HCLGE_REGS_H
|
|
#include <linux/types.h>
|
|
#include "hclge_comm_cmd.h"
|
|
|
|
struct hnae3_handle;
|
|
struct hclge_dev;
|
|
|
|
int hclge_query_bd_num_cmd_send(struct hclge_dev *hdev,
|
|
struct hclge_desc *desc);
|
|
int hclge_get_regs_len(struct hnae3_handle *handle);
|
|
void hclge_get_regs(struct hnae3_handle *handle, u32 *version,
|
|
void *data);
|
|
#endif
|