mei: abstract host and device readieness
Add mei_host_set_ready function to enable the device and is_ready function to query the host and me readiness Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
9ea73ddd4f
commit
115ba28c5e
@@ -396,6 +396,10 @@ void mei_clear_interrupts(struct mei_device *dev);
|
||||
void mei_enable_interrupts(struct mei_device *dev);
|
||||
void mei_disable_interrupts(struct mei_device *dev);
|
||||
|
||||
void mei_host_set_ready(struct mei_device *dev);
|
||||
bool mei_host_is_ready(struct mei_device *dev);
|
||||
bool mei_me_is_ready(struct mei_device *dev);
|
||||
|
||||
|
||||
|
||||
#define MEI_HDR_FMT "hdr:host=%02d me=%02d len=%d comp=%1d"
|
||||
|
Reference in New Issue
Block a user