linux/sound/soc/intel/avs/board_selection.c

// SPDX-License-Identifier: GPL-2.0-only
//
// Copyright(c) 2021-2022 Intel Corporation
//
// Authors: Cezary Rojewski <[email protected]>
//          Amadeusz Slawinski <[email protected]>
//

#include <linux/acpi.h>
#include <linux/module.h>
#include <linux/dmi.h>
#include <linux/pci.h>
#include <acpi/nhlt.h>
#include <linux/platform_device.h>
#include <sound/hda_codec.h>
#include <sound/hda_register.h>
#include <sound/soc-acpi.h>
#include <sound/soc-component.h>
#include "avs.h"

static bool i2s_test;
module_param(i2s_test, bool, 0444);
MODULE_PARM_DESC();

static const struct dmi_system_id kbl_dmi_table[] =;

static const struct dmi_system_id kblr_dmi_table[] =;

static struct snd_soc_acpi_mach *dmi_match_quirk(void *arg)
{}

#define AVS_SSP(x)
#define AVS_SSP_RANGE(a, b)

/* supported I2S board codec configurations */
static struct snd_soc_acpi_mach avs_skl_i2s_machines[] =;

static struct snd_soc_acpi_mach avs_kbl_i2s_machines[] =;

static struct snd_soc_acpi_mach avs_apl_i2s_machines[] =;

static struct snd_soc_acpi_mach avs_gml_i2s_machines[] =;

static struct snd_soc_acpi_mach avs_cnl_i2s_machines[] =;

static struct snd_soc_acpi_mach avs_icl_i2s_machines[] =;

static struct snd_soc_acpi_mach avs_tgl_i2s_machines[] =;

static struct snd_soc_acpi_mach avs_test_i2s_machines[] =;

struct avs_acpi_boards {};

#define AVS_MACH_ENTRY(_id, _mach)

/* supported I2S boards per platform */
static const struct avs_acpi_boards i2s_boards[] =;

static const struct avs_acpi_boards *avs_get_i2s_boards(struct avs_dev *adev)
{}

/* platform devices owned by AVS audio are removed with this hook */
static void board_pdev_unregister(void *data)
{}

static int __maybe_unused avs_register_probe_board(struct avs_dev *adev)
{}

static int avs_register_dmic_board(struct avs_dev *adev)
{}

static int avs_register_i2s_board(struct avs_dev *adev, struct snd_soc_acpi_mach *mach)
{}

static int avs_register_i2s_boards(struct avs_dev *adev)
{}

static int avs_register_hda_board(struct avs_dev *adev, struct hda_codec *codec)
{}

static int avs_register_hda_boards(struct avs_dev *adev)
{}

int avs_register_all_boards(struct avs_dev *adev)
{}

void avs_unregister_all_boards(struct avs_dev *adev)
{}