Mauro Carvalho Chehab | 1ae6439 | 2016-07-07 00:21:37 -0300 | [diff] [blame] | 1 | # Ignore header name |
| 2 | ignore define _DVBFRONTEND_H_ |
| 3 | |
| 4 | # Group layer A-C symbols together |
| 5 | replace define DTV_ISDBT_LAYERA_FEC dtv-isdbt-layer-fec |
| 6 | replace define DTV_ISDBT_LAYERB_FEC dtv-isdbt-layer-fec |
| 7 | replace define DTV_ISDBT_LAYERC_FEC dtv-isdbt-layer-fec |
| 8 | replace define DTV_ISDBT_LAYERA_MODULATION dtv-isdbt-layer-modulation |
| 9 | replace define DTV_ISDBT_LAYERB_MODULATION dtv-isdbt-layer-modulation |
| 10 | replace define DTV_ISDBT_LAYERC_MODULATION dtv-isdbt-layer-modulation |
| 11 | replace define DTV_ISDBT_LAYERA_SEGMENT_COUNT dtv-isdbt-layer-segment-count |
| 12 | replace define DTV_ISDBT_LAYERB_SEGMENT_COUNT dtv-isdbt-layer-segment-count |
| 13 | replace define DTV_ISDBT_LAYERC_SEGMENT_COUNT dtv-isdbt-layer-segment-count |
| 14 | replace define DTV_ISDBT_LAYERA_TIME_INTERLEAVING dtv-isdbt-layer-time-interleaving |
| 15 | replace define DTV_ISDBT_LAYERB_TIME_INTERLEAVING dtv-isdbt-layer-time-interleaving |
| 16 | replace define DTV_ISDBT_LAYERC_TIME_INTERLEAVING dtv-isdbt-layer-time-interleaving |
| 17 | |
| 18 | # Ignore legacy defines |
| 19 | ignore define DTV_ISDBS_TS_ID_LEGACY |
| 20 | ignore define SYS_DVBC_ANNEX_AC |
| 21 | ignore define SYS_DMBTH |
| 22 | |
| 23 | # Ignore limits |
| 24 | ignore define DTV_MAX_COMMAND |
| 25 | ignore define MAX_DTV_STATS |
| 26 | ignore define DTV_IOCTL_MAX_MSGS |
| 27 | |
| 28 | # Stats enum is documented altogether |
Mauro Carvalho Chehab | 836cf1d | 2016-08-30 10:21:03 -0300 | [diff] [blame] | 29 | replace enum fecap_scale_params :ref:`frontend-stat-properties` |
Mauro Carvalho Chehab | 1ae6439 | 2016-07-07 00:21:37 -0300 | [diff] [blame] | 30 | replace symbol FE_SCALE_COUNTER frontend-stat-properties |
| 31 | replace symbol FE_SCALE_DECIBEL frontend-stat-properties |
| 32 | replace symbol FE_SCALE_NOT_AVAILABLE frontend-stat-properties |
| 33 | replace symbol FE_SCALE_RELATIVE frontend-stat-properties |
| 34 | |
| 35 | # the same reference is used for both get and set ioctls |
Mauro Carvalho Chehab | 836cf1d | 2016-08-30 10:21:03 -0300 | [diff] [blame] | 36 | replace ioctl FE_SET_PROPERTY :c:type:`FE_GET_PROPERTY` |
Mauro Carvalho Chehab | 1ae6439 | 2016-07-07 00:21:37 -0300 | [diff] [blame] | 37 | |
| 38 | # Ignore struct used only internally at Kernel |
| 39 | ignore struct dtv_cmds_h |
| 40 | |
| 41 | # Typedefs that use the enum reference |
Mauro Carvalho Chehab | 836cf1d | 2016-08-30 10:21:03 -0300 | [diff] [blame] | 42 | replace typedef fe_sec_voltage_t :c:type:`fe_sec_voltage` |
Mauro Carvalho Chehab | 1ae6439 | 2016-07-07 00:21:37 -0300 | [diff] [blame] | 43 | |
| 44 | # Replaces for flag constants |
Mauro Carvalho Chehab | 836cf1d | 2016-08-30 10:21:03 -0300 | [diff] [blame] | 45 | replace define FE_TUNE_MODE_ONESHOT :c:func:`FE_SET_FRONTEND_TUNE_MODE` |
Mauro Carvalho Chehab | 1ae6439 | 2016-07-07 00:21:37 -0300 | [diff] [blame] | 46 | replace define LNA_AUTO dtv-lna |
| 47 | replace define NO_STREAM_ID_FILTER dtv-stream-id |