// SPDX-License-Identifier: GPL-2.0-or-later /* * FireDTV driver (formerly known as FireSAT) * * Copyright (C) 2004 Andreas Monitzer <[email protected]> */ #include <linux/bitops.h> #include <linux/input.h> #include <linux/kernel.h> #include <linux/slab.h> #include <linux/string.h> #include <linux/types.h> #include <linux/workqueue.h> #include "firedtv.h" /* fixed table with older keycodes, geared towards MythTV */ static const u16 oldtable[] = …; /* user-modifiable table for a remote as sold in 2008 */ static const u16 keytable[] = …; int fdtv_register_rc(struct firedtv *fdtv, struct device *dev) { … } void fdtv_unregister_rc(struct firedtv *fdtv) { … } void fdtv_handle_rc(struct firedtv *fdtv, unsigned int code) { … }