linux/drivers/media/common/videobuf2/videobuf2-dvb.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *
 * some helper function for simple DVB cards which simply DMA the
 * complete transport stream and let the computer sort everything else
 * (i.e. we are using the software demux, ...).  Also uses vb2
 * to manage DMA buffers.
 *
 * (c) 2004 Gerd Knorr <[email protected]> [SUSE Labs]
 */

#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/slab.h>

#include <media/videobuf2-dvb.h>

/* ------------------------------------------------------------------ */

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();

/* ------------------------------------------------------------------ */

static int dvb_fnc(struct vb2_buffer *vb, void *priv)
{}

static int vb2_dvb_start_feed(struct dvb_demux_feed *feed)
{}

static int vb2_dvb_stop_feed(struct dvb_demux_feed *feed)
{}

static int vb2_dvb_register_adapter(struct vb2_dvb_frontends *fe,
			  struct module *module,
			  void *adapter_priv,
			  struct device *device,
			  struct media_device *mdev,
			  char *adapter_name,
			  short *adapter_nr,
			  int mfe_shared)
{}

static int vb2_dvb_register_frontend(struct dvb_adapter *adapter,
	struct vb2_dvb *dvb)
{}

/* ------------------------------------------------------------------ */
/* Register a single adapter and one or more frontends */
int vb2_dvb_register_bus(struct vb2_dvb_frontends *f,
			 struct module *module,
			 void *adapter_priv,
			 struct device *device,
			 struct media_device *mdev,
			 short *adapter_nr,
			 int mfe_shared)
{}
EXPORT_SYMBOL();

void vb2_dvb_unregister_bus(struct vb2_dvb_frontends *f)
{}
EXPORT_SYMBOL();

struct vb2_dvb_frontend *vb2_dvb_get_frontend(
	struct vb2_dvb_frontends *f, int id)
{}
EXPORT_SYMBOL();

int vb2_dvb_find_frontend(struct vb2_dvb_frontends *f,
	struct dvb_frontend *p)
{}
EXPORT_SYMBOL();

struct vb2_dvb_frontend *vb2_dvb_alloc_frontend(
	struct vb2_dvb_frontends *f, int id)
{}
EXPORT_SYMBOL();

void vb2_dvb_dealloc_frontends(struct vb2_dvb_frontends *f)
{}
EXPORT_SYMBOL();