-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mei: add new hbm.h header to export hbm protocol
hbm.h provides access host bus messaging functionality for other MEI layers Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information
Tomas Winkler
authored and
Greg Kroah-Hartman
committed
Jan 9, 2013
1 parent
2025984
commit 0edb23f
Showing
9 changed files
with
47 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
#include <linux/mei.h> | ||
|
||
#include "mei_dev.h" | ||
#include "hbm.h" | ||
#include "interface.h" | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* | ||
* Intel Management Engine Interface (Intel MEI) Linux driver | ||
* Copyright (c) 2003-2012, Intel Corporation. | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms and conditions of the GNU General Public License, | ||
* version 2, as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
*/ | ||
|
||
#ifndef _MEI_HBM_H_ | ||
#define _MEI_HBM_H_ | ||
|
||
void mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr); | ||
|
||
static inline void mei_hbm_hdr(struct mei_msg_hdr *hdr, size_t length) | ||
{ | ||
hdr->host_addr = 0; | ||
hdr->me_addr = 0; | ||
hdr->length = length; | ||
hdr->msg_complete = 1; | ||
hdr->reserved = 0; | ||
} | ||
|
||
void mei_hbm_start_req(struct mei_device *dev); | ||
|
||
int mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl); | ||
int mei_hbm_cl_disconnect_req(struct mei_device *dev, struct mei_cl *cl); | ||
int mei_hbm_cl_connect_req(struct mei_device *dev, struct mei_cl *cl); | ||
|
||
|
||
#endif /* _MEI_HBM_H_ */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ | |
#include <linux/mei.h> | ||
|
||
#include "mei_dev.h" | ||
#include "hbm.h" | ||
#include "interface.h" | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,7 @@ | |
#include <linux/mei.h> | ||
|
||
#include "mei_dev.h" | ||
#include "hbm.h" | ||
#include "interface.h" | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters