mach-config.h (4f2c0a4acffbec01079c28f839422e64ddeff004) mach-config.h (ef51cddf014b3e4909e9656025d1f7c2b4cc4117)
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 <AjitKumar.Pandey@amd.com>

--- 6 unchanged lines hidden (view full) ---

15#define FLAG_AMD_SOF BIT(1)
16#define FLAG_AMD_SOF_ONLY_DMIC BIT(2)
17#define FLAG_AMD_LEGACY BIT(3)
18
19#define ACP_PCI_DEV_ID 0x15E2
20
21extern struct snd_soc_acpi_mach snd_soc_acpi_amd_sof_machines[];
22extern struct snd_soc_acpi_mach snd_soc_acpi_amd_rmb_sof_machines[];
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 <AjitKumar.Pandey@amd.com>

--- 6 unchanged lines hidden (view full) ---

15#define FLAG_AMD_SOF BIT(1)
16#define FLAG_AMD_SOF_ONLY_DMIC BIT(2)
17#define FLAG_AMD_LEGACY BIT(3)
18
19#define ACP_PCI_DEV_ID 0x15E2
20
21extern struct snd_soc_acpi_mach snd_soc_acpi_amd_sof_machines[];
22extern struct snd_soc_acpi_mach snd_soc_acpi_amd_rmb_sof_machines[];
23extern struct snd_soc_acpi_mach snd_soc_acpi_amd_vangogh_sof_machines[];
23
24struct config_entry {
25 u32 flags;
26 u16 device;
27 const struct dmi_system_id *dmi_table;
28};
29
30#endif
24
25struct config_entry {
26 u32 flags;
27 u16 device;
28 const struct dmi_system_id *dmi_table;
29};
30
31#endif