1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _QED_SELFTEST_API_H
3 #define _QED_SELFTEST_API_H
4 #include <linux/types.h>
5 
6 /**
7  * @brief qed_selftest_memory - Perform memory test
8  *
9  * @param cdev
10  *
11  * @return int
12  */
13 int qed_selftest_memory(struct qed_dev *cdev);
14 
15 /**
16  * @brief qed_selftest_interrupt - Perform interrupt test
17  *
18  * @param cdev
19  *
20  * @return int
21  */
22 int qed_selftest_interrupt(struct qed_dev *cdev);
23 
24 /**
25  * @brief qed_selftest_register - Perform register test
26  *
27  * @param cdev
28  *
29  * @return int
30  */
31 int qed_selftest_register(struct qed_dev *cdev);
32 
33 /**
34  * @brief qed_selftest_clock - Perform clock test
35  *
36  * @param cdev
37  *
38  * @return int
39  */
40 int qed_selftest_clock(struct qed_dev *cdev);
41 
42 /**
43  * @brief qed_selftest_nvram - Perform nvram test
44  *
45  * @param cdev
46  *
47  * @return int
48  */
49 int qed_selftest_nvram(struct qed_dev *cdev);
50 
51 #endif
52