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

Go to the source code of this file.

Data Structures

struct  tm6000_ir_poll_result
 
struct  tm6000_IR
 

Macros

#define URB_SUBMIT_DELAY   100 /* ms - Delay to submit an URB request on retrial and init */
 
#define URB_INT_LED_DELAY   100 /* ms - Delay to turn led on again on int mode */
 
#define dprintk(level, fmt, arg...)
 

Functions

 module_param (ir_debug, int, 0644)
 
 MODULE_PARM_DESC (ir_debug,"debug message level")
 
 module_param (enable_ir, int, 0644)
 
 MODULE_PARM_DESC (enable_ir,"enable ir (default is enable)")
 
 module_param (ir_clock_mhz, int, 0644)
 
 MODULE_PARM_DESC (enable_ir,"ir clock, in MHz")
 
void tm6000_ir_wait (struct tm6000_core *dev, u8 state)
 
int tm6000_ir_int_start (struct tm6000_core *dev)
 
void tm6000_ir_int_stop (struct tm6000_core *dev)
 
int tm6000_ir_init (struct tm6000_core *dev)
 
int tm6000_ir_fini (struct tm6000_core *dev)
 

Macro Definition Documentation

#define dprintk (   level,
  fmt,
  arg... 
)
Value:
do {\
if (ir_debug >= level) \
printk(KERN_DEBUG "%s/ir: " fmt, ir->name , ## arg); \
} while (0)

Definition at line 49 of file tm6000-input.c.

#define URB_INT_LED_DELAY   100 /* ms - Delay to turn led on again on int mode */

Definition at line 45 of file tm6000-input.c.

#define URB_SUBMIT_DELAY   100 /* ms - Delay to submit an URB request on retrial and init */

Definition at line 44 of file tm6000-input.c.

Function Documentation

module_param ( ir_debug  ,
int  ,
0644   
)
module_param ( enable_ir  ,
int  ,
0644   
)
module_param ( ir_clock_mhz  ,
int  ,
0644   
)
MODULE_PARM_DESC ( ir_debug  ,
"debug message level  
)
MODULE_PARM_DESC ( enable_ir  ,
"enable ir (default is enable)"   
)
MODULE_PARM_DESC ( enable_ir  ,
"ir  clock,
in MHz  
)
int tm6000_ir_fini ( struct tm6000_core dev)

Definition at line 473 of file tm6000-input.c.

int tm6000_ir_init ( struct tm6000_core dev)

Definition at line 396 of file tm6000-input.c.

int tm6000_ir_int_start ( struct tm6000_core dev)

Definition at line 376 of file tm6000-input.c.

void tm6000_ir_int_stop ( struct tm6000_core dev)

Definition at line 386 of file tm6000-input.c.

void tm6000_ir_wait ( struct tm6000_core dev,
u8  state 
)

Definition at line 77 of file tm6000-input.c.