diff options
Diffstat (limited to 'include/media/ir-common.h')
-rw-r--r-- | include/media/ir-common.h | 74 |
1 files changed, 7 insertions, 67 deletions
diff --git a/include/media/ir-common.h b/include/media/ir-common.h index c66298062d39..528050e39ad9 100644 --- a/include/media/ir-common.h +++ b/include/media/ir-common.h | |||
@@ -50,6 +50,10 @@ struct card_ir { | |||
50 | struct ir_input_state ir; | 50 | struct ir_input_state ir; |
51 | char name[32]; | 51 | char name[32]; |
52 | char phys[32]; | 52 | char phys[32]; |
53 | int users; | ||
54 | |||
55 | u32 running:1; | ||
56 | struct ir_dev_props props; | ||
53 | 57 | ||
54 | /* Usual gpio signalling */ | 58 | /* Usual gpio signalling */ |
55 | 59 | ||
@@ -79,6 +83,9 @@ struct card_ir { | |||
79 | /* NEC decoding */ | 83 | /* NEC decoding */ |
80 | u32 nec_gpio; | 84 | u32 nec_gpio; |
81 | struct tasklet_struct tlet; | 85 | struct tasklet_struct tlet; |
86 | |||
87 | /* IR core raw decoding */ | ||
88 | u32 raw_decode; | ||
82 | }; | 89 | }; |
83 | 90 | ||
84 | /* Routines from ir-functions.c */ | 91 | /* Routines from ir-functions.c */ |
@@ -97,71 +104,4 @@ u32 ir_rc5_decode(unsigned int code); | |||
97 | void ir_rc5_timer_end(unsigned long data); | 104 | void ir_rc5_timer_end(unsigned long data); |
98 | void ir_rc5_timer_keyup(unsigned long data); | 105 | void ir_rc5_timer_keyup(unsigned long data); |
99 | 106 | ||
100 | /* scancode->keycode map tables from ir-keymaps.c */ | ||
101 | |||
102 | extern struct ir_scancode_table ir_codes_empty_table; | ||
103 | extern struct ir_scancode_table ir_codes_avermedia_table; | ||
104 | extern struct ir_scancode_table ir_codes_avermedia_dvbt_table; | ||
105 | extern struct ir_scancode_table ir_codes_avermedia_m135a_table; | ||
106 | extern struct ir_scancode_table ir_codes_avermedia_cardbus_table; | ||
107 | extern struct ir_scancode_table ir_codes_apac_viewcomp_table; | ||
108 | extern struct ir_scancode_table ir_codes_pixelview_table; | ||
109 | extern struct ir_scancode_table ir_codes_pixelview_new_table; | ||
110 | extern struct ir_scancode_table ir_codes_nebula_table; | ||
111 | extern struct ir_scancode_table ir_codes_dntv_live_dvb_t_table; | ||
112 | extern struct ir_scancode_table ir_codes_iodata_bctv7e_table; | ||
113 | extern struct ir_scancode_table ir_codes_adstech_dvb_t_pci_table; | ||
114 | extern struct ir_scancode_table ir_codes_msi_tvanywhere_table; | ||
115 | extern struct ir_scancode_table ir_codes_cinergy_1400_table; | ||
116 | extern struct ir_scancode_table ir_codes_avertv_303_table; | ||
117 | extern struct ir_scancode_table ir_codes_dntv_live_dvbt_pro_table; | ||
118 | extern struct ir_scancode_table ir_codes_em_terratec_table; | ||
119 | extern struct ir_scancode_table ir_codes_pinnacle_grey_table; | ||
120 | extern struct ir_scancode_table ir_codes_flyvideo_table; | ||
121 | extern struct ir_scancode_table ir_codes_flydvb_table; | ||
122 | extern struct ir_scancode_table ir_codes_cinergy_table; | ||
123 | extern struct ir_scancode_table ir_codes_eztv_table; | ||
124 | extern struct ir_scancode_table ir_codes_avermedia_table; | ||
125 | extern struct ir_scancode_table ir_codes_videomate_tv_pvr_table; | ||
126 | extern struct ir_scancode_table ir_codes_manli_table; | ||
127 | extern struct ir_scancode_table ir_codes_gotview7135_table; | ||
128 | extern struct ir_scancode_table ir_codes_purpletv_table; | ||
129 | extern struct ir_scancode_table ir_codes_pctv_sedna_table; | ||
130 | extern struct ir_scancode_table ir_codes_pv951_table; | ||
131 | extern struct ir_scancode_table ir_codes_rc5_tv_table; | ||
132 | extern struct ir_scancode_table ir_codes_winfast_table; | ||
133 | extern struct ir_scancode_table ir_codes_pinnacle_color_table; | ||
134 | extern struct ir_scancode_table ir_codes_hauppauge_new_table; | ||
135 | extern struct ir_scancode_table ir_codes_rc5_hauppauge_new_table; | ||
136 | extern struct ir_scancode_table ir_codes_npgtech_table; | ||
137 | extern struct ir_scancode_table ir_codes_norwood_table; | ||
138 | extern struct ir_scancode_table ir_codes_proteus_2309_table; | ||
139 | extern struct ir_scancode_table ir_codes_budget_ci_old_table; | ||
140 | extern struct ir_scancode_table ir_codes_asus_pc39_table; | ||
141 | extern struct ir_scancode_table ir_codes_encore_enltv_table; | ||
142 | extern struct ir_scancode_table ir_codes_encore_enltv2_table; | ||
143 | extern struct ir_scancode_table ir_codes_tt_1500_table; | ||
144 | extern struct ir_scancode_table ir_codes_fusionhdtv_mce_table; | ||
145 | extern struct ir_scancode_table ir_codes_behold_table; | ||
146 | extern struct ir_scancode_table ir_codes_behold_columbus_table; | ||
147 | extern struct ir_scancode_table ir_codes_pinnacle_pctv_hd_table; | ||
148 | extern struct ir_scancode_table ir_codes_genius_tvgo_a11mce_table; | ||
149 | extern struct ir_scancode_table ir_codes_powercolor_real_angel_table; | ||
150 | extern struct ir_scancode_table ir_codes_avermedia_a16d_table; | ||
151 | extern struct ir_scancode_table ir_codes_encore_enltv_fm53_table; | ||
152 | extern struct ir_scancode_table ir_codes_real_audio_220_32_keys_table; | ||
153 | extern struct ir_scancode_table ir_codes_msi_tvanywhere_plus_table; | ||
154 | extern struct ir_scancode_table ir_codes_ati_tv_wonder_hd_600_table; | ||
155 | extern struct ir_scancode_table ir_codes_kworld_plus_tv_analog_table; | ||
156 | extern struct ir_scancode_table ir_codes_kaiomy_table; | ||
157 | extern struct ir_scancode_table ir_codes_dm1105_nec_table; | ||
158 | extern struct ir_scancode_table ir_codes_tevii_nec_table; | ||
159 | extern struct ir_scancode_table ir_codes_tbs_nec_table; | ||
160 | extern struct ir_scancode_table ir_codes_evga_indtube_table; | ||
161 | extern struct ir_scancode_table ir_codes_terratec_cinergy_xs_table; | ||
162 | extern struct ir_scancode_table ir_codes_videomate_s350_table; | ||
163 | extern struct ir_scancode_table ir_codes_gadmei_rm008z_table; | ||
164 | extern struct ir_scancode_table ir_codes_nec_terratec_cinergy_xs_table; | ||
165 | extern struct ir_scancode_table ir_codes_winfast_usbii_deluxe_table; | ||
166 | extern struct ir_scancode_table ir_codes_kworld_315u_table; | ||
167 | #endif | 107 | #endif |