Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
uinput.c File Reference
#include <linux/poll.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
#include <linux/uinput.h>
#include <linux/input/mt.h>
#include "../input-compat.h"

Go to the source code of this file.

Macros

#define uinput_set_bit(_arg, _bit, _max)
 

Functions

 MODULE_ALIAS_MISCDEV (UINPUT_MINOR)
 
 MODULE_ALIAS ("devname:"UINPUT_NAME)
 
 MODULE_AUTHOR ("Aristeu Sergio Rozanski Filho")
 
 MODULE_DESCRIPTION ("User level driver support for input subsystem")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION ("0.3")
 
 module_init (uinput_init)
 
 module_exit (uinput_exit)
 

Macro Definition Documentation

#define uinput_set_bit (   _arg,
  _bit,
  _max 
)
Value:
({ \
int __ret = 0; \
if (udev->state == UIST_CREATED) \
__ret = -EINVAL; \
else if ((_arg) > (_max)) \
__ret = -EINVAL; \
else set_bit((_arg), udev->dev->_bit); \
__ret; \
})

Definition at line 652 of file uinput.c.

Function Documentation

MODULE_ALIAS ( "devname:"  UINPUT_NAME)
MODULE_ALIAS_MISCDEV ( UINPUT_MINOR  )
MODULE_AUTHOR ( "Aristeu Sergio Rozanski Filho"  )
MODULE_DESCRIPTION ( "User level driver support for input subsystem"  )
module_exit ( uinput_exit  )
module_init ( uinput_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( "0.3"  )