Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
serio.c File Reference
#include <linux/stddef.h>
#include <linux/module.h>
#include <linux/serio.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/mutex.h>

Go to the source code of this file.

Data Structures

struct  serio_event
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Enumerations

enum  serio_event_type {
  SERIO_RESCAN_PORT, SERIO_RECONNECT_PORT, SERIO_RECONNECT_SUBTREE, SERIO_REGISTER_PORT,
  SERIO_ATTACH_DRIVER
}
 

Functions

 MODULE_AUTHOR ("Vojtech Pavlik <[email protected]>")
 
 MODULE_DESCRIPTION ("Serio abstraction core")
 
 MODULE_LICENSE ("GPL")
 
void serio_rescan (struct serio *serio)
 
 EXPORT_SYMBOL (serio_rescan)
 
void serio_reconnect (struct serio *serio)
 
 EXPORT_SYMBOL (serio_reconnect)
 
void __serio_register_port (struct serio *serio, struct module *owner)
 
 EXPORT_SYMBOL (__serio_register_port)
 
void serio_unregister_port (struct serio *serio)
 
 EXPORT_SYMBOL (serio_unregister_port)
 
void serio_unregister_child_port (struct serio *serio)
 
 EXPORT_SYMBOL (serio_unregister_child_port)
 
int __serio_register_driver (struct serio_driver *drv, struct module *owner, const char *mod_name)
 
 EXPORT_SYMBOL (__serio_register_driver)
 
void serio_unregister_driver (struct serio_driver *drv)
 
 EXPORT_SYMBOL (serio_unregister_driver)
 
int serio_open (struct serio *serio, struct serio_driver *drv)
 
 EXPORT_SYMBOL (serio_open)
 
void serio_close (struct serio *serio)
 
 EXPORT_SYMBOL (serio_close)
 
irqreturn_t serio_interrupt (struct serio *serio, unsigned char data, unsigned int dfl)
 
 EXPORT_SYMBOL (serio_interrupt)
 
 subsys_initcall (serio_init)
 
 module_exit (serio_exit)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 29 of file serio.c.

Enumeration Type Documentation

Enumerator:
SERIO_RESCAN_PORT 
SERIO_RECONNECT_PORT 
SERIO_RECONNECT_SUBTREE 
SERIO_REGISTER_PORT 
SERIO_ATTACH_DRIVER 

Definition at line 150 of file serio.c.

Function Documentation

int __serio_register_driver ( struct serio_driver drv,
struct module owner,
const char mod_name 
)

Definition at line 813 of file serio.c.

void __serio_register_port ( struct serio serio,
struct module owner 
)

Definition at line 695 of file serio.c.

EXPORT_SYMBOL ( serio_rescan  )
EXPORT_SYMBOL ( serio_reconnect  )
EXPORT_SYMBOL ( __serio_register_port  )
EXPORT_SYMBOL ( serio_unregister_port  )
EXPORT_SYMBOL ( serio_unregister_child_port  )
EXPORT_SYMBOL ( __serio_register_driver  )
EXPORT_SYMBOL ( serio_unregister_driver  )
EXPORT_SYMBOL ( serio_open  )
EXPORT_SYMBOL ( serio_close  )
EXPORT_SYMBOL ( serio_interrupt  )
MODULE_AUTHOR ( "Vojtech Pavlik <[email protected]>"  )
MODULE_DESCRIPTION ( "Serio abstraction core )
module_exit ( serio_exit  )
MODULE_LICENSE ( "GPL"  )
void serio_close ( struct serio serio)

Definition at line 977 of file serio.c.

irqreturn_t serio_interrupt ( struct serio serio,
unsigned char  data,
unsigned int  dfl 
)

Definition at line 986 of file serio.c.

int serio_open ( struct serio serio,
struct serio_driver drv 
)

Definition at line 964 of file serio.c.

void serio_reconnect ( struct serio serio)

Definition at line 685 of file serio.c.

void serio_rescan ( struct serio serio)

Definition at line 679 of file serio.c.

void serio_unregister_child_port ( struct serio serio)

Definition at line 717 of file serio.c.

void serio_unregister_driver ( struct serio_driver drv)

Definition at line 852 of file serio.c.

void serio_unregister_port ( struct serio serio)

Definition at line 705 of file serio.c.

subsys_initcall ( serio_init  )