.. | .. |
---|
81 | 81 | |
---|
82 | 82 | /* infrared remote control */ |
---|
83 | 83 | struct infrared { |
---|
84 | | - u16 key_map[256]; |
---|
85 | | - struct input_dev *input_dev; |
---|
| 84 | + struct rc_dev *rcdev; |
---|
86 | 85 | char input_phys[32]; |
---|
87 | | - struct timer_list keyup_timer; |
---|
88 | | - struct tasklet_struct ir_tasklet; |
---|
89 | | - void (*ir_handler)(struct av7110 *av7110, u32 ircom); |
---|
90 | | - u32 ir_command; |
---|
91 | 86 | u32 ir_config; |
---|
92 | | - u32 device_mask; |
---|
93 | | - u8 protocol; |
---|
94 | | - u8 inversion; |
---|
95 | | - u16 last_key; |
---|
96 | | - u16 last_toggle; |
---|
97 | | - bool keypressed; |
---|
98 | 87 | }; |
---|
99 | | - |
---|
100 | 88 | |
---|
101 | 89 | /* place to store all the necessary device information */ |
---|
102 | 90 | struct av7110 { |
---|
.. | .. |
---|
304 | 292 | extern int ChangePIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, |
---|
305 | 293 | u16 subpid, u16 pcrpid); |
---|
306 | 294 | |
---|
307 | | -extern int av7110_check_ir_config(struct av7110 *av7110, int force); |
---|
308 | | -extern int av7110_ir_init(struct av7110 *av7110); |
---|
309 | | -extern void av7110_ir_exit(struct av7110 *av7110); |
---|
| 295 | +void av7110_ir_handler(struct av7110 *av7110, u32 ircom); |
---|
| 296 | +int av7110_set_ir_config(struct av7110 *av7110); |
---|
| 297 | +int av7110_ir_init(struct av7110 *av7110); |
---|
| 298 | +void av7110_ir_exit(struct av7110 *av7110); |
---|
310 | 299 | |
---|
311 | 300 | /* msp3400 i2c subaddresses */ |
---|
312 | 301 | #define MSP_WR_DEM 0x10 |
---|