linux/drivers/media/pci/cx88/cx88-tvaudio.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * cx88x-audio.c - Conexant CX23880/23881 audio downstream driver driver
 *
 *  (c) 2001 Michael Eskin, Tom Zakrajsek [Windows version]
 *  (c) 2002 Yurij Sysoev <[email protected]>
 *  (c) 2003 Gerd Knorr <[email protected]>
 *
 * -----------------------------------------------------------------------
 *
 * Lot of voodoo here.  Even the data sheet doesn't help to
 * understand what is going on here, the documentation for the audio
 * part of the cx2388x chip is *very* bad.
 *
 * Some of this comes from party done linux driver sources I got from
 * [undocumented].
 *
 * Some comes from the dscaler sources, one of the dscaler driver guy works
 * for Conexant ...
 *
 * -----------------------------------------------------------------------
 */

#include "cx88.h"

#include <linux/module.h>
#include <linux/errno.h>
#include <linux/freezer.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/poll.h>
#include <linux/signal.h>
#include <linux/ioport.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/vmalloc.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/kthread.h>

static unsigned int audio_debug;
module_param(audio_debug, int, 0644);
MODULE_PARM_DESC();

static unsigned int always_analog;
module_param(always_analog, int, 0644);
MODULE_PARM_DESC();

static unsigned int radio_deemphasis;
module_param(radio_deemphasis, int, 0644);
MODULE_PARM_DESC();

#define dprintk(fmt, arg...)
/* ----------------------------------------------------------- */

static const char * const aud_ctl_names[64] =;

struct rlist {};

static void set_audio_registers(struct cx88_core *core, const struct rlist *l)
{}

static void set_audio_start(struct cx88_core *core, u32 mode)
{}

static void set_audio_finish(struct cx88_core *core, u32 ctl)
{}

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

static void set_audio_standard_BTSC(struct cx88_core *core, unsigned int sap,
				    u32 mode)
{}

static void set_audio_standard_NICAM(struct cx88_core *core, u32 mode)
{}

static void set_audio_standard_A2(struct cx88_core *core, u32 mode)
{}

static void set_audio_standard_EIAJ(struct cx88_core *core)
{}

static void set_audio_standard_FM(struct cx88_core *core,
				  enum cx88_deemph_type deemph)
{}

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

static int cx88_detect_nicam(struct cx88_core *core)
{}

void cx88_set_tvaudio(struct cx88_core *core)
{}
EXPORT_SYMBOL();

void cx88_newstation(struct cx88_core *core)
{}
EXPORT_SYMBOL();

void cx88_get_stereo(struct cx88_core *core, struct v4l2_tuner *t)
{}
EXPORT_SYMBOL();


void cx88_set_stereo(struct cx88_core *core, u32 mode, int manual)
{}
EXPORT_SYMBOL();

int cx88_audio_thread(void *data)
{}
EXPORT_SYMBOL();