aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-05 11:36:01 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 16:53:37 -0400
commit3de530f805c012d3b58ffdd10e43e3ec7790baa3 (patch)
tree4da7129e26a0c2634ffeef9c26f90fa129ee6624 /Documentation
parent7464aa50c6529c1da6a80496911e16244119fd16 (diff)
[media] DVB: Point to the generic error chapter
Just like the V4L, MC and LIRC API's, point to the generic error chapter for ioctl's. This will allow moving generic error codes to just one place inside all media API's. A latter patch will remove the generic errors from each specific ioctl. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/DocBook/media/dvb/audio.xml63
-rw-r--r--Documentation/DocBook/media/dvb/ca.xml6
-rw-r--r--Documentation/DocBook/media/dvb/demux.xml33
-rw-r--r--Documentation/DocBook/media/dvb/dvbproperty.xml5
-rw-r--r--Documentation/DocBook/media/dvb/frontend.xml58
-rw-r--r--Documentation/DocBook/media/dvb/video.xml78
-rw-r--r--Documentation/DocBook/media_api.tmpl1
7 files changed, 83 insertions, 161 deletions
diff --git a/Documentation/DocBook/media/dvb/audio.xml b/Documentation/DocBook/media/dvb/audio.xml
index c27fe73a4b66..90e9b7fede65 100644
--- a/Documentation/DocBook/media/dvb/audio.xml
+++ b/Documentation/DocBook/media/dvb/audio.xml
@@ -220,8 +220,7 @@ and right.
220<para>(blocking mode is the default)</para> 220<para>(blocking mode is the default)</para>
221</entry> 221</entry>
222 </row></tbody></tgroup></informaltable> 222 </row></tbody></tgroup></informaltable>
223<para>ERRORS 223<para>RETURN VALUE</para>
224</para>
225<informaltable><tgroup cols="2"><tbody><row><entry 224<informaltable><tgroup cols="2"><tbody><row><entry
226 align="char"> 225 align="char">
227<para>ENODEV</para> 226<para>ENODEV</para>
@@ -279,8 +278,7 @@ and right.
279<para>File descriptor returned by a previous call to open().</para> 278<para>File descriptor returned by a previous call to open().</para>
280</entry> 279</entry>
281 </row></tbody></tgroup></informaltable> 280 </row></tbody></tgroup></informaltable>
282<para>ERRORS 281<para>RETURN VALUE</para>
283</para>
284<informaltable><tgroup cols="2"><tbody><row><entry 282<informaltable><tgroup cols="2"><tbody><row><entry
285 align="char"> 283 align="char">
286<para>EBADF</para> 284<para>EBADF</para>
@@ -335,8 +333,7 @@ and right.
335<para>Size of buf.</para> 333<para>Size of buf.</para>
336</entry> 334</entry>
337 </row></tbody></tgroup></informaltable> 335 </row></tbody></tgroup></informaltable>
338<para>ERRORS 336<para>RETURN VALUE</para>
339</para>
340<informaltable><tgroup cols="2"><tbody><row><entry 337<informaltable><tgroup cols="2"><tbody><row><entry
341 align="char"> 338 align="char">
342<para>EPERM</para> 339<para>EPERM</para>
@@ -394,8 +391,7 @@ role="subsection"><title>AUDIO_STOP</title>
394<para>Equals AUDIO_STOP for this command.</para> 391<para>Equals AUDIO_STOP for this command.</para>
395</entry> 392</entry>
396 </row></tbody></tgroup></informaltable> 393 </row></tbody></tgroup></informaltable>
397<para>ERRORS 394&return-value-dvb;
398</para>
399<informaltable><tgroup cols="2"><tbody><row><entry 395<informaltable><tgroup cols="2"><tbody><row><entry
400 align="char"> 396 align="char">
401<para>EBADF</para> 397<para>EBADF</para>
@@ -446,8 +442,7 @@ role="subsection"><title>AUDIO_PLAY</title>
446<para>Equals AUDIO_PLAY for this command.</para> 442<para>Equals AUDIO_PLAY for this command.</para>
447</entry> 443</entry>
448 </row></tbody></tgroup></informaltable> 444 </row></tbody></tgroup></informaltable>
449<para>ERRORS 445&return-value-dvb;
450</para>
451<informaltable><tgroup cols="2"><tbody><row><entry 446<informaltable><tgroup cols="2"><tbody><row><entry
452 align="char"> 447 align="char">
453<para>EBADF</para> 448<para>EBADF</para>
@@ -506,8 +501,7 @@ role="subsection"><title>AUDIO_PAUSE</title>
506<para>Equals AUDIO_PAUSE for this command.</para> 501<para>Equals AUDIO_PAUSE for this command.</para>
507</entry> 502</entry>
508 </row></tbody></tgroup></informaltable> 503 </row></tbody></tgroup></informaltable>
509<para>ERRORS 504&return-value-dvb;
510</para>
511<informaltable><tgroup cols="2"><tbody><row><entry 505<informaltable><tgroup cols="2"><tbody><row><entry
512 align="char"> 506 align="char">
513<para>EBADF</para> 507<para>EBADF</para>
@@ -563,8 +557,7 @@ with AUDIO_PAUSE command.</para>
563<para>Equals AUDIO_CONTINUE for this command.</para> 557<para>Equals AUDIO_CONTINUE for this command.</para>
564</entry> 558</entry>
565 </row></tbody></tgroup></informaltable> 559 </row></tbody></tgroup></informaltable>
566<para>ERRORS 560&return-value-dvb;
567</para>
568<informaltable><tgroup cols="2"><tbody><row><entry 561<informaltable><tgroup cols="2"><tbody><row><entry
569 align="char"> 562 align="char">
570<para>EBADF</para> 563<para>EBADF</para>
@@ -627,8 +620,7 @@ role="subsection"><title>AUDIO_SELECT_SOURCE</title>
627 stream.</para> 620 stream.</para>
628</entry> 621</entry>
629 </row></tbody></tgroup></informaltable> 622 </row></tbody></tgroup></informaltable>
630<para>ERRORS 623&return-value-dvb;
631</para>
632<informaltable><tgroup cols="2"><tbody><row><entry 624<informaltable><tgroup cols="2"><tbody><row><entry
633 align="char"> 625 align="char">
634<para>EBADF</para> 626<para>EBADF</para>
@@ -706,8 +698,7 @@ role="subsection"><title>AUDIO_SET_MUTE</title>
706<para>FALSE Audio Un-mute</para> 698<para>FALSE Audio Un-mute</para>
707</entry> 699</entry>
708 </row></tbody></tgroup></informaltable> 700 </row></tbody></tgroup></informaltable>
709<para>ERRORS 701&return-value-dvb;
710</para>
711<informaltable><tgroup cols="2"><tbody><row><entry 702<informaltable><tgroup cols="2"><tbody><row><entry
712 align="char"> 703 align="char">
713<para>EBADF</para> 704<para>EBADF</para>
@@ -785,8 +776,7 @@ role="subsection"><title>AUDIO_SET_AV_SYNC</title>
785<para>FALSE AV-sync OFF</para> 776<para>FALSE AV-sync OFF</para>
786</entry> 777</entry>
787 </row></tbody></tgroup></informaltable> 778 </row></tbody></tgroup></informaltable>
788<para>ERRORS 779&return-value-dvb;
789</para>
790<informaltable><tgroup cols="2"><tbody><row><entry 780<informaltable><tgroup cols="2"><tbody><row><entry
791 align="char"> 781 align="char">
792<para>EBADF</para> 782<para>EBADF</para>
@@ -868,8 +858,7 @@ role="subsection"><title>AUDIO_SET_BYPASS_MODE</title>
868<para>FALSE Bypass is enabled</para> 858<para>FALSE Bypass is enabled</para>
869</entry> 859</entry>
870 </row></tbody></tgroup></informaltable> 860 </row></tbody></tgroup></informaltable>
871<para>ERRORS 861&return-value-dvb;
872</para>
873<informaltable><tgroup cols="2"><tbody><row><entry 862<informaltable><tgroup cols="2"><tbody><row><entry
874 align="char"> 863 align="char">
875<para>EBADF</para> 864<para>EBADF</para>
@@ -937,8 +926,7 @@ role="subsection"><title>AUDIO_CHANNEL_SELECT</title>
937 stereo).</para> 926 stereo).</para>
938</entry> 927</entry>
939 </row></tbody></tgroup></informaltable> 928 </row></tbody></tgroup></informaltable>
940<para>ERRORS 929&return-value-dvb;
941</para>
942<informaltable><tgroup cols="2"><tbody><row><entry 930<informaltable><tgroup cols="2"><tbody><row><entry
943 align="char"> 931 align="char">
944<para>EBADF</para> 932<para>EBADF</para>
@@ -1005,8 +993,7 @@ role="subsection"><title>AUDIO_GET_STATUS</title>
1005<para>Returns the current state of Audio Device.</para> 993<para>Returns the current state of Audio Device.</para>
1006</entry> 994</entry>
1007 </row></tbody></tgroup></informaltable> 995 </row></tbody></tgroup></informaltable>
1008<para>ERRORS 996&return-value-dvb;
1009</para>
1010<informaltable><tgroup cols="2"><tbody><row><entry 997<informaltable><tgroup cols="2"><tbody><row><entry
1011 align="char"> 998 align="char">
1012<para>EBADF</para> 999<para>EBADF</para>
@@ -1073,8 +1060,7 @@ role="subsection"><title>AUDIO_GET_CAPABILITIES</title>
1073<para>Returns a bit array of supported sound formats.</para> 1060<para>Returns a bit array of supported sound formats.</para>
1074</entry> 1061</entry>
1075 </row></tbody></tgroup></informaltable> 1062 </row></tbody></tgroup></informaltable>
1076<para>ERRORS 1063&return-value-dvb;
1077</para>
1078<informaltable><tgroup cols="2"><tbody><row><entry 1064<informaltable><tgroup cols="2"><tbody><row><entry
1079 align="char"> 1065 align="char">
1080<para>EBADF</para> 1066<para>EBADF</para>
@@ -1132,8 +1118,7 @@ role="subsection"><title>AUDIO_CLEAR_BUFFER</title>
1132<para>Equals AUDIO_CLEAR_BUFFER for this command.</para> 1118<para>Equals AUDIO_CLEAR_BUFFER for this command.</para>
1133</entry> 1119</entry>
1134 </row></tbody></tgroup></informaltable> 1120 </row></tbody></tgroup></informaltable>
1135<para>ERRORS 1121&return-value-dvb;
1136</para>
1137<informaltable><tgroup cols="2"><tbody><row><entry 1122<informaltable><tgroup cols="2"><tbody><row><entry
1138 align="char"> 1123 align="char">
1139<para>EBADF</para> 1124<para>EBADF</para>
@@ -1196,8 +1181,7 @@ role="subsection"><title>AUDIO_SET_ID</title>
1196<para>audio sub-stream id</para> 1181<para>audio sub-stream id</para>
1197</entry> 1182</entry>
1198 </row></tbody></tgroup></informaltable> 1183 </row></tbody></tgroup></informaltable>
1199<para>ERRORS 1184&return-value-dvb;
1200</para>
1201<informaltable><tgroup cols="2"><tbody><row><entry 1185<informaltable><tgroup cols="2"><tbody><row><entry
1202 align="char"> 1186 align="char">
1203<para>EBADF</para> 1187<para>EBADF</para>
@@ -1262,8 +1246,7 @@ role="subsection"><title>AUDIO_SET_MIXER</title>
1262<para>mixer settings.</para> 1246<para>mixer settings.</para>
1263</entry> 1247</entry>
1264 </row></tbody></tgroup></informaltable> 1248 </row></tbody></tgroup></informaltable>
1265<para>ERRORS 1249&return-value-dvb;
1266</para>
1267<informaltable><tgroup cols="2"><tbody><row><entry 1250<informaltable><tgroup cols="2"><tbody><row><entry
1268 align="char"> 1251 align="char">
1269<para>EBADF</para> 1252<para>EBADF</para>
@@ -1330,8 +1313,7 @@ role="subsection"><title>AUDIO_SET_STREAMTYPE</title>
1330<para>stream type</para> 1313<para>stream type</para>
1331</entry> 1314</entry>
1332 </row></tbody></tgroup></informaltable> 1315 </row></tbody></tgroup></informaltable>
1333<para>ERRORS 1316&return-value-dvb;
1334</para>
1335<informaltable><tgroup cols="2"><tbody><row><entry 1317<informaltable><tgroup cols="2"><tbody><row><entry
1336 align="char"> 1318 align="char">
1337<para>EBADF</para> 1319<para>EBADF</para>
@@ -1390,8 +1372,7 @@ role="subsection"><title>AUDIO_SET_EXT_ID</title>
1390<para>audio sub_stream_id</para> 1372<para>audio sub_stream_id</para>
1391</entry> 1373</entry>
1392 </row></tbody></tgroup></informaltable> 1374 </row></tbody></tgroup></informaltable>
1393<para>ERRORS 1375&return-value-dvb;
1394</para>
1395<informaltable><tgroup cols="2"><tbody><row><entry 1376<informaltable><tgroup cols="2"><tbody><row><entry
1396 align="char"> 1377 align="char">
1397<para>EBADF</para> 1378<para>EBADF</para>
@@ -1451,8 +1432,7 @@ role="subsection"><title>AUDIO_SET_ATTRIBUTES</title>
1451<para>audio attributes according to section ??</para> 1432<para>audio attributes according to section ??</para>
1452</entry> 1433</entry>
1453 </row></tbody></tgroup></informaltable> 1434 </row></tbody></tgroup></informaltable>
1454<para>ERRORS 1435&return-value-dvb;
1455</para>
1456<informaltable><tgroup cols="2"><tbody><row><entry 1436<informaltable><tgroup cols="2"><tbody><row><entry
1457 align="char"> 1437 align="char">
1458<para>EBADF</para> 1438<para>EBADF</para>
@@ -1512,8 +1492,7 @@ role="subsection"><title>AUDIO_SET_KARAOKE</title>
1512<para>karaoke settings according to section ??.</para> 1492<para>karaoke settings according to section ??.</para>
1513</entry> 1493</entry>
1514 </row></tbody></tgroup></informaltable> 1494 </row></tbody></tgroup></informaltable>
1515<para>ERRORS 1495&return-value-dvb;
1516</para>
1517<informaltable><tgroup cols="2"><tbody><row><entry 1496<informaltable><tgroup cols="2"><tbody><row><entry
1518 align="char"> 1497 align="char">
1519<para>EBADF</para> 1498<para>EBADF</para>
diff --git a/Documentation/DocBook/media/dvb/ca.xml b/Documentation/DocBook/media/dvb/ca.xml
index a6cb9522f289..5c4adb44b1c1 100644
--- a/Documentation/DocBook/media/dvb/ca.xml
+++ b/Documentation/DocBook/media/dvb/ca.xml
@@ -158,8 +158,7 @@ typedef struct ca_pid {
158<para>(blocking mode is the default)</para> 158<para>(blocking mode is the default)</para>
159</entry> 159</entry>
160 </row></tbody></tgroup></informaltable> 160 </row></tbody></tgroup></informaltable>
161<para>ERRORS 161<para>RETURN VALUE</para>
162</para>
163<informaltable><tgroup cols="2"><tbody><row><entry 162<informaltable><tgroup cols="2"><tbody><row><entry
164 align="char"> 163 align="char">
165<para>ENODEV</para> 164<para>ENODEV</para>
@@ -217,8 +216,7 @@ typedef struct ca_pid {
217<para>File descriptor returned by a previous call to open().</para> 216<para>File descriptor returned by a previous call to open().</para>
218</entry> 217</entry>
219 </row></tbody></tgroup></informaltable> 218 </row></tbody></tgroup></informaltable>
220<para>ERRORS 219<para>RETURN VALUE</para>
221</para>
222<informaltable><tgroup cols="2"><tbody><row><entry 220<informaltable><tgroup cols="2"><tbody><row><entry
223 align="char"> 221 align="char">
224<para>EBADF</para> 222<para>EBADF</para>
diff --git a/Documentation/DocBook/media/dvb/demux.xml b/Documentation/DocBook/media/dvb/demux.xml
index 6758739cd611..e5058d7d9213 100644
--- a/Documentation/DocBook/media/dvb/demux.xml
+++ b/Documentation/DocBook/media/dvb/demux.xml
@@ -239,8 +239,7 @@ typedef enum {
239<para>(blocking mode is the default)</para> 239<para>(blocking mode is the default)</para>
240</entry> 240</entry>
241 </row></tbody></tgroup></informaltable> 241 </row></tbody></tgroup></informaltable>
242<para>ERRORS 242<para>RETURN VALUE</para>
243</para>
244<informaltable><tgroup cols="2"><tbody><row><entry 243<informaltable><tgroup cols="2"><tbody><row><entry
245 align="char"> 244 align="char">
246<para>ENODEV</para> 245<para>ENODEV</para>
@@ -299,8 +298,7 @@ typedef enum {
299<para>File descriptor returned by a previous call to open().</para> 298<para>File descriptor returned by a previous call to open().</para>
300</entry> 299</entry>
301 </row></tbody></tgroup></informaltable> 300 </row></tbody></tgroup></informaltable>
302<para>ERRORS 301<para>RETURN VALUE</para>
303</para>
304<informaltable><tgroup cols="2"><tbody><row><entry 302<informaltable><tgroup cols="2"><tbody><row><entry
305 align="char"> 303 align="char">
306<para>EBADF</para> 304<para>EBADF</para>
@@ -381,8 +379,7 @@ typedef enum {
381<para>Size of buf.</para> 379<para>Size of buf.</para>
382</entry> 380</entry>
383 </row></tbody></tgroup></informaltable> 381 </row></tbody></tgroup></informaltable>
384<para>ERRORS 382<para>RETURN VALUE</para>
385</para>
386<informaltable><tgroup cols="2"><tbody><row><entry 383<informaltable><tgroup cols="2"><tbody><row><entry
387 align="char"> 384 align="char">
388<para>EWOULDBLOCK</para> 385<para>EWOULDBLOCK</para>
@@ -485,8 +482,7 @@ typedef enum {
485<para>Size of buf.</para> 482<para>Size of buf.</para>
486</entry> 483</entry>
487 </row></tbody></tgroup></informaltable> 484 </row></tbody></tgroup></informaltable>
488<para>ERRORS 485<para>RETURN VALUE</para>
489</para>
490<informaltable><tgroup cols="2"><tbody><row><entry 486<informaltable><tgroup cols="2"><tbody><row><entry
491 align="char"> 487 align="char">
492<para>EWOULDBLOCK</para> 488<para>EWOULDBLOCK</para>
@@ -553,8 +549,7 @@ typedef enum {
553<para>Equals DMX_START for this command.</para> 549<para>Equals DMX_START for this command.</para>
554</entry> 550</entry>
555 </row></tbody></tgroup></informaltable> 551 </row></tbody></tgroup></informaltable>
556<para>ERRORS 552&return-value-dvb;
557</para>
558<informaltable><tgroup cols="2"><tbody><row><entry 553<informaltable><tgroup cols="2"><tbody><row><entry
559 align="char"> 554 align="char">
560<para>EBADF</para> 555<para>EBADF</para>
@@ -619,8 +614,7 @@ typedef enum {
619<para>Equals DMX_STOP for this command.</para> 614<para>Equals DMX_STOP for this command.</para>
620</entry> 615</entry>
621 </row></tbody></tgroup></informaltable> 616 </row></tbody></tgroup></informaltable>
622<para>ERRORS 617&return-value-dvb;
623</para>
624<informaltable><tgroup cols="2"><tbody><row><entry 618<informaltable><tgroup cols="2"><tbody><row><entry
625 align="char"> 619 align="char">
626<para>EBADF</para> 620<para>EBADF</para>
@@ -682,8 +676,7 @@ typedef enum {
682<para>Pointer to structure containing filter parameters.</para> 676<para>Pointer to structure containing filter parameters.</para>
683</entry> 677</entry>
684 </row></tbody></tgroup></informaltable> 678 </row></tbody></tgroup></informaltable>
685<para>ERRORS 679&return-value-dvb;
686</para>
687<informaltable><tgroup cols="2"><tbody><row><entry 680<informaltable><tgroup cols="2"><tbody><row><entry
688 align="char"> 681 align="char">
689<para>EBADF</para> 682<para>EBADF</para>
@@ -755,8 +748,7 @@ typedef enum {
755<para>Pointer to structure containing filter parameters.</para> 748<para>Pointer to structure containing filter parameters.</para>
756</entry> 749</entry>
757 </row></tbody></tgroup></informaltable> 750 </row></tbody></tgroup></informaltable>
758<para>ERRORS 751&return-value-dvb;
759</para>
760<informaltable><tgroup cols="2"><tbody><row><entry 752<informaltable><tgroup cols="2"><tbody><row><entry
761 align="char"> 753 align="char">
762<para>EBADF</para> 754<para>EBADF</para>
@@ -827,8 +819,7 @@ typedef enum {
827<para>Size of circular buffer.</para> 819<para>Size of circular buffer.</para>
828</entry> 820</entry>
829 </row></tbody></tgroup></informaltable> 821 </row></tbody></tgroup></informaltable>
830<para>ERRORS 822&return-value-dvb;
831</para>
832<informaltable><tgroup cols="2"><tbody><row><entry 823<informaltable><tgroup cols="2"><tbody><row><entry
833 align="char"> 824 align="char">
834<para>EBADF</para> 825<para>EBADF</para>
@@ -900,8 +891,7 @@ typedef enum {
900<para>Pointer to the location where the event is to be stored.</para> 891<para>Pointer to the location where the event is to be stored.</para>
901</entry> 892</entry>
902 </row></tbody></tgroup></informaltable> 893 </row></tbody></tgroup></informaltable>
903<para>ERRORS 894&return-value-dvb;
904</para>
905<informaltable><tgroup cols="2"><tbody><row><entry 895<informaltable><tgroup cols="2"><tbody><row><entry
906 align="char"> 896 align="char">
907<para>EBADF</para> 897<para>EBADF</para>
@@ -974,8 +964,7 @@ typedef enum {
974<para>Pointer to the location where the stc is to be stored.</para> 964<para>Pointer to the location where the stc is to be stored.</para>
975</entry> 965</entry>
976 </row></tbody></tgroup></informaltable> 966 </row></tbody></tgroup></informaltable>
977<para>ERRORS 967&return-value-dvb;
978</para>
979<informaltable><tgroup cols="2"><tbody><row><entry 968<informaltable><tgroup cols="2"><tbody><row><entry
980 align="char"> 969 align="char">
981<para>EBADF</para> 970<para>EBADF</para>
diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/media/dvb/dvbproperty.xml
index caec58c60032..33274bcc8592 100644
--- a/Documentation/DocBook/media/dvb/dvbproperty.xml
+++ b/Documentation/DocBook/media/dvb/dvbproperty.xml
@@ -80,7 +80,7 @@ struct dtv_properties {
80<para>Points to the location where the front-end property commands are stored.</para> 80<para>Points to the location where the front-end property commands are stored.</para>
81</entry> 81</entry>
82 </row></tbody></tgroup></informaltable> 82 </row></tbody></tgroup></informaltable>
83<para>ERRORS</para> 83&return-value-dvb;
84<informaltable><tgroup cols="2"><tbody><row> 84<informaltable><tgroup cols="2"><tbody><row>
85 <entry align="char"><para>EINVAL</para></entry> 85 <entry align="char"><para>EINVAL</para></entry>
86 <entry align="char"><para>Invalid parameter(s) received or number of parameters out of the range.</para></entry> 86 <entry align="char"><para>Invalid parameter(s) received or number of parameters out of the range.</para></entry>
@@ -137,8 +137,7 @@ struct dtv_properties {
137<para>Points to the location where the front-end property commands are stored.</para> 137<para>Points to the location where the front-end property commands are stored.</para>
138</entry> 138</entry>
139 </row></tbody></tgroup></informaltable> 139 </row></tbody></tgroup></informaltable>
140<para>ERRORS 140&return-value-dvb;
141</para>
142<informaltable><tgroup cols="2"><tbody><row> 141<informaltable><tgroup cols="2"><tbody><row>
143 <entry align="char"><para>EINVAL</para></entry> 142 <entry align="char"><para>EINVAL</para></entry>
144 <entry align="char"><para>Invalid parameter(s) received or number of parameters out of the range.</para></entry> 143 <entry align="char"><para>Invalid parameter(s) received or number of parameters out of the range.</para></entry>
diff --git a/Documentation/DocBook/media/dvb/frontend.xml b/Documentation/DocBook/media/dvb/frontend.xml
index 304d54ed3cbf..c5a5cb4051be 100644
--- a/Documentation/DocBook/media/dvb/frontend.xml
+++ b/Documentation/DocBook/media/dvb/frontend.xml
@@ -515,8 +515,7 @@ typedef enum fe_hierarchy {
515<para>(blocking mode is the default)</para> 515<para>(blocking mode is the default)</para>
516</entry> 516</entry>
517 </row></tbody></tgroup></informaltable> 517 </row></tbody></tgroup></informaltable>
518<para>ERRORS 518<para>RETURN VALUE</para>
519</para>
520<informaltable><tgroup cols="2"><tbody><row><entry 519<informaltable><tgroup cols="2"><tbody><row><entry
521 align="char"> 520 align="char">
522<para>ENODEV</para> 521<para>ENODEV</para>
@@ -576,8 +575,7 @@ typedef enum fe_hierarchy {
576<para>File descriptor returned by a previous call to open().</para> 575<para>File descriptor returned by a previous call to open().</para>
577</entry> 576</entry>
578 </row></tbody></tgroup></informaltable> 577 </row></tbody></tgroup></informaltable>
579<para>ERRORS 578&return-value-dvb;
580</para>
581<informaltable><tgroup cols="2"><tbody><row><entry 579<informaltable><tgroup cols="2"><tbody><row><entry
582 align="char"> 580 align="char">
583<para>EBADF</para> 581<para>EBADF</para>
@@ -633,8 +631,7 @@ typedef enum fe_hierarchy {
633 to be stored.</para> 631 to be stored.</para>
634</entry> 632</entry>
635 </row></tbody></tgroup></informaltable> 633 </row></tbody></tgroup></informaltable>
636<para>ERRORS 634<para>RETURN VALUE</para>
637</para>
638<informaltable><tgroup cols="2"><tbody><row><entry 635<informaltable><tgroup cols="2"><tbody><row><entry
639 align="char"> 636 align="char">
640<para>EBADF</para> 637<para>EBADF</para>
@@ -695,8 +692,7 @@ typedef enum fe_hierarchy {
695<para>The bit error rate is stored into *ber.</para> 692<para>The bit error rate is stored into *ber.</para>
696</entry> 693</entry>
697 </row></tbody></tgroup></informaltable> 694 </row></tbody></tgroup></informaltable>
698<para>ERRORS 695&return-value-dvb;
699</para>
700<informaltable><tgroup cols="2"><tbody><row><entry 696<informaltable><tgroup cols="2"><tbody><row><entry
701 align="char"> 697 align="char">
702<para>EBADF</para> 698<para>EBADF</para>
@@ -773,8 +769,7 @@ typedef enum fe_hierarchy {
773</entry> 769</entry>
774 </row></tbody></tgroup></informaltable> 770 </row></tbody></tgroup></informaltable>
775 771
776<para>ERRORS 772&return-value-dvb;
777</para>
778<informaltable><tgroup cols="2"><tbody><row><entry 773<informaltable><tgroup cols="2"><tbody><row><entry
779 align="char"> 774 align="char">
780<para>EBADF</para> 775<para>EBADF</para>
@@ -851,8 +846,7 @@ typedef enum fe_hierarchy {
851<para>The signal strength value is stored into *strength.</para> 846<para>The signal strength value is stored into *strength.</para>
852</entry> 847</entry>
853 </row></tbody></tgroup></informaltable> 848 </row></tbody></tgroup></informaltable>
854<para>ERRORS 849&return-value-dvb;
855</para>
856<informaltable><tgroup cols="2"><tbody><row><entry 850<informaltable><tgroup cols="2"><tbody><row><entry
857 align="char"> 851 align="char">
858<para>EBADF</para> 852<para>EBADF</para>
@@ -936,8 +930,7 @@ typedef enum fe_hierarchy {
936 so far.</para> 930 so far.</para>
937</entry> 931</entry>
938 </row></tbody></tgroup></informaltable> 932 </row></tbody></tgroup></informaltable>
939<para>ERRORS 933&return-value-dvb;
940</para>
941<informaltable><tgroup cols="2"><tbody><row><entry 934<informaltable><tgroup cols="2"><tbody><row><entry
942 align="char"> 935 align="char">
943<para>EBADF</para> 936<para>EBADF</para>
@@ -1012,8 +1005,7 @@ typedef enum fe_hierarchy {
1012<para>Points to parameters for tuning operation.</para> 1005<para>Points to parameters for tuning operation.</para>
1013</entry> 1006</entry>
1014 </row></tbody></tgroup></informaltable> 1007 </row></tbody></tgroup></informaltable>
1015<para>ERRORS 1008&return-value-dvb;
1016</para>
1017<informaltable><tgroup cols="2"><tbody><row><entry 1009<informaltable><tgroup cols="2"><tbody><row><entry
1018 align="char"> 1010 align="char">
1019<para>EBADF</para> 1011<para>EBADF</para>
@@ -1085,8 +1077,7 @@ typedef enum fe_hierarchy {
1085</entry> 1077</entry>
1086 </row></tbody></tgroup></informaltable> 1078 </row></tbody></tgroup></informaltable>
1087 1079
1088<para>ERRORS 1080&return-value-dvb;
1089</para>
1090 1081
1091<informaltable><tgroup cols="2"><tbody><row><entry 1082<informaltable><tgroup cols="2"><tbody><row><entry
1092 align="char"> 1083 align="char">
@@ -1187,8 +1178,7 @@ typedef enum fe_hierarchy {
1187</entry> 1178</entry>
1188 </row></tbody></tgroup></informaltable> 1179 </row></tbody></tgroup></informaltable>
1189 1180
1190<para>ERRORS 1181&return-value-dvb;
1191</para>
1192<informaltable><tgroup cols="2"><tbody><row><entry 1182<informaltable><tgroup cols="2"><tbody><row><entry
1193 align="char"> 1183 align="char">
1194<para>EBADF</para> 1184<para>EBADF</para>
@@ -1273,8 +1263,7 @@ typedef enum fe_hierarchy {
1273 to be stored.</para> 1263 to be stored.</para>
1274</entry> 1264</entry>
1275 </row></tbody></tgroup></informaltable> 1265 </row></tbody></tgroup></informaltable>
1276<para>ERRORS 1266&return-value-dvb;
1277</para>
1278<informaltable><tgroup cols="2"><tbody><row><entry 1267<informaltable><tgroup cols="2"><tbody><row><entry
1279 align="char"> 1268 align="char">
1280<para>EBADF</para> 1269<para>EBADF</para>
@@ -1332,8 +1321,7 @@ typedef enum fe_hierarchy {
1332</entry> 1321</entry>
1333 </row></tbody></tgroup></informaltable> 1322 </row></tbody></tgroup></informaltable>
1334 1323
1335<para>ERRORS 1324&return-value-dvb;
1336</para>
1337<informaltable><tgroup cols="2"><tbody><row><entry 1325<informaltable><tgroup cols="2"><tbody><row><entry
1338 align="char"> 1326 align="char">
1339<para>EBADF</para> 1327<para>EBADF</para>
@@ -1405,8 +1393,7 @@ typedef enum fe_hierarchy {
1405</entry> 1393</entry>
1406 </row></tbody></tgroup></informaltable> 1394 </row></tbody></tgroup></informaltable>
1407 1395
1408<para>ERRORS 1396&return-value-dvb;
1409</para>
1410<informaltable><tgroup cols="2"><tbody><row><entry 1397<informaltable><tgroup cols="2"><tbody><row><entry
1411 align="char"> 1398 align="char">
1412<para>EBADF</para> 1399<para>EBADF</para>
@@ -1493,8 +1480,7 @@ typedef enum fe_hierarchy {
1493<para>Pointer to the command to be received.</para> 1480<para>Pointer to the command to be received.</para>
1494</entry> 1481</entry>
1495 </row></tbody></tgroup></informaltable> 1482 </row></tbody></tgroup></informaltable>
1496<para>ERRORS 1483&return-value-dvb;
1497</para>
1498<informaltable><tgroup cols="2"><tbody><row><entry 1484<informaltable><tgroup cols="2"><tbody><row><entry
1499 align="char"> 1485 align="char">
1500<para>EBADF</para> 1486<para>EBADF</para>
@@ -1579,8 +1565,7 @@ typedef enum fe_hierarchy {
1579</entry> 1565</entry>
1580 </row></tbody></tgroup></informaltable> 1566 </row></tbody></tgroup></informaltable>
1581 1567
1582<para>ERRORS 1568&return-value-dvb;
1583</para>
1584<informaltable><tgroup cols="2"><tbody><row><entry 1569<informaltable><tgroup cols="2"><tbody><row><entry
1585 align="char"> 1570 align="char">
1586<para>EBADF</para> 1571<para>EBADF</para>
@@ -1663,8 +1648,7 @@ typedef enum fe_hierarchy {
1663<para>The requested tone generation mode (on/off).</para> 1648<para>The requested tone generation mode (on/off).</para>
1664</entry> 1649</entry>
1665 </row></tbody></tgroup></informaltable> 1650 </row></tbody></tgroup></informaltable>
1666<para>ERRORS 1651&return-value-dvb;
1667</para>
1668<informaltable><tgroup cols="2"><tbody><row><entry 1652<informaltable><tgroup cols="2"><tbody><row><entry
1669 align="char"> 1653 align="char">
1670<para>ENODEV</para> 1654<para>ENODEV</para>
@@ -1748,8 +1732,7 @@ typedef enum fe_hierarchy {
1748</entry> 1732</entry>
1749 </row></tbody></tgroup></informaltable> 1733 </row></tbody></tgroup></informaltable>
1750 1734
1751<para>ERRORS 1735&return-value-dvb;
1752</para>
1753<informaltable><tgroup cols="2"><tbody><row><entry 1736<informaltable><tgroup cols="2"><tbody><row><entry
1754 align="char"> 1737 align="char">
1755<para>ENODEV</para> 1738<para>ENODEV</para>
@@ -1834,8 +1817,7 @@ typedef enum fe_hierarchy {
1834</entry> 1817</entry>
1835 </row></tbody></tgroup></informaltable> 1818 </row></tbody></tgroup></informaltable>
1836 1819
1837<para>ERRORS 1820&return-value-dvb;
1838</para>
1839<informaltable><tgroup cols="2"><tbody><row><entry 1821<informaltable><tgroup cols="2"><tbody><row><entry
1840 align="char"> 1822 align="char">
1841<para>ENODEV</para> 1823<para>ENODEV</para>
@@ -1903,7 +1885,7 @@ FE_TUNE_MODE_ONESHOT When set, this flag will disable any zigzagging or other "n
1903</entry> 1885</entry>
1904 </row></tbody></tgroup></informaltable> 1886 </row></tbody></tgroup></informaltable>
1905 1887
1906<para>ERRORS</para> 1888&return-value-dvb;
1907<informaltable><tgroup cols="2"><tbody><row> 1889<informaltable><tgroup cols="2"><tbody><row>
1908<entry align="char"><para>EINVAL</para></entry> 1890<entry align="char"><para>EINVAL</para></entry>
1909<entry align="char"><para>Invalid argument.</para></entry> 1891<entry align="char"><para>Invalid argument.</para></entry>
@@ -1941,7 +1923,7 @@ sends the specified raw cmd to the dish via DISEqC.
1941</entry> 1923</entry>
1942 </row></tbody></tgroup></informaltable> 1924 </row></tbody></tgroup></informaltable>
1943 1925
1944<para>ERRORS</para> 1926&return-value-dvb;
1945<informaltable><tgroup cols="1"><tbody><row> 1927<informaltable><tgroup cols="1"><tbody><row>
1946<entry align="char"> 1928<entry align="char">
1947 <para>There are no errors in use for this call</para> 1929 <para>There are no errors in use for this call</para>
diff --git a/Documentation/DocBook/media/dvb/video.xml b/Documentation/DocBook/media/dvb/video.xml
index 539c79b027c3..0b1b662c345b 100644
--- a/Documentation/DocBook/media/dvb/video.xml
+++ b/Documentation/DocBook/media/dvb/video.xml
@@ -399,8 +399,7 @@ VIDEO_GET_NAVI:
399<para>(blocking mode is the default)</para> 399<para>(blocking mode is the default)</para>
400</entry> 400</entry>
401 </row></tbody></tgroup></informaltable> 401 </row></tbody></tgroup></informaltable>
402<para>ERRORS 402<para>RETURN VALUE</para>
403</para>
404<informaltable><tgroup cols="2"><tbody><row><entry 403<informaltable><tgroup cols="2"><tbody><row><entry
405 align="char"> 404 align="char">
406<para>ENODEV</para> 405<para>ENODEV</para>
@@ -458,8 +457,7 @@ VIDEO_GET_NAVI:
458<para>File descriptor returned by a previous call to open().</para> 457<para>File descriptor returned by a previous call to open().</para>
459</entry> 458</entry>
460 </row></tbody></tgroup></informaltable> 459 </row></tbody></tgroup></informaltable>
461<para>ERRORS 460<para>RETURN VALUE</para>
462</para>
463<informaltable><tgroup cols="2"><tbody><row><entry 461<informaltable><tgroup cols="2"><tbody><row><entry
464 align="char"> 462 align="char">
465<para>EBADF</para> 463<para>EBADF</para>
@@ -514,8 +512,7 @@ VIDEO_GET_NAVI:
514<para>Size of buf.</para> 512<para>Size of buf.</para>
515</entry> 513</entry>
516 </row></tbody></tgroup></informaltable> 514 </row></tbody></tgroup></informaltable>
517<para>ERRORS 515<para>RETURN VALUE</para>
518</para>
519<informaltable><tgroup cols="2"><tbody><row><entry 516<informaltable><tgroup cols="2"><tbody><row><entry
520 align="char"> 517 align="char">
521<para>EPERM</para> 518<para>EPERM</para>
@@ -595,8 +592,7 @@ role="subsection"><title>VIDEO_STOP</title>
595<para>FALSE: Show last decoded frame.</para> 592<para>FALSE: Show last decoded frame.</para>
596</entry> 593</entry>
597 </row></tbody></tgroup></informaltable> 594 </row></tbody></tgroup></informaltable>
598<para>ERRORS 595&return-value-dvb;
599</para>
600<informaltable><tgroup cols="2"><tbody><row><entry 596<informaltable><tgroup cols="2"><tbody><row><entry
601 align="char"> 597 align="char">
602<para>EBADF</para> 598<para>EBADF</para>
@@ -648,8 +644,7 @@ role="subsection"><title>VIDEO_PLAY</title>
648<para>Equals VIDEO_PLAY for this command.</para> 644<para>Equals VIDEO_PLAY for this command.</para>
649</entry> 645</entry>
650 </row></tbody></tgroup></informaltable> 646 </row></tbody></tgroup></informaltable>
651<para>ERRORS 647&return-value-dvb;
652</para>
653<informaltable><tgroup cols="2"><tbody><row><entry 648<informaltable><tgroup cols="2"><tbody><row><entry
654 align="char"> 649 align="char">
655<para>EBADF</para> 650<para>EBADF</para>
@@ -705,8 +700,7 @@ role="subsection"><title>VIDEO_FREEZE</title>
705<para>Equals VIDEO_FREEZE for this command.</para> 700<para>Equals VIDEO_FREEZE for this command.</para>
706</entry> 701</entry>
707 </row></tbody></tgroup></informaltable> 702 </row></tbody></tgroup></informaltable>
708<para>ERRORS 703&return-value-dvb;
709</para>
710<informaltable><tgroup cols="2"><tbody><row><entry 704<informaltable><tgroup cols="2"><tbody><row><entry
711 align="char"> 705 align="char">
712<para>EBADF</para> 706<para>EBADF</para>
@@ -758,8 +752,7 @@ role="subsection"><title>VIDEO_CONTINUE</title>
758<para>Equals VIDEO_CONTINUE for this command.</para> 752<para>Equals VIDEO_CONTINUE for this command.</para>
759</entry> 753</entry>
760 </row></tbody></tgroup></informaltable> 754 </row></tbody></tgroup></informaltable>
761<para>ERRORS 755&return-value-dvb;
762</para>
763<informaltable><tgroup cols="2"><tbody><row><entry 756<informaltable><tgroup cols="2"><tbody><row><entry
764 align="char"> 757 align="char">
765<para>EBADF</para> 758<para>EBADF</para>
@@ -821,8 +814,7 @@ role="subsection"><title>VIDEO_SELECT_SOURCE</title>
821<para>Indicates which source shall be used for the Video stream.</para> 814<para>Indicates which source shall be used for the Video stream.</para>
822</entry> 815</entry>
823 </row></tbody></tgroup></informaltable> 816 </row></tbody></tgroup></informaltable>
824<para>ERRORS 817&return-value-dvb;
825</para>
826<informaltable><tgroup cols="2"><tbody><row><entry 818<informaltable><tgroup cols="2"><tbody><row><entry
827 align="char"> 819 align="char">
828<para>EBADF</para> 820<para>EBADF</para>
@@ -887,8 +879,7 @@ role="subsection"><title>VIDEO_SET_BLANK</title>
887<para>FALSE: Show last decoded frame.</para> 879<para>FALSE: Show last decoded frame.</para>
888</entry> 880</entry>
889 </row></tbody></tgroup></informaltable> 881 </row></tbody></tgroup></informaltable>
890<para>ERRORS 882&return-value-dvb;
891</para>
892<informaltable><tgroup cols="2"><tbody><row><entry 883<informaltable><tgroup cols="2"><tbody><row><entry
893 align="char"> 884 align="char">
894<para>EBADF</para> 885<para>EBADF</para>
@@ -955,8 +946,7 @@ role="subsection"><title>VIDEO_GET_STATUS</title>
955<para>Returns the current status of the Video Device.</para> 946<para>Returns the current status of the Video Device.</para>
956</entry> 947</entry>
957 </row></tbody></tgroup></informaltable> 948 </row></tbody></tgroup></informaltable>
958<para>ERRORS 949&return-value-dvb;
959</para>
960<informaltable><tgroup cols="2"><tbody><row><entry 950<informaltable><tgroup cols="2"><tbody><row><entry
961 align="char"> 951 align="char">
962<para>EBADF</para> 952<para>EBADF</para>
@@ -1032,8 +1022,7 @@ role="subsection"><title>VIDEO_GET_EVENT</title>
1032 stored.</para> 1022 stored.</para>
1033</entry> 1023</entry>
1034 </row></tbody></tgroup></informaltable> 1024 </row></tbody></tgroup></informaltable>
1035<para>ERRORS 1025&return-value-dvb;
1036</para>
1037<informaltable><tgroup cols="2"><tbody><row><entry 1026<informaltable><tgroup cols="2"><tbody><row><entry
1038 align="char"> 1027 align="char">
1039<para>EBADF</para> 1028<para>EBADF</para>
@@ -1115,8 +1104,7 @@ role="subsection"><title>VIDEO_SET_DISPLAY_FORMAT</title>
1115<para>Selects the video format to be used.</para> 1104<para>Selects the video format to be used.</para>
1116</entry> 1105</entry>
1117 </row></tbody></tgroup></informaltable> 1106 </row></tbody></tgroup></informaltable>
1118<para>ERRORS 1107&return-value-dvb;
1119</para>
1120<informaltable><tgroup cols="2"><tbody><row><entry 1108<informaltable><tgroup cols="2"><tbody><row><entry
1121 align="char"> 1109 align="char">
1122<para>EBADF</para> 1110<para>EBADF</para>
@@ -1185,8 +1173,7 @@ role="subsection"><title>VIDEO_STILLPICTURE</title>
1185<para>Pointer to a location where an I-frame and size is stored.</para> 1173<para>Pointer to a location where an I-frame and size is stored.</para>
1186</entry> 1174</entry>
1187 </row></tbody></tgroup></informaltable> 1175 </row></tbody></tgroup></informaltable>
1188<para>ERRORS 1176&return-value-dvb;
1189</para>
1190<informaltable><tgroup cols="2"><tbody><row><entry 1177<informaltable><tgroup cols="2"><tbody><row><entry
1191 align="char"> 1178 align="char">
1192<para>EBADF</para> 1179<para>EBADF</para>
@@ -1252,8 +1239,7 @@ role="subsection"><title>VIDEO_FAST_FORWARD</title>
1252<para>The number of frames to skip.</para> 1239<para>The number of frames to skip.</para>
1253</entry> 1240</entry>
1254 </row></tbody></tgroup></informaltable> 1241 </row></tbody></tgroup></informaltable>
1255<para>ERRORS 1242&return-value-dvb;
1256</para>
1257<informaltable><tgroup cols="2"><tbody><row><entry 1243<informaltable><tgroup cols="2"><tbody><row><entry
1258 align="char"> 1244 align="char">
1259<para>EBADF</para> 1245<para>EBADF</para>
@@ -1326,8 +1312,7 @@ role="subsection"><title>VIDEO_SLOWMOTION</title>
1326<para>The number of times to repeat each frame.</para> 1312<para>The number of times to repeat each frame.</para>
1327</entry> 1313</entry>
1328 </row></tbody></tgroup></informaltable> 1314 </row></tbody></tgroup></informaltable>
1329<para>ERRORS 1315&return-value-dvb;
1330</para>
1331<informaltable><tgroup cols="2"><tbody><row><entry 1316<informaltable><tgroup cols="2"><tbody><row><entry
1332 align="char"> 1317 align="char">
1333<para>EBADF</para> 1318<para>EBADF</para>
@@ -1402,8 +1387,7 @@ role="subsection"><title>VIDEO_GET_CAPABILITIES</title>
1402 information.</para> 1387 information.</para>
1403</entry> 1388</entry>
1404 </row></tbody></tgroup></informaltable> 1389 </row></tbody></tgroup></informaltable>
1405<para>ERRORS 1390&return-value-dvb;
1406</para>
1407<informaltable><tgroup cols="2"><tbody><row><entry 1391<informaltable><tgroup cols="2"><tbody><row><entry
1408 align="char"> 1392 align="char">
1409<para>EBADF</para> 1393<para>EBADF</para>
@@ -1462,8 +1446,7 @@ role="subsection"><title>VIDEO_SET_ID</title>
1462<para>video sub-stream id</para> 1446<para>video sub-stream id</para>
1463</entry> 1447</entry>
1464 </row></tbody></tgroup></informaltable> 1448 </row></tbody></tgroup></informaltable>
1465<para>ERRORS 1449&return-value-dvb;
1466</para>
1467<informaltable><tgroup cols="2"><tbody><row><entry 1450<informaltable><tgroup cols="2"><tbody><row><entry
1468 align="char"> 1451 align="char">
1469<para>EBADF</para> 1452<para>EBADF</para>
@@ -1520,8 +1503,7 @@ role="subsection"><title>VIDEO_CLEAR_BUFFER</title>
1520<para>Equals VIDEO_CLEAR_BUFFER for this command.</para> 1503<para>Equals VIDEO_CLEAR_BUFFER for this command.</para>
1521</entry> 1504</entry>
1522 </row></tbody></tgroup></informaltable> 1505 </row></tbody></tgroup></informaltable>
1523<para>ERRORS 1506&return-value-dvb;
1524</para>
1525<informaltable><tgroup cols="2"><tbody><row><entry 1507<informaltable><tgroup cols="2"><tbody><row><entry
1526 align="char"> 1508 align="char">
1527<para>EBADF</para> 1509<para>EBADF</para>
@@ -1574,8 +1556,7 @@ role="subsection"><title>VIDEO_SET_STREAMTYPE</title>
1574<para>stream type</para> 1556<para>stream type</para>
1575</entry> 1557</entry>
1576 </row></tbody></tgroup></informaltable> 1558 </row></tbody></tgroup></informaltable>
1577<para>ERRORS 1559&return-value-dvb;
1578</para>
1579<informaltable><tgroup cols="2"><tbody><row><entry 1560<informaltable><tgroup cols="2"><tbody><row><entry
1580 align="char"> 1561 align="char">
1581<para>EBADF</para> 1562<para>EBADF</para>
@@ -1635,8 +1616,7 @@ role="subsection"><title>VIDEO_SET_FORMAT</title>
1635<para>video format of TV as defined in section ??.</para> 1616<para>video format of TV as defined in section ??.</para>
1636</entry> 1617</entry>
1637 </row></tbody></tgroup></informaltable> 1618 </row></tbody></tgroup></informaltable>
1638<para>ERRORS 1619&return-value-dvb;
1639</para>
1640<informaltable><tgroup cols="2"><tbody><row><entry 1620<informaltable><tgroup cols="2"><tbody><row><entry
1641 align="char"> 1621 align="char">
1642<para>EBADF</para> 1622<para>EBADF</para>
@@ -1697,8 +1677,7 @@ role="subsection"><title>VIDEO_SET_SYSTEM</title>
1697<para>video system of TV output.</para> 1677<para>video system of TV output.</para>
1698</entry> 1678</entry>
1699 </row></tbody></tgroup></informaltable> 1679 </row></tbody></tgroup></informaltable>
1700<para>ERRORS 1680&return-value-dvb;
1701</para>
1702<informaltable><tgroup cols="2"><tbody><row><entry 1681<informaltable><tgroup cols="2"><tbody><row><entry
1703 align="char"> 1682 align="char">
1704<para>EBADF</para> 1683<para>EBADF</para>
@@ -1757,8 +1736,7 @@ role="subsection"><title>VIDEO_SET_HIGHLIGHT</title>
1757<para>SPU Highlight information according to section ??.</para> 1736<para>SPU Highlight information according to section ??.</para>
1758</entry> 1737</entry>
1759 </row></tbody></tgroup></informaltable> 1738 </row></tbody></tgroup></informaltable>
1760<para>ERRORS 1739&return-value-dvb;
1761</para>
1762<informaltable><tgroup cols="2"><tbody><row><entry 1740<informaltable><tgroup cols="2"><tbody><row><entry
1763 align="char"> 1741 align="char">
1764<para>EBADF</para> 1742<para>EBADF</para>
@@ -1818,8 +1796,7 @@ role="subsection"><title>VIDEO_SET_SPU</title>
1818 to section ??.</para> 1796 to section ??.</para>
1819</entry> 1797</entry>
1820 </row></tbody></tgroup></informaltable> 1798 </row></tbody></tgroup></informaltable>
1821<para>ERRORS 1799&return-value-dvb;
1822</para>
1823<informaltable><tgroup cols="2"><tbody><row><entry 1800<informaltable><tgroup cols="2"><tbody><row><entry
1824 align="char"> 1801 align="char">
1825<para>EBADF</para> 1802<para>EBADF</para>
@@ -1879,8 +1856,7 @@ role="subsection"><title>VIDEO_SET_SPU_PALETTE</title>
1879<para>SPU palette according to section ??.</para> 1856<para>SPU palette according to section ??.</para>
1880</entry> 1857</entry>
1881 </row></tbody></tgroup></informaltable> 1858 </row></tbody></tgroup></informaltable>
1882<para>ERRORS 1859&return-value-dvb;
1883</para>
1884<informaltable><tgroup cols="2"><tbody><row><entry 1860<informaltable><tgroup cols="2"><tbody><row><entry
1885 align="char"> 1861 align="char">
1886<para>EBADF</para> 1862<para>EBADF</para>
@@ -1941,8 +1917,7 @@ role="subsection"><title>VIDEO_GET_NAVI</title>
1941 ??.</para> 1917 ??.</para>
1942</entry> 1918</entry>
1943 </row></tbody></tgroup></informaltable> 1919 </row></tbody></tgroup></informaltable>
1944<para>ERRORS 1920&return-value-dvb;
1945</para>
1946<informaltable><tgroup cols="2"><tbody><row><entry 1921<informaltable><tgroup cols="2"><tbody><row><entry
1947 align="char"> 1922 align="char">
1948<para>EBADF</para> 1923<para>EBADF</para>
@@ -2003,8 +1978,7 @@ role="subsection"><title>VIDEO_SET_ATTRIBUTES</title>
2003<para>video attributes according to section ??.</para> 1978<para>video attributes according to section ??.</para>
2004</entry> 1979</entry>
2005 </row></tbody></tgroup></informaltable> 1980 </row></tbody></tgroup></informaltable>
2006<para>ERRORS 1981&return-value-dvb;
2007</para>
2008<informaltable><tgroup cols="2"><tbody><row><entry 1982<informaltable><tgroup cols="2"><tbody><row><entry
2009 align="char"> 1983 align="char">
2010<para>EBADF</para> 1984<para>EBADF</para>
diff --git a/Documentation/DocBook/media_api.tmpl b/Documentation/DocBook/media_api.tmpl
index c273e3c54fc5..4e8e8985cc17 100644
--- a/Documentation/DocBook/media_api.tmpl
+++ b/Documentation/DocBook/media_api.tmpl
@@ -9,6 +9,7 @@
9<!ENTITY fd "File descriptor returned by <link linkend='func-open'><function>open()</function></link>."> 9<!ENTITY fd "File descriptor returned by <link linkend='func-open'><function>open()</function></link>.">
10<!ENTITY i2c "I<superscript>2</superscript>C"> 10<!ENTITY i2c "I<superscript>2</superscript>C">
11<!ENTITY return-value "<title>Return Value</title><para>On success <returnvalue>0</returnvalue> is returned, on error <returnvalue>-1</returnvalue> and the <varname>errno</varname> variable is set appropriately. The generic error codes are described at the <link linkend='gen-errors'>Generic Error Codes</link> chapter.</para>"> 11<!ENTITY return-value "<title>Return Value</title><para>On success <returnvalue>0</returnvalue> is returned, on error <returnvalue>-1</returnvalue> and the <varname>errno</varname> variable is set appropriately. The generic error codes are described at the <link linkend='gen-errors'>Generic Error Codes</link> chapter.</para>">
12<!ENTITY return-value-dvb "<para>RETURN VALUE</para><para>On success <returnvalue>0</returnvalue> is returned, on error <returnvalue>-1</returnvalue> and the <varname>errno</varname> variable is set appropriately. The generic error codes are described at the <link linkend='gen-errors'>Generic Error Codes</link> chapter.</para>">
12<!ENTITY manvol "<manvolnum>2</manvolnum>"> 13<!ENTITY manvol "<manvolnum>2</manvolnum>">
13 14
14<!-- Table templates: structs, structs w/union, defines. --> 15<!-- Table templates: structs, structs w/union, defines. -->