// SPDX-License-Identifier: GPL-2.0-or-later /* * Driver for the Conexant CX23885/7/8 PCIe bridge * * Infrared remote control input device * * Most of this file is * * Copyright (C) 2009 Andy Walls <[email protected]> * * However, the cx23885_input_{init,fini} functions contained herein are * derived from Linux kernel files linux/media/video/.../...-input.c marked as: * * Copyright (C) 2008 <srinivasa.deevi at conexant dot com> * Copyright (C) 2005 Ludovico Cavedon <[email protected]> * Markus Rechberger <[email protected]> * Mauro Carvalho Chehab <[email protected]> * Sascha Sommer <[email protected]> * Copyright (C) 2004, 2005 Chris Pascoe * Copyright (C) 2003, 2004 Gerd Knorr * Copyright (C) 2003 Pavel Machek */ #include "cx23885.h" #include "cx23885-input.h" #include <linux/slab.h> #include <media/rc-core.h> #include <media/v4l2-subdev.h> #define MODULE_NAME … static void cx23885_input_process_measurements(struct cx23885_dev *dev, bool overrun) { … } void cx23885_input_rx_work_handler(struct cx23885_dev *dev, u32 events) { … } static int cx23885_input_ir_start(struct cx23885_dev *dev) { … } static int cx23885_input_ir_open(struct rc_dev *rc) { … } static void cx23885_input_ir_stop(struct cx23885_dev *dev) { … } static void cx23885_input_ir_close(struct rc_dev *rc) { … } int cx23885_input_init(struct cx23885_dev *dev) { … } void cx23885_input_fini(struct cx23885_dev *dev) { … }