media: dmx.h: get rid of DMX_SET_SOURCE

No driver uses this ioctl, nor it is documented anywhere.

So, get rid of it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Mauro Carvalho Chehab
2017-08-31 14:21:43 -04:00
parent 286fe1ca3f
commit 13adefbe9e
5 changed files with 0 additions and 90 deletions

View File

@@ -1,44 +0,0 @@
.. -*- coding: utf-8; mode: rst -*-
.. _DMX_SET_SOURCE:
==============
DMX_SET_SOURCE
==============
Name
----
DMX_SET_SOURCE
Synopsis
--------
.. c:function:: int ioctl(fd, DMX_SET_SOURCE, struct dmx_source *src)
:name: DMX_SET_SOURCE
Arguments
---------
``fd``
File descriptor returned by :c:func:`open() <dvb-dmx-open>`.
``src``
Undocumented.
Description
-----------
.. note:: This ioctl is undocumented. Documentation is welcome.
Return Value
------------
On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.

View File

@@ -21,6 +21,5 @@ Demux Function Calls
dmx-get-event
dmx-get-stc
dmx-get-pes-pids
dmx-set-source
dmx-add-pid
dmx-remove-pid

View File

@@ -197,23 +197,3 @@ struct dmx_stc
unsigned int base; /* output: divisor for stc to get 90 kHz clock */
__u64 stc; /* output: stc in 'base'*90 kHz units */
};
enum dmx_source
===============
.. c:type:: dmx_source
.. code-block:: c
typedef enum dmx_source {
DMX_SOURCE_FRONT0 = 0,
DMX_SOURCE_FRONT1,
DMX_SOURCE_FRONT2,
DMX_SOURCE_FRONT3,
DMX_SOURCE_DVR0 = 16,
DMX_SOURCE_DVR1,
DMX_SOURCE_DVR2,
DMX_SOURCE_DVR3
} dmx_source_t;