#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pnp.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/bitops.h>
#include <media/rc-core.h>
#include <linux/pci_ids.h>
#include "ite-cir.h"
Go to the source code of this file.
|
| module_param (debug, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (debug,"Enable debugging output") |
|
| module_param (rx_low_carrier_freq, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (rx_low_carrier_freq,"Override low RX carrier frequency, Hz, ""0 for no RX demodulation") |
|
| module_param (rx_high_carrier_freq, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (rx_high_carrier_freq,"Override high RX carrier frequency, ""Hz, 0 for no RX demodulation") |
|
| module_param (tx_carrier_freq, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (tx_carrier_freq,"Override TX carrier frequency, Hz") |
|
| module_param (tx_duty_cycle, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (tx_duty_cycle,"Override TX duty cycle, 1-100") |
|
| module_param (sample_period, long, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (sample_period,"Override carrier sample period, us") |
|
| module_param (model_number, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (model_number,"Use this model number, don't autodetect") |
|
int | ite_init (void) |
|
void | ite_exit (void) |
|
| MODULE_DEVICE_TABLE (pnp, ite_ids) |
|
| MODULE_DESCRIPTION ("ITE Tech Inc. IT8712F/ITE8512F CIR driver") |
|
| MODULE_AUTHOR ("Juan J. Garcia de Soria <skandalfo@gmail.com>") |
|
| MODULE_LICENSE ("GPL") |
|
| module_init (ite_init) |
|
| module_exit (ite_exit) |
|
MODULE_AUTHOR |
( |
"Juan J. Garcia de Soria <skandalfo@gmail.com>" |
| ) |
|
MODULE_DESCRIPTION |
( |
"ITE Tech Inc. IT8712F/ITE8512F CIR driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pnp |
, |
|
|
ite_ids |
|
|
) |
| |
module_param |
( |
rx_low_carrier_freq |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param |
( |
rx_high_carrier_freq |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param |
( |
tx_carrier_freq |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param |
( |
tx_duty_cycle |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param |
( |
sample_period |
, |
|
|
long |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param |
( |
model_number |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
MODULE_PARM_DESC |
( |
rx_low_carrier_freq |
, |
|
|
"Override low RX carrier |
frequency, |
|
|
Hz |
, |
|
|
""0 for no RX demodulation" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
rx_high_carrier_freq |
, |
|
|
"Override high RX carrier |
frequency, |
|
|
"" |
Hz, |
|
|
0 for no RX demodulation" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
tx_carrier_freq |
, |
|
|
"Override TX carrier |
frequency, |
|
|
Hz" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
tx_duty_cycle |
, |
|
|
"Override TX duty |
cycle, |
|
|
1-100" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
sample_period |
, |
|
|
"Override carrier sample |
period, |
|
|
us" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
model_number |
, |
|
|
"Use this model |
number, |
|
|
don't autodetect" |
|
|
) |
| |