Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/sound/soc/amd/mach-config.h
26424 views
1
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
2
/*
3
* This file is provided under a dual BSD/GPLv2 license. When using or
4
* redistributing this file, you may do so under either license.
5
*
6
* Copyright(c) 2021 Advanced Micro Devices, Inc. All rights reserved.
7
*
8
* Author: Ajit Kumar Pandey <[email protected]>
9
*/
10
#ifndef __AMD_MACH_CONFIG_H
11
#define __AMD_MACH_CONFIG_H
12
13
#include <sound/soc-acpi.h>
14
15
#define FLAG_AMD_SOF BIT(1)
16
#define FLAG_AMD_SOF_ONLY_DMIC BIT(2)
17
#define FLAG_AMD_LEGACY BIT(3)
18
#define FLAG_AMD_LEGACY_ONLY_DMIC BIT(4)
19
20
#define ACP_PCI_DEV_ID 0x15E2
21
22
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_sof_machines[];
23
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_rmb_sof_machines[];
24
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_vangogh_sof_machines[];
25
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_machines[];
26
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sdw_machines[];
27
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_sdw_machines[];
28
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sof_machines[];
29
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sdw_machines[];
30
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sof_sdw_machines[];
31
32
struct config_entry {
33
u32 flags;
34
u16 device;
35
const struct dmi_system_id *dmi_table;
36
};
37
38
#endif
39
40