drm/rockchip: Don't change hdmi reference clock rate
[drm/drm-misc.git] / drivers / net / ethernet / qlogic / qed / qed_selftest.h
blob7a3bd749e1e4ccb2436a97b9d0291609d43f6853
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>
8 /**
9 * qed_selftest_memory(): Perform memory test.
11 * @cdev: Qed dev pointer.
13 * Return: Int.
15 int qed_selftest_memory(struct qed_dev *cdev);
17 /**
18 * qed_selftest_interrupt(): Perform interrupt test.
20 * @cdev: Qed dev pointer.
22 * Return: Int.
24 int qed_selftest_interrupt(struct qed_dev *cdev);
26 /**
27 * qed_selftest_register(): Perform register test.
29 * @cdev: Qed dev pointer.
31 * Return: Int.
33 int qed_selftest_register(struct qed_dev *cdev);
35 /**
36 * qed_selftest_clock(): Perform clock test.
38 * @cdev: Qed dev pointer.
40 * Return: Int.
42 int qed_selftest_clock(struct qed_dev *cdev);
44 /**
45 * qed_selftest_nvram(): Perform nvram test.
47 * @cdev: Qed dev pointer.
49 * Return: Int.
51 int qed_selftest_nvram(struct qed_dev *cdev);
53 #endif