#include "cx88.h"
#include <linux/init.h>
#include <linux/hrtimer.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <media/rc-core.h>
#define MODULE_NAME …
struct cx88_IR { … };
static unsigned int ir_samplerate = …;
module_param(ir_samplerate, uint, 0444);
MODULE_PARM_DESC(…) …;
static int ir_debug;
module_param(ir_debug, int, 0644);
MODULE_PARM_DESC(…) …;
#define ir_dprintk(fmt, arg...) …
#define dprintk(fmt, arg...) …
static void cx88_ir_handle_key(struct cx88_IR *ir)
{ … }
static enum hrtimer_restart cx88_ir_work(struct hrtimer *timer)
{ … }
static int __cx88_ir_start(void *priv)
{ … }
static void __cx88_ir_stop(void *priv)
{ … }
int cx88_ir_start(struct cx88_core *core)
{ … }
EXPORT_SYMBOL(…);
void cx88_ir_stop(struct cx88_core *core)
{ … }
EXPORT_SYMBOL(…);
static int cx88_ir_open(struct rc_dev *rc)
{ … }
static void cx88_ir_close(struct rc_dev *rc)
{ … }
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)
{ … }
static int get_key_pvr2000(struct IR_i2c *ir, enum rc_proto *protocol,
u32 *scancode, u8 *toggle)
{ … }
void cx88_i2c_init_ir(struct cx88_core *core)
{ … }
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;