···11Digital TV Conditional Access kABI22----------------------------------3344-.. kernel-doc:: drivers/media/dvb-core/dvb_ca_en50221.h44+.. kernel-doc:: include/media/dvb_ca_en50221.h
+3-3
Documentation/media/kapi/dtv-common.rst
···77Provide some commonly-used math functions, usually required in order to88estimate signal strength and signal to noise measurements in dB.991010-.. kernel-doc:: drivers/media/dvb-core/dvb_math.h1010+.. kernel-doc:: include/media/dvb_math.h111112121313DVB devices···15151616Those functions are responsible for handling the DVB device nodes.17171818-.. kernel-doc:: drivers/media/dvb-core/dvbdev.h1818+.. kernel-doc:: include/media/dvbdev.h19192020Digital TV Ring buffer2121~~~~~~~~~~~~~~~~~~~~~~···5252 Resetting the buffer counts as a read and write operation.5353 Two or more writers must be locked against each other.54545555-.. kernel-doc:: drivers/media/dvb-core/dvb_ringbuffer.h5555+.. kernel-doc:: include/media/dvb_ringbuffer.h
+4-4
Documentation/media/kapi/dtv-demux.rst
···88registering low-level, hardware specific driver to a hardware independent99demux layer. It is only of interest for Digital TV device driver writers.1010The header file for this kABI is named ``demux.h`` and located in1111-``drivers/media/dvb-core``.1111+``include/media``.12121313The demux kABI should be implemented for each demux in the system. It is1414used to select the TS source of a demux and to manage the demux resources.···6969Digital TV Demux device registration functions and data structures7070~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~71717272-.. kernel-doc:: drivers/media/dvb-core/dmxdev.h7272+.. kernel-doc:: include/media/dmxdev.h73737474High-level Digital TV demux interface7575~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~76767777-.. kernel-doc:: drivers/media/dvb-core/dvb_demux.h7777+.. kernel-doc:: include/media/dvb_demux.h78787979Driver-internal low-level hardware specific driver demux interface8080~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~81818282-.. kernel-doc:: drivers/media/dvb-core/demux.h8282+.. kernel-doc:: include/media/demux.h
+4-4
Documentation/media/kapi/dtv-frontend.rst
···88registering low-level, hardware specific driver to a hardware independent99frontend layer. It is only of interest for Digital TV device driver writers.1010The header file for this API is named ``dvb_frontend.h`` and located in1111-``drivers/media/dvb-core``.1111+``include/media/``.12121313Demodulator driver1414^^^^^^^^^^^^^^^^^^···1717hardware. Such driver should implement :c:type:`dvb_frontend_ops`, with1818tells what type of digital TV standards are supported, and points to a1919series of functions that allow the DVB core to command the hardware via2020-the code under ``drivers/media/dvb-core/dvb_frontend.c``.2020+the code under ``include/media/dvb_frontend.c``.21212222A typical example of such struct in a driver ``foo`` is::2323···118118119119.. |delta| unicode:: U+00394120120121121-The ``drivers/media/dvb-core/dvb_frontend.c`` has a kernel thread with is121121+The ``include/media/dvb_frontend.c`` has a kernel thread with is122122responsible for tuning the device. It supports multiple algorithms to123123detect a channel, as defined at enum :c:func:`dvbfe_algo`.124124···440440Digital TV Frontend functions and types441441~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~442442443443-.. kernel-doc:: drivers/media/dvb-core/dvb_frontend.h443443+.. kernel-doc:: include/media/dvb_frontend.h
+1-1
Documentation/media/kapi/dtv-net.rst
···11Digital TV Network kABI22-----------------------3344-.. kernel-doc:: drivers/media/dvb-core/dvb_net.h44+.. kernel-doc:: include/media/dvb_net.h
···44444545#include <linux/dvb/frontend.h>46464747-#include "dvbdev.h"4747+#include <media/dvbdev.h>48484949/*5050 * Maximum number of Delivery systems per frontend. It
···33# Makefile for the kernel DVB frontend device drivers.44#5566-ccflags-y += -I$(srctree)/drivers/media/dvb-core/76ccflags-y += -I$(srctree)/drivers/media/tuners/8798# FIXME: RTL2832 SDR driver uses power management directly from USB IF driver
···1414 * GNU General Public License for more details.1515 */16161717-#include <dvb_frontend.h>1717+#include <media/dvb_frontend.h>18181919#include "as102_fe.h"2020
···27272828#include <linux/i2c.h>2929#include <media/v4l2-subdev.h>3030-#include "dvb_frontend.h"3030+#include <media/dvb_frontend.h>31313232/**3333 * struct rtl2832_sdr_platform_data - Platform data for the rtl2832_sdr driver
···2727#include <linux/i2c.h>2828#include <asm/div64.h>29293030-#include "dvb_frontend.h"3030+#include <media/dvb_frontend.h>3131#include "tda18271c2dd.h"32323333/* Max transfer size done by I2C transfer functions */
···2424#define __DVB_TDA826X_H__25252626#include <linux/i2c.h>2727-#include "dvb_frontend.h"2727+#include <media/dvb_frontend.h>28282929/**3030 * Attach a tda826x tuner to the supplied frontend structure.
+1-1
drivers/media/dvb-frontends/ts2020.c
···1919 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.2020 */21212222-#include "dvb_frontend.h"2222+#include <media/dvb_frontend.h>2323#include "ts2020.h"2424#include <linux/regmap.h>2525#include <linux/math64.h>
···19192020#include <linux/platform_device.h>2121#include <linux/dvb/frontend.h>2222-#include "dvb_frontend.h"2222+#include <media/dvb_frontend.h>23232424/**2525 * struct zd1301_demod_platform_data - Platform data for the zd1301_demod driver
···21212222#include "cx23885.h"2323#include "cimax2.h"2424-#include "dvb_ca_en50221.h"2424+#include <media/dvb_ca_en50221.h>25252626/* Max transfer size done by I2C transfer functions */2727#define MAX_XFER_SIZE 64
+1-1
drivers/media/pci/cx23885/cimax2.h
···21212222#ifndef CIMAX2_H2323#define CIMAX2_H2424-#include "dvb_ca_en50221.h"2424+#include <media/dvb_ca_en50221.h>25252626extern int netup_ci_read_attribute_mem(struct dvb_ca_en50221 *en50221,2727 int slot, int addr);
···1919#ifndef IT913X_H2020#define IT913X_H21212222-#include "dvb_frontend.h"2222+#include <media/dvb_frontend.h>23232424/**2525 * struct it913x_platform_data - Platform data for the it913x driver
···2020#include "tuner-xc2028-types.h"21212222#include <linux/dvb/frontend.h>2323-#include "dvb_frontend.h"2323+#include <media/dvb_frontend.h>24242525/* Max transfer size done by I2C transfer functions */2626#define MAX_XFER_SIZE 80
···1313 *1414 * see Documentation/dvb/README.dvb-usb for more information1515 */1616-#include "dvb-usb-ids.h"1616+#include <media/dvb-usb-ids.h>1717#include "dw2102.h"1818#include "si21xx.h"1919#include "stv0299.h"
+1-1
drivers/media/usb/dvb-usb/pctv452e.c
···2626/* FE Power */2727#include "lnbp22.h"28282929-#include "dvb_ca_en50221.h"2929+#include <media/dvb_ca_en50221.h>3030#include "ttpci-eeprom.h"31313232static int debug;
+1-1
drivers/media/usb/dvb-usb/ttusb2.c
···3434#include "tda827x.h"3535#include "lnbp21.h"3636/* CA */3737-#include "dvb_ca_en50221.h"3737+#include <media/dvb_ca_en50221.h>38383939/* debug */4040static int dvb_usb_ttusb2_debug;
···22#ifndef _VIDEOBUF2_DVB_H_33#define _VIDEOBUF2_DVB_H_4455-#include <dvbdev.h>66-#include <dmxdev.h>77-#include <dvb_demux.h>88-#include <dvb_net.h>99-#include <dvb_frontend.h>1010-55+#include <media/dvbdev.h>66+#include <media/dmxdev.h>77+#include <media/dvb_demux.h>88+#include <media/dvb_net.h>99+#include <media/dvb_frontend.h>1110#include <media/videobuf2-v4l2.h>12111312/* We don't actually need to include media-device.h here */