doc-rst: linux_tv: fix remaining lack of escapes
[deliverable/linux.git] / Documentation / linux_tv / frontend.h.rst
CommitLineData
5377d91f
MH
1.. -*- coding: utf-8; mode: rst -*-
2
3file: frontend.h
4================
5
6.. code-block:: c
7
8 /*
9 * frontend.h
10 *
11 * Copyright (C) 2000 Marcus Metzler <marcus@convergence.de>
12 * Ralph Metzler <ralph@convergence.de>
13 * Holger Waechtler <holger@convergence.de>
14 * Andre Draszik <ad@convergence.de>
15 * for convergence integrated media GmbH
16 *
17 * This program is free software; you can redistribute it and/or
18 * modify it under the terms of the GNU Lesser General Public License
19 * as published by the Free Software Foundation; either version 2.1
20 * of the License, or (at your option) any later version.
21 *
22 * This program is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU General Public License for more details.
26 *
27 * You should have received a copy of the GNU Lesser General Public License
28 * along with this program; if not, write to the Free Software
29 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
30 *
31 */
32
33 #ifndef _DVBFRONTEND_H_
34 #define _DVBFRONTEND_H_
35
36 #include <linux/types.h>
37
38 enum fe_type {
39 FE_QPSK,
40 FE_QAM,
41 FE_OFDM,
42 FE_ATSC
43 };
44
45 enum fe_caps {
46 FE_IS_STUPID = 0,
47 FE_CAN_INVERSION_AUTO = 0x1,
48 FE_CAN_FEC_1_2 = 0x2,
49 FE_CAN_FEC_2_3 = 0x4,
50 FE_CAN_FEC_3_4 = 0x8,
51 FE_CAN_FEC_4_5 = 0x10,
52 FE_CAN_FEC_5_6 = 0x20,
53 FE_CAN_FEC_6_7 = 0x40,
54 FE_CAN_FEC_7_8 = 0x80,
55 FE_CAN_FEC_8_9 = 0x100,
56 FE_CAN_FEC_AUTO = 0x200,
57 FE_CAN_QPSK = 0x400,
58 FE_CAN_QAM_16 = 0x800,
59 FE_CAN_QAM_32 = 0x1000,
60 FE_CAN_QAM_64 = 0x2000,
61 FE_CAN_QAM_128 = 0x4000,
62 FE_CAN_QAM_256 = 0x8000,
63 FE_CAN_QAM_AUTO = 0x10000,
64 FE_CAN_TRANSMISSION_MODE_AUTO = 0x20000,
65 FE_CAN_BANDWIDTH_AUTO = 0x40000,
66 FE_CAN_GUARD_INTERVAL_AUTO = 0x80000,
67 FE_CAN_HIERARCHY_AUTO = 0x100000,
68 FE_CAN_8VSB = 0x200000,
69 FE_CAN_16VSB = 0x400000,
70 FE_HAS_EXTENDED_CAPS = 0x800000, /* We need more bitspace for newer APIs, indicate this. */
71 FE_CAN_MULTISTREAM = 0x4000000, /* frontend supports multistream filtering */
72 FE_CAN_TURBO_FEC = 0x8000000, /* frontend supports "turbo fec modulation" */
73 FE_CAN_2G_MODULATION = 0x10000000, /* frontend supports "2nd generation modulation" (DVB-S2) */
74 FE_NEEDS_BENDING = 0x20000000, /* not supported anymore, don't use (frontend requires frequency bending) */
75 FE_CAN_RECOVER = 0x40000000, /* frontend can recover from a cable unplug automatically */
76 FE_CAN_MUTE_TS = 0x80000000 /* frontend can stop spurious TS data output */
77 };
78
79 struct dvb_frontend_info {
80 char name[128];
81 enum fe_type type; /* DEPRECATED. Use DTV_ENUM_DELSYS instead */
82 __u32 frequency_min;
83 __u32 frequency_max;
84 __u32 frequency_stepsize;
85 __u32 frequency_tolerance;
86 __u32 symbol_rate_min;
87 __u32 symbol_rate_max;
88 __u32 symbol_rate_tolerance; /* ppm */
89 __u32 notifier_delay; /* DEPRECATED */
90 enum fe_caps caps;
91 };
92
93
94 /**
95 * Check out the DiSEqC bus spec available on http://www.eutelsat.org/ for
96 * the meaning of this struct...
97 */
98 struct dvb_diseqc_master_cmd {
99 __u8 msg [6]; /* { framing, address, command, data [3] } */
100 __u8 msg_len; /* valid values are 3...6 */
101 };
102
103 struct dvb_diseqc_slave_reply {
104 __u8 msg [4]; /* { framing, data [3] } */
105 __u8 msg_len; /* valid values are 0...4, 0 means no msg */
106 int timeout; /* return from ioctl after timeout ms with */
107 }; /* errorcode when no message was received */
108
109 enum fe_sec_voltage {
110 SEC_VOLTAGE_13,
111 SEC_VOLTAGE_18,
112 SEC_VOLTAGE_OFF
113 };
114
115 enum fe_sec_tone_mode {
116 SEC_TONE_ON,
117 SEC_TONE_OFF
118 };
119
120 enum fe_sec_mini_cmd {
121 SEC_MINI_A,
122 SEC_MINI_B
123 };
124
125 /**
126 * enum fe_status - enumerates the possible frontend status
127 * @FE_HAS_SIGNAL: found something above the noise level
128 * @FE_HAS_CARRIER: found a DVB signal
129 * @FE_HAS_VITERBI: FEC is stable
130 * @FE_HAS_SYNC: found sync bytes
131 * @FE_HAS_LOCK: everything's working
132 * @FE_TIMEDOUT: no lock within the last ~2 seconds
133 * @FE_REINIT: frontend was reinitialized, application is recommended
134 * to reset DiSEqC, tone and parameters
135 */
136 enum fe_status {
137 FE_HAS_SIGNAL = 0x01,
138 FE_HAS_CARRIER = 0x02,
139 FE_HAS_VITERBI = 0x04,
140 FE_HAS_SYNC = 0x08,
141 FE_HAS_LOCK = 0x10,
142 FE_TIMEDOUT = 0x20,
143 FE_REINIT = 0x40,
144 };
145
146 enum fe_spectral_inversion {
147 INVERSION_OFF,
148 INVERSION_ON,
149 INVERSION_AUTO
150 };
151
152 enum fe_code_rate {
153 FEC_NONE = 0,
154 FEC_1_2,
155 FEC_2_3,
156 FEC_3_4,
157 FEC_4_5,
158 FEC_5_6,
159 FEC_6_7,
160 FEC_7_8,
161 FEC_8_9,
162 FEC_AUTO,
163 FEC_3_5,
164 FEC_9_10,
165 FEC_2_5,
166 };
167
168 enum fe_modulation {
169 QPSK,
170 QAM_16,
171 QAM_32,
172 QAM_64,
173 QAM_128,
174 QAM_256,
175 QAM_AUTO,
176 VSB_8,
177 VSB_16,
178 PSK_8,
179 APSK_16,
180 APSK_32,
181 DQPSK,
182 QAM_4_NR,
183 };
184
185 enum fe_transmit_mode {
186 TRANSMISSION_MODE_2K,
187 TRANSMISSION_MODE_8K,
188 TRANSMISSION_MODE_AUTO,
189 TRANSMISSION_MODE_4K,
190 TRANSMISSION_MODE_1K,
191 TRANSMISSION_MODE_16K,
192 TRANSMISSION_MODE_32K,
193 TRANSMISSION_MODE_C1,
194 TRANSMISSION_MODE_C3780,
195 };
196
197 enum fe_guard_interval {
198 GUARD_INTERVAL_1_32,
199 GUARD_INTERVAL_1_16,
200 GUARD_INTERVAL_1_8,
201 GUARD_INTERVAL_1_4,
202 GUARD_INTERVAL_AUTO,
203 GUARD_INTERVAL_1_128,
204 GUARD_INTERVAL_19_128,
205 GUARD_INTERVAL_19_256,
206 GUARD_INTERVAL_PN420,
207 GUARD_INTERVAL_PN595,
208 GUARD_INTERVAL_PN945,
209 };
210
211 enum fe_hierarchy {
212 HIERARCHY_NONE,
213 HIERARCHY_1,
214 HIERARCHY_2,
215 HIERARCHY_4,
216 HIERARCHY_AUTO
217 };
218
219 enum fe_interleaving {
220 INTERLEAVING_NONE,
221 INTERLEAVING_AUTO,
222 INTERLEAVING_240,
223 INTERLEAVING_720,
224 };
225
226 /* S2API Commands */
227 #define DTV_UNDEFINED 0
228 #define DTV_TUNE 1
229 #define DTV_CLEAR 2
230 #define DTV_FREQUENCY 3
231 #define DTV_MODULATION 4
232 #define DTV_BANDWIDTH_HZ 5
233 #define DTV_INVERSION 6
234 #define DTV_DISEQC_MASTER 7
235 #define DTV_SYMBOL_RATE 8
236 #define DTV_INNER_FEC 9
237 #define DTV_VOLTAGE 10
238 #define DTV_TONE 11
239 #define DTV_PILOT 12
240 #define DTV_ROLLOFF 13
241 #define DTV_DISEQC_SLAVE_REPLY 14
242
243 /* Basic enumeration set for querying unlimited capabilities */
244 #define DTV_FE_CAPABILITY_COUNT 15
245 #define DTV_FE_CAPABILITY 16
246 #define DTV_DELIVERY_SYSTEM 17
247
248 /* ISDB-T and ISDB-Tsb */
249 #define DTV_ISDBT_PARTIAL_RECEPTION 18
250 #define DTV_ISDBT_SOUND_BROADCASTING 19
251
252 #define DTV_ISDBT_SB_SUBCHANNEL_ID 20
253 #define DTV_ISDBT_SB_SEGMENT_IDX 21
254 #define DTV_ISDBT_SB_SEGMENT_COUNT 22
255
256 #define DTV_ISDBT_LAYERA_FEC 23
257 #define DTV_ISDBT_LAYERA_MODULATION 24
258 #define DTV_ISDBT_LAYERA_SEGMENT_COUNT 25
259 #define DTV_ISDBT_LAYERA_TIME_INTERLEAVING 26
260
261 #define DTV_ISDBT_LAYERB_FEC 27
262 #define DTV_ISDBT_LAYERB_MODULATION 28
263 #define DTV_ISDBT_LAYERB_SEGMENT_COUNT 29
264 #define DTV_ISDBT_LAYERB_TIME_INTERLEAVING 30
265
266 #define DTV_ISDBT_LAYERC_FEC 31
267 #define DTV_ISDBT_LAYERC_MODULATION 32
268 #define DTV_ISDBT_LAYERC_SEGMENT_COUNT 33
269 #define DTV_ISDBT_LAYERC_TIME_INTERLEAVING 34
270
271 #define DTV_API_VERSION 35
272
273 #define DTV_CODE_RATE_HP 36
274 #define DTV_CODE_RATE_LP 37
275 #define DTV_GUARD_INTERVAL 38
276 #define DTV_TRANSMISSION_MODE 39
277 #define DTV_HIERARCHY 40
278
279 #define DTV_ISDBT_LAYER_ENABLED 41
280
281 #define DTV_STREAM_ID 42
282 #define DTV_ISDBS_TS_ID_LEGACY DTV_STREAM_ID
283 #define DTV_DVBT2_PLP_ID_LEGACY 43
284
285 #define DTV_ENUM_DELSYS 44
286
287 /* ATSC-MH */
288 #define DTV_ATSCMH_FIC_VER 45
289 #define DTV_ATSCMH_PARADE_ID 46
290 #define DTV_ATSCMH_NOG 47
291 #define DTV_ATSCMH_TNOG 48
292 #define DTV_ATSCMH_SGN 49
293 #define DTV_ATSCMH_PRC 50
294 #define DTV_ATSCMH_RS_FRAME_MODE 51
295 #define DTV_ATSCMH_RS_FRAME_ENSEMBLE 52
296 #define DTV_ATSCMH_RS_CODE_MODE_PRI 53
297 #define DTV_ATSCMH_RS_CODE_MODE_SEC 54
298 #define DTV_ATSCMH_SCCC_BLOCK_MODE 55
299 #define DTV_ATSCMH_SCCC_CODE_MODE_A 56
300 #define DTV_ATSCMH_SCCC_CODE_MODE_B 57
301 #define DTV_ATSCMH_SCCC_CODE_MODE_C 58
302 #define DTV_ATSCMH_SCCC_CODE_MODE_D 59
303
304 #define DTV_INTERLEAVING 60
305 #define DTV_LNA 61
306
307 /* Quality parameters */
308 #define DTV_STAT_SIGNAL_STRENGTH 62
309 #define DTV_STAT_CNR 63
310 #define DTV_STAT_PRE_ERROR_BIT_COUNT 64
311 #define DTV_STAT_PRE_TOTAL_BIT_COUNT 65
312 #define DTV_STAT_POST_ERROR_BIT_COUNT 66
313 #define DTV_STAT_POST_TOTAL_BIT_COUNT 67
314 #define DTV_STAT_ERROR_BLOCK_COUNT 68
315 #define DTV_STAT_TOTAL_BLOCK_COUNT 69
316
317 #define DTV_MAX_COMMAND DTV_STAT_TOTAL_BLOCK_COUNT
318
319 enum fe_pilot {
320 PILOT_ON,
321 PILOT_OFF,
322 PILOT_AUTO,
323 };
324
325 enum fe_rolloff {
326 ROLLOFF_35, /* Implied value in DVB-S, default for DVB-S2 */
327 ROLLOFF_20,
328 ROLLOFF_25,
329 ROLLOFF_AUTO,
330 };
331
332 enum fe_delivery_system {
333 SYS_UNDEFINED,
334 SYS_DVBC_ANNEX_A,
335 SYS_DVBC_ANNEX_B,
336 SYS_DVBT,
337 SYS_DSS,
338 SYS_DVBS,
339 SYS_DVBS2,
340 SYS_DVBH,
341 SYS_ISDBT,
342 SYS_ISDBS,
343 SYS_ISDBC,
344 SYS_ATSC,
345 SYS_ATSCMH,
346 SYS_DTMB,
347 SYS_CMMB,
348 SYS_DAB,
349 SYS_DVBT2,
350 SYS_TURBO,
351 SYS_DVBC_ANNEX_C,
352 };
353
354 /* backward compatibility */
355 #define SYS_DVBC_ANNEX_AC SYS_DVBC_ANNEX_A
356 #define SYS_DMBTH SYS_DTMB /* DMB-TH is legacy name, use DTMB instead */
357
358 /* ATSC-MH */
359
360 enum atscmh_sccc_block_mode {
361 ATSCMH_SCCC_BLK_SEP = 0,
362 ATSCMH_SCCC_BLK_COMB = 1,
363 ATSCMH_SCCC_BLK_RES = 2,
364 };
365
366 enum atscmh_sccc_code_mode {
367 ATSCMH_SCCC_CODE_HLF = 0,
368 ATSCMH_SCCC_CODE_QTR = 1,
369 ATSCMH_SCCC_CODE_RES = 2,
370 };
371
372 enum atscmh_rs_frame_ensemble {
373 ATSCMH_RSFRAME_ENS_PRI = 0,
374 ATSCMH_RSFRAME_ENS_SEC = 1,
375 };
376
377 enum atscmh_rs_frame_mode {
378 ATSCMH_RSFRAME_PRI_ONLY = 0,
379 ATSCMH_RSFRAME_PRI_SEC = 1,
380 ATSCMH_RSFRAME_RES = 2,
381 };
382
383 enum atscmh_rs_code_mode {
384 ATSCMH_RSCODE_211_187 = 0,
385 ATSCMH_RSCODE_223_187 = 1,
386 ATSCMH_RSCODE_235_187 = 2,
387 ATSCMH_RSCODE_RES = 3,
388 };
389
390 #define NO_STREAM_ID_FILTER (~0U)
391 #define LNA_AUTO (~0U)
392
393 struct dtv_cmds_h {
394 char *name; /* A display name for debugging purposes */
395
396 __u32 cmd; /* A unique ID */
397
398 /* Flags */
399 __u32 set:1; /* Either a set or get property */
400 __u32 buffer:1; /* Does this property use the buffer? */
401 __u32 reserved:30; /* Align */
402 };
403
404 /**
405 * Scale types for the quality parameters.
406 * @FE_SCALE_NOT_AVAILABLE: That QoS measure is not available. That
407 * could indicate a temporary or a permanent
408 * condition.
409 * @FE_SCALE_DECIBEL: The scale is measured in 0.001 dB steps, typically
410 * used on signal measures.
411 * @FE_SCALE_RELATIVE: The scale is a relative percentual measure,
412 * ranging from 0 (0%) to 0xffff (100%).
413 * @FE_SCALE_COUNTER: The scale counts the occurrence of an event, like
414 * bit error, block error, lapsed time.
415 */
416 enum fecap_scale_params {
417 FE_SCALE_NOT_AVAILABLE = 0,
418 FE_SCALE_DECIBEL,
419 FE_SCALE_RELATIVE,
420 FE_SCALE_COUNTER
421 };
422
423 /**
424 * struct dtv_stats - Used for reading a DTV status property
425 *
426 * @value: value of the measure. Should range from 0 to 0xffff;
427 * @scale: Filled with enum fecap_scale_params - the scale
428 * in usage for that parameter
429 *
430 * For most delivery systems, this will return a single value for each
431 * parameter.
432 * It should be noticed, however, that new OFDM delivery systems like
433 * ISDB can use different modulation types for each group of carriers.
434 * On such standards, up to 8 groups of statistics can be provided, one
435 * for each carrier group (called "layer" on ISDB).
436 * In order to be consistent with other delivery systems, the first
437 * value refers to the entire set of carriers ("global").
438 * dtv_status:scale should use the value FE_SCALE_NOT_AVAILABLE when
439 * the value for the entire group of carriers or from one specific layer
440 * is not provided by the hardware.
441 * st.len should be filled with the latest filled status + 1.
442 *
443 * In other words, for ISDB, those values should be filled like:
444 * u.st.stat.svalue[0] = global statistics;
445 * u.st.stat.scale[0] = FE_SCALE_DECIBEL;
446 * u.st.stat.value[1] = layer A statistics;
447 * u.st.stat.scale[1] = FE_SCALE_NOT_AVAILABLE (if not available);
448 * u.st.stat.svalue[2] = layer B statistics;
449 * u.st.stat.scale[2] = FE_SCALE_DECIBEL;
450 * u.st.stat.svalue[3] = layer C statistics;
451 * u.st.stat.scale[3] = FE_SCALE_DECIBEL;
452 * u.st.len = 4;
453 */
454 struct dtv_stats {
455 __u8 scale; /* enum fecap_scale_params type */
456 union {
457 __u64 uvalue; /* for counters and relative scales */
458 __s64 svalue; /* for 0.001 dB measures */
459 };
460 } __attribute__ ((packed));
461
462
463 #define MAX_DTV_STATS 4
464
465 struct dtv_fe_stats {
466 __u8 len;
467 struct dtv_stats stat[MAX_DTV_STATS];
468 } __attribute__ ((packed));
469
470 struct dtv_property {
471 __u32 cmd;
472 __u32 reserved[3];
473 union {
474 __u32 data;
475 struct dtv_fe_stats st;
476 struct {
477 __u8 data[32];
478 __u32 len;
479 __u32 reserved1[3];
480 void *reserved2;
481 } buffer;
482 } u;
483 int result;
484 } __attribute__ ((packed));
485
486 /* num of properties cannot exceed DTV_IOCTL_MAX_MSGS per ioctl */
487 #define DTV_IOCTL_MAX_MSGS 64
488
489 struct dtv_properties {
490 __u32 num;
491 struct dtv_property *props;
492 };
493
494 #if defined(__DVB_CORE__) || !defined (__KERNEL__)
495
496 /*
497 * DEPRECATED: The DVBv3 ioctls, structs and enums should not be used on
498 * newer programs, as it doesn't support the second generation of digital
499 * TV standards, nor supports newer delivery systems.
500 */
501
502 enum fe_bandwidth {
503 BANDWIDTH_8_MHZ,
504 BANDWIDTH_7_MHZ,
505 BANDWIDTH_6_MHZ,
506 BANDWIDTH_AUTO,
507 BANDWIDTH_5_MHZ,
508 BANDWIDTH_10_MHZ,
509 BANDWIDTH_1_712_MHZ,
510 };
511
512 /* This is needed for legacy userspace support */
513 typedef enum fe_sec_voltage fe_sec_voltage_t;
514 typedef enum fe_caps fe_caps_t;
515 typedef enum fe_type fe_type_t;
516 typedef enum fe_sec_tone_mode fe_sec_tone_mode_t;
517 typedef enum fe_sec_mini_cmd fe_sec_mini_cmd_t;
518 typedef enum fe_status fe_status_t;
519 typedef enum fe_spectral_inversion fe_spectral_inversion_t;
520 typedef enum fe_code_rate fe_code_rate_t;
521 typedef enum fe_modulation fe_modulation_t;
522 typedef enum fe_transmit_mode fe_transmit_mode_t;
523 typedef enum fe_bandwidth fe_bandwidth_t;
524 typedef enum fe_guard_interval fe_guard_interval_t;
525 typedef enum fe_hierarchy fe_hierarchy_t;
526 typedef enum fe_pilot fe_pilot_t;
527 typedef enum fe_rolloff fe_rolloff_t;
528 typedef enum fe_delivery_system fe_delivery_system_t;
529
530 struct dvb_qpsk_parameters {
531 __u32 symbol_rate; /* symbol rate in Symbols per second */
532 fe_code_rate_t fec_inner; /* forward error correction (see above) */
533 };
534
535 struct dvb_qam_parameters {
536 __u32 symbol_rate; /* symbol rate in Symbols per second */
537 fe_code_rate_t fec_inner; /* forward error correction (see above) */
538 fe_modulation_t modulation; /* modulation type (see above) */
539 };
540
541 struct dvb_vsb_parameters {
542 fe_modulation_t modulation; /* modulation type (see above) */
543 };
544
545 struct dvb_ofdm_parameters {
546 fe_bandwidth_t bandwidth;
547 fe_code_rate_t code_rate_HP; /* high priority stream code rate */
548 fe_code_rate_t code_rate_LP; /* low priority stream code rate */
549 fe_modulation_t constellation; /* modulation type (see above) */
550 fe_transmit_mode_t transmission_mode;
551 fe_guard_interval_t guard_interval;
552 fe_hierarchy_t hierarchy_information;
553 };
554
555 struct dvb_frontend_parameters {
556 __u32 frequency; /* (absolute) frequency in Hz for DVB-C/DVB-T/ATSC */
557 /* intermediate frequency in kHz for DVB-S */
558 fe_spectral_inversion_t inversion;
559 union {
560 struct dvb_qpsk_parameters qpsk; /* DVB-S */
561 struct dvb_qam_parameters qam; /* DVB-C */
562 struct dvb_ofdm_parameters ofdm; /* DVB-T */
563 struct dvb_vsb_parameters vsb; /* ATSC */
564 } u;
565 };
566
567 struct dvb_frontend_event {
568 fe_status_t status;
569 struct dvb_frontend_parameters parameters;
570 };
571 #endif
572
573 #define FE_SET_PROPERTY _IOW('o', 82, struct dtv_properties)
574 #define FE_GET_PROPERTY _IOR('o', 83, struct dtv_properties)
575
576 /**
577 * When set, this flag will disable any zigzagging or other "normal" tuning
578 * behaviour. Additionally, there will be no automatic monitoring of the lock
579 * status, and hence no frontend events will be generated. If a frontend device
580 * is closed, this flag will be automatically turned off when the device is
581 * reopened read-write.
582 */
583 #define FE_TUNE_MODE_ONESHOT 0x01
584
585 #define FE_GET_INFO _IOR('o', 61, struct dvb_frontend_info)
586
587 #define FE_DISEQC_RESET_OVERLOAD _IO('o', 62)
588 #define FE_DISEQC_SEND_MASTER_CMD _IOW('o', 63, struct dvb_diseqc_master_cmd)
589 #define FE_DISEQC_RECV_SLAVE_REPLY _IOR('o', 64, struct dvb_diseqc_slave_reply)
590 #define FE_DISEQC_SEND_BURST _IO('o', 65) /* fe_sec_mini_cmd_t */
591
592 #define FE_SET_TONE _IO('o', 66) /* fe_sec_tone_mode_t */
593 #define FE_SET_VOLTAGE _IO('o', 67) /* fe_sec_voltage_t */
594 #define FE_ENABLE_HIGH_LNB_VOLTAGE _IO('o', 68) /* int */
595
596 #define FE_READ_STATUS _IOR('o', 69, fe_status_t)
597 #define FE_READ_BER _IOR('o', 70, __u32)
598 #define FE_READ_SIGNAL_STRENGTH _IOR('o', 71, __u16)
599 #define FE_READ_SNR _IOR('o', 72, __u16)
600 #define FE_READ_UNCORRECTED_BLOCKS _IOR('o', 73, __u32)
601
602 #define FE_SET_FRONTEND _IOW('o', 76, struct dvb_frontend_parameters)
603 #define FE_GET_FRONTEND _IOR('o', 77, struct dvb_frontend_parameters)
604 #define FE_SET_FRONTEND_TUNE_MODE _IO('o', 81) /* unsigned int */
605 #define FE_GET_EVENT _IOR('o', 78, struct dvb_frontend_event)
606
607 #define FE_DISHNETWORK_SEND_LEGACY_CMD _IO('o', 80) /* unsigned int */
608
609 #endif /*_DVBFRONTEND_H_*/
This page took 0.048186 seconds and 5 git commands to generate.