• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef _DVBFRONTEND_H_
20 #define _DVBFRONTEND_H_
21 #include <linux/types.h>
22 typedef enum fe_type {
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24  FE_QPSK,
25  FE_QAM,
26  FE_OFDM,
27  FE_ATSC
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 } fe_type_t;
30 typedef enum fe_caps {
31  FE_IS_STUPID = 0,
32  FE_CAN_INVERSION_AUTO = 0x1,
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34  FE_CAN_FEC_1_2 = 0x2,
35  FE_CAN_FEC_2_3 = 0x4,
36  FE_CAN_FEC_3_4 = 0x8,
37  FE_CAN_FEC_4_5 = 0x10,
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39  FE_CAN_FEC_5_6 = 0x20,
40  FE_CAN_FEC_6_7 = 0x40,
41  FE_CAN_FEC_7_8 = 0x80,
42  FE_CAN_FEC_8_9 = 0x100,
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44  FE_CAN_FEC_AUTO = 0x200,
45  FE_CAN_QPSK = 0x400,
46  FE_CAN_QAM_16 = 0x800,
47  FE_CAN_QAM_32 = 0x1000,
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49  FE_CAN_QAM_64 = 0x2000,
50  FE_CAN_QAM_128 = 0x4000,
51  FE_CAN_QAM_256 = 0x8000,
52  FE_CAN_QAM_AUTO = 0x10000,
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54  FE_CAN_TRANSMISSION_MODE_AUTO = 0x20000,
55  FE_CAN_BANDWIDTH_AUTO = 0x40000,
56  FE_CAN_GUARD_INTERVAL_AUTO = 0x80000,
57  FE_CAN_HIERARCHY_AUTO = 0x100000,
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59  FE_CAN_8VSB = 0x200000,
60  FE_CAN_16VSB = 0x400000,
61  FE_HAS_EXTENDED_CAPS = 0x800000,
62  FE_CAN_MULTISTREAM = 0x4000000,
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64  FE_CAN_TURBO_FEC = 0x8000000,
65  FE_CAN_2G_MODULATION = 0x10000000,
66  FE_NEEDS_BENDING = 0x20000000,
67  FE_CAN_RECOVER = 0x40000000,
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69  FE_CAN_MUTE_TS = 0x80000000
70 } fe_caps_t;
71 struct dvb_frontend_info {
72  char name[128];
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74  fe_type_t type;
75  __u32 frequency_min;
76  __u32 frequency_max;
77  __u32 frequency_stepsize;
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79  __u32 frequency_tolerance;
80  __u32 symbol_rate_min;
81  __u32 symbol_rate_max;
82  __u32 symbol_rate_tolerance;
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84  __u32 notifier_delay;
85  fe_caps_t caps;
86 };
87 struct dvb_diseqc_master_cmd {
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89  __u8 msg [6];
90  __u8 msg_len;
91 };
92 struct dvb_diseqc_slave_reply {
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94  __u8 msg [4];
95  __u8 msg_len;
96  int timeout;
97 };
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99 typedef enum fe_sec_voltage {
100  SEC_VOLTAGE_13,
101  SEC_VOLTAGE_18,
102  SEC_VOLTAGE_OFF
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104 } fe_sec_voltage_t;
105 typedef enum fe_sec_tone_mode {
106  SEC_TONE_ON,
107  SEC_TONE_OFF
108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109 } fe_sec_tone_mode_t;
110 typedef enum fe_sec_mini_cmd {
111  SEC_MINI_A,
112  SEC_MINI_B
113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114 } fe_sec_mini_cmd_t;
115 typedef enum fe_status {
116  FE_HAS_SIGNAL = 0x01,
117  FE_HAS_CARRIER = 0x02,
118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119  FE_HAS_VITERBI = 0x04,
120  FE_HAS_SYNC = 0x08,
121  FE_HAS_LOCK = 0x10,
122  FE_TIMEDOUT = 0x20,
123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124  FE_REINIT = 0x40,
125 } fe_status_t;
126 typedef enum fe_spectral_inversion {
127  INVERSION_OFF,
128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129  INVERSION_ON,
130  INVERSION_AUTO
131 } fe_spectral_inversion_t;
132 typedef enum fe_code_rate {
133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134  FEC_NONE = 0,
135  FEC_1_2,
136  FEC_2_3,
137  FEC_3_4,
138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139  FEC_4_5,
140  FEC_5_6,
141  FEC_6_7,
142  FEC_7_8,
143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144  FEC_8_9,
145  FEC_AUTO,
146  FEC_3_5,
147  FEC_9_10,
148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149  FEC_2_5,
150 } fe_code_rate_t;
151 typedef enum fe_modulation {
152  QPSK,
153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
154  QAM_16,
155  QAM_32,
156  QAM_64,
157  QAM_128,
158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
159  QAM_256,
160  QAM_AUTO,
161  VSB_8,
162  VSB_16,
163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
164  PSK_8,
165  APSK_16,
166  APSK_32,
167  DQPSK,
168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
169  QAM_4_NR,
170 } fe_modulation_t;
171 typedef enum fe_transmit_mode {
172  TRANSMISSION_MODE_2K,
173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174  TRANSMISSION_MODE_8K,
175  TRANSMISSION_MODE_AUTO,
176  TRANSMISSION_MODE_4K,
177  TRANSMISSION_MODE_1K,
178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179  TRANSMISSION_MODE_16K,
180  TRANSMISSION_MODE_32K,
181  TRANSMISSION_MODE_C1,
182  TRANSMISSION_MODE_C3780,
183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
184 } fe_transmit_mode_t;
185 typedef enum fe_bandwidth {
186  BANDWIDTH_8_MHZ,
187  BANDWIDTH_7_MHZ,
188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
189  BANDWIDTH_6_MHZ,
190  BANDWIDTH_AUTO,
191  BANDWIDTH_5_MHZ,
192  BANDWIDTH_10_MHZ,
193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
194  BANDWIDTH_1_712_MHZ,
195 } fe_bandwidth_t;
196 typedef enum fe_guard_interval {
197  GUARD_INTERVAL_1_32,
198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
199  GUARD_INTERVAL_1_16,
200  GUARD_INTERVAL_1_8,
201  GUARD_INTERVAL_1_4,
202  GUARD_INTERVAL_AUTO,
203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
204  GUARD_INTERVAL_1_128,
205  GUARD_INTERVAL_19_128,
206  GUARD_INTERVAL_19_256,
207  GUARD_INTERVAL_PN420,
208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
209  GUARD_INTERVAL_PN595,
210  GUARD_INTERVAL_PN945,
211 } fe_guard_interval_t;
212 typedef enum fe_hierarchy {
213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
214  HIERARCHY_NONE,
215  HIERARCHY_1,
216  HIERARCHY_2,
217  HIERARCHY_4,
218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
219  HIERARCHY_AUTO
220 } fe_hierarchy_t;
221 enum fe_interleaving {
222  INTERLEAVING_NONE,
223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
224  INTERLEAVING_AUTO,
225  INTERLEAVING_240,
226  INTERLEAVING_720,
227 };
228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
229 struct dvb_qpsk_parameters {
230  __u32 symbol_rate;
231  fe_code_rate_t fec_inner;
232 };
233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
234 struct dvb_qam_parameters {
235  __u32 symbol_rate;
236  fe_code_rate_t fec_inner;
237  fe_modulation_t modulation;
238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
239 };
240 struct dvb_vsb_parameters {
241  fe_modulation_t modulation;
242 };
243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
244 struct dvb_ofdm_parameters {
245  fe_bandwidth_t bandwidth;
246  fe_code_rate_t code_rate_HP;
247  fe_code_rate_t code_rate_LP;
248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
249  fe_modulation_t constellation;
250  fe_transmit_mode_t transmission_mode;
251  fe_guard_interval_t guard_interval;
252  fe_hierarchy_t hierarchy_information;
253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
254 };
255 struct dvb_frontend_parameters {
256  __u32 frequency;
257  fe_spectral_inversion_t inversion;
258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
259  union {
260  struct dvb_qpsk_parameters qpsk;
261  struct dvb_qam_parameters qam;
262  struct dvb_ofdm_parameters ofdm;
263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
264  struct dvb_vsb_parameters vsb;
265  } u;
266 };
267 struct dvb_frontend_event {
268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
269  fe_status_t status;
270  struct dvb_frontend_parameters parameters;
271 };
272 #define DTV_UNDEFINED 0
273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
274 #define DTV_TUNE 1
275 #define DTV_CLEAR 2
276 #define DTV_FREQUENCY 3
277 #define DTV_MODULATION 4
278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
279 #define DTV_BANDWIDTH_HZ 5
280 #define DTV_INVERSION 6
281 #define DTV_DISEQC_MASTER 7
282 #define DTV_SYMBOL_RATE 8
283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
284 #define DTV_INNER_FEC 9
285 #define DTV_VOLTAGE 10
286 #define DTV_TONE 11
287 #define DTV_PILOT 12
288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
289 #define DTV_ROLLOFF 13
290 #define DTV_DISEQC_SLAVE_REPLY 14
291 #define DTV_FE_CAPABILITY_COUNT 15
292 #define DTV_FE_CAPABILITY 16
293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
294 #define DTV_DELIVERY_SYSTEM 17
295 #define DTV_ISDBT_PARTIAL_RECEPTION 18
296 #define DTV_ISDBT_SOUND_BROADCASTING 19
297 #define DTV_ISDBT_SB_SUBCHANNEL_ID 20
298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
299 #define DTV_ISDBT_SB_SEGMENT_IDX 21
300 #define DTV_ISDBT_SB_SEGMENT_COUNT 22
301 #define DTV_ISDBT_LAYERA_FEC 23
302 #define DTV_ISDBT_LAYERA_MODULATION 24
303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
304 #define DTV_ISDBT_LAYERA_SEGMENT_COUNT 25
305 #define DTV_ISDBT_LAYERA_TIME_INTERLEAVING 26
306 #define DTV_ISDBT_LAYERB_FEC 27
307 #define DTV_ISDBT_LAYERB_MODULATION 28
308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
309 #define DTV_ISDBT_LAYERB_SEGMENT_COUNT 29
310 #define DTV_ISDBT_LAYERB_TIME_INTERLEAVING 30
311 #define DTV_ISDBT_LAYERC_FEC 31
312 #define DTV_ISDBT_LAYERC_MODULATION 32
313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
314 #define DTV_ISDBT_LAYERC_SEGMENT_COUNT 33
315 #define DTV_ISDBT_LAYERC_TIME_INTERLEAVING 34
316 #define DTV_API_VERSION 35
317 #define DTV_CODE_RATE_HP 36
318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
319 #define DTV_CODE_RATE_LP 37
320 #define DTV_GUARD_INTERVAL 38
321 #define DTV_TRANSMISSION_MODE 39
322 #define DTV_HIERARCHY 40
323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
324 #define DTV_ISDBT_LAYER_ENABLED 41
325 #define DTV_STREAM_ID 42
326 #define DTV_ISDBS_TS_ID_LEGACY DTV_STREAM_ID
327 #define DTV_DVBT2_PLP_ID_LEGACY 43
328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
329 #define DTV_ENUM_DELSYS 44
330 #define DTV_ATSCMH_FIC_VER 45
331 #define DTV_ATSCMH_PARADE_ID 46
332 #define DTV_ATSCMH_NOG 47
333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
334 #define DTV_ATSCMH_TNOG 48
335 #define DTV_ATSCMH_SGN 49
336 #define DTV_ATSCMH_PRC 50
337 #define DTV_ATSCMH_RS_FRAME_MODE 51
338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
339 #define DTV_ATSCMH_RS_FRAME_ENSEMBLE 52
340 #define DTV_ATSCMH_RS_CODE_MODE_PRI 53
341 #define DTV_ATSCMH_RS_CODE_MODE_SEC 54
342 #define DTV_ATSCMH_SCCC_BLOCK_MODE 55
343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
344 #define DTV_ATSCMH_SCCC_CODE_MODE_A 56
345 #define DTV_ATSCMH_SCCC_CODE_MODE_B 57
346 #define DTV_ATSCMH_SCCC_CODE_MODE_C 58
347 #define DTV_ATSCMH_SCCC_CODE_MODE_D 59
348 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
349 #define DTV_INTERLEAVING 60
350 #define DTV_LNA 61
351 #define DTV_STAT_SIGNAL_STRENGTH 62
352 #define DTV_STAT_CNR 63
353 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
354 #define DTV_STAT_PRE_ERROR_BIT_COUNT 64
355 #define DTV_STAT_PRE_TOTAL_BIT_COUNT 65
356 #define DTV_STAT_POST_ERROR_BIT_COUNT 66
357 #define DTV_STAT_POST_TOTAL_BIT_COUNT 67
358 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
359 #define DTV_STAT_ERROR_BLOCK_COUNT 68
360 #define DTV_STAT_TOTAL_BLOCK_COUNT 69
361 #define DTV_MAX_COMMAND DTV_STAT_TOTAL_BLOCK_COUNT
362 typedef enum fe_pilot {
363 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
364  PILOT_ON,
365  PILOT_OFF,
366  PILOT_AUTO,
367 } fe_pilot_t;
368 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
369 typedef enum fe_rolloff {
370  ROLLOFF_35,
371  ROLLOFF_20,
372  ROLLOFF_25,
373 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
374  ROLLOFF_AUTO,
375 } fe_rolloff_t;
376 typedef enum fe_delivery_system {
377  SYS_UNDEFINED,
378 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
379  SYS_DVBC_ANNEX_A,
380  SYS_DVBC_ANNEX_B,
381  SYS_DVBT,
382  SYS_DSS,
383 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
384  SYS_DVBS,
385  SYS_DVBS2,
386  SYS_DVBH,
387  SYS_ISDBT,
388 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
389  SYS_ISDBS,
390  SYS_ISDBC,
391  SYS_ATSC,
392  SYS_ATSCMH,
393 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
394  SYS_DTMB,
395  SYS_CMMB,
396  SYS_DAB,
397  SYS_DVBT2,
398 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
399  SYS_TURBO,
400  SYS_DVBC_ANNEX_C,
401 } fe_delivery_system_t;
402 #define SYS_DVBC_ANNEX_AC SYS_DVBC_ANNEX_A
403 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
404 #define SYS_DMBTH SYS_DTMB
405 enum atscmh_sccc_block_mode {
406  ATSCMH_SCCC_BLK_SEP = 0,
407  ATSCMH_SCCC_BLK_COMB = 1,
408 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
409  ATSCMH_SCCC_BLK_RES = 2,
410 };
411 enum atscmh_sccc_code_mode {
412  ATSCMH_SCCC_CODE_HLF = 0,
413 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
414  ATSCMH_SCCC_CODE_QTR = 1,
415  ATSCMH_SCCC_CODE_RES = 2,
416 };
417 enum atscmh_rs_frame_ensemble {
418 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
419  ATSCMH_RSFRAME_ENS_PRI = 0,
420  ATSCMH_RSFRAME_ENS_SEC = 1,
421 };
422 enum atscmh_rs_frame_mode {
423 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
424  ATSCMH_RSFRAME_PRI_ONLY = 0,
425  ATSCMH_RSFRAME_PRI_SEC = 1,
426  ATSCMH_RSFRAME_RES = 2,
427 };
428 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
429 enum atscmh_rs_code_mode {
430  ATSCMH_RSCODE_211_187 = 0,
431  ATSCMH_RSCODE_223_187 = 1,
432  ATSCMH_RSCODE_235_187 = 2,
433 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
434  ATSCMH_RSCODE_RES = 3,
435 };
436 #define NO_STREAM_ID_FILTER (~0U)
437 #define LNA_AUTO (~0U)
438 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
439 struct dtv_cmds_h {
440  char *name;
441  __u32 cmd;
442  __u32 set:1;
443 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
444  __u32 buffer:1;
445  __u32 reserved:30;
446 };
447 enum fecap_scale_params {
448 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
449  FE_SCALE_NOT_AVAILABLE = 0,
450  FE_SCALE_DECIBEL,
451  FE_SCALE_RELATIVE,
452  FE_SCALE_COUNTER
453 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
454 };
455 struct dtv_stats {
456  __u8 scale;
457  union {
458 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
459  __u64 uvalue;
460  __s64 svalue;
461  };
462 } __attribute__ ((packed));
463 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
464 #define MAX_DTV_STATS 4
465 struct dtv_fe_stats {
466  __u8 len;
467  struct dtv_stats stat[MAX_DTV_STATS];
468 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
469 } __attribute__ ((packed));
470 struct dtv_property {
471  __u32 cmd;
472  __u32 reserved[3];
473 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
474  union {
475  __u32 data;
476  struct dtv_fe_stats st;
477  struct {
478 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
479  __u8 data[32];
480  __u32 len;
481  __u32 reserved1[3];
482  void *reserved2;
483 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
484  } buffer;
485  } u;
486  int result;
487 } __attribute__ ((packed));
488 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
489 #define DTV_IOCTL_MAX_MSGS 64
490 struct dtv_properties {
491  __u32 num;
492  struct dtv_property *props;
493 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
494 };
495 #define FE_SET_PROPERTY _IOW('o', 82, struct dtv_properties)
496 #define FE_GET_PROPERTY _IOR('o', 83, struct dtv_properties)
497 #define FE_TUNE_MODE_ONESHOT 0x01
498 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
499 #define FE_GET_INFO _IOR('o', 61, struct dvb_frontend_info)
500 #define FE_DISEQC_RESET_OVERLOAD _IO('o', 62)
501 #define FE_DISEQC_SEND_MASTER_CMD _IOW('o', 63, struct dvb_diseqc_master_cmd)
502 #define FE_DISEQC_RECV_SLAVE_REPLY _IOR('o', 64, struct dvb_diseqc_slave_reply)
503 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
504 #define FE_DISEQC_SEND_BURST _IO('o', 65)
505 #define FE_SET_TONE _IO('o', 66)
506 #define FE_SET_VOLTAGE _IO('o', 67)
507 #define FE_ENABLE_HIGH_LNB_VOLTAGE _IO('o', 68)
508 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
509 #define FE_READ_STATUS _IOR('o', 69, fe_status_t)
510 #define FE_READ_BER _IOR('o', 70, __u32)
511 #define FE_READ_SIGNAL_STRENGTH _IOR('o', 71, __u16)
512 #define FE_READ_SNR _IOR('o', 72, __u16)
513 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
514 #define FE_READ_UNCORRECTED_BLOCKS _IOR('o', 73, __u32)
515 #define FE_SET_FRONTEND _IOW('o', 76, struct dvb_frontend_parameters)
516 #define FE_GET_FRONTEND _IOR('o', 77, struct dvb_frontend_parameters)
517 #define FE_SET_FRONTEND_TUNE_MODE _IO('o', 81)
518 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
519 #define FE_GET_EVENT _IOR('o', 78, struct dvb_frontend_event)
520 #define FE_DISHNETWORK_SEND_LEGACY_CMD _IO('o', 80)
521 #endif
522