summaryrefslogtreecommitdiff
path: root/drivers/misc/mei/hbm.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2018-11-22 13:11:37 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-26 16:59:48 +0100
commitc55bf542e91b5c9156d57fd0461aa257b7d20858 (patch)
treea388da4f3db580ee985fe912a6d22144566a7f9d /drivers/misc/mei/hbm.h
parentce0925e8c2f85f6bbf5d24b56621336cceaf743d (diff)
mei: hbm: setup dma ring
DMA ring is allocated upon HBM handshake and the ring parameters are set via dedicated HBM_DMA_SETUP request command. The firmware will perform its setup and respond with a status. On failure the DMA buffers are released. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/hbm.h')
-rw-r--r--drivers/misc/mei/hbm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/mei/hbm.h b/drivers/misc/mei/hbm.h
index a2025a5083a3..0171a7e79bab 100644
--- a/drivers/misc/mei/hbm.h
+++ b/drivers/misc/mei/hbm.h
@@ -26,6 +26,7 @@ struct mei_cl;
*
* @MEI_HBM_IDLE : protocol not started
* @MEI_HBM_STARTING : start request message was sent
+ * @MEI_HBM_DR_SETUP : dma ring setup request message was sent
* @MEI_HBM_ENUM_CLIENTS : enumeration request was sent
* @MEI_HBM_CLIENT_PROPERTIES : acquiring clients properties
* @MEI_HBM_STARTED : enumeration was completed
@@ -34,6 +35,7 @@ struct mei_cl;
enum mei_hbm_state {
MEI_HBM_IDLE = 0,
MEI_HBM_STARTING,
+ MEI_HBM_DR_SETUP,
MEI_HBM_ENUM_CLIENTS,
MEI_HBM_CLIENT_PROPERTIES,
MEI_HBM_STARTED,