linux/drivers/media/pci/bt8xx/bttv-input.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *
 * Copyright (c) 2003 Gerd Knorr
 * Copyright (c) 2003 Pavel Machek
 */

#define pr_fmt(fmt)

#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"


static int ir_debug;
module_param(ir_debug, int, 0644);

static int ir_rc5_remote_gap =;
module_param(ir_rc5_remote_gap, int, 0644);

#undef dprintk
#define dprintk(fmt, ...)

#define DEVNAME

#define MODULE_NAME

/* ---------------------------------------------------------------------- */

static void ir_handle_key(struct bttv *btv)
{}

static void ir_enltv_handle_key(struct bttv *btv)
{}

static int bttv_rc5_irq(struct bttv *btv);

void bttv_input_irq(struct bttv *btv)
{}

static void bttv_input_timer(struct timer_list *t)
{}

/*
 * FIXME: Nebula digi uses the legacy way to decode RC5, instead of relying
 * on the rc-core way. As we need to be sure that both IRQ transitions are
 * properly triggered, Better to touch it only with this hardware for
 * testing.
 */

#define RC5_START(x)
#define RC5_TOGGLE(x)
#define RC5_ADDR(x)
#define RC5_INSTR(x)

/* decode raw bit pattern to RC5 code */
static u32 bttv_rc5_decode(unsigned int code)
{}

static void bttv_rc5_timer_end(struct timer_list *t)
{}

static int bttv_rc5_irq(struct bttv *btv)
{}

/* ---------------------------------------------------------------------- */

static void bttv_ir_start(struct bttv_ir *ir)
{}

static void bttv_ir_stop(struct bttv *btv)
{}

/*
 * Get_key functions used by I2C remotes
 */

static int get_key_pv951(struct IR_i2c *ir, enum rc_proto *protocol,
			 u32 *scancode, u8 *toggle)
{}

/* Instantiate the I2C IR receiver device, if present */
void init_bttv_i2c_ir(struct bttv *btv)
{}

int bttv_input_init(struct bttv *btv)
{}

void bttv_input_fini(struct bttv *btv)
{}