|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/errno.h>#include <linux/signal.h>#include <linux/sched.h>#include <linux/fs.h>#include <linux/interrupt.h>#include <linux/ioport.h>#include <linux/kernel.h>#include <linux/serial_reg.h>#include <linux/time.h>#include <linux/string.h>#include <linux/types.h>#include <linux/wait.h>#include <linux/mm.h>#include <linux/delay.h>#include <linux/poll.h>#include <linux/platform_device.h>#include <linux/io.h>#include <linux/irq.h>#include <linux/fcntl.h>#include <linux/spinlock.h>#include <media/lirc.h>#include <media/lirc_dev.h>Go to the source code of this file.
Data Structures | |
| struct | lirc_serial |
Macros | |
| #define | UART_IE_IXP42X_UUE 0x40 /* IXP42X UART Unit enable */ |
| #define | UART_IE_IXP42X_RTOIE 0x10 /* IXP42X Receiver Data Timeout int.enable */ |
| #define | LIRC_DRIVER_NAME "lirc_serial" |
| #define | LIRC_HOMEBREW 0 |
| #define | LIRC_IRDEO 1 |
| #define | LIRC_IRDEO_REMOTE 2 |
| #define | LIRC_ANIMAX 3 |
| #define | LIRC_IGOR 4 |
| #define | LIRC_NSLU2 5 |
| #define | dprintk(fmt, args...) |
| #define | RS_ISR_PASS_LIMIT 256 |
| #define | RBUF_LEN 256 |
| #define | LIRC_SERIAL_TRANSMITTER_LATENCY 256 |
| #define | MAX_UDELAY_US 5000 |
Functions | |
| module_init (lirc_serial_init_module) | |
| module_exit (lirc_serial_exit_module) | |
| MODULE_DESCRIPTION ("Infra-red receiver driver for serial ports.") | |
| MODULE_AUTHOR ("Ralph Metzler, Trent Piepho, Ben Pfaff, ""Christoph Bartelmus, Andrei Tanas") | |
| MODULE_LICENSE ("GPL") | |
| module_param (type, int, S_IRUGO) | |
| MODULE_PARM_DESC (type,"Hardware type (0 = home-brew, 1 = IRdeo,"" 2 = IRdeo Remote, 3 = AnimaX, 4 = IgorPlug,"" 5 = NSLU2 RX:CTS2/TX:GreenLED)") | |
| module_param (io, int, S_IRUGO) | |
| MODULE_PARM_DESC (io,"I/O address base (0x3f8 or 0x2f8)") | |
| module_param (iommap, bool, S_IRUGO) | |
| MODULE_PARM_DESC (iommap,"physical base for memory mapped I/O"" (0 = no memory mapped io)") | |
| module_param (ioshift, int, S_IRUGO) | |
| MODULE_PARM_DESC (ioshift,"shift I/O register offset (0 = no shift)") | |
| module_param (irq, int, S_IRUGO) | |
| MODULE_PARM_DESC (irq,"Interrupt (4 or 3)") | |
| module_param (share_irq, bool, S_IRUGO) | |
| MODULE_PARM_DESC (share_irq,"Share interrupts (0 = off, 1 = on)") | |
| module_param (sense, bool, S_IRUGO) | |
| MODULE_PARM_DESC (sense,"Override autodetection of IR receiver circuit"" (0 = active high, 1 = active low )") | |
| module_param (softcarrier, bool, S_IRUGO) | |
| MODULE_PARM_DESC (softcarrier,"Software carrier (0 = off, 1 = on, default on)") | |
| module_param (debug, bool, S_IRUGO|S_IWUSR) | |
| MODULE_PARM_DESC (debug,"Enable debugging messages") | |
| #define dprintk | ( | fmt, | |
| args... | |||
| ) |
Definition at line 117 of file lirc_serial.c.
| #define LIRC_ANIMAX 3 |
Definition at line 101 of file lirc_serial.c.
| #define LIRC_DRIVER_NAME "lirc_serial" |
Definition at line 85 of file lirc_serial.c.
| #define LIRC_HOMEBREW 0 |
Definition at line 98 of file lirc_serial.c.
| #define LIRC_IGOR 4 |
Definition at line 102 of file lirc_serial.c.
| #define LIRC_IRDEO 1 |
Definition at line 99 of file lirc_serial.c.
| #define LIRC_IRDEO_REMOTE 2 |
Definition at line 100 of file lirc_serial.c.
| #define LIRC_NSLU2 5 |
Definition at line 103 of file lirc_serial.c.
| #define LIRC_SERIAL_TRANSMITTER_LATENCY 256 |
Definition at line 286 of file lirc_serial.c.
| #define MAX_UDELAY_US 5000 |
Definition at line 347 of file lirc_serial.c.
| #define RBUF_LEN 256 |
Definition at line 241 of file lirc_serial.c.
| #define RS_ISR_PASS_LIMIT 256 |
Definition at line 228 of file lirc_serial.c.
| #define UART_IE_IXP42X_RTOIE 0x10 /* IXP42X Receiver Data Timeout int.enable */ |
Definition at line 80 of file lirc_serial.c.
| #define UART_IE_IXP42X_UUE 0x40 /* IXP42X UART Unit enable */ |
Definition at line 79 of file lirc_serial.c.
| MODULE_AUTHOR | ( | "Ralph | Metzler, |
| Trent | Piepho, | ||
| Ben | Pfaff, | ||
| ""Christoph | Bartelmus, | ||
| Andrei Tanas" | |||
| ) |
| module_exit | ( | lirc_serial_exit_module | ) |
| module_init | ( | lirc_serial_init_module | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| MODULE_PARM_DESC | ( | type | , |
| "Hardware type (0 = home-brew, 1 = IRdeo,"" 2 = IRdeo Remote, 3 = AnimaX, 4 = IgorPlug,"" 5 = NSLU2 RX:CTS2/TX:GreenLED)" | |||
| ) |
| MODULE_PARM_DESC | ( | share_irq | , |
| "Share interrupts (0 = off, 1 = on)" | |||
| ) |
| MODULE_PARM_DESC | ( | sense | , |
| "Override autodetection of IR receiver circuit"" (0 = active high, 1 = active low )" | |||
| ) |
| MODULE_PARM_DESC | ( | softcarrier | , |
| "Software carrier (0 = off, 1 = on, default on)" | |||
| ) |
| MODULE_PARM_DESC | ( | debug | , |
| "Enable debugging messages" | |||
| ) |
1.8.2