#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.
|
| 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) |
|
#define URB_INT_LED_DELAY 100 /* ms - Delay to turn led on again on int mode */ |
#define URB_SUBMIT_DELAY 100 /* ms - Delay to submit an URB request on retrial and init */ |
module_param |
( |
ir_debug |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
enable_ir |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
ir_clock_mhz |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
enable_ir |
, |
|
|
"enable ir (default is enable)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
enable_ir |
, |
|
|
"ir |
clock, |
|
|
in MHz" |
|
|
) |
| |