mei: bus: Initial implementation for I/O routines
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> 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
333e4ee078
commit
3e8332952d
@@ -24,4 +24,15 @@ int __mei_cl_driver_register(struct mei_cl_driver *driver,
|
||||
|
||||
void mei_cl_driver_unregister(struct mei_cl_driver *driver);
|
||||
|
||||
int mei_cl_send(struct mei_cl_device *device, u8 *buf, size_t length);
|
||||
int mei_cl_recv(struct mei_cl_device *device, u8 *buf, size_t length);
|
||||
|
||||
typedef void (*mei_cl_event_cb_t)(struct mei_cl_device *device,
|
||||
u32 events, void *context);
|
||||
int mei_cl_register_event_cb(struct mei_cl_device *device,
|
||||
mei_cl_event_cb_t read_cb, void *context);
|
||||
|
||||
#define MEI_CL_EVENT_RX 0
|
||||
#define MEI_CL_EVENT_TX 1
|
||||
|
||||
#endif /* _LINUX_MEI_CL_BUS_H */
|
||||
|
||||
Reference in New Issue
Block a user