aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/hw-me.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2013-02-06 07:06:40 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-06 14:23:14 -0500
commit52c34561415b420301f1580413a9d1891d079494 (patch)
treecef4f13fd27d9ff22670af73a98d6adc879ba573 /drivers/misc/mei/hw-me.h
parent2703d4b2e673cc240ad06d79d131fd1d0f77d65d (diff)
mei: initial extract of ME hw specifics from mei_device
This is initial step of move the ME hw specifics out of mei_device structure into mei_me_hw Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/hw-me.h')
-rw-r--r--drivers/misc/mei/hw-me.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/misc/mei/hw-me.h b/drivers/misc/mei/hw-me.h
index 73bef545e4d5..53bcc0087e26 100644
--- a/drivers/misc/mei/hw-me.h
+++ b/drivers/misc/mei/hw-me.h
@@ -21,8 +21,20 @@
21 21
22#include <linux/mei.h> 22#include <linux/mei.h>
23#include "mei_dev.h" 23#include "mei_dev.h"
24#include "client.h"
24 25
26struct mei_me_hw {
27 void __iomem *mem_addr;
28 /*
29 * hw states of host and fw(ME)
30 */
31 u32 host_hw_state;
32 u32 me_hw_state;
33};
25 34
35#define to_me_hw(dev) (struct mei_me_hw *)((dev)->hw)
36
37struct mei_device *mei_me_dev_init(struct pci_dev *pdev);
26 38
27void mei_read_slots(struct mei_device *dev, 39void mei_read_slots(struct mei_device *dev,
28 unsigned char *buffer, 40 unsigned char *buffer,