linux/drivers/media/i2c/msp3400-kthreads.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Programming the mspx4xx sound processor family
 *
 * (c) 1997-2001 Gerd Knorr <[email protected]>
 */


#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/freezer.h>
#include <linux/videodev2.h>
#include <media/v4l2-common.h>
#include <media/drv-intf/msp3400.h>
#include <linux/kthread.h>
#include <linux/suspend.h>
#include "msp3400-driver.h"

/* this one uses the automatic sound standard detection of newer msp34xx
   chip versions */
static struct {} msp_stdlist[] =;

static struct msp3400c_init_data_dem {} msp3400c_init_data[] =;

struct msp3400c_carrier_detect {};

static struct msp3400c_carrier_detect msp3400c_carrier_detect_main[] =;

static struct msp3400c_carrier_detect msp3400c_carrier_detect_55[] =;

static struct msp3400c_carrier_detect msp3400c_carrier_detect_65[] =;

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

const char *msp_standard_std_name(int std)
{}

static v4l2_std_id msp_standard_std(int std)
{}

static void msp_set_source(struct i2c_client *client, u16 src)
{}

void msp3400c_set_carrier(struct i2c_client *client, int cdo1, int cdo2)
{}

void msp3400c_set_mode(struct i2c_client *client, int mode)
{}

/* Set audio mode. Note that the pre-'G' models do not support BTSC+SAP,
   nor do they support stereo BTSC. */
static void msp3400c_set_audmode(struct i2c_client *client)
{}

static void msp3400c_print_mode(struct i2c_client *client)
{}

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

static int msp3400c_detect_stereo(struct i2c_client *client)
{}

/*
 * A kernel thread for msp3400 control -- we don't want to block the
 * in the ioctl while doing the sound carrier & stereo detect
 */
/* stereo/multilang monitoring */
static void watch_stereo(struct i2c_client *client)
{}

int msp3400c_thread(void *data)
{}


int msp3410d_thread(void *data)
{}

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

/* msp34xxG + (autoselect no-thread)
 * this one uses both automatic standard detection and automatic sound
 * select which are available in the newer G versions
 * struct msp: only norm, acb and source are really used in this mode
 */

static int msp34xxg_modus(struct i2c_client *client)
{}

static void msp34xxg_set_source(struct i2c_client *client, u16 reg, int in)
{}

static void msp34xxg_set_sources(struct i2c_client *client)
{}

/* (re-)initialize the msp34xxg */
static void msp34xxg_reset(struct i2c_client *client)
{}

int msp34xxg_thread(void *data)
{}

static int msp34xxg_detect_stereo(struct i2c_client *client)
{}

static void msp34xxg_set_audmode(struct i2c_client *client)
{}

void msp_set_audmode(struct i2c_client *client)
{}

int msp_detect_stereo(struct i2c_client *client)
{}