summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic/qed/qed_selftest.h
blob: 50eb0b49950f69471a388b6568197653d1d73a40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef _QED_SELFTEST_API_H
#define _QED_SELFTEST_API_H
#include <linux/types.h>

/**
 * @brief qed_selftest_memory - Perform memory test
 *
 * @param cdev
 *
 * @return int
 */
int qed_selftest_memory(struct qed_dev *cdev);

/**
 * @brief qed_selftest_interrupt - Perform interrupt test
 *
 * @param cdev
 *
 * @return int
 */
int qed_selftest_interrupt(struct qed_dev *cdev);

/**
 * @brief qed_selftest_register - Perform register test
 *
 * @param cdev
 *
 * @return int
 */
int qed_selftest_register(struct qed_dev *cdev);

/**
 * @brief qed_selftest_clock - Perform clock test
 *
 * @param cdev
 *
 * @return int
 */
int qed_selftest_clock(struct qed_dev *cdev);
#endif