Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sa1100_ir.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/slab.h>
#include <linux/rtnetlink.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/sa11x0-dma.h>
#include <net/irda/irda.h>
#include <net/irda/wrapper.h>
#include <net/irda/irda_device.h>
#include <mach/hardware.h>
#include <asm/mach/irda.h>

Go to the source code of this file.

Data Structures

struct  sa1100_buf
 
struct  sa1100_irda
 

Macros

#define IS_FIR(si)   ((si)->speed >= 4000000)
 
#define HPSIR_MAX_RXLEN   2047
 
#define sa1100_irda_suspend   NULL
 
#define sa1100_irda_resume   NULL
 

Functions

 module_init (sa1100_irda_init)
 
 module_exit (sa1100_irda_exit)
 
 module_param (power_level, int, 0)
 
 module_param (tx_lpm, int, 0)
 
 module_param (max_rate, int, 0)
 
 MODULE_AUTHOR ("Russell King <[email protected]>")
 
 MODULE_DESCRIPTION ("StrongARM SA1100 IrDA driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_PARM_DESC (power_level,"IrDA power level, 1 (low) to 3 (high)")
 
 MODULE_PARM_DESC (tx_lpm,"Enable transmitter low power (1.6us) mode")
 
 MODULE_PARM_DESC (max_rate,"Maximum baud rate (4000000, 115200, 57600, 38400, 19200, 9600)")
 
 MODULE_ALIAS ("platform:sa11x0-ir")
 

Macro Definition Documentation

#define HPSIR_MAX_RXLEN   2047

Definition at line 82 of file sa1100_ir.c.

#define IS_FIR (   si)    ((si)->speed >= 4000000)

Definition at line 80 of file sa1100_ir.c.

#define sa1100_irda_resume   NULL

Definition at line 1107 of file sa1100_ir.c.

#define sa1100_irda_suspend   NULL

Definition at line 1106 of file sa1100_ir.c.

Function Documentation

MODULE_ALIAS ( "platform:sa11x0-ir )
MODULE_AUTHOR ( "Russell King <[email protected]>"  )
MODULE_DESCRIPTION ( "StrongARM SA1100 IrDA driver )
module_exit ( sa1100_irda_exit  )
module_init ( sa1100_irda_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( power_level  ,
int  ,
 
)
module_param ( tx_lpm  ,
int  ,
 
)
module_param ( max_rate  ,
int  ,
 
)
MODULE_PARM_DESC ( power_level  ,
"IrDA power  level,
1(low) to 3(high)"   
)
MODULE_PARM_DESC ( tx_lpm  ,
"Enable transmitter low power (1.6us) mode"   
)
MODULE_PARM_DESC ( max_rate  ,
"Maximum baud rate (4000000, 115200, 57600, 38400, 19200, 9600)"   
)