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

Go to the source code of this file.

Data Structures

struct  cx88_IR
 

Macros

#define MODULE_NAME   "cx88xx"
 
#define ir_dprintk(fmt, arg...)
 
#define dprintk(fmt, arg...)
 

Functions

 module_param (ir_samplerate, uint, 0444)
 
 MODULE_PARM_DESC (ir_samplerate,"IR samplerate in kHz, 1 - 20, default 4")
 
 module_param (ir_debug, int, 0644)
 
 MODULE_PARM_DESC (ir_debug,"enable debug messages [IR]")
 
int cx88_ir_start (struct cx88_core *core)
 
void cx88_ir_stop (struct cx88_core *core)
 
int cx88_ir_init (struct cx88_core *core, struct pci_dev *pci)
 
int cx88_ir_fini (struct cx88_core *core)
 
void cx88_ir_irq (struct cx88_core *core)
 
void cx88_i2c_init_ir (struct cx88_core *core)
 
 MODULE_AUTHOR ("Gerd Knorr, Pavel Machek, Chris Pascoe")
 
 MODULE_DESCRIPTION ("input driver for cx88 GPIO-based IR remote controls")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define dprintk (   fmt,
  arg... 
)
Value:
if (ir_debug) \
printk(KERN_DEBUG "cx88 IR: " fmt , ##arg)

Definition at line 71 of file cx88-input.c.

#define ir_dprintk (   fmt,
  arg... 
)
Value:
if (ir_debug) \
printk(KERN_DEBUG "%s IR: " fmt , ir->core->name , ##arg)

Definition at line 68 of file cx88-input.c.

#define MODULE_NAME   "cx88xx"

Definition at line 34 of file cx88-input.c.

Function Documentation

void cx88_i2c_init_ir ( struct cx88_core core)

Definition at line 571 of file cx88-input.c.

int cx88_ir_fini ( struct cx88_core core)

Definition at line 492 of file cx88-input.c.

int cx88_ir_init ( struct cx88_core core,
struct pci_dev pci 
)

Definition at line 246 of file cx88-input.c.

void cx88_ir_irq ( struct cx88_core core)

Definition at line 511 of file cx88-input.c.

int cx88_ir_start ( struct cx88_core core)

Definition at line 213 of file cx88-input.c.

void cx88_ir_stop ( struct cx88_core core)

Definition at line 221 of file cx88-input.c.

MODULE_AUTHOR ( "Gerd  Knorr,
Pavel  Machek,
Chris Pascoe"   
)
MODULE_DESCRIPTION ( "input driver for cx88 GPIO-based IR remote controls )
MODULE_LICENSE ( "GPL"  )
module_param ( ir_samplerate  ,
uint  ,
0444   
)
module_param ( ir_debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( ir_samplerate  ,
"IR samplerate in  kHz,
1-  20,
default 4"   
)
MODULE_PARM_DESC ( ir_debug  ,
"enable debug messages "  [IR] 
)