Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
toim3232-sir.c File Reference
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <net/irda/irda.h>
#include "sir-dev.h"

Go to the source code of this file.

Macros

#define TOIM3232_115200   0x00
 
#define TOIM3232_57600   0x01
 
#define TOIM3232_38400   0x02
 
#define TOIM3232_19200   0x03
 
#define TOIM3232_9600   0x06
 
#define TOIM3232_2400   0x0A
 
#define TOIM3232_PW   0x10 /* Pulse select bit */
 
#define TOIM3232_STATE_WAIT_SPEED   (SIRDEV_STATE_DONGLE_SPEED + 1)
 

Functions

 module_param (toim3232delay, int, 0)
 
 MODULE_PARM_DESC (toim3232delay,"toim3232 dongle write complete delay")
 
 MODULE_AUTHOR ("David Basden <[email protected]>")
 
 MODULE_DESCRIPTION ("Vishay/Temic TOIM3232 based dongle driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("irda-dongle-12")
 
 module_init (toim3232_sir_init)
 
 module_exit (toim3232_sir_cleanup)
 

Macro Definition Documentation

#define TOIM3232_115200   0x00

Definition at line 148 of file toim3232-sir.c.

#define TOIM3232_19200   0x03

Definition at line 151 of file toim3232-sir.c.

#define TOIM3232_2400   0x0A

Definition at line 153 of file toim3232-sir.c.

#define TOIM3232_38400   0x02

Definition at line 150 of file toim3232-sir.c.

#define TOIM3232_57600   0x01

Definition at line 149 of file toim3232-sir.c.

#define TOIM3232_9600   0x06

Definition at line 152 of file toim3232-sir.c.

#define TOIM3232_PW   0x10 /* Pulse select bit */

Definition at line 155 of file toim3232-sir.c.

#define TOIM3232_STATE_WAIT_SPEED   (SIRDEV_STATE_DONGLE_SPEED + 1)

Definition at line 236 of file toim3232-sir.c.

Function Documentation

MODULE_ALIAS ( "irda-dongle-12"  )
MODULE_AUTHOR ( "David Basden <[email protected]>"  )
MODULE_DESCRIPTION ( "Vishay/Temic TOIM3232 based dongle driver )
module_exit ( toim3232_sir_cleanup  )
module_init ( toim3232_sir_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( toim3232delay  ,
int  ,
 
)
MODULE_PARM_DESC ( toim3232delay  ,
"toim3232 dongle write complete delay  
)