2 * ImgTec IR Raw Decoder found in PowerDown Controller.
4 * Copyright 2010-2014 Imagination Technologies Ltd.
12 #ifdef CONFIG_IR_IMG_RAW
15 * struct img_ir_priv_raw - Private driver data for raw decoder.
16 * @rdev: Raw remote control device
17 * @timer: Timer to echo samples to keep soft decoders happy.
18 * @last_status: Last raw status bits.
20 struct img_ir_priv_raw
{
22 struct timer_list timer
;
26 static inline bool img_ir_raw_enabled(struct img_ir_priv_raw
*raw
)
31 void img_ir_isr_raw(struct img_ir_priv
*priv
, u32 irq_status
);
32 void img_ir_setup_raw(struct img_ir_priv
*priv
);
33 int img_ir_probe_raw(struct img_ir_priv
*priv
);
34 void img_ir_remove_raw(struct img_ir_priv
*priv
);
38 struct img_ir_priv_raw
{
40 static inline bool img_ir_raw_enabled(struct img_ir_priv_raw
*raw
)
44 static inline void img_ir_isr_raw(struct img_ir_priv
*priv
, u32 irq_status
)
47 static inline void img_ir_setup_raw(struct img_ir_priv
*priv
)
50 static inline int img_ir_probe_raw(struct img_ir_priv
*priv
)
54 static inline void img_ir_remove_raw(struct img_ir_priv
*priv
)
58 #endif /* CONFIG_IR_IMG_RAW */
60 #endif /* _IMG_IR_RAW_H_ */