mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-02 08:32:55 +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>
14 lines
331 B
C
14 lines
331 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/* Copyright (c) 2023 Hisilicon Limited. */
|
|
|
|
#ifndef __HCLGEVF_REGS_H
|
|
#define __HCLGEVF_REGS_H
|
|
#include <linux/types.h>
|
|
|
|
struct hnae3_handle;
|
|
|
|
int hclgevf_get_regs_len(struct hnae3_handle *handle);
|
|
void hclgevf_get_regs(struct hnae3_handle *handle, u32 *version,
|
|
void *data);
|
|
#endif
|