aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/ifs/ifs.h
blob: 9d151324ae83bd6705b0665956bc6b4caaf27f41 (plain) (blame)
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
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright(c) 2022 Intel Corporation. */

#ifndef _IFS_H_
#define _IFS_H_

#include <linux/device.h>
#include <linux/miscdevice.h>

/**
 * struct ifs_data - attributes related to intel IFS driver
 * @integrity_cap_bit: MSR_INTEGRITY_CAPS bit enumerating this test
 */
struct ifs_data {
	int	integrity_cap_bit;
};

struct ifs_device {
	struct ifs_data data;
	struct miscdevice misc;
};

void ifs_load_firmware(struct device *dev);

#endif