cregit-Linux how code gets into the kernel

Release 4.7 drivers/media/rc/img-ir/img-ir-raw.h

/*
 * ImgTec IR Raw Decoder found in PowerDown Controller.
 *
 * Copyright 2010-2014 Imagination Technologies Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.
 */

#ifndef _IMG_IR_RAW_H_

#define _IMG_IR_RAW_H_

struct img_ir_priv;

#ifdef CONFIG_IR_IMG_RAW

/**
 * struct img_ir_priv_raw - Private driver data for raw decoder.
 * @rdev:               Raw remote control device
 * @timer:              Timer to echo samples to keep soft decoders happy.
 * @last_status:        Last raw status bits.
 */

struct img_ir_priv_raw {
	
struct rc_dev		*rdev;
	
struct timer_list	timer;
	
u32			last_status;
};


static inline bool img_ir_raw_enabled(struct img_ir_priv_raw *raw) { return raw->rdev; }

Contributors

PersonTokensPropCommitsCommitProp
james hoganjames hogan17100.00%1100.00%
Total17100.00%1100.00%

; void img_ir_isr_raw(struct img_ir_priv *priv, u32 irq_status); void img_ir_setup_raw(struct img_ir_priv *priv); int img_ir_probe_raw(struct img_ir_priv *priv); void img_ir_remove_raw(struct img_ir_priv *priv); #else struct img_ir_priv_raw { };
static inline bool img_ir_raw_enabled(struct img_ir_priv_raw *raw) { return false; }

Contributors

PersonTokensPropCommitsCommitProp
james hoganjames hogan15100.00%1100.00%
Total15100.00%1100.00%

;
static inline void img_ir_isr_raw(struct img_ir_priv *priv, u32 irq_status) { }

Contributors

PersonTokensPropCommitsCommitProp
james hoganjames hogan14100.00%1100.00%
Total14100.00%1100.00%


static inline void img_ir_setup_raw(struct img_ir_priv *priv) { }

Contributors

PersonTokensPropCommitsCommitProp
james hoganjames hogan11100.00%1100.00%
Total11100.00%1100.00%


static inline int img_ir_probe_raw(struct img_ir_priv *priv) { return -ENODEV; }

Contributors

PersonTokensPropCommitsCommitProp
james hoganjames hogan16100.00%1100.00%
Total16100.00%1100.00%


static inline void img_ir_remove_raw(struct img_ir_priv *priv) { }

Contributors

PersonTokensPropCommitsCommitProp
james hoganjames hogan11100.00%1100.00%
Total11100.00%1100.00%

#endif /* CONFIG_IR_IMG_RAW */ #endif /* _IMG_IR_RAW_H_ */

Overall Contributors

PersonTokensPropCommitsCommitProp
james hoganjames hogan168100.00%2100.00%
Total168100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}