Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
bttv-input.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/input.h>
#include <linux/slab.h>
#include "bttv.h"
#include "bttvp.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define dprintk(fmt,...)
 
#define DEVNAME   "bttv-input"
 
#define MODULE_NAME   "bttv"
 
#define RC5_START(x)   (((x) >> 12) & 3)
 
#define RC5_TOGGLE(x)   (((x) >> 11) & 1)
 
#define RC5_ADDR(x)   (((x) >> 6) & 31)
 
#define RC5_INSTR(x)   ((x) & 63)
 

Functions

 module_param (ir_debug, int, 0644)
 
 module_param (ir_rc5_remote_gap, int, 0644)
 
void bttv_input_irq (struct bttv *btv)
 
void __devinit init_bttv_i2c_ir (struct bttv *btv)
 
int __devexit fini_bttv_i2c (struct bttv *btv)
 
int bttv_input_init (struct bttv *btv)
 
void bttv_input_fini (struct bttv *btv)
 

Macro Definition Documentation

#define DEVNAME   "bttv-input"

Definition at line 47 of file bttv-input.c.

#define dprintk (   fmt,
  ... 
)
Value:
do { \
if (ir_debug >= 1) \
pr_info(fmt, ##__VA_ARGS__); \
} while (0)

Definition at line 41 of file bttv-input.c.

#define MODULE_NAME   "bttv"

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

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 21 of file bttv-input.c.

#define RC5_ADDR (   x)    (((x) >> 6) & 31)

Definition at line 159 of file bttv-input.c.

#define RC5_INSTR (   x)    ((x) & 63)

Definition at line 160 of file bttv-input.c.

#define RC5_START (   x)    (((x) >> 12) & 3)

Definition at line 157 of file bttv-input.c.

#define RC5_TOGGLE (   x)    (((x) >> 11) & 1)

Definition at line 158 of file bttv-input.c.

Function Documentation

void bttv_input_fini ( struct bttv *  btv)

Definition at line 580 of file bttv-input.c.

int bttv_input_init ( struct bttv *  btv)

Definition at line 422 of file bttv-input.c.

void bttv_input_irq ( struct bttv *  btv)

Definition at line 128 of file bttv-input.c.

int __devexit fini_bttv_i2c ( struct bttv *  btv)

Definition at line 414 of file bttv-input.c.

void __devinit init_bttv_i2c_ir ( struct bttv *  btv)

Definition at line 371 of file bttv-input.c.

module_param ( ir_debug  ,
int  ,
0644   
)
module_param ( ir_rc5_remote_gap  ,
int  ,
0644   
)