Sudarsana Reddy Kalluru | 03dc76c | 2016-04-28 20:20:52 -0400 | [diff] [blame^] | 1 | #ifndef _QED_SELFTEST_API_H |
| 2 | #define _QED_SELFTEST_API_H |
| 3 | #include <linux/types.h> |
| 4 | |
| 5 | /** |
| 6 | * @brief qed_selftest_memory - Perform memory test |
| 7 | * |
| 8 | * @param cdev |
| 9 | * |
| 10 | * @return int |
| 11 | */ |
| 12 | int qed_selftest_memory(struct qed_dev *cdev); |
| 13 | |
| 14 | /** |
| 15 | * @brief qed_selftest_interrupt - Perform interrupt test |
| 16 | * |
| 17 | * @param cdev |
| 18 | * |
| 19 | * @return int |
| 20 | */ |
| 21 | int qed_selftest_interrupt(struct qed_dev *cdev); |
| 22 | |
| 23 | /** |
| 24 | * @brief qed_selftest_register - Perform register test |
| 25 | * |
| 26 | * @param cdev |
| 27 | * |
| 28 | * @return int |
| 29 | */ |
| 30 | int qed_selftest_register(struct qed_dev *cdev); |
| 31 | |
| 32 | /** |
| 33 | * @brief qed_selftest_clock - Perform clock test |
| 34 | * |
| 35 | * @param cdev |
| 36 | * |
| 37 | * @return int |
| 38 | */ |
| 39 | int qed_selftest_clock(struct qed_dev *cdev); |
| 40 | #endif |