#include <linux/module.h>
#include "rc-core-priv.h"
#define MCIR2_UNIT …
#define MCIR2_HEADER_NBITS …
#define MCIR2_MOUSE_NBITS …
#define MCIR2_KEYBOARD_NBITS …
#define MCIR2_PREFIX_PULSE …
#define MCIR2_PREFIX_SPACE …
#define MCIR2_MAX_LEN …
#define MCIR2_BIT_START …
#define MCIR2_BIT_END …
#define MCIR2_BIT_0 …
#define MCIR2_BIT_SET …
#define MCIR2_MODE_MASK …
#define MCIR2_KEYBOARD_HEADER …
#define MCIR2_MOUSE_HEADER …
#define MCIR2_MASK_KEYS_START …
enum mce_kbd_mode { … };
enum mce_kbd_state { … };
static unsigned char kbd_keycodes[256] = …;
static void mce_kbd_rx_timeout(struct timer_list *t)
{ … }
static enum mce_kbd_mode mce_kbd_mode(struct mce_kbd_dec *data)
{ … }
static void ir_mce_kbd_process_keyboard_data(struct rc_dev *dev, u32 scancode)
{ … }
static void ir_mce_kbd_process_mouse_data(struct rc_dev *dev, u32 scancode)
{ … }
static int ir_mce_kbd_decode(struct rc_dev *dev, struct ir_raw_event ev)
{ … }
static int ir_mce_kbd_register(struct rc_dev *dev)
{ … }
static int ir_mce_kbd_unregister(struct rc_dev *dev)
{ … }
static const struct ir_raw_timings_manchester ir_mce_kbd_timings = …;
static int ir_mce_kbd_encode(enum rc_proto protocol, u32 scancode,
struct ir_raw_event *events, unsigned int max)
{ … }
static struct ir_raw_handler mce_kbd_handler = …;
static int __init ir_mce_kbd_decode_init(void)
{ … }
static void __exit ir_mce_kbd_decode_exit(void)
{ … }
module_init(…) …;
module_exit(ir_mce_kbd_decode_exit);
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;