Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
mailbox.c File Reference
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/kfifo.h>
#include <linux/err.h>
#include <linux/notifier.h>
#include <linux/module.h>
#include <plat/mailbox.h>

Go to the source code of this file.

Functions

 module_param (mbox_kfifo_size, uint, S_IRUGO)
 
 MODULE_PARM_DESC (mbox_kfifo_size,"Size of omap's mailbox kfifo (bytes)")
 
int omap_mbox_msg_send (struct omap_mbox *mbox, mbox_msg_t msg)
 
 EXPORT_SYMBOL (omap_mbox_msg_send)
 
struct omap_mboxomap_mbox_get (const char *name, struct notifier_block *nb)
 
 EXPORT_SYMBOL (omap_mbox_get)
 
void omap_mbox_put (struct omap_mbox *mbox, struct notifier_block *nb)
 
 EXPORT_SYMBOL (omap_mbox_put)
 
int omap_mbox_register (struct device *parent, struct omap_mbox **list)
 
 EXPORT_SYMBOL (omap_mbox_register)
 
int omap_mbox_unregister (void)
 
 EXPORT_SYMBOL (omap_mbox_unregister)
 
 subsys_initcall (omap_mbox_init)
 
 module_exit (omap_mbox_exit)
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_DESCRIPTION ("omap mailbox: interrupt driven messaging")
 
 MODULE_AUTHOR ("Toshihiro Kobayashi")
 
 MODULE_AUTHOR ("Hiroshi DOYU")
 

Function Documentation

EXPORT_SYMBOL ( omap_mbox_msg_send  )
EXPORT_SYMBOL ( omap_mbox_get  )
EXPORT_SYMBOL ( omap_mbox_put  )
EXPORT_SYMBOL ( omap_mbox_register  )
EXPORT_SYMBOL ( omap_mbox_unregister  )
MODULE_AUTHOR ( "Toshihiro Kobayashi"  )
MODULE_AUTHOR ( "Hiroshi DOYU"  )
MODULE_DESCRIPTION ( "omap mailbox: interrupt driven messaging"  )
module_exit ( omap_mbox_exit  )
MODULE_LICENSE ( "GPL v2 )
module_param ( mbox_kfifo_size  ,
uint  ,
S_IRUGO   
)
MODULE_PARM_DESC ( mbox_kfifo_size  ,
"Size of omap's mailbox kfifo (bytes)"   
)
struct omap_mbox* omap_mbox_get ( const char name,
struct notifier_block nb 
)
read

Definition at line 326 of file mailbox.c.

int omap_mbox_msg_send ( struct omap_mbox mbox,
mbox_msg_t  msg 
)

Definition at line 91 of file mailbox.c.

void omap_mbox_put ( struct omap_mbox mbox,
struct notifier_block nb 
)

Definition at line 357 of file mailbox.c.

int omap_mbox_register ( struct device parent,
struct omap_mbox **  list 
)

Definition at line 366 of file mailbox.c.

int omap_mbox_unregister ( void  )

Definition at line 395 of file mailbox.c.

subsys_initcall ( omap_mbox_init  )