acp-config.c (4fb0dacb78c6a041bbd38ddd998df806af5c2c69) acp-config.c (54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5)
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.
7//
8// Authors: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>

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

56 DMI_MATCH(DMI_SYS_VENDOR, "Valve"),
57 DMI_MATCH(DMI_PRODUCT_NAME, "Galileo"),
58 DMI_MATCH(DMI_PRODUCT_FAMILY, "Sephiroth"),
59 },
60 },
61 {}
62 },
63 },
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.
7//
8// Authors: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>

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

56 DMI_MATCH(DMI_SYS_VENDOR, "Valve"),
57 DMI_MATCH(DMI_PRODUCT_NAME, "Galileo"),
58 DMI_MATCH(DMI_PRODUCT_FAMILY, "Sephiroth"),
59 },
60 },
61 {}
62 },
63 },
64 {
65 .flags = FLAG_AMD_LEGACY,
66 .device = ACP_PCI_DEV_ID,
67 .dmi_table = (const struct dmi_system_id []) {
68 {
69 .matches = {
70 DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "HUAWEI"),
71 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "KLVL-WXXW"),
72 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "M1010"),
73 },
74 },
75 {}
76 },
77 },
78 {
79 .flags = FLAG_AMD_LEGACY,
80 .device = ACP_PCI_DEV_ID,
81 .dmi_table = (const struct dmi_system_id []) {
82 {
83 .matches = {
84 DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "HUAWEI"),
85 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "KLVL-WXX9"),
86 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "M1010"),
87 },
88 },
89 {}
90 },
91 },
92 {
93 .flags = FLAG_AMD_LEGACY,
94 .device = ACP_PCI_DEV_ID,
95 .dmi_table = (const struct dmi_system_id []) {
96 {
97 .matches = {
98 DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "HUAWEI"),
99 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "BOM-WXX9"),
100 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "M1010"),
101 },
102 },
103 {}
104 },
105 },
106 {
107 .flags = FLAG_AMD_LEGACY,
108 .device = ACP_PCI_DEV_ID,
109 .dmi_table = (const struct dmi_system_id []) {
110 {
111 .matches = {
112 DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "HUAWEI"),
113 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "HVY-WXX9"),
114 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "M1020"),
115 },
116 },
117 {}
118 },
119 },
120 {
121 .flags = FLAG_AMD_LEGACY,
122 .device = ACP_PCI_DEV_ID,
123 .dmi_table = (const struct dmi_system_id []) {
124 {
125 .matches = {
126 DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "HUAWEI"),
127 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "HVY-WXX9"),
128 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "M1040"),
129 },
130 },
131 {}
132 },
133 },
64};
65
66int snd_amd_acp_find_config(struct pci_dev *pci)
67{
68 const struct config_entry *table = config_table;
69 u16 device = pci->device;
70 int i;
71

--- 125 unchanged lines hidden ---
134};
135
136int snd_amd_acp_find_config(struct pci_dev *pci)
137{
138 const struct config_entry *table = config_table;
139 u16 device = pci->device;
140 int i;
141

--- 125 unchanged lines hidden ---