Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ste_modem_shm.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) ST-Ericsson AB 2012
3  * Author: Sjur Brendeland / [email protected]
4  *
5  * License terms: GNU General Public License (GPL) version 2
6  */
7 
8 #ifndef __INC_MODEM_DEV_H
9 #define __INC_MODEM_DEV_H
10 #include <linux/types.h>
11 #include <linux/platform_device.h>
12 
13 struct ste_modem_device;
14 
22  void (*kick)(struct ste_modem_device *mdev, int notify_id);
23 };
24 
37  int (*power)(struct ste_modem_device *mdev, bool on);
38  int (*kick)(struct ste_modem_device *mdev, int notify_id);
39  int (*kick_subscribe)(struct ste_modem_device *mdev, int notify_id);
40  int (*setup)(struct ste_modem_device *mdev,
41  struct ste_modem_dev_cb *cfg);
42 };
43 
53  void *drv_data;
54 };
55 
56 #endif /*INC_MODEM_DEV_H*/