forked from mirrors/linux
		
	media: dmx.h: get rid of DMX_GET_CAPS
There's no driver currently using it; it is also not documented about what it would be supposed to do. So, get rid of it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
		
							parent
							
								
									791edca568
								
							
						
					
					
						commit
						286fe1ca3f
					
				
					 5 changed files with 0 additions and 62 deletions
				
			
		| 
						 | 
					@ -58,7 +58,6 @@ replace define DMX_ONESHOT :c:type:`dmx_sct_filter_params`
 | 
				
			||||||
replace define DMX_IMMEDIATE_START :c:type:`dmx_sct_filter_params`
 | 
					replace define DMX_IMMEDIATE_START :c:type:`dmx_sct_filter_params`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# some typedefs should point to struct/enums
 | 
					# some typedefs should point to struct/enums
 | 
				
			||||||
replace typedef dmx_caps_t :c:type:`dmx_caps`
 | 
					 | 
				
			||||||
replace typedef dmx_filter_t :c:type:`dmx_filter`
 | 
					replace typedef dmx_filter_t :c:type:`dmx_filter`
 | 
				
			||||||
replace typedef dmx_pes_type_t :c:type:`dmx_pes_type`
 | 
					replace typedef dmx_pes_type_t :c:type:`dmx_pes_type`
 | 
				
			||||||
replace typedef dmx_input_t :c:type:`dmx_input`
 | 
					replace typedef dmx_input_t :c:type:`dmx_input`
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,41 +0,0 @@
 | 
				
			||||||
.. -*- coding: utf-8; mode: rst -*-
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.. _DMX_GET_CAPS:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
============
 | 
					 | 
				
			||||||
DMX_GET_CAPS
 | 
					 | 
				
			||||||
============
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Name
 | 
					 | 
				
			||||||
----
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
DMX_GET_CAPS
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Synopsis
 | 
					 | 
				
			||||||
--------
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.. c:function:: int ioctl(fd, DMX_GET_CAPS, struct dmx_caps *caps)
 | 
					 | 
				
			||||||
    :name: DMX_GET_CAPS
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Arguments
 | 
					 | 
				
			||||||
---------
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
``fd``
 | 
					 | 
				
			||||||
    File descriptor returned by :c:func:`open() <dvb-dmx-open>`.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
``caps``
 | 
					 | 
				
			||||||
    Pointer to struct :c:type:`dmx_caps`
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
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.
 | 
					 | 
				
			||||||
| 
						 | 
					@ -21,7 +21,6 @@ Demux Function Calls
 | 
				
			||||||
    dmx-get-event
 | 
					    dmx-get-event
 | 
				
			||||||
    dmx-get-stc
 | 
					    dmx-get-stc
 | 
				
			||||||
    dmx-get-pes-pids
 | 
					    dmx-get-pes-pids
 | 
				
			||||||
    dmx-get-caps
 | 
					 | 
				
			||||||
    dmx-set-source
 | 
					    dmx-set-source
 | 
				
			||||||
    dmx-add-pid
 | 
					    dmx-add-pid
 | 
				
			||||||
    dmx-remove-pid
 | 
					    dmx-remove-pid
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -199,18 +199,6 @@ struct dmx_stc
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct dmx_caps
 | 
					 | 
				
			||||||
===============
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.. c:type:: dmx_caps
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.. code-block:: c
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
     typedef struct dmx_caps {
 | 
					 | 
				
			||||||
	__u32 caps;
 | 
					 | 
				
			||||||
	int num_decoders;
 | 
					 | 
				
			||||||
    } dmx_caps_t;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum dmx_source
 | 
					enum dmx_source
 | 
				
			||||||
===============
 | 
					===============
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -115,11 +115,6 @@ struct dmx_pes_filter_params
 | 
				
			||||||
	__u32           flags;
 | 
						__u32           flags;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct dmx_caps {
 | 
					 | 
				
			||||||
	__u32 caps;
 | 
					 | 
				
			||||||
	int num_decoders;
 | 
					 | 
				
			||||||
};
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
enum dmx_source {
 | 
					enum dmx_source {
 | 
				
			||||||
	DMX_SOURCE_FRONT0 = 0,
 | 
						DMX_SOURCE_FRONT0 = 0,
 | 
				
			||||||
	DMX_SOURCE_FRONT1,
 | 
						DMX_SOURCE_FRONT1,
 | 
				
			||||||
| 
						 | 
					@ -143,7 +138,6 @@ struct dmx_stc {
 | 
				
			||||||
#define DMX_SET_PES_FILTER       _IOW('o', 44, struct dmx_pes_filter_params)
 | 
					#define DMX_SET_PES_FILTER       _IOW('o', 44, struct dmx_pes_filter_params)
 | 
				
			||||||
#define DMX_SET_BUFFER_SIZE      _IO('o', 45)
 | 
					#define DMX_SET_BUFFER_SIZE      _IO('o', 45)
 | 
				
			||||||
#define DMX_GET_PES_PIDS         _IOR('o', 47, __u16[5])
 | 
					#define DMX_GET_PES_PIDS         _IOR('o', 47, __u16[5])
 | 
				
			||||||
#define DMX_GET_CAPS             _IOR('o', 48, struct dmx_caps)
 | 
					 | 
				
			||||||
#define DMX_SET_SOURCE           _IOW('o', 49, enum dmx_source)
 | 
					#define DMX_SET_SOURCE           _IOW('o', 49, enum dmx_source)
 | 
				
			||||||
#define DMX_GET_STC              _IOWR('o', 50, struct dmx_stc)
 | 
					#define DMX_GET_STC              _IOWR('o', 50, struct dmx_stc)
 | 
				
			||||||
#define DMX_ADD_PID              _IOW('o', 51, __u16)
 | 
					#define DMX_ADD_PID              _IOW('o', 51, __u16)
 | 
				
			||||||
| 
						 | 
					@ -156,7 +150,6 @@ typedef enum dmx_output dmx_output_t;
 | 
				
			||||||
typedef enum dmx_input dmx_input_t;
 | 
					typedef enum dmx_input dmx_input_t;
 | 
				
			||||||
typedef enum dmx_ts_pes dmx_pes_type_t;
 | 
					typedef enum dmx_ts_pes dmx_pes_type_t;
 | 
				
			||||||
typedef struct dmx_filter dmx_filter_t;
 | 
					typedef struct dmx_filter dmx_filter_t;
 | 
				
			||||||
typedef struct dmx_caps dmx_caps_t;
 | 
					 | 
				
			||||||
typedef enum dmx_source  dmx_source_t;
 | 
					typedef enum dmx_source  dmx_source_t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue