Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
av7110_ir.c File Reference
#include <linux/types.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/kernel.h>
#include <linux/bitops.h>
#include "av7110.h"
#include "av7110_hw.h"

Go to the source code of this file.

Macros

#define AV_CNT   4
 
#define IR_RC5   0
 
#define IR_RCMM   1
 
#define IR_RC5_EXT   2 /* internal only */
 
#define IR_ALL   0xffffffff
 
#define UP_TIMEOUT   (HZ*7/25)
 

Functions

 module_param_array (ir_protocol, int, NULL, 0644)
 
 MODULE_PARM_DESC (ir_protocol,"Infrared protocol: 0 RC5, 1 RCMM (default)")
 
 module_param_array (ir_inversion, int, NULL, 0644)
 
 MODULE_PARM_DESC (ir_inversion,"Inversion of infrared signal: 0 not inverted (default), 1 inverted")
 
 module_param_array (ir_device_mask, uint, NULL, 0644)
 
 MODULE_PARM_DESC (ir_device_mask,"Bitmask of infrared devices: bit 0..31 = device 0..31 (default: all)")
 
int av7110_check_ir_config (struct av7110 *av7110, int force)
 
int __devinit av7110_ir_init (struct av7110 *av7110)
 
void __devexit av7110_ir_exit (struct av7110 *av7110)
 

Macro Definition Documentation

#define AV_CNT   4

Definition at line 36 of file av7110_ir.c.

#define IR_ALL   0xffffffff

Definition at line 42 of file av7110_ir.c.

#define IR_RC5   0

Definition at line 38 of file av7110_ir.c.

#define IR_RC5_EXT   2 /* internal only */

Definition at line 40 of file av7110_ir.c.

#define IR_RCMM   1

Definition at line 39 of file av7110_ir.c.

#define UP_TIMEOUT   (HZ*7/25)

Definition at line 44 of file av7110_ir.c.

Function Documentation

int av7110_check_ir_config ( struct av7110 av7110,
int  force 
)

Definition at line 221 of file av7110_ir.c.

void __devexit av7110_ir_exit ( struct av7110 av7110)

Definition at line 388 of file av7110_ir.c.

int __devinit av7110_ir_init ( struct av7110 av7110)

Definition at line 327 of file av7110_ir.c.

module_param_array ( ir_protocol  ,
int  ,
NULL  ,
0644   
)
module_param_array ( ir_inversion  ,
int  ,
NULL  ,
0644   
)
module_param_array ( ir_device_mask  ,
uint  ,
NULL  ,
0644   
)
MODULE_PARM_DESC ( ir_protocol  ,
"Infrared protocol: 0  RC5,
1 RCMM(default)"   
)
MODULE_PARM_DESC ( ir_inversion  ,
"Inversion of infrared signal: 0 not inverted   default,
1 inverted"   
)
MODULE_PARM_DESC ( ir_device_mask  )