cregit-Linux how code gets into the kernel

Release 4.16 drivers/media/common/siano/smsir.h

/*
 * SPDX-License-Identifier: GPL-2.0+
 *
 * Siano Mobile Silicon, Inc.
 * MDTV receiver kernel modules.
 * Copyright (C) 2006-2009, Uri Shkolnik
 *
 * Copyright (c) 2010 - Mauro Carvalho Chehab
 *      - Ported the driver to use rc-core
 *      - IR raw event decoding is now done at rc-core
 *      - Code almost re-written
 */

#ifndef __SMS_IR_H__

#define __SMS_IR_H__

#include <linux/input.h>
#include <media/rc-core.h>

struct smscore_device_t;


struct ir_t {
	
struct rc_dev *dev;
	
char name[40];
	
char phys[32];

	
char *rc_codes;

	
u32 timeout;
	
u32 controller;
};

#ifdef CONFIG_SMS_SIANO_RC
int sms_ir_init(struct smscore_device_t *coredev);
void sms_ir_exit(struct smscore_device_t *coredev);
void sms_ir_event(struct smscore_device_t *coredev,
			const char *buf, int len);
#else

inline static int sms_ir_init(struct smscore_device_t *coredev) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Mauro Carvalho Chehab15100.00%1100.00%
Total15100.00%1100.00%


inline static void sms_ir_exit(struct smscore_device_t *coredev) {}

Contributors

PersonTokensPropCommitsCommitProp
Mauro Carvalho Chehab11100.00%1100.00%
Total11100.00%1100.00%

;
inline static void sms_ir_event(struct smscore_device_t *coredev, const char *buf, int len) {}

Contributors

PersonTokensPropCommitsCommitProp
Mauro Carvalho Chehab19100.00%1100.00%
Total19100.00%1100.00%

; #endif #endif /* __SMS_IR_H__ */

Overall Contributors

PersonTokensPropCommitsCommitProp
Uri Shkolnik7050.00%114.29%
Mauro Carvalho Chehab6848.57%571.43%
David Härdeman21.43%114.29%
Total140100.00%7100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.