1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
2 /* Copyright (c) 2019-2020 Marvell International Ltd. */
4 #ifndef _QED_SELFTEST_API_H
5 #define _QED_SELFTEST_API_H
6 #include <linux/types.h>
9 * @brief qed_selftest_memory - Perform memory test
15 int qed_selftest_memory(struct qed_dev
*cdev
);
18 * @brief qed_selftest_interrupt - Perform interrupt test
24 int qed_selftest_interrupt(struct qed_dev
*cdev
);
27 * @brief qed_selftest_register - Perform register test
33 int qed_selftest_register(struct qed_dev
*cdev
);
36 * @brief qed_selftest_clock - Perform clock test
42 int qed_selftest_clock(struct qed_dev
*cdev
);
45 * @brief qed_selftest_nvram - Perform nvram test
51 int qed_selftest_nvram(struct qed_dev
*cdev
);