/****************************************************************12Siano Mobile Silicon, Inc.3MDTV receiver kernel modules.4Copyright (C) 2006-2009, Uri Shkolnik56Copyright (c) 2010 - Mauro Carvalho Chehab7- Ported the driver to use rc-core8- IR raw event decoding is now done at rc-core9- Code almost re-written1011This program is free software: you can redistribute it and/or modify12it under the terms of the GNU General Public License as published by13the Free Software Foundation, either version 2 of the License, or14(at your option) any later version.1516This program is distributed in the hope that it will be useful,17but WITHOUT ANY WARRANTY; without even the implied warranty of18MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the19GNU General Public License for more details.2021You should have received a copy of the GNU General Public License22along with this program. If not, see <http://www.gnu.org/licenses/>.2324****************************************************************/2526#ifndef __SMS_IR_H__27#define __SMS_IR_H__2829#include <linux/input.h>30#include <media/rc-core.h>3132#define IR_DEFAULT_TIMEOUT 1003334struct smscore_device_t;3536struct ir_t {37struct rc_dev *dev;38char name[40];39char phys[32];4041char *rc_codes;42u64 protocol;4344u32 timeout;45u32 controller;46};4748int sms_ir_init(struct smscore_device_t *coredev);49void sms_ir_exit(struct smscore_device_t *coredev);50void sms_ir_event(struct smscore_device_t *coredev,51const char *buf, int len);5253#endif /* __SMS_IR_H__ */54555657