History

[media] DocBook: move fe_bandwidth to the frontend legacy section

fe_bandwidth/fe_bandwidth_t is used only on DVBv3 API. So, move it to the frontend legacy xml, and convert it into a table.

Mauro Carvalho Chehab committed 11 years ago

Commit b174fb71 parent 0577a2f3 files · +47 −18Browse files

Unified · Split

3 files
  1. Documentation/DocBook/media/dvb/frontend.xml +0 −15
  2. Documentation/DocBook/media/dvb/frontend_legacy_api.xml +43 −1
  3. include/uapi/linux/dvb/frontend.h +4 −2
Documentation/DocBook/media/dvb/frontend.xml+0−15
@@ -87,21 +87,6 @@ detection. · 86 unmodified lines
87<section>87<section>
88<title>More OFDM parameters</title>88<title>More OFDM parameters</title>
89 89
90<section id="fe-bandwidth-t">
91<title>frontend bandwidth</title>
92<programlisting>
93typedef enum fe_bandwidth {
94 BANDWIDTH_8_MHZ,
95 BANDWIDTH_7_MHZ,
96 BANDWIDTH_6_MHZ,
97 BANDWIDTH_AUTO,
98 BANDWIDTH_5_MHZ,
99 BANDWIDTH_10_MHZ,
100 BANDWIDTH_1_712_MHZ,
101} fe_bandwidth_t;
102</programlisting>
103</section>
104
105<section id="fe-guard-interval-t">90<section id="fe-guard-interval-t">
106<title>frontend guard inverval</title>91<title>frontend guard inverval</title>
107<programlisting>92<programlisting>
Documentation/DocBook/media/dvb/frontend_legacy_api.xml+43−1
@@ -60,6 +60,48 @@ supported via the new <link linkend="FE_GET_PROPERTY">FE_GET_PROPERTY/FE_GET_SET · 59 unmodified lines
60 using the &DTV-DELIVERY-SYSTEM; property.</para>60 using the &DTV-DELIVERY-SYSTEM; property.</para>
61</section>61</section>
62 62
63<section id="fe-bandwidth-t">
64<title>Frontend bandwidth</title>
65
66<table pgwide="1" frame="none" id="fe-bandwidth">
67 <title>enum fe_bandwidth</title>
68 <tgroup cols="2">
69 &cs-def;
70 <thead>
71 <row>
72 <entry>ID</entry>
73 <entry>Description</entry>
74 </row>
75 </thead>
76 <tbody valign="top">
77 <row>
78 <entry>BANDWIDTH_AUTO</entry>
79 <entry>Autodetect bandwidth (if supported)</entry>
80 </row><row>
81 <entry>BANDWIDTH_1_712_MHZ</entry>
82 <entry>1.712 MHz</entry>
83 </row><row>
84 <entry>BANDWIDTH_5_MHZ</entry>
85 <entry>5 MHz</entry>
86 </row><row>
87 <entry>BANDWIDTH_6_MHZ</entry>
88 <entry>6 MHz</entry>
89 </row><row>
90 <entry>BANDWIDTH_7_MHZ</entry>
91 <entry>7 MHz</entry>
92 </row><row>
93 <entry>BANDWIDTH_8_MHZ</entry>
94 <entry>8 MHz</entry>
95 </row><row>
96 <entry>BANDWIDTH_10_MHZ</entry>
97 <entry>10 MHz</entry>
98 </row><row>
99 </row>
100 </tbody>
101 </tgroup>
102</table>
103
104</section>
63 105
64<section id="dvb-frontend-parameters">106<section id="dvb-frontend-parameters">
65<title>frontend parameters</title>107<title>frontend parameters</title>
@@ -135,7 +177,7 @@ struct dvb_vsb_parameters { · 69 unmodified lines
135<para>DVB-T frontends are supported by the <constant>dvb_ofdm_parameters</constant> structure:</para>177<para>DVB-T frontends are supported by the <constant>dvb_ofdm_parameters</constant> structure:</para>
136<programlisting>178<programlisting>
137 struct dvb_ofdm_parameters {179 struct dvb_ofdm_parameters {
138 fe_bandwidth_t bandwidth;180 &fe-bandwidth-t; bandwidth;
139 fe_code_rate_t code_rate_HP; /&#x22C6; high priority stream code rate &#x22C6;/181 fe_code_rate_t code_rate_HP; /&#x22C6; high priority stream code rate &#x22C6;/
140 fe_code_rate_t code_rate_LP; /&#x22C6; low priority stream code rate &#x22C6;/182 fe_code_rate_t code_rate_LP; /&#x22C6; low priority stream code rate &#x22C6;/
141 &fe-modulation-t; constellation; /&#x22C6; modulation type (see above) &#x22C6;/183 &fe-modulation-t; constellation; /&#x22C6; modulation type (see above) &#x22C6;/
include/uapi/linux/dvb/frontend.h+4−2
@@ -213,7 +213,7 @@ enum fe_transmit_mode { · 212 unmodified lines
213typedef enum fe_transmit_mode fe_transmit_mode_t;213typedef enum fe_transmit_mode fe_transmit_mode_t;
214 214
215#if defined(__DVB_CORE__) || !defined (__KERNEL__)215#if defined(__DVB_CORE__) || !defined (__KERNEL__)
216typedef enum fe_bandwidth {216enum fe_bandwidth {
217 BANDWIDTH_8_MHZ,217 BANDWIDTH_8_MHZ,
218 BANDWIDTH_7_MHZ,218 BANDWIDTH_7_MHZ,
219 BANDWIDTH_6_MHZ,219 BANDWIDTH_6_MHZ,
@@ -221,7 +221,9 @@ typedef enum fe_bandwidth { · 1 unmodified line
221 BANDWIDTH_5_MHZ,221 BANDWIDTH_5_MHZ,
222 BANDWIDTH_10_MHZ,222 BANDWIDTH_10_MHZ,
223 BANDWIDTH_1_712_MHZ,223 BANDWIDTH_1_712_MHZ,
224} fe_bandwidth_t;224};
225
226typedef enum fe_bandwidth fe_bandwidth_t;
225#endif227#endif
226 228
227typedef enum fe_guard_interval {229typedef enum fe_guard_interval {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t