Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
rc-core-priv.h File Reference
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <media/rc-core.h>

Go to the source code of this file.

Data Structures

struct  ir_raw_handler
 
struct  ir_raw_event_ctrl
 
struct  ir_raw_event_ctrl::nec_dec
 
struct  ir_raw_event_ctrl::rc5_dec
 
struct  ir_raw_event_ctrl::rc6_dec
 
struct  ir_raw_event_ctrl::sony_dec
 
struct  ir_raw_event_ctrl::jvc_dec
 
struct  ir_raw_event_ctrl::rc5_sz_dec
 
struct  ir_raw_event_ctrl::sanyo_dec
 
struct  ir_raw_event_ctrl::mce_kbd_dec
 
struct  ir_raw_event_ctrl::lirc_codec
 

Macros

#define TO_US(duration)   DIV_ROUND_CLOSEST((duration), 1000)
 
#define TO_STR(is_pulse)   ((is_pulse) ? "pulse" : "space")
 

Functions

u64 ir_raw_get_allowed_protocols (void)
 
int ir_raw_event_register (struct rc_dev *dev)
 
void ir_raw_event_unregister (struct rc_dev *dev)
 
int ir_raw_handler_register (struct ir_raw_handler *ir_raw_handler)
 
void ir_raw_handler_unregister (struct ir_raw_handler *ir_raw_handler)
 
void ir_raw_init (void)
 

Macro Definition Documentation

#define TO_STR (   is_pulse)    ((is_pulse) ? "pulse" : "space")

Definition at line 147 of file rc-core-priv.h.

#define TO_US (   duration)    DIV_ROUND_CLOSEST((duration), 1000)

Definition at line 146 of file rc-core-priv.h.

Function Documentation

int ir_raw_event_register ( struct rc_dev dev)

Definition at line 251 of file ir-raw.c.

void ir_raw_event_unregister ( struct rc_dev dev)

Definition at line 295 of file ir-raw.c.

u64 ir_raw_get_allowed_protocols ( void  )

Definition at line 239 of file ir-raw.c.

int ir_raw_handler_register ( struct ir_raw_handler ir_raw_handler)

Definition at line 320 of file ir-raw.c.

void ir_raw_handler_unregister ( struct ir_raw_handler ir_raw_handler)

Definition at line 336 of file ir-raw.c.

void ir_raw_init ( void  )

Definition at line 370 of file ir-raw.c.