linux/drivers/crypto/intel/qat/qat_common/adf_sysfs_ras_counters.h

/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright(c) 2023 Intel Corporation */

#ifndef ADF_RAS_H
#define ADF_RAS_H

#include <linux/bitops.h>
#include <linux/atomic.h>

struct adf_accel_dev;

void adf_sysfs_start_ras(struct adf_accel_dev *accel_dev);
void adf_sysfs_stop_ras(struct adf_accel_dev *accel_dev);

#define ADF_RAS_ERR_CTR_READ(ras_errors, ERR)

#define ADF_RAS_ERR_CTR_CLEAR(ras_errors)

#define ADF_RAS_ERR_CTR_INC(ras_errors, ERR)

#endif /* ADF_RAS_H */