mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-23 22:34:21 +08:00
663eacd899
Set the actual copyright holder and years in all qed source files. Signed-off-by: Alexander Lobakin <alobakin@marvell.com> Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
54 lines
938 B
C
54 lines
938 B
C
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
|
|
/* Copyright (c) 2019-2020 Marvell International Ltd. */
|
|
|
|
#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);
|
|
|
|
/**
|
|
* @brief qed_selftest_nvram - Perform nvram test
|
|
*
|
|
* @param cdev
|
|
*
|
|
* @return int
|
|
*/
|
|
int qed_selftest_nvram(struct qed_dev *cdev);
|
|
|
|
#endif
|