From 2c3c1048746a4622d8c89a29670120dc8fab93c4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:49:45 +0200 Subject: Adding upstream version 6.1.76. Signed-off-by: Daniel Baumann --- drivers/net/ethernet/qlogic/qed/qed_selftest.h | 53 ++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 drivers/net/ethernet/qlogic/qed/qed_selftest.h (limited to 'drivers/net/ethernet/qlogic/qed/qed_selftest.h') diff --git a/drivers/net/ethernet/qlogic/qed/qed_selftest.h b/drivers/net/ethernet/qlogic/qed/qed_selftest.h new file mode 100644 index 000000000..7a3bd749e --- /dev/null +++ b/drivers/net/ethernet/qlogic/qed/qed_selftest.h @@ -0,0 +1,53 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ +/* Copyright (c) 2019-2020 Marvell International Ltd. */ + +#ifndef _QED_SELFTEST_API_H +#define _QED_SELFTEST_API_H +#include + +/** + * qed_selftest_memory(): Perform memory test. + * + * @cdev: Qed dev pointer. + * + * Return: Int. + */ +int qed_selftest_memory(struct qed_dev *cdev); + +/** + * qed_selftest_interrupt(): Perform interrupt test. + * + * @cdev: Qed dev pointer. + * + * Return: Int. + */ +int qed_selftest_interrupt(struct qed_dev *cdev); + +/** + * qed_selftest_register(): Perform register test. + * + * @cdev: Qed dev pointer. + * + * Return: Int. + */ +int qed_selftest_register(struct qed_dev *cdev); + +/** + * qed_selftest_clock(): Perform clock test. + * + * @cdev: Qed dev pointer. + * + * Return: Int. + */ +int qed_selftest_clock(struct qed_dev *cdev); + +/** + * qed_selftest_nvram(): Perform nvram test. + * + * @cdev: Qed dev pointer. + * + * Return: Int. + */ +int qed_selftest_nvram(struct qed_dev *cdev); + +#endif -- cgit v1.2.3