Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
caif_shm.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) ST-Ericsson AB 2010
3  * Contact: Sjur Brendeland / [email protected]
4  * Author: Amarnath Revanna / [email protected]
5  * License terms: GNU General Public License (GPL) version 2
6  */
7 
8 #ifndef CAIF_SHM_H_
9 #define CAIF_SHM_H_
10 
11 struct shmdev_layer {
16  void *hmbx;
17  int (*pshmdev_mbxsend) (u32 shm_id, u32 mbx_msg);
18  int (*pshmdev_mbxsetup) (void *pshmdrv_cb,
19  struct shmdev_layer *pshm_dev, void *pshm_drv);
21 };
22 
23 extern int caif_shmcore_probe(struct shmdev_layer *pshm_dev);
24 extern void caif_shmcore_remove(struct net_device *pshm_netdev);
25 
26 #endif