linux/sound/pci/hda/patch_cs8409-tables.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * patch_cs8409-tables.c  --  HD audio interface patch for Cirrus Logic CS8409 HDA bridge chip
 *
 * Copyright (C) 2021 Cirrus Logic, Inc. and
 *                    Cirrus Logic International Semiconductor Ltd.
 *
 * Author: Lucas Tanure <[email protected]>
 */

#include "patch_cs8409.h"

/******************************************************************************
 *                          CS42L42 Specific Data
 *
 ******************************************************************************/

static const DECLARE_TLV_DB_SCALE(cs42l42_dac_db_scale, CS42L42_HP_VOL_REAL_MIN * 100, 100, 1);

static const DECLARE_TLV_DB_SCALE(cs42l42_adc_db_scale, CS42L42_AMIC_VOL_REAL_MIN * 100, 100, 1);

const struct snd_kcontrol_new cs42l42_dac_volume_mixer =;

const struct snd_kcontrol_new cs42l42_adc_volume_mixer =;

const struct hda_pcm_stream cs42l42_48k_pcm_analog_playback =;

const struct hda_pcm_stream cs42l42_48k_pcm_analog_capture =;

/******************************************************************************
 *                   BULLSEYE / WARLOCK / CYBORG Specific Arrays
 *                               CS8409/CS42L42
 ******************************************************************************/

const struct hda_verb cs8409_cs42l42_init_verbs[] =;

static const struct hda_pintbl cs8409_cs42l42_pincfgs[] =;

static const struct hda_pintbl cs8409_cs42l42_pincfgs_no_dmic[] =;

/* Vendor specific HW configuration for CS42L42 */
static const struct cs8409_i2c_param cs42l42_init_reg_seq[] =;

/* Vendor specific hw configuration for CS8409 */
const struct cs8409_cir_param cs8409_cs42l42_hw_cfg[] =;

const struct cs8409_cir_param cs8409_cs42l42_bullseye_atn[] =;

struct sub_codec cs8409_cs42l42_codec =;

/******************************************************************************
 *                          Dolphin Specific Arrays
 *                            CS8409/ 2 X CS42L42
 ******************************************************************************/

const struct hda_verb dolphin_init_verbs[] =;

static const struct hda_pintbl dolphin_pincfgs[] =;

/* Vendor specific HW configuration for CS42L42 */
static const struct cs8409_i2c_param dolphin_c0_init_reg_seq[] =;

static const struct cs8409_i2c_param dolphin_c1_init_reg_seq[] =;

/* Vendor specific hw configuration for CS8409 */
const struct cs8409_cir_param dolphin_hw_cfg[] =;

struct sub_codec dolphin_cs42l42_0 =;

struct sub_codec dolphin_cs42l42_1 =;

/******************************************************************************
 *                         CS8409 Patch Driver Structs
 *                    Arrays Used for all projects using CS8409
 ******************************************************************************/

const struct snd_pci_quirk cs8409_fixup_tbl[] =;

/* Dell Inspiron models with cs8409/cs42l42 */
const struct hda_model_fixup cs8409_models[] =;

const struct hda_fixup cs8409_fixups[] =;