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-only */
2 
3 #include <device/azalia_device.h>
4 
5 const u32 cim_verb_data[] = {
6  0x10ec0280, /* Codec Vendor / Device ID: Realtek */
7  0x103c22db, /* Subsystem ID */
8  57, /* Number of 4 dword sets */
9  AZALIA_SUBVENDOR(0, 0x103c22db),
10  AZALIA_RESET(1),
11  AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
12  AZALIA_PIN_CFG(0, 0x13, 0x40000000),
13  AZALIA_PIN_CFG(0, 0x14, 0x90170110),
14  AZALIA_PIN_CFG(0, 0x15, 0x0321101f),
15  AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
16  AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
17  AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
18  AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
19  AZALIA_PIN_CFG(0, 0x1a, 0x03a11020),
20  AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
21  AZALIA_PIN_CFG(0, 0x1d, 0x40738105),
22  AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
23 
24  /* The following is from the OEM firmware */
25  0x02050007, 0x0204c200, 0x02050063, 0x02044800,
26  0x02050066, 0x02040809, 0x02050015, 0x02048842,
27  0x0205000f, 0x0204cccc, 0x02050010, 0x0204ccdd,
28  0x02050065, 0x02042000, 0x0205001c, 0x0204c900,
29  0x02050018, 0x02043788, 0x02050008, 0x02048210,
30  0x02050068, 0x02043022, 0x02050006, 0x02040800,
31  0x02050061, 0x02040403, 0x02050061, 0x02040403,
32  0x0205005f, 0x02040800, 0x02050060, 0x02040800,
33  0x0205002c, 0x02044002, 0x0205002e, 0x02041ec4,
34  0x0205002f, 0x02040000, 0x02050033, 0x0204c5e8,
35  0x02050034, 0x02041a98, 0x02050035, 0x0204f5ad,
36  0x02050036, 0x0204cbd2, 0x02050037, 0x02041605,
37  0x02050038, 0x0204f5ad, 0x02050039, 0x0204ea5f,
38  0x0205003a, 0x02040b42, 0x0205003b, 0x0204fb54,
39  0x0205003c, 0x0204fcd9, 0x0205003d, 0x02040000,
40  0x02050030, 0x02041f5c, 0x02050031, 0x02040111,
41  0x02050032, 0x02041f5f, 0x0205003e, 0x02041ea9,
42  0x0205002f, 0x02040000, 0x02050042, 0x0204c66e,
43  0x02050043, 0x02041a29, 0x02050035, 0x0204f5ad,
44  0x02050044, 0x0204ccdd, 0x02050045, 0x02041549,
45  0x02050038, 0x0204f5ad, 0x02050046, 0x0204ee79,
46  0x02050047, 0x020409f4, 0x0205003b, 0x0204fb54,
47  0x02050048, 0x0204fa4c, 0x0205003d, 0x02040000,
48  0x0205003f, 0x02041f4d, 0x02050040, 0x02040129,
49  0x02050041, 0x02041f51, 0x02050049, 0x02041f61,
50  0x0205002f, 0x02040000, 0x0205004d, 0x0204c2f4,
51  0x0205004e, 0x02041d2e, 0x02050035, 0x0204f5ad,
52  0x0205004f, 0x0204c5e8, 0x02050050, 0x02041a98,
53  0x02050038, 0x0204f5ad, 0x02050051, 0x0204d30e,
54  0x02050052, 0x020413e6, 0x0205003b, 0x0204fb54,
55  0x02050053, 0x02040b73, 0x0205003d, 0x02040000,
56  0x0205004a, 0x02041faf, 0x0205004b, 0x0204008a,
57  0x0205004c, 0x02041fb0, 0x02050054, 0x02041fb0,
58  0x0205002f, 0x02040000, 0x02050058, 0x0204c17a,
59  0x02050059, 0x02041e8f, 0x02050035, 0x0204f5ad,
60  0x0205005a, 0x0204c2f4, 0x0205005b, 0x02041d2e,
61  0x02050038, 0x0204f5ad, 0x0205005c, 0x0204c899,
62  0x0205005d, 0x0204195b, 0x0205003b, 0x0204fb54,
63  0x0205005e, 0x02041444, 0x0205003d, 0x02040000,
64  0x02050055, 0x02041fd8, 0x02050056, 0x02040045,
65  0x02050057, 0x02041fd8, 0x0205002c, 0x0204ffc2,
66  0x02050026, 0x02042828, 0x02050029, 0x02040250,
67  0x02050004, 0x0204c09e, 0x0205000e, 0x02045001,
68 };
69 
70 const u32 pc_beep_verbs[0] = {};
71 
#define AZALIA_SUBVENDOR(codec, val)
#define AZALIA_PIN_CFG(codec, pin, val)
#define AZALIA_RESET(pin)
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