Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ttusbir.c File Reference
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/usb/input.h>
#include <linux/slab.h>
#include <linux/leds.h>
#include <media/rc-core.h>

Go to the source code of this file.

Data Structures

struct  ttusbir
 

Macros

#define DRIVER_NAME   "ttusbir"
 
#define DRIVER_DESC   "TechnoTrend USB IR Receiver"
 
#define NUM_URBS   4
 
#define NS_PER_BYTE   62500
 
#define NS_PER_BIT   (NS_PER_BYTE/8)
 

Functions

 module_usb_driver (ttusbir_driver)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_AUTHOR ("Sean Young <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (usb, ttusbir_table)
 

Macro Definition Documentation

#define DRIVER_DESC   "TechnoTrend USB IR Receiver"

Definition at line 29 of file ttusbir.c.

#define DRIVER_NAME   "ttusbir"

Definition at line 28 of file ttusbir.c.

#define NS_PER_BIT   (NS_PER_BYTE/8)

Definition at line 37 of file ttusbir.c.

#define NS_PER_BYTE   62500

Definition at line 36 of file ttusbir.c.

#define NUM_URBS   4

Definition at line 35 of file ttusbir.c.

Function Documentation

MODULE_AUTHOR ( "Sean Young <[email protected]>"  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( usb  ,
ttusbir_table   
)
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( ttusbir_driver  )