coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
hda_verb.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #include <device/azalia_device.h>
4 
5 const u32 cim_verb_data[] = {
6  0x83847680, /* Codec Vendor / Device ID: SigmaTel STAC9221 A1 */
7 #if CONFIG(BOARD_APPLE_MACBOOK11) || CONFIG(BOARD_APPLE_MACBOOK21)
8  0x106b2200, /* Subsystem ID */
9  11, /* Number of 4 dword sets */
10  AZALIA_SUBVENDOR(0, 0x106b2200),
11  AZALIA_PIN_CFG(0, 0x0a, 0x0321e21f),
12  AZALIA_PIN_CFG(0, 0x0b, 0x03a1e02e),
13  AZALIA_PIN_CFG(0, 0x0c, 0x9017e110),
14  AZALIA_PIN_CFG(0, 0x0d, 0x9017e11f),
15  AZALIA_PIN_CFG(0, 0x0e, 0x400000fe),
16  AZALIA_PIN_CFG(0, 0x0f, 0x0381e020),
17  AZALIA_PIN_CFG(0, 0x10, 0x1345e230),
18  AZALIA_PIN_CFG(0, 0x11, 0x13c5e240),
19  AZALIA_PIN_CFG(0, 0x15, 0x400000fc),
20  AZALIA_PIN_CFG(0, 0x1b, 0x400000fb),
21 #else /* CONFIG_BOARD_APPLE_IMAC52 */
22  0x106b0f00, /* Subsystem ID */
23  11, /* Number of 4 dword sets */
24  AZALIA_SUBVENDOR(0, 0x106b0f00),
25  AZALIA_PIN_CFG(0, 0x0a, 0x012be032),
26  AZALIA_PIN_CFG(0, 0x0b, 0x90afe111),
27  AZALIA_PIN_CFG(0, 0x0c, 0x9017e131),
28  AZALIA_PIN_CFG(0, 0x0d, 0x4080e10f),
29  AZALIA_PIN_CFG(0, 0x0e, 0x40f0e00f),
30  AZALIA_PIN_CFG(0, 0x0f, 0x018be021),
31  AZALIA_PIN_CFG(0, 0x10, 0x114bf033),
32  AZALIA_PIN_CFG(0, 0x11, 0x11cbc022),
33  AZALIA_PIN_CFG(0, 0x15, 0x4080e10f),
34  AZALIA_PIN_CFG(0, 0x1b, 0x4080e10f),
35 #endif
36 
37 };
38 
39 const u32 pc_beep_verbs[0] = {};
40 
#define AZALIA_SUBVENDOR(codec, val)
#define AZALIA_PIN_CFG(codec, pin, val)
const u32 cim_verb_data[]
Definition: hda_verb.c:5
const u32 pc_beep_verbs[]
Definition: hda_verb.c:37
AZALIA_ARRAY_SIZES
Definition: hda_verb.c:39
uint32_t u32
Definition: stdint.h:51