Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
mon_main.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/usb/hcd.h>
#include <linux/slab.h>
#include <linux/notifier.h>
#include <linux/mutex.h>
#include "usb_mon.h"

Go to the source code of this file.

Functions

 DEFINE_MUTEX (mon_lock)
 
void mon_reader_add (struct mon_bus *mbus, struct mon_reader *r)
 
void mon_reader_del (struct mon_bus *mbus, struct mon_reader *r)
 
struct mon_busmon_bus_lookup (unsigned int num)
 
 module_init (mon_init)
 
 module_exit (mon_exit)
 
 MODULE_LICENSE ("GPL")
 

Variables

struct mon_bus mon_bus0
 

Function Documentation

DEFINE_MUTEX ( mon_lock  )
module_exit ( mon_exit  )
module_init ( mon_init  )
MODULE_LICENSE ( "GPL"  )
struct mon_bus* mon_bus_lookup ( unsigned int  num)
read

Definition at line 328 of file mon_main.c.

void mon_reader_add ( struct mon_bus mbus,
struct mon_reader r 
)

Definition at line 35 of file mon_main.c.

void mon_reader_del ( struct mon_bus mbus,
struct mon_reader r 
)

Definition at line 64 of file mon_main.c.

Variable Documentation

struct mon_bus mon_bus0

Definition at line 27 of file mon_main.c.