1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _QED_SELFTEST_API_H
3 #define _QED_SELFTEST_API_H
4 #include <linux/types.h>
7 * @brief qed_selftest_memory - Perform memory test
13 int qed_selftest_memory(struct qed_dev
*cdev
);
16 * @brief qed_selftest_interrupt - Perform interrupt test
22 int qed_selftest_interrupt(struct qed_dev
*cdev
);
25 * @brief qed_selftest_register - Perform register test
31 int qed_selftest_register(struct qed_dev
*cdev
);
34 * @brief qed_selftest_clock - Perform clock test
40 int qed_selftest_clock(struct qed_dev
*cdev
);
43 * @brief qed_selftest_nvram - Perform nvram test
49 int qed_selftest_nvram(struct qed_dev
*cdev
);