Patrick Georgi submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Matt DeVillier: Looks good to me, approved
mb/**/hda_verb.{c,h}: use denary numerals for codec IDs

Denary, also known as "decimal" or "base 10," is the standard
number system used around the world. Therefore, make use of it.

Change-Id: I7f2937bb7715e0769db3be8cb30d305f9d78b6f8
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37849
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
---
M src/mainboard/apple/macbook21/hda_verb.c
M src/mainboard/apple/macbookair4_2/hda_verb.c
M src/mainboard/asrock/b75pro3-m/hda_verb.c
M src/mainboard/asrock/h110m/hda_verb.c
M src/mainboard/asus/h61m-cs/hda_verb.c
M src/mainboard/asus/maximus_iv_gene-z/hda_verb.c
M src/mainboard/asus/p8h61-m_lx/hda_verb.c
M src/mainboard/asus/p8h61-m_pro/hda_verb.c
M src/mainboard/asus/p8z77-m_pro/hda_verb.c
M src/mainboard/compulab/intense_pc/hda_verb.c
M src/mainboard/facebook/fbg1701/hda_verb.c
M src/mainboard/getac/p470/hda_verb.c
M src/mainboard/gigabyte/ga-b75m-d3h/variants/ga-b75-d3v/include/variant/hda_verb.h
M src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61m-s2pv/hda_verb.c
M src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61ma-d3v/hda_verb.c
M src/mainboard/google/auron/variants/auron_paine/include/variant/hda_verb.h
M src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h
M src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h
M src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h
M src/mainboard/google/beltino/variants/mccloud/hda_verb.c
M src/mainboard/google/beltino/variants/monroe/hda_verb.c
M src/mainboard/google/beltino/variants/panther/hda_verb.c
M src/mainboard/google/beltino/variants/tricky/hda_verb.c
M src/mainboard/google/beltino/variants/zako/hda_verb.c
M src/mainboard/google/butterfly/hda_verb.c
M src/mainboard/google/drallion/variants/drallion/include/variant/hda_verb.h
M src/mainboard/google/jecht/hda_verb.c
M src/mainboard/google/link/hda_verb.c
M src/mainboard/google/parrot/hda_verb.c
M src/mainboard/google/sarien/variants/arcada/include/variant/hda_verb.h
M src/mainboard/google/sarien/variants/sarien/include/variant/hda_verb.h
M src/mainboard/google/slippy/variants/falco/hda_verb.c
M src/mainboard/google/slippy/variants/leon/hda_verb.c
M src/mainboard/google/slippy/variants/peppy/hda_verb.c
M src/mainboard/google/slippy/variants/wolf/hda_verb.c
M src/mainboard/google/stout/hda_verb.c
M src/mainboard/hp/2570p/hda_verb.c
M src/mainboard/hp/2760p/hda_verb.c
M src/mainboard/hp/8460p/hda_verb.c
M src/mainboard/hp/8470p/hda_verb.c
M src/mainboard/hp/8770w/hda_verb.c
M src/mainboard/hp/compaq_8200_elite_sff/hda_verb.c
M src/mainboard/hp/folio_9470m/hda_verb.c
M src/mainboard/hp/revolve_810_g1/hda_verb.c
M src/mainboard/hp/z220_sff_workstation/hda_verb.c
M src/mainboard/intel/baskingridge/hda_verb.c
M src/mainboard/intel/dcp847ske/hda_verb.c
M src/mainboard/intel/emeraldlake2/hda_verb.c
M src/mainboard/intel/wtm2/hda_verb.c
M src/mainboard/kontron/ktqm77/hda_verb.c
M src/mainboard/lenovo/l520/hda_verb.c
M src/mainboard/lenovo/s230u/hda_verb.c
M src/mainboard/lenovo/t410/hda_verb.c
M src/mainboard/lenovo/t420/hda_verb.c
M src/mainboard/lenovo/t420s/hda_verb.c
M src/mainboard/lenovo/t430/hda_verb.c
M src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c
M src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c
M src/mainboard/lenovo/t440p/hda_verb.c
M src/mainboard/lenovo/t520/hda_verb.c
M src/mainboard/lenovo/t530/hda_verb.c
M src/mainboard/lenovo/t60/hda_verb.c
M src/mainboard/lenovo/x131e/hda_verb.c
M src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c
M src/mainboard/lenovo/x201/hda_verb.c
M src/mainboard/lenovo/x220/hda_verb.c
M src/mainboard/lenovo/x230/hda_verb.c
M src/mainboard/lenovo/x60/hda_verb.c
M src/mainboard/msi/ms7707/hda_verb.c
M src/mainboard/packardbell/ms2290/hda_verb.c
M src/mainboard/purism/librem_skl/hda_verb.c
M src/mainboard/samsung/lumpy/hda_verb.c
M src/mainboard/samsung/stumpy/hda_verb.c
M src/mainboard/sapphire/pureplatinumh61/hda_verb.c
74 files changed, 984 insertions(+), 984 deletions(-)

diff --git a/src/mainboard/apple/macbook21/hda_verb.c b/src/mainboard/apple/macbook21/hda_verb.c
index 0d4149c..fa20f38 100644
--- a/src/mainboard/apple/macbook21/hda_verb.c
+++ b/src/mainboard/apple/macbook21/hda_verb.c
@@ -21,31 +21,31 @@
#if CONFIG(BOARD_APPLE_MACBOOK11) || CONFIG(BOARD_APPLE_MACBOOK21)
0x106b2200, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x106b2200),
- AZALIA_PIN_CFG(0x0, 0x0a, 0x0321e21f),
- AZALIA_PIN_CFG(0x0, 0x0b, 0x03a1e02e),
- AZALIA_PIN_CFG(0x0, 0x0c, 0x9017e110),
- AZALIA_PIN_CFG(0x0, 0x0d, 0x9017e11f),
- AZALIA_PIN_CFG(0x0, 0x0e, 0x400000fe),
- AZALIA_PIN_CFG(0x0, 0x0f, 0x0381e020),
- AZALIA_PIN_CFG(0x0, 0x10, 0x1345e230),
- AZALIA_PIN_CFG(0x0, 0x11, 0x13c5e240),
- AZALIA_PIN_CFG(0x0, 0x15, 0x400000fc),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x400000fb),
+ AZALIA_SUBVENDOR(0, 0x106b2200),
+ AZALIA_PIN_CFG(0, 0x0a, 0x0321e21f),
+ AZALIA_PIN_CFG(0, 0x0b, 0x03a1e02e),
+ AZALIA_PIN_CFG(0, 0x0c, 0x9017e110),
+ AZALIA_PIN_CFG(0, 0x0d, 0x9017e11f),
+ AZALIA_PIN_CFG(0, 0x0e, 0x400000fe),
+ AZALIA_PIN_CFG(0, 0x0f, 0x0381e020),
+ AZALIA_PIN_CFG(0, 0x10, 0x1345e230),
+ AZALIA_PIN_CFG(0, 0x11, 0x13c5e240),
+ AZALIA_PIN_CFG(0, 0x15, 0x400000fc),
+ AZALIA_PIN_CFG(0, 0x1b, 0x400000fb),
#else /* CONFIG_BOARD_APPLE_IMAC52 */
0x106b0f00, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x106b0f00),
- AZALIA_PIN_CFG(0x0, 0x0a, 0x012be032),
- AZALIA_PIN_CFG(0x0, 0x0b, 0x90afe111),
- AZALIA_PIN_CFG(0x0, 0x0c, 0x9017e131),
- AZALIA_PIN_CFG(0x0, 0x0d, 0x4080e10f),
- AZALIA_PIN_CFG(0x0, 0x0e, 0x40f0e00f),
- AZALIA_PIN_CFG(0x0, 0x0f, 0x018be021),
- AZALIA_PIN_CFG(0x0, 0x10, 0x114bf033),
- AZALIA_PIN_CFG(0x0, 0x11, 0x11cbc022),
- AZALIA_PIN_CFG(0x0, 0x15, 0x4080e10f),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x4080e10f),
+ AZALIA_SUBVENDOR(0, 0x106b0f00),
+ AZALIA_PIN_CFG(0, 0x0a, 0x012be032),
+ AZALIA_PIN_CFG(0, 0x0b, 0x90afe111),
+ AZALIA_PIN_CFG(0, 0x0c, 0x9017e131),
+ AZALIA_PIN_CFG(0, 0x0d, 0x4080e10f),
+ AZALIA_PIN_CFG(0, 0x0e, 0x40f0e00f),
+ AZALIA_PIN_CFG(0, 0x0f, 0x018be021),
+ AZALIA_PIN_CFG(0, 0x10, 0x114bf033),
+ AZALIA_PIN_CFG(0, 0x11, 0x11cbc022),
+ AZALIA_PIN_CFG(0, 0x15, 0x4080e10f),
+ AZALIA_PIN_CFG(0, 0x1b, 0x4080e10f),
#endif

};
diff --git a/src/mainboard/apple/macbookair4_2/hda_verb.c b/src/mainboard/apple/macbookair4_2/hda_verb.c
index d5b2dcf..f9267e4 100644
--- a/src/mainboard/apple/macbookair4_2/hda_verb.c
+++ b/src/mainboard/apple/macbookair4_2/hda_verb.c
@@ -17,25 +17,25 @@
0x10134206, /* Codec Vendor / Device ID: Cirrus */
0x106b5b00, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x106b5b00),
- AZALIA_PIN_CFG(0x0, 0x09, 0x012b4030),
- AZALIA_PIN_CFG(0x0, 0x0a, 0x400000f0),
- AZALIA_PIN_CFG(0x0, 0x0b, 0x90100120),
- AZALIA_PIN_CFG(0x0, 0x0c, 0x400000f0),
- AZALIA_PIN_CFG(0x0, 0x0d, 0x90a00110),
- AZALIA_PIN_CFG(0x0, 0x0e, 0x400000f0),
- AZALIA_PIN_CFG(0x0, 0x0f, 0x400000f0),
- AZALIA_PIN_CFG(0x0, 0x10, 0x400000f0),
- AZALIA_PIN_CFG(0x0, 0x12, 0x400000f0),
- AZALIA_PIN_CFG(0x0, 0x15, 0x400000f0),
+ AZALIA_SUBVENDOR(0, 0x106b5b00),
+ AZALIA_PIN_CFG(0, 0x09, 0x012b4030),
+ AZALIA_PIN_CFG(0, 0x0a, 0x400000f0),
+ AZALIA_PIN_CFG(0, 0x0b, 0x90100120),
+ AZALIA_PIN_CFG(0, 0x0c, 0x400000f0),
+ AZALIA_PIN_CFG(0, 0x0d, 0x90a00110),
+ AZALIA_PIN_CFG(0, 0x0e, 0x400000f0),
+ AZALIA_PIN_CFG(0, 0x0f, 0x400000f0),
+ AZALIA_PIN_CFG(0, 0x10, 0x400000f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x400000f0),
+ AZALIA_PIN_CFG(0, 0x15, 0x400000f0),

0x80862805, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560010),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560010),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/asrock/b75pro3-m/hda_verb.c b/src/mainboard/asrock/b75pro3-m/hda_verb.c
index 56c36ea..9f98ccf 100644
--- a/src/mainboard/asrock/b75pro3-m/hda_verb.c
+++ b/src/mainboard/asrock/b75pro3-m/hda_verb.c
@@ -21,29 +21,29 @@
0x10ec0892, /* Codec Vendor / Device ID: Realtek */
0x18498892, /* Subsystem ID */
15, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x18498892),
- AZALIA_PIN_CFG(0x0, 0x11, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014010),
- AZALIA_PIN_CFG(0x0, 0x15, 0x01011012),
- AZALIA_PIN_CFG(0x0, 0x16, 0x01016011),
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01a19840),
- AZALIA_PIN_CFG(0x0, 0x19, 0x02a19950),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x0181304f),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x02214120),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4005e601),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x01452130),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x18498892),
+ AZALIA_PIN_CFG(0, 0x11, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014010),
+ AZALIA_PIN_CFG(0, 0x15, 0x01011012),
+ AZALIA_PIN_CFG(0, 0x16, 0x01016011),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x01a19840),
+ AZALIA_PIN_CFG(0, 0x19, 0x02a19950),
+ AZALIA_PIN_CFG(0, 0x1a, 0x0181304f),
+ AZALIA_PIN_CFG(0, 0x1b, 0x02214120),
+ AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4005e601),
+ AZALIA_PIN_CFG(0, 0x1e, 0x01452130),
+ AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),

0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/asrock/h110m/hda_verb.c b/src/mainboard/asrock/h110m/hda_verb.c
index dd182a9..04104bf 100644
--- a/src/mainboard/asrock/h110m/hda_verb.c
+++ b/src/mainboard/asrock/h110m/hda_verb.c
@@ -21,29 +21,29 @@
0x10ec0887, /* Codec Vendor / Device ID: Realtek ALC887 */
0x10438445, /* Subsystem ID */
15, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x10438445),
- AZALIA_PIN_CFG(0x0, 0x11, 0x40000000),
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014020),
- AZALIA_PIN_CFG(0x0, 0x15, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x16, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01a19040),
- AZALIA_PIN_CFG(0x0, 0x19, 0x02a19050),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x0181304f),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x02214030),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4026c629),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x10438445),
+ AZALIA_PIN_CFG(0, 0x11, 0x40000000),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014020),
+ AZALIA_PIN_CFG(0, 0x15, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x01a19040),
+ AZALIA_PIN_CFG(0, 0x19, 0x02a19050),
+ AZALIA_PIN_CFG(0, 0x1a, 0x0181304f),
+ AZALIA_PIN_CFG(0, 0x1b, 0x02214030),
+ AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4026c629),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),

0x80862809, /* Codec Vendor / Device ID: Intel Skylake HDMI */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x2, 0x80860101),
- AZALIA_PIN_CFG(0x2, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x2, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x2, 0x07, 0x18560030)
+ AZALIA_SUBVENDOR(2, 0x80860101),
+ AZALIA_PIN_CFG(2, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(2, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(2, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[] = {
diff --git a/src/mainboard/asus/h61m-cs/hda_verb.c b/src/mainboard/asus/h61m-cs/hda_verb.c
index 4ee07a7..f985419 100644
--- a/src/mainboard/asus/h61m-cs/hda_verb.c
+++ b/src/mainboard/asus/h61m-cs/hda_verb.c
@@ -22,21 +22,21 @@
0x10ec0887, /* Codec Vendor / Device ID: Realtek */
0x10438445, /* Subsystem ID */
15, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x10438445),
- AZALIA_PIN_CFG(0x0, 0x11, 0x40330000),
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014010),
- AZALIA_PIN_CFG(0x0, 0x15, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x16, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01a19030),
- AZALIA_PIN_CFG(0x0, 0x19, 0x02a19040),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x0181303f),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x02214020),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4024c601),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x10438445),
+ AZALIA_PIN_CFG(0, 0x11, 0x40330000),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014010),
+ AZALIA_PIN_CFG(0, 0x15, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x01a19030),
+ AZALIA_PIN_CFG(0, 0x19, 0x02a19040),
+ AZALIA_PIN_CFG(0, 0x1a, 0x0181303f),
+ AZALIA_PIN_CFG(0, 0x1b, 0x02214020),
+ AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4024c601),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/asus/maximus_iv_gene-z/hda_verb.c b/src/mainboard/asus/maximus_iv_gene-z/hda_verb.c
index 3b8eeff..8c8b35f 100644
--- a/src/mainboard/asus/maximus_iv_gene-z/hda_verb.c
+++ b/src/mainboard/asus/maximus_iv_gene-z/hda_verb.c
@@ -21,29 +21,29 @@
0x10ec0889, /* Realtek ALC889 */
0x10ec0889, /* Subsystem ID */
15, /* Number of entries */
- AZALIA_SUBVENDOR(0x0, 0x10ec0889),
- AZALIA_PIN_CFG(0x0, 0x11, 0x414471f0),
- AZALIA_PIN_CFG(0x0, 0x12, 0x59a3112e),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014010),
- AZALIA_PIN_CFG(0x0, 0x15, 0x01011014),
- AZALIA_PIN_CFG(0x0, 0x16, 0x01016011),
- AZALIA_PIN_CFG(0x0, 0x17, 0x01012012),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01a19030),
- AZALIA_PIN_CFG(0x0, 0x19, 0x02a19020),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x01813040),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x02214050),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x9993114f),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x59f00190),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x014471f0),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x41c451f0),
+ AZALIA_SUBVENDOR(0, 0x10ec0889),
+ AZALIA_PIN_CFG(0, 0x11, 0x414471f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x59a3112e),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014010),
+ AZALIA_PIN_CFG(0, 0x15, 0x01011014),
+ AZALIA_PIN_CFG(0, 0x16, 0x01016011),
+ AZALIA_PIN_CFG(0, 0x17, 0x01012012),
+ AZALIA_PIN_CFG(0, 0x18, 0x01a19030),
+ AZALIA_PIN_CFG(0, 0x19, 0x02a19020),
+ AZALIA_PIN_CFG(0, 0x1a, 0x01813040),
+ AZALIA_PIN_CFG(0, 0x1b, 0x02214050),
+ AZALIA_PIN_CFG(0, 0x1c, 0x9993114f),
+ AZALIA_PIN_CFG(0, 0x1d, 0x59f00190),
+ AZALIA_PIN_CFG(0, 0x1e, 0x014471f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x41c451f0),

0x80862805, /* Intel CougarPoint HDMI */
0x80860101, /* Subsystem ID */
4, /* Number of entries */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560010),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560010),
};

const u32 pc_beep_verbs[] = {};
diff --git a/src/mainboard/asus/p8h61-m_lx/hda_verb.c b/src/mainboard/asus/p8h61-m_lx/hda_verb.c
index fb56759..b24df64 100644
--- a/src/mainboard/asus/p8h61-m_lx/hda_verb.c
+++ b/src/mainboard/asus/p8h61-m_lx/hda_verb.c
@@ -21,21 +21,21 @@
0x10ec0887, /* Realtek ALC887-VD */
0x10438445, /* Subsystem ID */
15, /* Number of entries */
- AZALIA_SUBVENDOR(0x0, 0x10438445),
- AZALIA_PIN_CFG(0x0, 0x11, 0x99430130),
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014010),
- AZALIA_PIN_CFG(0x0, 0x15, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x16, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01a19840),
- AZALIA_PIN_CFG(0x0, 0x19, 0x02a19c50),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x0181304f),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x02214c20),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4004c601),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x10438445),
+ AZALIA_PIN_CFG(0, 0x11, 0x99430130),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014010),
+ AZALIA_PIN_CFG(0, 0x15, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x01a19840),
+ AZALIA_PIN_CFG(0, 0x19, 0x02a19c50),
+ AZALIA_PIN_CFG(0, 0x1a, 0x0181304f),
+ AZALIA_PIN_CFG(0, 0x1b, 0x02214c20),
+ AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4004c601),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),
};

const u32 pc_beep_verbs[] = {};
diff --git a/src/mainboard/asus/p8h61-m_pro/hda_verb.c b/src/mainboard/asus/p8h61-m_pro/hda_verb.c
index 403ecb2..fc73c29 100644
--- a/src/mainboard/asus/p8h61-m_pro/hda_verb.c
+++ b/src/mainboard/asus/p8h61-m_pro/hda_verb.c
@@ -19,29 +19,29 @@
0x10ec0887, /* Codec Vendor / Device ID: Realtek */
0x10438444, /* Subsystem ID */
15, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x10438444),
- AZALIA_PIN_CFG(0x0, 0x11, 0x99430140),
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014010),
- AZALIA_PIN_CFG(0x0, 0x15, 0x01011012),
- AZALIA_PIN_CFG(0x0, 0x16, 0x01016011),
- AZALIA_PIN_CFG(0x0, 0x17, 0x01012014),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01a19850),
- AZALIA_PIN_CFG(0x0, 0x19, 0x02a19c60),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x0181305f),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x02214c20),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4005e601),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x01456130),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x10438444),
+ AZALIA_PIN_CFG(0, 0x11, 0x99430140),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014010),
+ AZALIA_PIN_CFG(0, 0x15, 0x01011012),
+ AZALIA_PIN_CFG(0, 0x16, 0x01016011),
+ AZALIA_PIN_CFG(0, 0x17, 0x01012014),
+ AZALIA_PIN_CFG(0, 0x18, 0x01a19850),
+ AZALIA_PIN_CFG(0, 0x19, 0x02a19c60),
+ AZALIA_PIN_CFG(0, 0x1a, 0x0181305f),
+ AZALIA_PIN_CFG(0, 0x1b, 0x02214c20),
+ AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4005e601),
+ AZALIA_PIN_CFG(0, 0x1e, 0x01456130),
+ AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),

0x80862805, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x58560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x58560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x58560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x58560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/asus/p8z77-m_pro/hda_verb.c b/src/mainboard/asus/p8z77-m_pro/hda_verb.c
index 4ab54f9..b8e8d87 100644
--- a/src/mainboard/asus/p8z77-m_pro/hda_verb.c
+++ b/src/mainboard/asus/p8z77-m_pro/hda_verb.c
@@ -22,29 +22,29 @@
0x10ec0892, /* Codec Vendor / Device ID: Realtek */
0x10438436, /* Subsystem ID */
15, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x10438436),
- AZALIA_PIN_CFG(0x0, 0x11, 0x99430140),
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014010),
- AZALIA_PIN_CFG(0x0, 0x15, 0x01011012),
- AZALIA_PIN_CFG(0x0, 0x16, 0x01016011),
- AZALIA_PIN_CFG(0x0, 0x17, 0x01012014),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01a19850),
- AZALIA_PIN_CFG(0x0, 0x19, 0x02a19c60),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x0181305f),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x02214c20),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4005e601),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x01456130),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x10438436),
+ AZALIA_PIN_CFG(0, 0x11, 0x99430140),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014010),
+ AZALIA_PIN_CFG(0, 0x15, 0x01011012),
+ AZALIA_PIN_CFG(0, 0x16, 0x01016011),
+ AZALIA_PIN_CFG(0, 0x17, 0x01012014),
+ AZALIA_PIN_CFG(0, 0x18, 0x01a19850),
+ AZALIA_PIN_CFG(0, 0x19, 0x02a19c60),
+ AZALIA_PIN_CFG(0, 0x1a, 0x0181305f),
+ AZALIA_PIN_CFG(0, 0x1b, 0x02214c20),
+ AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4005e601),
+ AZALIA_PIN_CFG(0, 0x1e, 0x01456130),
+ AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),

0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x58560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x58560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x58560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x58560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/compulab/intense_pc/hda_verb.c b/src/mainboard/compulab/intense_pc/hda_verb.c
index 82017b5..569b9d5 100644
--- a/src/mainboard/compulab/intense_pc/hda_verb.c
+++ b/src/mainboard/compulab/intense_pc/hda_verb.c
@@ -21,29 +21,29 @@
0x10ec0888, /* Codec Vendor / Device ID: Realtek */
0x10ec0888, /* Subsystem ID */
15, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x10ec0888),
- AZALIA_PIN_CFG(0x0, 0x11, 0x411110f0),
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01214120),
- AZALIA_PIN_CFG(0x0, 0x15, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x16, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01a19131),
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x014421f0),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x01c421f0),
+ AZALIA_SUBVENDOR(0, 0x10ec0888),
+ AZALIA_PIN_CFG(0, 0x11, 0x411110f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x01214120),
+ AZALIA_PIN_CFG(0, 0x15, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x01a19131),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x014421f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x01c421f0),

0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x58560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x58560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/facebook/fbg1701/hda_verb.c b/src/mainboard/facebook/fbg1701/hda_verb.c
index 5cf820d..c06bbb3 100644
--- a/src/mainboard/facebook/fbg1701/hda_verb.c
+++ b/src/mainboard/facebook/fbg1701/hda_verb.c
@@ -22,7 +22,7 @@
0x0000000C, /* Number of jacks */

/* HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x152D1165),
+ AZALIA_SUBVENDOR(0, 0x152D1165),

/* Pin Widget Verb Table */

@@ -33,37 +33,37 @@
0x0017FF00,

/* Pin Complex (NID 0x12) DMIC */
- AZALIA_PIN_CFG(0x0, 0x12, 0x90A60130),
+ AZALIA_PIN_CFG(0, 0x12, 0x90A60130),

/* Pin Complex (NID 0x13) DMIC */
- AZALIA_PIN_CFG(0x0, 0x13, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x13, 0x411111F0),

/* Pin Complex (NID 0x14) SPEAKER-OUT (Port-D) */
- AZALIA_PIN_CFG(0x0, 0x14, 0x90180110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90180110),

/* Pin Complex (NID 0x17) I2S-OUT */
- AZALIA_PIN_CFG(0x0, 0x17, 0x01011120),
+ AZALIA_PIN_CFG(0, 0x17, 0x01011120),

/* Pin Complex (NID 0x18) MIC1 (Port-B) */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111F0),

/* Pin Complex (NID 0x19) I2S-IN */
- AZALIA_PIN_CFG(0x0, 0x19, 0x90870140),
+ AZALIA_PIN_CFG(0, 0x19, 0x90870140),

/* Pin Complex (NID 0x1A) LINE1 (Port-C) */
- AZALIA_PIN_CFG(0x0, 0x1A, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x1A, 0x411111F0),

/* Pin Complex (NID 0x1D) PC-BEEP */
- AZALIA_PIN_CFG(0x0, 0x1D, 0x40400001),
+ AZALIA_PIN_CFG(0, 0x1D, 0x40400001),

/* Pin Complex (NID 0x1E) SPDIF-OUT */
- AZALIA_PIN_CFG(0x0, 0x1E, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x1E, 0x411111F0),

/* Pin Complex (NID 0x1F) SPDIF-IN */
- AZALIA_PIN_CFG(0x0, 0x1F, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x1F, 0x411111F0),

/* Pin Complex (NID 0x21) HP-OUT (Port-A) */
- AZALIA_PIN_CFG(0x0, 0x21, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x21, 0x411111F0),

/* POST I2S bypass output SRC */
0x0205002D,
diff --git a/src/mainboard/getac/p470/hda_verb.c b/src/mainboard/getac/p470/hda_verb.c
index e858a35..d46b87f 100644
--- a/src/mainboard/getac/p470/hda_verb.c
+++ b/src/mainboard/getac/p470/hda_verb.c
@@ -22,45 +22,45 @@
0x0000000d, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10ec0000 */
- AZALIA_SUBVENDOR(0x0, 0x10EC0000),
+ AZALIA_SUBVENDOR(0, 0x10EC0000),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12), DMIC */
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111F0),

/* Pin Complex (NID 0x14), LINE_OUT (port D) */
- AZALIA_PIN_CFG(0x0, 0x14, 0x99130110),
+ AZALIA_PIN_CFG(0, 0x14, 0x99130110),

/* Pin Complex (NID 0x15), HP_OUT (port A) */
- AZALIA_PIN_CFG(0x0, 0x15, 0x01214020),
+ AZALIA_PIN_CFG(0, 0x15, 0x01214020),

/* Pin Complex (NID 0x16), MONO-OUT */
- AZALIA_PIN_CFG(0x0, 0x16, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x16, 0x411111F0),

/* Pin Complex (NID 0x18), MIC1 (port B) */
- AZALIA_PIN_CFG(0x0, 0x18, 0x01A19830),
+ AZALIA_PIN_CFG(0, 0x18, 0x01A19830),

/* Pin Complex (NID 0x19), MIC2 (port F) */
- AZALIA_PIN_CFG(0x0, 0x19, 0x99A30931),
+ AZALIA_PIN_CFG(0, 0x19, 0x99A30931),

/* Pin Complex (NID 0x1A), LINE1 (port C) */
- AZALIA_PIN_CFG(0x0, 0x1A, 0x02A1983F),
+ AZALIA_PIN_CFG(0, 0x1A, 0x02A1983F),

/* Pin Complex (NID 0x1B), LINE2 (port E) */
- AZALIA_PIN_CFG(0x0, 0x1B, 0x0221401F),
+ AZALIA_PIN_CFG(0, 0x1B, 0x0221401F),

/* Pin Complex (NID 0x1C), CD_IN */
- AZALIA_PIN_CFG(0x0, 0x1C, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x1C, 0x411111F0),

/* Pin Complex (NID 0x1D), PCBEEP */
- AZALIA_PIN_CFG(0x0, 0x1D, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x1D, 0x411111F0),

/* Pin Complex (NID 0x1E), S/PDIF-OUT */
- AZALIA_PIN_CFG(0x0, 0x1E, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x1E, 0x411111F0),

/* Pin Complex (NID 0x1F), S/PDIF-IN */
- AZALIA_PIN_CFG(0x0, 0x1F, 0x411111F0),
+ AZALIA_PIN_CFG(0, 0x1F, 0x411111F0),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/variants/ga-b75-d3v/include/variant/hda_verb.h b/src/mainboard/gigabyte/ga-b75m-d3h/variants/ga-b75-d3v/include/variant/hda_verb.h
index 76c4ed3..8057a87 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3h/variants/ga-b75-d3v/include/variant/hda_verb.h
+++ b/src/mainboard/gigabyte/ga-b75m-d3h/variants/ga-b75-d3v/include/variant/hda_verb.h
@@ -21,23 +21,23 @@
0x0000000e, // Number of entries

/* NID 0x01: Subsystem ID. */
- AZALIA_SUBVENDOR(0x2, 0x1458a002),
+ AZALIA_SUBVENDOR(2, 0x1458a002),

/* Pin Widget Verb Table */
- AZALIA_PIN_CFG(0x2, 0x11, 0x99430130),
- AZALIA_PIN_CFG(0x2, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x14, 0x01014410),
- AZALIA_PIN_CFG(0x2, 0x15, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x16, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x18, 0x01a19c50),
- AZALIA_PIN_CFG(0x2, 0x19, 0x02a19c60),
- AZALIA_PIN_CFG(0x2, 0x1a, 0x0181345f),
- AZALIA_PIN_CFG(0x2, 0x1b, 0x02214c20),
- AZALIA_PIN_CFG(0x2, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x1d, 0x4004c601),
- AZALIA_PIN_CFG(0x2, 0x1e, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x1f, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x11, 0x99430130),
+ AZALIA_PIN_CFG(2, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x14, 0x01014410),
+ AZALIA_PIN_CFG(2, 0x15, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x18, 0x01a19c50),
+ AZALIA_PIN_CFG(2, 0x19, 0x02a19c60),
+ AZALIA_PIN_CFG(2, 0x1a, 0x0181345f),
+ AZALIA_PIN_CFG(2, 0x1b, 0x02214c20),
+ AZALIA_PIN_CFG(2, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x1d, 0x4004c601),
+ AZALIA_PIN_CFG(2, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x1f, 0x411111f0),
};

#endif
diff --git a/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61m-s2pv/hda_verb.c b/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61m-s2pv/hda_verb.c
index a205ed3..c6df4ca 100644
--- a/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61m-s2pv/hda_verb.c
+++ b/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61m-s2pv/hda_verb.c
@@ -20,21 +20,21 @@
0x10ec0887, /* Realtek ALC887 */
0x1458a002, /* Subsystem ID */
15, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x2, 0x1458a002),
- AZALIA_PIN_CFG(0x2, 0x11, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x14, 0x01014410),
- AZALIA_PIN_CFG(0x2, 0x15, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x16, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x18, 0x01a19c50),
- AZALIA_PIN_CFG(0x2, 0x19, 0x02a19c60),
- AZALIA_PIN_CFG(0x2, 0x1a, 0x0181345f),
- AZALIA_PIN_CFG(0x2, 0x1b, 0x02214c20),
- AZALIA_PIN_CFG(0x2, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x1d, 0x4004c601),
- AZALIA_PIN_CFG(0x2, 0x1e, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x1f, 0x411111f0),
+ AZALIA_SUBVENDOR(2, 0x1458a002),
+ AZALIA_PIN_CFG(2, 0x11, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x14, 0x01014410),
+ AZALIA_PIN_CFG(2, 0x15, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x18, 0x01a19c50),
+ AZALIA_PIN_CFG(2, 0x19, 0x02a19c60),
+ AZALIA_PIN_CFG(2, 0x1a, 0x0181345f),
+ AZALIA_PIN_CFG(2, 0x1b, 0x02214c20),
+ AZALIA_PIN_CFG(2, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x1d, 0x4004c601),
+ AZALIA_PIN_CFG(2, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x1f, 0x411111f0),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61ma-d3v/hda_verb.c b/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61ma-d3v/hda_verb.c
index a28151d..13e5c38 100644
--- a/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61ma-d3v/hda_verb.c
+++ b/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61ma-d3v/hda_verb.c
@@ -20,21 +20,21 @@
0x10ec0887, /* Realtek ALC887 */
0x1458a002, /* Subsystem ID */
15, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x2, 0x1458a002),
- AZALIA_PIN_CFG(0x2, 0x11, 0x411110f0),
- AZALIA_PIN_CFG(0x2, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x14, 0x01014410),
- AZALIA_PIN_CFG(0x2, 0x15, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x16, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x18, 0x01a19c50),
- AZALIA_PIN_CFG(0x2, 0x19, 0x02a19c60),
- AZALIA_PIN_CFG(0x2, 0x1a, 0x0181345f),
- AZALIA_PIN_CFG(0x2, 0x1b, 0x02214c20),
- AZALIA_PIN_CFG(0x2, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x1d, 0x4004c601),
- AZALIA_PIN_CFG(0x2, 0x1e, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x1f, 0x41c46060),
+ AZALIA_SUBVENDOR(2, 0x1458a002),
+ AZALIA_PIN_CFG(2, 0x11, 0x411110f0),
+ AZALIA_PIN_CFG(2, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x14, 0x01014410),
+ AZALIA_PIN_CFG(2, 0x15, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x18, 0x01a19c50),
+ AZALIA_PIN_CFG(2, 0x19, 0x02a19c60),
+ AZALIA_PIN_CFG(2, 0x1a, 0x0181345f),
+ AZALIA_PIN_CFG(2, 0x1b, 0x02214c20),
+ AZALIA_PIN_CFG(2, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x1d, 0x4004c601),
+ AZALIA_PIN_CFG(2, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x1f, 0x41c46060),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/google/auron/variants/auron_paine/include/variant/hda_verb.h b/src/mainboard/google/auron/variants/auron_paine/include/variant/hda_verb.h
index f7cb248..520879b 100644
--- a/src/mainboard/google/auron/variants/auron_paine/include/variant/hda_verb.h
+++ b/src/mainboard/google/auron/variants/auron_paine/include/variant/hda_verb.h
@@ -32,59 +32,59 @@
/* Bits 7:0 - Payload */

/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x11790670),
+ AZALIA_SUBVENDOR(0, 0x11790670),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12) DMIC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),

/* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */
// group 1, cap 0
// no connector, no jack detect
// speaker out, analog
// fixed function, internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),

/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),

/* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */
// group2, cap 0
// black, jack detect
// Mic in, 3.5mm Jack
// connector, External left panel
- AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020),
+ AZALIA_PIN_CFG(0, 0x19, 0x03a11020),

/* Pin Complex (NID 0x1A) LINE1 - Internal Mic */
// group 1, cap 1
// no connector, no jack detect
// mic in, analog connection
// Fixed function, internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x1A, 0x90a70111),
+ AZALIA_PIN_CFG(0, 0x1A, 0x90a70111),

/* Pin Complex (NID 0x1B) LINE2 - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1B, 0x411111f0),

/* Pin Complex (NID 0x1D) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, Internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x1D, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1D, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/
- AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1E, 0x411111f0),

/* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/
// group2, cap 1
// black, jack detect
// HPOut, 3.5mm Jack
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x21, 0x03211021),
+ AZALIA_PIN_CFG(0, 0x21, 0x03211021),

/* Undocumented settings from Realtek (needed for beep_gen) */
/* Widget node 0x20 */
diff --git a/src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h b/src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h
index e283e95..31b97a0 100644
--- a/src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h
+++ b/src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h
@@ -32,55 +32,55 @@
/* Bits 7:0 - Payload */

/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x11790670),
+ AZALIA_SUBVENDOR(0, 0x11790670),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12) DMIC - Enabled */
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60130),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60130),

/* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */
// group 1, cap 0
// no connector, no jack detect
// speaker out, analog
// fixed function, internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),

/* Pin Complex (NID 0x17) MONO Out - Enabled */
- AZALIA_PIN_CFG(0x0, 0x17, 0x40000008),
+ AZALIA_PIN_CFG(0, 0x17, 0x40000008),

/* Pin Complex (NID 0x18) Disabled */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),

/* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */
// group2, cap 0
// black, jack detect
// Mic in, 3.5mm Jack
// connector, External left panel
- AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020),
+ AZALIA_PIN_CFG(0, 0x19, 0x03a11020),

/* Pin Complex (NID 0x1A) LINE1 - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1A, 0x411111f0),

/* Pin Complex (NID 0x1B) LINE2 - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1B, 0x411111f0),

/* Pin Complex (NID 0x1D) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, Internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x1D, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1D, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/
- AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1E, 0x411111f0),

/* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/
// group1
// black, jack detect
// HPOut, 3.5mm Jack
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f),
+ AZALIA_PIN_CFG(0, 0x21, 0x0321101f),

/* Undocumented settings from Realtek (needed for beep_gen) */
/* Widget node 0x20 */
diff --git a/src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h b/src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h
index dc2d534..4841974 100644
--- a/src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h
+++ b/src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h
@@ -32,7 +32,7 @@
/* Bits 7:0 - Payload */

/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x11790670),
+ AZALIA_SUBVENDOR(0, 0x11790670),

/* Pin Widget Verb Table */

@@ -41,50 +41,50 @@
// no connector, no jack detect
// mic in, digital
// fixed function, internal
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60130),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60130),

/* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */
// group 1, cap 0
// no connector, no jack detect
// speaker out, analog
// fixed function, internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),

/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),

/* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */
// group2, cap 0
// black, jack detect
// Mic in, 3.5mm Jack
// connector, External left panel
- AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020),
+ AZALIA_PIN_CFG(0, 0x19, 0x03a11020),

/* Pin Complex (NID 0x1A) LINE1 - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1A, 0x411111f0),

/* Pin Complex (NID 0x1B) LINE2 - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1B, 0x411111f0),

/* Pin Complex (NID 0x1D) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, Internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x1D, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1D, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1E, 0x411111f0),

/* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack */
// group2, cap 1
// black, jack detect
// HPOut, 3.5mm Jack
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x21, 0x03211021),
+ AZALIA_PIN_CFG(0, 0x21, 0x03211021),

/* Undocumented settings from Realtek (needed for beep_gen) */
/* Widget node 0x20 */
diff --git a/src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h b/src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h
index a214a50..e00d5b0 100644
--- a/src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h
+++ b/src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h
@@ -32,7 +32,7 @@
/* Bits 7:0 - Payload */

/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x11790670),
+ AZALIA_SUBVENDOR(0, 0x11790670),

/* Pin Widget Verb Table */

@@ -41,50 +41,50 @@
// no connector, no jack detect
// mic in, digital
// fixed function, internal
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60130),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60130),

/* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */
// group 1, cap 0
// no connector, no jack detect
// speaker out, analog
// fixed function, internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),

/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),

/* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */
// group2, cap 0
// black, jack detect
// Mic in, 3.5mm Jack
// connector, External left panel
- AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020),
+ AZALIA_PIN_CFG(0, 0x19, 0x03a11020),

/* Pin Complex (NID 0x1A) LINE1 - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1A, 0x411111f0),

/* Pin Complex (NID 0x1B) LINE2 - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1B, 0x411111f0),

/* Pin Complex (NID 0x1D) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, Internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/
- AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1E, 0x411111f0),

/* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/
// group2, cap 1
// black, jack detect
// HPOut, 3.5mm Jack
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x21, 0x03211021),
+ AZALIA_PIN_CFG(0, 0x21, 0x03211021),

/* Undocumented settings from Realtek (needed for beep_gen) */
/* Widget node 0x20 */
diff --git a/src/mainboard/google/beltino/variants/mccloud/hda_verb.c b/src/mainboard/google/beltino/variants/mccloud/hda_verb.c
index 233a8ee..6b319db 100644
--- a/src/mainboard/google/beltino/variants/mccloud/hda_verb.c
+++ b/src/mainboard/google/beltino/variants/mccloud/hda_verb.c
@@ -30,51 +30,51 @@
0x000F0002, // Pad - get revision id

/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x11790670),
+ AZALIA_SUBVENDOR(0, 0x11790670),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12) DMIC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),

/* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */
- AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x401111f0),

/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) MIC1 PORTB */
// group 1, cap 1
// black, jack detect
// mic in, analog
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011),
+ AZALIA_PIN_CFG(0, 0x19, 0x03a71011),

/* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),

/* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1d) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, internal
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Pin Complex (NID 0x21) HPOUT PORT-I */
// group1,
// black, jack detect
// HPOut, 1/8 stereo
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f),
+ AZALIA_PIN_CFG(0, 0x21, 0x0321101f),

/* Undocumented settings from Realtek (needed for beep_gen) */
/* Widget node 0x20 */
diff --git a/src/mainboard/google/beltino/variants/monroe/hda_verb.c b/src/mainboard/google/beltino/variants/monroe/hda_verb.c
index 8281fb8..5af715d 100644
--- a/src/mainboard/google/beltino/variants/monroe/hda_verb.c
+++ b/src/mainboard/google/beltino/variants/monroe/hda_verb.c
@@ -30,43 +30,43 @@
0x000F0002, // Pad - get revision id

/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x11790670),
+ AZALIA_SUBVENDOR(0, 0x11790670),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12) DMIC - internal mic */
- AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60110),
+ AZALIA_PIN_CFG(0, 0x12, 0xb7a60110),

/* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */
- AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x401111f0),

/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) MIC1 PORTB - Disabled*/
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),

/* Pin Complex (NID 0x19) MIC2 PORTF - 3.5mm Jack*/
- AZALIA_PIN_CFG(0x0, 0x18, 0x03a11020),
+ AZALIA_PIN_CFG(0, 0x18, 0x03a11020),

/* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1d) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, internal
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Pin Complex (NID 0x21) HPOUT PORT-I - Disabled */
- AZALIA_PIN_CFG(0x0, 0x21, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x21, 0x411111f0),

/* Undocumented settings from Realtek (needed for beep_gen) */
/* Widget node 0x20 */
diff --git a/src/mainboard/google/beltino/variants/panther/hda_verb.c b/src/mainboard/google/beltino/variants/panther/hda_verb.c
index 233a8ee..6b319db 100644
--- a/src/mainboard/google/beltino/variants/panther/hda_verb.c
+++ b/src/mainboard/google/beltino/variants/panther/hda_verb.c
@@ -30,51 +30,51 @@
0x000F0002, // Pad - get revision id

/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x11790670),
+ AZALIA_SUBVENDOR(0, 0x11790670),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12) DMIC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),

/* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */
- AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x401111f0),

/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) MIC1 PORTB */
// group 1, cap 1
// black, jack detect
// mic in, analog
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011),
+ AZALIA_PIN_CFG(0, 0x19, 0x03a71011),

/* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),

/* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1d) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, internal
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Pin Complex (NID 0x21) HPOUT PORT-I */
// group1,
// black, jack detect
// HPOut, 1/8 stereo
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f),
+ AZALIA_PIN_CFG(0, 0x21, 0x0321101f),

/* Undocumented settings from Realtek (needed for beep_gen) */
/* Widget node 0x20 */
diff --git a/src/mainboard/google/beltino/variants/tricky/hda_verb.c b/src/mainboard/google/beltino/variants/tricky/hda_verb.c
index 233a8ee..6b319db 100644
--- a/src/mainboard/google/beltino/variants/tricky/hda_verb.c
+++ b/src/mainboard/google/beltino/variants/tricky/hda_verb.c
@@ -30,51 +30,51 @@
0x000F0002, // Pad - get revision id

/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x11790670),
+ AZALIA_SUBVENDOR(0, 0x11790670),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12) DMIC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),

/* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */
- AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x401111f0),

/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) MIC1 PORTB */
// group 1, cap 1
// black, jack detect
// mic in, analog
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011),
+ AZALIA_PIN_CFG(0, 0x19, 0x03a71011),

/* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),

/* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1d) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, internal
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Pin Complex (NID 0x21) HPOUT PORT-I */
// group1,
// black, jack detect
// HPOut, 1/8 stereo
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f),
+ AZALIA_PIN_CFG(0, 0x21, 0x0321101f),

/* Undocumented settings from Realtek (needed for beep_gen) */
/* Widget node 0x20 */
diff --git a/src/mainboard/google/beltino/variants/zako/hda_verb.c b/src/mainboard/google/beltino/variants/zako/hda_verb.c
index 233a8ee..6b319db 100644
--- a/src/mainboard/google/beltino/variants/zako/hda_verb.c
+++ b/src/mainboard/google/beltino/variants/zako/hda_verb.c
@@ -30,51 +30,51 @@
0x000F0002, // Pad - get revision id

/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x11790670),
+ AZALIA_SUBVENDOR(0, 0x11790670),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12) DMIC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),

/* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */
- AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x401111f0),

/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) MIC1 PORTB */
// group 1, cap 1
// black, jack detect
// mic in, analog
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011),
+ AZALIA_PIN_CFG(0, 0x19, 0x03a71011),

/* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),

/* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1d) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, internal
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Pin Complex (NID 0x21) HPOUT PORT-I */
// group1,
// black, jack detect
// HPOut, 1/8 stereo
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f),
+ AZALIA_PIN_CFG(0, 0x21, 0x0321101f),

/* Undocumented settings from Realtek (needed for beep_gen) */
/* Widget node 0x20 */
diff --git a/src/mainboard/google/butterfly/hda_verb.c b/src/mainboard/google/butterfly/hda_verb.c
index 231c188..973bf73 100644
--- a/src/mainboard/google/butterfly/hda_verb.c
+++ b/src/mainboard/google/butterfly/hda_verb.c
@@ -20,25 +20,25 @@
0x111d76e5, // Codec Vendor / Device ID: IDT 92HD99
0x103c18f9, // Subsystem ID
115, // Number of 4 dword sets
- AZALIA_SUBVENDOR(0x0, 0x103c18F9),
+ AZALIA_SUBVENDOR(0, 0x103c18F9),

/* Ext. Microphone Connector: External,Right; MicIn,3.5mm; Black,JD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0a, 0x04a11020),
+ AZALIA_PIN_CFG(0, 0x0a, 0x04a11020),

/* Headphones Connector: External,Right; HP,3.5mm; Black,JD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0b, 0x0421101f),
+ AZALIA_PIN_CFG(0, 0x0b, 0x0421101f),

/* Not connected: N/A,N/A; Other,Unknown; Unknown,JD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0c, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0c, 0x40f000f0),

/* Internal Speakers: Fixed,Int; Speaker,Other Analog; Unknown,nJD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x0d, 0x90170110),

/* Not connected */
- AZALIA_PIN_CFG(0x0, 0x0f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0f, 0x40f000f0),

/* Internal Microphone: Fixed,Int,Top; Mic In,ATIPI; Unknown,nJD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x11, 0xd5a30140),
+ AZALIA_PIN_CFG(0, 0x11, 0xd5a30140),

/*
* Hardware EQ Parameters
@@ -175,10 +175,10 @@
0x80860101, // Subsystem ID
// Revision ID: 0x100000
4, // Number of 4 dword sets
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[] = {
diff --git a/src/mainboard/google/drallion/variants/drallion/include/variant/hda_verb.h b/src/mainboard/google/drallion/variants/drallion/include/variant/hda_verb.h
index 10fbaf1..d50fc1e 100644
--- a/src/mainboard/google/drallion/variants/drallion/include/variant/hda_verb.h
+++ b/src/mainboard/google/drallion/variants/drallion/include/variant/hda_verb.h
@@ -27,21 +27,21 @@
/* Rest Codec First */
AZALIA_RESET(0x1),
/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x102808b6),
+ AZALIA_SUBVENDOR(0, 0x102808b6),

/* Pin Widget Verb Table */
- AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60130),
- AZALIA_PIN_CFG(0x0, 0x13, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x16, 0x40000000),
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x19, 0x04a11030),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40c00001),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x421212f2),
- AZALIA_PIN_CFG(0x0, 0x21, 0x04211020),
+ AZALIA_PIN_CFG(0, 0x12, 0xb7a60130),
+ AZALIA_PIN_CFG(0, 0x13, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x16, 0x40000000),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x19, 0x04a11030),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40c00001),
+ AZALIA_PIN_CFG(0, 0x1e, 0x421212f2),
+ AZALIA_PIN_CFG(0, 0x21, 0x04211020),

/* D reset */
0x0205003C,
diff --git a/src/mainboard/google/jecht/hda_verb.c b/src/mainboard/google/jecht/hda_verb.c
index 01ba78f..535e7e8 100644
--- a/src/mainboard/google/jecht/hda_verb.c
+++ b/src/mainboard/google/jecht/hda_verb.c
@@ -27,51 +27,51 @@
0x000F0002, // Pad - get revision id

/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x11790670),
+ AZALIA_SUBVENDOR(0, 0x11790670),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12) DMIC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),

/* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */
- AZALIA_PIN_CFG(0x0, 0x14, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x411111f0),

/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) MIC1 PORTB */
// group 1, cap 1
// black, jack detect
// mic in, analog
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x18, 0x03a71011),
+ AZALIA_PIN_CFG(0, 0x18, 0x03a71011),

/* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),

/* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1A, 0x411111f0),

/* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1B, 0x411111f0),

/* Pin Complex (NID 0x1D) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, internal
- AZALIA_PIN_CFG(0x0, 0x1D, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1D, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1E, 0x411111f0),

/* Pin Complex (NID 0x21) HPOUT PORT-I */
// group1,
// black, jack detect
// HPOut, 1/8 stereo
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f),
+ AZALIA_PIN_CFG(0, 0x21, 0x0321101f),

/* Undocumented settings from Realtek (needed for beep_gen) */
/* Widget node 0x20 */
diff --git a/src/mainboard/google/link/hda_verb.c b/src/mainboard/google/link/hda_verb.c
index b824f0f..11c92a9 100644
--- a/src/mainboard/google/link/hda_verb.c
+++ b/src/mainboard/google/link/hda_verb.c
@@ -76,34 +76,34 @@
/* Pin Widget Verb Table */

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x144DC0C2 */
- AZALIA_SUBVENDOR(0x0, 0x144dc0c2),
+ AZALIA_SUBVENDOR(0, 0x144dc0c2),

/* Pin Complex (NID 0x0B) Port-G Analog Unknown Speaker at Int N/A */
- AZALIA_PIN_CFG(0x0, 0x0b, 0x901700f0),
+ AZALIA_PIN_CFG(0, 0x0b, 0x901700f0),

/* Pin Complex (NID 0x0C) N/C */
- AZALIA_PIN_CFG(0x0, 0x0c, 0x70f000f0),
+ AZALIA_PIN_CFG(0, 0x0c, 0x70f000f0),

/* Pin Complex (NID 0x0D) N/C */
- AZALIA_PIN_CFG(0x0, 0x0d, 0x70f000f0),
+ AZALIA_PIN_CFG(0, 0x0d, 0x70f000f0),

/* Pin Complex (NID 0x0E) N/C */
- AZALIA_PIN_CFG(0x0, 0x0e, 0x70f000f0),
+ AZALIA_PIN_CFG(0, 0x0e, 0x70f000f0),

/* Pin Complex (NID 0x0F) N/C */
- AZALIA_PIN_CFG(0x0, 0x0f, 0x70f000f0),
+ AZALIA_PIN_CFG(0, 0x0f, 0x70f000f0),

/* Pin Complex (NID 0x10) Port-D 1/8 Black HP Out at Ext Left */
- AZALIA_PIN_CFG(0x0, 0x10, 0x032110f0),
+ AZALIA_PIN_CFG(0, 0x10, 0x032110f0),

/* Pin Complex (NID 0x11) Port-B Click Mic */
- AZALIA_PIN_CFG(0x0, 0x11, 0x90a700f0),
+ AZALIA_PIN_CFG(0, 0x11, 0x90a700f0),

/* Pin Complex (NID 0x12) Port-C Combo Jack Mic or D-Mic */
- AZALIA_PIN_CFG(0x0, 0x12, 0x03a110f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x03a110f0),

/* Pin Complex (NID 0x13) What you hear */
- AZALIA_PIN_CFG(0x0, 0x13, 0x90d600f0),
+ AZALIA_PIN_CFG(0, 0x13, 0x90d600f0),

/* coreboot specific header */
0x80862806, // Codec Vendor / Device ID: Intel CougarPoint HDMI
@@ -111,16 +111,16 @@
0x00000004, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
+ AZALIA_SUBVENDOR(3, 0x80860101),

/* Pin Complex (NID 0x05) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),

/* Pin Complex (NID 0x06) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),

/* Pin Complex (NID 0x07) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030)
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};


diff --git a/src/mainboard/google/parrot/hda_verb.c b/src/mainboard/google/parrot/hda_verb.c
index e0454c7..6a015e7 100644
--- a/src/mainboard/google/parrot/hda_verb.c
+++ b/src/mainboard/google/parrot/hda_verb.c
@@ -38,59 +38,59 @@


/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10250742 */
- AZALIA_SUBVENDOR(0x0, 0x10250742),
+ AZALIA_SUBVENDOR(0, 0x10250742),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12) DMIC */
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),

/* Pin Complex (NID 0x14) SPKR-OUT PORTD */
// group 1, front left/right
// no connector, no jack detect
// speaker out, analog
// fixed function, internal
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),

/* Pin Complex (NID 0x17) */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) MIC1 PORTB */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),

/* Pin Complex (NID 0x19) MIC2 PORTF */
// group 2, cap 1
// black, jack detect
// mic in, analog
// connector, right panel
- AZALIA_PIN_CFG(0x0, 0x19, 0x04a71021),
+ AZALIA_PIN_CFG(0, 0x19, 0x04a71021),

/* Pin Complex (NID 0x1A) LINE1 PORTC */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1B) LINE2 PORTE */
// group 2, cap 0
// no connector, no jack detect
// mic in, analog
// fixed function, internal
- AZALIA_PIN_CFG(0x0, 0x1b, 0x90a70120),
+ AZALIA_PIN_CFG(0, 0x1b, 0x90a70120),

/* Pin Complex (NID 0x1d) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, internal
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT */
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Pin Complex (NID 0x21) HPOUT PORTA? */
// group1,
// black, jack detect
// HPOut, 1/8 stereo
// connector, right panel
- AZALIA_PIN_CFG(0x0, 0x21, 0x0421101f),
+ AZALIA_PIN_CFG(0, 0x21, 0x0421101f),

/* Undocumented speaker output volume settings from Compal and Realtek */
/* Widget node 0x20 */
@@ -117,16 +117,16 @@
0x00000004, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */
- AZALIA_SUBVENDOR(0x0, 0x80860101),
+ AZALIA_SUBVENDOR(0, 0x80860101),

/* Pin Complex (NID 0x05) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),

/* Pin Complex (NID 0x06) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),

/* Pin Complex (NID 0x07) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030)
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[] = {
diff --git a/src/mainboard/google/sarien/variants/arcada/include/variant/hda_verb.h b/src/mainboard/google/sarien/variants/arcada/include/variant/hda_verb.h
index 10fbaf1..d50fc1e 100644
--- a/src/mainboard/google/sarien/variants/arcada/include/variant/hda_verb.h
+++ b/src/mainboard/google/sarien/variants/arcada/include/variant/hda_verb.h
@@ -27,21 +27,21 @@
/* Rest Codec First */
AZALIA_RESET(0x1),
/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x102808b6),
+ AZALIA_SUBVENDOR(0, 0x102808b6),

/* Pin Widget Verb Table */
- AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60130),
- AZALIA_PIN_CFG(0x0, 0x13, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x16, 0x40000000),
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x19, 0x04a11030),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40c00001),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x421212f2),
- AZALIA_PIN_CFG(0x0, 0x21, 0x04211020),
+ AZALIA_PIN_CFG(0, 0x12, 0xb7a60130),
+ AZALIA_PIN_CFG(0, 0x13, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x16, 0x40000000),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x19, 0x04a11030),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40c00001),
+ AZALIA_PIN_CFG(0, 0x1e, 0x421212f2),
+ AZALIA_PIN_CFG(0, 0x21, 0x04211020),

/* D reset */
0x0205003C,
diff --git a/src/mainboard/google/sarien/variants/sarien/include/variant/hda_verb.h b/src/mainboard/google/sarien/variants/sarien/include/variant/hda_verb.h
index 6eb6d14..e2c0647 100644
--- a/src/mainboard/google/sarien/variants/sarien/include/variant/hda_verb.h
+++ b/src/mainboard/google/sarien/variants/sarien/include/variant/hda_verb.h
@@ -27,19 +27,19 @@
/* Rest Codec First */
AZALIA_RESET(0x1),
/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x102808b8),
+ AZALIA_SUBVENDOR(0, 0x102808b8),

/* Pin Widget Verb Table */
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140),
- AZALIA_PIN_CFG(0x0, 0x13, 0x40000000),
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x19, 0x04a11030),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40700001),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x421212f2),
- AZALIA_PIN_CFG(0x0, 0x21, 0x04211020),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
+ AZALIA_PIN_CFG(0, 0x13, 0x40000000),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x19, 0x04a11030),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40700001),
+ AZALIA_PIN_CFG(0, 0x1e, 0x421212f2),
+ AZALIA_PIN_CFG(0, 0x21, 0x04211020),

/* ALC3204 default-1 */
0x02050040,
diff --git a/src/mainboard/google/slippy/variants/falco/hda_verb.c b/src/mainboard/google/slippy/variants/falco/hda_verb.c
index 3d12d8a..02d3907 100644
--- a/src/mainboard/google/slippy/variants/falco/hda_verb.c
+++ b/src/mainboard/google/slippy/variants/falco/hda_verb.c
@@ -27,55 +27,55 @@
0x000F0002, // Pad - get revision id

/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x11790670),
+ AZALIA_SUBVENDOR(0, 0x11790670),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12) DMIC - interior mobile lid */
- AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60110),
+ AZALIA_PIN_CFG(0, 0x12, 0xb7a60110),

/* Pin Complex (NID 0x14) SPKR-OUT PORTD */
// group 1, front left/right
// no connector, no jack detect
// speaker out, analog
// fixed function, internal
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),

/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),

/* Pin Complex (NID 0x19) MIC2 PORTF */
// group 1, cap 1
// black, jack detect
// mic in, analog
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011),
+ AZALIA_PIN_CFG(0, 0x19, 0x03a71011),

/* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),

/* Pin Complex (NID 0x1d) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, internal
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Pin Complex (NID 0x21) HPOUT PORT-I */
// group1,
// black, jack detect
// HPOut, 1/8 stereo
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f),
+ AZALIA_PIN_CFG(0, 0x21, 0x0321101f),

/* Undocumented settings from Realtek (needed for beep_gen) */
/* Widget node 0x20 */
diff --git a/src/mainboard/google/slippy/variants/leon/hda_verb.c b/src/mainboard/google/slippy/variants/leon/hda_verb.c
index 39a5c78..6e01ca5 100644
--- a/src/mainboard/google/slippy/variants/leon/hda_verb.c
+++ b/src/mainboard/google/slippy/variants/leon/hda_verb.c
@@ -27,55 +27,55 @@
0x000F0002, // Pad - get revision id

/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x11790670),
+ AZALIA_SUBVENDOR(0, 0x11790670),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12) DMIC - Internal Mic */
- AZALIA_PIN_CFG(0x0, 0x12, 0xb7a61010),
+ AZALIA_PIN_CFG(0, 0x12, 0xb7a61010),

/* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */
// group 1, cap 0
// no connector, no jack detect
// speaker out, analog
// fixed function, internal
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),

/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),

/* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */
// group2, cap 0
// black, jack detect
// Mic in, 3.5mm Jack
// connector, External left panel
- AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020),
+ AZALIA_PIN_CFG(0, 0x19, 0x03a11020),

/* Pin Complex (NID 0x1A) LINE1 - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1B) LINE2 - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),

/* Pin Complex (NID 0x1D) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, Internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/
// group2, cap 1
// black, jack detect
// HPOut, 3.5mm Jack
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x21, 0x03211021),
+ AZALIA_PIN_CFG(0, 0x21, 0x03211021),

/* Undocumented settings from Realtek (needed for beep_gen) */
/* Widget node 0x20 */
diff --git a/src/mainboard/google/slippy/variants/peppy/hda_verb.c b/src/mainboard/google/slippy/variants/peppy/hda_verb.c
index a5ec9bb..4d6ef34 100644
--- a/src/mainboard/google/slippy/variants/peppy/hda_verb.c
+++ b/src/mainboard/google/slippy/variants/peppy/hda_verb.c
@@ -27,59 +27,59 @@
0x000F0002, // Pad - get revision id

/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x11790670),
+ AZALIA_SUBVENDOR(0, 0x11790670),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12) DMIC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),

/* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */
// group 1, cap 0
// no connector, no jack detect
// speaker out, analog
// fixed function, internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),

/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),

/* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */
// group2, cap 0
// black, jack detect
// Mic in, 3.5mm Jack
// connector, External left panel
- AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020),
+ AZALIA_PIN_CFG(0, 0x19, 0x03a11020),

/* Pin Complex (NID 0x1A) LINE1 - Internal Mic */
// group 1, cap 1
// no connector, no jack detect
// mic in, analog connection
// Fixed function, internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x1a, 0x90a70111),
+ AZALIA_PIN_CFG(0, 0x1a, 0x90a70111),

/* Pin Complex (NID 0x1B) LINE2 - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),

/* Pin Complex (NID 0x1D) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, Internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/
// group2, cap 1
// black, jack detect
// HPOut, 3.5mm Jack
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x21, 0x03211021),
+ AZALIA_PIN_CFG(0, 0x21, 0x03211021),

/* Undocumented settings from Realtek (needed for beep_gen) */
/* Widget node 0x20 */
diff --git a/src/mainboard/google/slippy/variants/wolf/hda_verb.c b/src/mainboard/google/slippy/variants/wolf/hda_verb.c
index 56fe320..11ff65b 100644
--- a/src/mainboard/google/slippy/variants/wolf/hda_verb.c
+++ b/src/mainboard/google/slippy/variants/wolf/hda_verb.c
@@ -32,55 +32,55 @@
/* Bits 7:0 - Payload */

/* NID 0x01, HDA Codec Subsystem ID Verb Table */
- AZALIA_SUBVENDOR(0x0, 0x11790670),
+ AZALIA_SUBVENDOR(0, 0x11790670),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12) DMIC - interior mobile lid */
- AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60110),
+ AZALIA_PIN_CFG(0, 0x12, 0xb7a60110),

/* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */
// group 1, cap 0
// no connector, no jack detect
// speaker out, analog
// fixed function, internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),

/* Pin Complex (NID 0x17) MONO Out - Disabled */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),

/* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */
// group2, cap 0
// black, jack detect
// Mic in, 3.5mm Jack
// connector, External left panel
- AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020),
+ AZALIA_PIN_CFG(0, 0x19, 0x03a11020),

/* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1B) LINE2 - Disabled */
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),

/* Pin Complex (NID 0x1D) PCBeep */
// eapd low on ex-amp, laptop, custom enable
// mute spkr on hpout
// pcbeep en able, checksum
// no physical, Internal, Location N/A
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4015812d),

/* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/
// group2, cap 1
// black, jack detect
// HPOut, 3.5mm Jack
// connector, left panel
- AZALIA_PIN_CFG(0x0, 0x21, 0x03211021),
+ AZALIA_PIN_CFG(0, 0x21, 0x03211021),

/* Undocumented settings from Realtek (needed for beep_gen) */
/* Widget node 0x20 */
diff --git a/src/mainboard/google/stout/hda_verb.c b/src/mainboard/google/stout/hda_verb.c
index 46ca274..abaa802 100644
--- a/src/mainboard/google/stout/hda_verb.c
+++ b/src/mainboard/google/stout/hda_verb.c
@@ -22,39 +22,39 @@
0x0000000c, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x17aa21fe */
- AZALIA_SUBVENDOR(0x0, 0x17aa21fe),
+ AZALIA_SUBVENDOR(0, 0x17aa21fe),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12): 0x90a60930 DMIC */
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60930),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60930),

/* Pin Complex (NID 0x14): 0x90170110 SPEAKER-OUT (Port-D) */
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),

/* Pin Complex (NID 0x15): 0x0321101f HP-OUT (Port-A) */
- AZALIA_PIN_CFG(0x0, 0x15, 0x0321101f),
+ AZALIA_PIN_CFG(0, 0x15, 0x0321101f),

/* Pin Complex (NID 0x17): 0x411111f0 MONO-OUT (Port-H) */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18): 0x03a11820 MIC1 (Port-B) */
- AZALIA_PIN_CFG(0x0, 0x18, 0x03a11820),
+ AZALIA_PIN_CFG(0, 0x18, 0x03a11820),

/* Pin Complex (NID 0x19): 0x411111f0 MIC2 (Port-F) */
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),

/* Pin Complex (NID 0x1a): 0x411111f0 LINE1 (Port-C) */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1b): 0x411111f0 LINE2 (Port-E) */
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),

/* Pin Complex (NID 0x1d): 0x4016862d PC-BEEP */
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4016862d),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4016862d),

/* Pin Complex (NID 0x1e): 0x411111f0 S/PDIF-OUT */
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Stout MIC detect setup */
0x02050018,
@@ -68,16 +68,16 @@
0x00000004, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
+ AZALIA_SUBVENDOR(3, 0x80860101),

/* Pin Complex (NID 0x05) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),

/* Pin Complex (NID 0x06) Not Connected */
- AZALIA_PIN_CFG(0x3, 0x06, 0x58560020),
+ AZALIA_PIN_CFG(3, 0x06, 0x58560020),

/* Pin Complex (NID 0x07) Not Connected */
- AZALIA_PIN_CFG(0x3, 0x07, 0x58560030)
+ AZALIA_PIN_CFG(3, 0x07, 0x58560030),
};

const u32 pc_beep_verbs[] = {
diff --git a/src/mainboard/hp/2570p/hda_verb.c b/src/mainboard/hp/2570p/hda_verb.c
index 585d94a..71556c0 100644
--- a/src/mainboard/hp/2570p/hda_verb.c
+++ b/src/mainboard/hp/2570p/hda_verb.c
@@ -21,30 +21,30 @@
0x111d7605, /* Codec Vendor / Device ID: IDT */
0x103c17df, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x103c17df),
- AZALIA_PIN_CFG(0x0, 0x0a, 0x21011030),
- AZALIA_PIN_CFG(0x0, 0x0b, 0x0421101f),
- AZALIA_PIN_CFG(0x0, 0x0c, 0x04a11020),
- AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x0e, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x0f, 0x2181102e),
- AZALIA_PIN_CFG(0x0, 0x10, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x11, 0xd5a30140),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x20, 0x40f000f0),
+ AZALIA_SUBVENDOR(0, 0x103c17df),
+ AZALIA_PIN_CFG(0, 0x0a, 0x21011030),
+ AZALIA_PIN_CFG(0, 0x0b, 0x0421101f),
+ AZALIA_PIN_CFG(0, 0x0c, 0x04a11020),
+ AZALIA_PIN_CFG(0, 0x0d, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x0e, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0f, 0x2181102e),
+ AZALIA_PIN_CFG(0, 0x10, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x11, 0xd5a30140),
+ AZALIA_PIN_CFG(0, 0x1f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x20, 0x40f000f0),

0x11c11040, /* Codec Vendor / Device ID: LSI */
0x103c3066, /* Subsystem ID */
1, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x1, 0x103c3066),
+ AZALIA_SUBVENDOR(1, 0x103c3066),

0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x58560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x58560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/hp/2760p/hda_verb.c b/src/mainboard/hp/2760p/hda_verb.c
index 35890f3..309d50d 100644
--- a/src/mainboard/hp/2760p/hda_verb.c
+++ b/src/mainboard/hp/2760p/hda_verb.c
@@ -21,30 +21,30 @@
0x111d7605, /* Codec Vendor / Device ID: IDT */
0x103c162a, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x103c162a),
- AZALIA_PIN_CFG(0x0, 0x0a, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x0b, 0x0421401f),
- AZALIA_PIN_CFG(0x0, 0x0c, 0x04a11020),
- AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x0e, 0x90a70130),
- AZALIA_PIN_CFG(0x0, 0x0f, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x10, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x11, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x20, 0x40f000f0),
+ AZALIA_SUBVENDOR(0, 0x103c162a),
+ AZALIA_PIN_CFG(0, 0x0a, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0b, 0x0421401f),
+ AZALIA_PIN_CFG(0, 0x0c, 0x04a11020),
+ AZALIA_PIN_CFG(0, 0x0d, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x0e, 0x90a70130),
+ AZALIA_PIN_CFG(0, 0x0f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x10, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x11, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x20, 0x40f000f0),

0x11c11040, /* Codec Vendor / Device ID: LSI */
0x103c3066, /* Subsystem ID */
1, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x1, 0x103c3066),
+ AZALIA_SUBVENDOR(1, 0x103c3066),

0x80862805, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x58560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x58560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x58560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x58560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/hp/8460p/hda_verb.c b/src/mainboard/hp/8460p/hda_verb.c
index db95706..7404576 100644
--- a/src/mainboard/hp/8460p/hda_verb.c
+++ b/src/mainboard/hp/8460p/hda_verb.c
@@ -21,22 +21,22 @@
0x111d7605, /* Codec Vendor / Device ID: IDT */
0x103c3588, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x103c3588),
- AZALIA_PIN_CFG(0x0, 0x0a, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x0b, 0x0421401f),
- AZALIA_PIN_CFG(0x0, 0x0c, 0x04a11020),
- AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x0e, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x0f, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x10, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x11, 0x90a60130),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x20, 0x40f000f0),
+ AZALIA_SUBVENDOR(0, 0x103c3588),
+ AZALIA_PIN_CFG(0, 0x0a, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0b, 0x0421401f),
+ AZALIA_PIN_CFG(0, 0x0c, 0x04a11020),
+ AZALIA_PIN_CFG(0, 0x0d, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x0e, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x10, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x11, 0x90a60130),
+ AZALIA_PIN_CFG(0, 0x1f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x20, 0x40f000f0),

0x11c11040, /* Codec Vendor / Device ID: LSI */
0x103c3066, /* Subsystem ID */
1, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x1, 0x103c3066),
+ AZALIA_SUBVENDOR(1, 0x103c3066),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/hp/8470p/hda_verb.c b/src/mainboard/hp/8470p/hda_verb.c
index a24aeb2..69fc26a 100644
--- a/src/mainboard/hp/8470p/hda_verb.c
+++ b/src/mainboard/hp/8470p/hda_verb.c
@@ -23,52 +23,52 @@

11, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
- AZALIA_SUBVENDOR(0x0, 0x103c17c2),
+ AZALIA_SUBVENDOR(0, 0x103c17c2),

/* NID 0x0a. */
- AZALIA_PIN_CFG(0x0, 0x0a, 0x21011030),
+ AZALIA_PIN_CFG(0, 0x0a, 0x21011030),

/* NID 0x0b. */
- AZALIA_PIN_CFG(0x0, 0x0b, 0x0421101f),
+ AZALIA_PIN_CFG(0, 0x0b, 0x0421101f),

/* NID 0x0c. */
- AZALIA_PIN_CFG(0x0, 0x0c, 0x04a11020),
+ AZALIA_PIN_CFG(0, 0x0c, 0x04a11020),

/* NID 0x0d. */
- AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x0d, 0x90170110),

/* NID 0x0e. */
- AZALIA_PIN_CFG(0x0, 0x0e, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0e, 0x40f000f0),

/* NID 0x0f. */
- AZALIA_PIN_CFG(0x0, 0x0f, 0x2181102e),
+ AZALIA_PIN_CFG(0, 0x0f, 0x2181102e),

/* NID 0x10. */
- AZALIA_PIN_CFG(0x0, 0x10, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x10, 0x40f000f0),

/* NID 0x11. */
- AZALIA_PIN_CFG(0x0, 0x11, 0xd5a30140),
+ AZALIA_PIN_CFG(0, 0x11, 0xd5a30140),

/* NID 0x1f. */
- AZALIA_PIN_CFG(0x0, 0x1f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x40f000f0),

/* NID 0x20. */
- AZALIA_PIN_CFG(0x0, 0x20, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x20, 0x40f000f0),
0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */

4, /* Number of 4 dword sets */
/* NID 0x01: Subsystem ID. */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
+ AZALIA_SUBVENDOR(3, 0x80860101),

/* NID 0x05. */
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),

/* NID 0x06. */
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),

/* NID 0x07. */
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/hp/8770w/hda_verb.c b/src/mainboard/hp/8770w/hda_verb.c
index 958b5bd..f4a83b7 100644
--- a/src/mainboard/hp/8770w/hda_verb.c
+++ b/src/mainboard/hp/8770w/hda_verb.c
@@ -22,17 +22,17 @@
0x111d7605, /* Codec Vendor / Device ID: IDT */
0x103c176c, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x103c176c),
- AZALIA_PIN_CFG(0x0, 0x0a, 0x21011030),
- AZALIA_PIN_CFG(0x0, 0x0b, 0x0421101f),
- AZALIA_PIN_CFG(0x0, 0x0c, 0x04a11020),
- AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x0e, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x0f, 0x2181102e),
- AZALIA_PIN_CFG(0x0, 0x10, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x11, 0xd5a30140),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x20, 0x40f000f0),
+ AZALIA_SUBVENDOR(0, 0x103c176c),
+ AZALIA_PIN_CFG(0, 0x0a, 0x21011030),
+ AZALIA_PIN_CFG(0, 0x0b, 0x0421101f),
+ AZALIA_PIN_CFG(0, 0x0c, 0x04a11020),
+ AZALIA_PIN_CFG(0, 0x0d, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x0e, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0f, 0x2181102e),
+ AZALIA_PIN_CFG(0, 0x10, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x11, 0xd5a30140),
+ AZALIA_PIN_CFG(0, 0x1f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x20, 0x40f000f0),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/hp/compaq_8200_elite_sff/hda_verb.c b/src/mainboard/hp/compaq_8200_elite_sff/hda_verb.c
index b6daf8b..3ad452e 100644
--- a/src/mainboard/hp/compaq_8200_elite_sff/hda_verb.c
+++ b/src/mainboard/hp/compaq_8200_elite_sff/hda_verb.c
@@ -21,25 +21,25 @@
0x10ec0662, /* Codec Vendor / Device ID: Realtek */
0x103c1495, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x103c1495),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014010),
- AZALIA_PIN_CFG(0x0, 0x15, 0x99130120),
- AZALIA_PIN_CFG(0x0, 0x16, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01813c30),
- AZALIA_PIN_CFG(0x0, 0x19, 0x02a11c3f),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x0221101f),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40028101),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x103c1495),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014010),
+ AZALIA_PIN_CFG(0, 0x15, 0x99130120),
+ AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x01813c30),
+ AZALIA_PIN_CFG(0, 0x19, 0x02a11c3f),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x0221101f),
+ AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40028101),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

0x80862805, /* Codec Vendor / Device ID: Intel */
0x80861495, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80861495),
- AZALIA_PIN_CFG(0x3, 0x05, 0x58560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x58560030),
+ AZALIA_SUBVENDOR(3, 0x80861495),
+ AZALIA_PIN_CFG(3, 0x05, 0x58560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x58560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/hp/folio_9470m/hda_verb.c b/src/mainboard/hp/folio_9470m/hda_verb.c
index 7852b30..03caeb2 100644
--- a/src/mainboard/hp/folio_9470m/hda_verb.c
+++ b/src/mainboard/hp/folio_9470m/hda_verb.c
@@ -21,25 +21,25 @@
0x111d76e0, /* Codec Vendor / Device ID: IDT */
0x103c18df, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x103c18df),
- AZALIA_PIN_CFG(0x0, 0x0a, 0x21011030),
- AZALIA_PIN_CFG(0x0, 0x0b, 0x0321101f),
- AZALIA_PIN_CFG(0x0, 0x0c, 0x03a11020),
- AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x0e, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x0f, 0x2181102e),
- AZALIA_PIN_CFG(0x0, 0x10, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x11, 0xd5a30140),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x20, 0x40f000f0),
+ AZALIA_SUBVENDOR(0, 0x103c18df),
+ AZALIA_PIN_CFG(0, 0x0a, 0x21011030),
+ AZALIA_PIN_CFG(0, 0x0b, 0x0321101f),
+ AZALIA_PIN_CFG(0, 0x0c, 0x03a11020),
+ AZALIA_PIN_CFG(0, 0x0d, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x0e, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0f, 0x2181102e),
+ AZALIA_PIN_CFG(0, 0x10, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x11, 0xd5a30140),
+ AZALIA_PIN_CFG(0, 0x1f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x20, 0x40f000f0),

0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x58560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x58560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/hp/revolve_810_g1/hda_verb.c b/src/mainboard/hp/revolve_810_g1/hda_verb.c
index 86551a1..c421b1b 100644
--- a/src/mainboard/hp/revolve_810_g1/hda_verb.c
+++ b/src/mainboard/hp/revolve_810_g1/hda_verb.c
@@ -21,30 +21,30 @@
0x111d76e0, /* Codec Vendor / Device ID: IDT */
0x103c18f8, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x103c18f8),
- AZALIA_PIN_CFG(0x0, 0x0a, 0x21011030),
- AZALIA_PIN_CFG(0x0, 0x0b, 0x0421101f),
- AZALIA_PIN_CFG(0x0, 0x0c, 0x04a11020),
- AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x0e, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x0f, 0x2181102e),
- AZALIA_PIN_CFG(0x0, 0x10, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x11, 0xd5a30140),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x20, 0x40f000f0),
+ AZALIA_SUBVENDOR(0, 0x103c18f8),
+ AZALIA_PIN_CFG(0, 0x0a, 0x21011030),
+ AZALIA_PIN_CFG(0, 0x0b, 0x0421101f),
+ AZALIA_PIN_CFG(0, 0x0c, 0x04a11020),
+ AZALIA_PIN_CFG(0, 0x0d, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x0e, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0f, 0x2181102e),
+ AZALIA_PIN_CFG(0, 0x10, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x11, 0xd5a30140),
+ AZALIA_PIN_CFG(0, 0x1f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x20, 0x40f000f0),

0x11c11040, /* Codec Vendor / Device ID: LSI */
0x103c3066, /* Subsystem ID */
1, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x1, 0x103c3066),
+ AZALIA_SUBVENDOR(1, 0x103c3066),

0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x58560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x58560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/hp/z220_sff_workstation/hda_verb.c b/src/mainboard/hp/z220_sff_workstation/hda_verb.c
index 9ceb2a1..cea4e04 100644
--- a/src/mainboard/hp/z220_sff_workstation/hda_verb.c
+++ b/src/mainboard/hp/z220_sff_workstation/hda_verb.c
@@ -21,25 +21,25 @@
0x10ec0221, /* Codec Vendor / Device ID: Realtek */
0x103c1791, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x103c1791),
- AZALIA_PIN_CFG(0x0, 0x12, 0x403c0000),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014020),
- AZALIA_PIN_CFG(0x0, 0x17, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x02a11030),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x0181303f),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40400001),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x21, 0x0221102f),
+ AZALIA_SUBVENDOR(0, 0x103c1791),
+ AZALIA_PIN_CFG(0, 0x12, 0x403c0000),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014020),
+ AZALIA_PIN_CFG(0, 0x17, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x02a11030),
+ AZALIA_PIN_CFG(0, 0x1b, 0x0181303f),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40400001),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x21, 0x0221102f),

0x80862806, /* Codec Vendor / Device ID: Intel */
0x103c1791, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x103c1791),
- AZALIA_PIN_CFG(0x3, 0x05, 0x58560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x58560030),
+ AZALIA_SUBVENDOR(3, 0x103c1791),
+ AZALIA_PIN_CFG(3, 0x05, 0x58560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x58560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/intel/baskingridge/hda_verb.c b/src/mainboard/intel/baskingridge/hda_verb.c
index bee63f4..bfa49dc 100644
--- a/src/mainboard/intel/baskingridge/hda_verb.c
+++ b/src/mainboard/intel/baskingridge/hda_verb.c
@@ -22,27 +22,27 @@
0x00000007, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10134210 */
- AZALIA_SUBVENDOR(0x0, 0x10134210),
+ AZALIA_SUBVENDOR(0, 0x10134210),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x05) 1/8 Gray HP Out at Ext Front */
- AZALIA_PIN_CFG(0x0, 0x05, 0x022120f0),
+ AZALIA_PIN_CFG(0, 0x05, 0x022120f0),

/* Pin Complex (NID 0x06) Analog Unknown Speaker at Int N/A */
- AZALIA_PIN_CFG(0x0, 0x06, 0x90170010),
+ AZALIA_PIN_CFG(0, 0x06, 0x90170010),

/* Pin Complex (NID 0x07) 1/8 Grey Line In at Ext Front */
- AZALIA_PIN_CFG(0x0, 0x07, 0x02a120f0),
+ AZALIA_PIN_CFG(0, 0x07, 0x02a120f0),

/* Pin Complex (NID 0x08) Analog Unknown Mic at Oth Mobile-In */
- AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037),
+ AZALIA_PIN_CFG(0, 0x08, 0x77a70037),

/* Pin Complex (NID 0x09) Digital Unknown Mic at Oth Mobile-In */
- AZALIA_PIN_CFG(0x0, 0x09, 0x77a6003e),
+ AZALIA_PIN_CFG(0, 0x09, 0x77a6003e),

/* Pin Complex (NID 0x0a) Optical Black SPDIF Out at Ext N/A */
- AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0),
+ AZALIA_PIN_CFG(0, 0x0a, 0x434510f0),

/* coreboot specific header */
0x80862805, // Codec Vendor / Device ID: Intel CougarPoint HDMI
@@ -50,16 +50,16 @@
0x00000004, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */
- AZALIA_SUBVENDOR(0x0, 0x80860101),
+ AZALIA_SUBVENDOR(0, 0x80860101),

/* Pin Complex (NID 0x05) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),

/* Pin Complex (NID 0x06) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),

/* Pin Complex (NID 0x07) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030)
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/intel/dcp847ske/hda_verb.c b/src/mainboard/intel/dcp847ske/hda_verb.c
index dfcaa3a..25bf012 100644
--- a/src/mainboard/intel/dcp847ske/hda_verb.c
+++ b/src/mainboard/intel/dcp847ske/hda_verb.c
@@ -21,10 +21,10 @@
0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x58560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x58560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/intel/emeraldlake2/hda_verb.c b/src/mainboard/intel/emeraldlake2/hda_verb.c
index bee63f4..bfa49dc 100644
--- a/src/mainboard/intel/emeraldlake2/hda_verb.c
+++ b/src/mainboard/intel/emeraldlake2/hda_verb.c
@@ -22,27 +22,27 @@
0x00000007, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10134210 */
- AZALIA_SUBVENDOR(0x0, 0x10134210),
+ AZALIA_SUBVENDOR(0, 0x10134210),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x05) 1/8 Gray HP Out at Ext Front */
- AZALIA_PIN_CFG(0x0, 0x05, 0x022120f0),
+ AZALIA_PIN_CFG(0, 0x05, 0x022120f0),

/* Pin Complex (NID 0x06) Analog Unknown Speaker at Int N/A */
- AZALIA_PIN_CFG(0x0, 0x06, 0x90170010),
+ AZALIA_PIN_CFG(0, 0x06, 0x90170010),

/* Pin Complex (NID 0x07) 1/8 Grey Line In at Ext Front */
- AZALIA_PIN_CFG(0x0, 0x07, 0x02a120f0),
+ AZALIA_PIN_CFG(0, 0x07, 0x02a120f0),

/* Pin Complex (NID 0x08) Analog Unknown Mic at Oth Mobile-In */
- AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037),
+ AZALIA_PIN_CFG(0, 0x08, 0x77a70037),

/* Pin Complex (NID 0x09) Digital Unknown Mic at Oth Mobile-In */
- AZALIA_PIN_CFG(0x0, 0x09, 0x77a6003e),
+ AZALIA_PIN_CFG(0, 0x09, 0x77a6003e),

/* Pin Complex (NID 0x0a) Optical Black SPDIF Out at Ext N/A */
- AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0),
+ AZALIA_PIN_CFG(0, 0x0a, 0x434510f0),

/* coreboot specific header */
0x80862805, // Codec Vendor / Device ID: Intel CougarPoint HDMI
@@ -50,16 +50,16 @@
0x00000004, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */
- AZALIA_SUBVENDOR(0x0, 0x80860101),
+ AZALIA_SUBVENDOR(0, 0x80860101),

/* Pin Complex (NID 0x05) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),

/* Pin Complex (NID 0x06) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),

/* Pin Complex (NID 0x07) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030)
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/intel/wtm2/hda_verb.c b/src/mainboard/intel/wtm2/hda_verb.c
index f7b74a1..fc04e0f 100644
--- a/src/mainboard/intel/wtm2/hda_verb.c
+++ b/src/mainboard/intel/wtm2/hda_verb.c
@@ -22,27 +22,27 @@
0x00000007, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10134210 */
- AZALIA_SUBVENDOR(0x0, 0x10134210),
+ AZALIA_SUBVENDOR(0, 0x10134210),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x05) 1/8 Gray HP Out at Ext Front */
- AZALIA_PIN_CFG(0x0, 0x05, 0x022120f0),
+ AZALIA_PIN_CFG(0, 0x05, 0x022120f0),

/* Pin Complex (NID 0x06) Analog Unknown Speaker at Int N/A */
- AZALIA_PIN_CFG(0x0, 0x06, 0x90170010),
+ AZALIA_PIN_CFG(0, 0x06, 0x90170010),

/* Pin Complex (NID 0x07) 1/8 Grey Line In at Ext Front */
- AZALIA_PIN_CFG(0x0, 0x07, 0x02a120f0),
+ AZALIA_PIN_CFG(0, 0x07, 0x02a120f0),

/* Pin Complex (NID 0x08) Analog Unknown Mic at Oth Mobile-In */
- AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037),
+ AZALIA_PIN_CFG(0, 0x08, 0x77a70037),

/* Pin Complex (NID 0x09) Digital Unknown Mic at Oth Mobile-In */
- AZALIA_PIN_CFG(0x0, 0x09, 0x77a6003e),
+ AZALIA_PIN_CFG(0, 0x09, 0x77a6003e),

/* Pin Complex (NID 0x0a) Optical Black SPDIF Out at Ext N/A */
- AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0),
+ AZALIA_PIN_CFG(0, 0x0a, 0x434510f0),

/* coreboot specific header */
0x80862805, // Codec Vendor / Device ID: Intel CougarPoint HDMI
@@ -50,16 +50,16 @@
0x00000004, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */
- AZALIA_SUBVENDOR(0x0, 0x80860101),
+ AZALIA_SUBVENDOR(0, 0x80860101),

/* Pin Complex (NID 0x05) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),

/* Pin Complex (NID 0x06) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),

/* Pin Complex (NID 0x07) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030)
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/kontron/ktqm77/hda_verb.c b/src/mainboard/kontron/ktqm77/hda_verb.c
index fdbc977..d612f37 100644
--- a/src/mainboard/kontron/ktqm77/hda_verb.c
+++ b/src/mainboard/kontron/ktqm77/hda_verb.c
@@ -23,7 +23,7 @@
0x0000000c, /* Number of jacks */

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x11060000 */
- AZALIA_SUBVENDOR(0x0, 0x11060000),
+ AZALIA_SUBVENDOR(0, 0x11060000),

/* Pin Widget Verb Table */

@@ -100,16 +100,16 @@
0x00000004, /* Number of jacks */

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */
- AZALIA_SUBVENDOR(0x0, 0x80860101),
+ AZALIA_SUBVENDOR(0, 0x80860101),

/* Pin Complex (NID 0x05) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x05, 0x58560010),
+ AZALIA_PIN_CFG(3, 0x05, 0x58560010),

/* Pin Complex (NID 0x06) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),

/* Pin Complex (NID 0x07) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030)
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/lenovo/l520/hda_verb.c b/src/mainboard/lenovo/l520/hda_verb.c
index 6ab0938..5181978 100644
--- a/src/mainboard/lenovo/l520/hda_verb.c
+++ b/src/mainboard/lenovo/l520/hda_verb.c
@@ -21,25 +21,25 @@
0x10ec0269, /* Codec Vendor / Device ID: Realtek */
0x17aa21de, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa21de),
- AZALIA_PIN_CFG(0x0, 0x12, 0x99a30920),
- AZALIA_PIN_CFG(0x0, 0x14, 0x99130110),
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830),
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40079a2d),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f),
+ AZALIA_SUBVENDOR(0, 0x17aa21de),
+ AZALIA_PIN_CFG(0, 0x12, 0x99a30920),
+ AZALIA_PIN_CFG(0, 0x14, 0x99130110),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x03a11830),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40079a2d),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x21, 0x0321101f),

0x80862805, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/lenovo/s230u/hda_verb.c b/src/mainboard/lenovo/s230u/hda_verb.c
index b096487..d3c1cdd 100644
--- a/src/mainboard/lenovo/s230u/hda_verb.c
+++ b/src/mainboard/lenovo/s230u/hda_verb.c
@@ -27,7 +27,7 @@
0x10ec0269, /* Codec Vendor / Device ID: Realtek ALC269VC */
0x17aa21fa, /* Subsystem ID */
12, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa21fa),
+ AZALIA_SUBVENDOR(0, 0x17aa21fa),

/*
* PIN_CFG:
@@ -62,34 +62,34 @@
* For stream channel to in/out mapping
*/
/* Digital MIC: Fixed function, mic in, digital */
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60940),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60940),

/* SPK out: Fixed function, speaker, analog */
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),

/* HP out: Location left, headphone out, 1/8" jack, black */
- AZALIA_PIN_CFG(0x0, 0x15, 0x03211020),
+ AZALIA_PIN_CFG(0, 0x15, 0x03211020),

/* Unknown: (Unconnected) */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* MIC1 in: Location left, mic in, 1/8" jack, black */
- AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830),
+ AZALIA_PIN_CFG(0, 0x18, 0x03a11830),

/* MIC2 in: (Unconnected) */
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),

/* Line1 in: (Unconnected) */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Line2 in: (Unconnected) */
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),

/* PCBEEP */
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40148605),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40148605),

/* S/PDIF out: (Unconnected) */
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

0x01470740, /* Enable output for NID 0x14 (Speaker out) */
0x015707C0, /* Enable output & HP amp for NID 0x15 (HP out) */
@@ -100,10 +100,10 @@
0x80862806, /* Codec Vendor / Device ID: Intel PantherPoint HDMI */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x58560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x58560030),
};

const u32 pc_beep_verbs[] = {
diff --git a/src/mainboard/lenovo/t410/hda_verb.c b/src/mainboard/lenovo/t410/hda_verb.c
index 7569b6b..70e8a6d 100644
--- a/src/mainboard/lenovo/t410/hda_verb.c
+++ b/src/mainboard/lenovo/t410/hda_verb.c
@@ -20,25 +20,25 @@
0x14f15069, /* Codec Vendor / Device ID: Conexant CX20585 */
0x17aa214c, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa214c),
- AZALIA_PIN_CFG(0x0, 0x19, 0x042110f0),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x61a190f0),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x04a110f0),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x612140f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x901701f0),
- AZALIA_PIN_CFG(0x0, 0x20, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x22, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x23, 0x90a601f0),
+ AZALIA_SUBVENDOR(0, 0x17aa214c),
+ AZALIA_PIN_CFG(0, 0x19, 0x042110f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x61a190f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x04a110f0),
+ AZALIA_PIN_CFG(0, 0x1c, 0x612140f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x901701f0),
+ AZALIA_PIN_CFG(0, 0x20, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x22, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x23, 0x90a601f0),

0x80862804, /* Codec Vendor / Device ID: Intel Ibexpeak HDMI. */
0x17aa21b5, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x17aa21b5),
- AZALIA_PIN_CFG(0x3, 0x04, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x17aa21b5),
+ AZALIA_PIN_CFG(3, 0x04, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/lenovo/t420/hda_verb.c b/src/mainboard/lenovo/t420/hda_verb.c
index 4c68c73..ede37f3 100644
--- a/src/mainboard/lenovo/t420/hda_verb.c
+++ b/src/mainboard/lenovo/t420/hda_verb.c
@@ -25,17 +25,17 @@
0x14f1506e, /* Codec VID / DID: Conexant CX20590 - schematic shows CX20672 */
0x17aa21ce, /* Subsystem ID */
13, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa21d2),
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140),
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x15, 0x03211020),
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830),
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40138205),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x17aa21d2),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x15, 0x03211020),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x03a11830),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40138205),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Misc entries */
0x00b707C0, /* Enable PortB as Output with HP amp */
diff --git a/src/mainboard/lenovo/t420s/hda_verb.c b/src/mainboard/lenovo/t420s/hda_verb.c
index 9d315d7..e284116 100644
--- a/src/mainboard/lenovo/t420s/hda_verb.c
+++ b/src/mainboard/lenovo/t420s/hda_verb.c
@@ -25,17 +25,17 @@
0x14f1506e, /* Codec VID / DID: Conexant CX20590 - schematic shows CX20672 */
0x17aa21d2, /* Subsystem ID */
13, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa21d2),
- AZALIA_PIN_CFG(0x0, 0x19, 0x04211040),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x61a19050),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x04a11060),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x6121401f),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x20, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x22, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x23, 0x90a60170),
+ AZALIA_SUBVENDOR(0, 0x17aa21d2),
+ AZALIA_PIN_CFG(0, 0x19, 0x04211040),
+ AZALIA_PIN_CFG(0, 0x1a, 0x61a19050),
+ AZALIA_PIN_CFG(0, 0x1b, 0x04a11060),
+ AZALIA_PIN_CFG(0, 0x1c, 0x6121401f),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x20, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x22, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x23, 0x90a60170),

/* Misc entries */
0x00b707C0, /* Enable PortB as Output with HP amp */
diff --git a/src/mainboard/lenovo/t430/hda_verb.c b/src/mainboard/lenovo/t430/hda_verb.c
index a8f6727..833f98e 100644
--- a/src/mainboard/lenovo/t430/hda_verb.c
+++ b/src/mainboard/lenovo/t430/hda_verb.c
@@ -19,25 +19,25 @@
0x10ec0269, /* Codec Vendor / Device ID: Realtek */
0x17aa21f3, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa21f3),
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140),
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x15, 0x03211020),
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830),
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40138205),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x17aa21f3),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x15, 0x03211020),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x03a11830),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40138205),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c b/src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c
index b8f6bfe..250f3b6 100644
--- a/src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c
+++ b/src/mainboard/lenovo/t430s/variants/t430s/hda_verb.c
@@ -26,38 +26,38 @@
0x10ec0269, /* Codec Vendor / Device ID: Realtek ALC269VC */
0x17aa21fb, /* Subsystem ID */
19, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa21fb),
+ AZALIA_SUBVENDOR(0, 0x17aa21fb),

/* Ext. Microphone Connector: External,Right; MicIn,3.5mm; Black,JD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0a, 0x04a11020),
+ AZALIA_PIN_CFG(0, 0x0a, 0x04a11020),

/* Headphones Connector: External,Right; HP,3.5mm; Black,JD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0b, 0x0421101f),
+ AZALIA_PIN_CFG(0, 0x0b, 0x0421101f),

/* Not connected: N/A,N/A; Other,Unknown; Unknown,JD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0c, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0c, 0x40f000f0),

/* Internal Speakers Fixed,Int; Speaker,Other Analog; Unknown,nJD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x0d, 0x90170110),

/* Not connected */
- AZALIA_PIN_CFG(0x0, 0x0f, 0x40f000f0),
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140),
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x15, 0x03211020),
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830),
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x0f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x15, 0x03211020),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x03a11830),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),

0x01970804,
0x01870803,
0x01470740,
0x00970600,

- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40138205),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40138205),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Misc entries */
0x00370600,
@@ -76,10 +76,10 @@
0x80862806, /* Codec Vendor / Device ID: Intel PantherPoint HDMI */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[] = {
diff --git a/src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c b/src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c
index 5d47099..0442f05 100644
--- a/src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c
+++ b/src/mainboard/lenovo/t430s/variants/t431s/hda_verb.c
@@ -21,25 +21,25 @@
0x10ec0269, /* Codec Vendor / Device ID: Realtek */
0x17aa2208, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa2208),
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140),
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x15, 0x03211020),
- AZALIA_PIN_CFG(0x0, 0x17, 0x40008000),
- AZALIA_PIN_CFG(0x0, 0x18, 0x03a11030),
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40f38205),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x17aa2208),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x15, 0x03211020),
+ AZALIA_PIN_CFG(0, 0x17, 0x40008000),
+ AZALIA_PIN_CFG(0, 0x18, 0x03a11030),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40f38205),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/lenovo/t440p/hda_verb.c b/src/mainboard/lenovo/t440p/hda_verb.c
index 791638d..3f1ee36 100644
--- a/src/mainboard/lenovo/t440p/hda_verb.c
+++ b/src/mainboard/lenovo/t440p/hda_verb.c
@@ -21,18 +21,18 @@
0x10ec0292, /* Codec Vendor / Device ID: Realtek */
0x17aa220e, /* Subsystem ID */
12, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa220e),
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60130),
- AZALIA_PIN_CFG(0x0, 0x13, 0x40000000),
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x15, 0x0321101f),
- AZALIA_PIN_CFG(0x0, 0x16, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x03a11020),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40738105),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x17aa220e),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
+ AZALIA_PIN_CFG(0, 0x13, 0x40000000),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x15, 0x0321101f),
+ AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x03a11020),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40738105),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/lenovo/t520/hda_verb.c b/src/mainboard/lenovo/t520/hda_verb.c
index 46d7d94..e431172 100644
--- a/src/mainboard/lenovo/t520/hda_verb.c
+++ b/src/mainboard/lenovo/t520/hda_verb.c
@@ -25,17 +25,17 @@
0x14f1506e, /* Codec VID / DID: Conexant CX20590 - Schematic shows CX20672 */
0x17aa21cf, /* Subsystem ID */
13, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa21cf),
- AZALIA_PIN_CFG(0x0, 0x19, 0x04211040),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x61a19050),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x04a11060),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x6121401f),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x20, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x22, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x23, 0x90a60170),
+ AZALIA_SUBVENDOR(0, 0x17aa21cf),
+ AZALIA_PIN_CFG(0, 0x19, 0x04211040),
+ AZALIA_PIN_CFG(0, 0x1a, 0x61a19050),
+ AZALIA_PIN_CFG(0, 0x1b, 0x04a11060),
+ AZALIA_PIN_CFG(0, 0x1c, 0x6121401f),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x20, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x22, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x23, 0x90a60170),

/* Misc entries */
0x00b707c0, /* Enable PortB as Output with HP amp */
diff --git a/src/mainboard/lenovo/t530/hda_verb.c b/src/mainboard/lenovo/t530/hda_verb.c
index 5ed12b4..916268f 100644
--- a/src/mainboard/lenovo/t530/hda_verb.c
+++ b/src/mainboard/lenovo/t530/hda_verb.c
@@ -25,39 +25,39 @@
0x10ec0269, /* Codec Vendor / Device ID: Realtek ALC269VC */
0x17aa21fa, /* Subsystem ID */
18, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa21fa),
+ AZALIA_SUBVENDOR(0, 0x17aa21fa),

/* Ext. Microphone Connector: External,Right; MicIn,3.5mm; Black,JD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0a, 0x04a11020),
+ AZALIA_PIN_CFG(0, 0x0a, 0x04a11020),

/* Headphones Connector: External,Right; HP,3.5mm; Black,JD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0b, 0x0421101f),
+ AZALIA_PIN_CFG(0, 0x0b, 0x0421101f),

/* Not connected: N/A,N/A; Other,Unknown; Unknown,JD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0c, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0c, 0x40f000f0),

/* Internal Speakers Fixed,Int; Speaker,Other Analog; Unknown,nJD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x0d, 0x90170110),

/* Not connected */
- AZALIA_PIN_CFG(0x0, 0x0f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0f, 0x40f000f0),

/* Internal Microphone: Fixed,Int,Top; Mic In,ATIPI; Unknown,nJD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x11, 0xd5a30140),
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140),
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x15, 0x03211020),
- AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830),
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x11, 0xd5a30140),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x15, 0x03211020),
+ AZALIA_PIN_CFG(0, 0x18, 0x03a11830),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),

0x01970804,
0x01870803,
0x01470740,
0x00970600,

- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40138205),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40138205),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Misc entries */
0x00370600,
@@ -76,10 +76,10 @@
0x80862806, /* Codec Vendor / Device ID: Intel PantherPoint HDMI */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030)
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[] = {
diff --git a/src/mainboard/lenovo/t60/hda_verb.c b/src/mainboard/lenovo/t60/hda_verb.c
index 22eec0a..f73e473 100644
--- a/src/mainboard/lenovo/t60/hda_verb.c
+++ b/src/mainboard/lenovo/t60/hda_verb.c
@@ -17,7 +17,7 @@
0x11d41981, /* Codec Vendor / Device ID: Analog Devices AD1981 */
0x17aa2025, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa2025),
+ AZALIA_SUBVENDOR(0, 0x17aa2025),
AZALIA_PIN_CFG(0, 0x05, 0xc3014110),
AZALIA_PIN_CFG(0, 0x06, 0x4221401f),
AZALIA_PIN_CFG(0, 0x07, 0x591311f0),
diff --git a/src/mainboard/lenovo/x131e/hda_verb.c b/src/mainboard/lenovo/x131e/hda_verb.c
index 83b5148..37c4bc0 100644
--- a/src/mainboard/lenovo/x131e/hda_verb.c
+++ b/src/mainboard/lenovo/x131e/hda_verb.c
@@ -23,39 +23,39 @@
0x0000000b, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x17aa21fe */
- AZALIA_SUBVENDOR(0x0, 0x17aa21fe),
+ AZALIA_SUBVENDOR(0, 0x17aa21fe),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12): 0x90a60930 DMIC */
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60930),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60930),

/* Pin Complex (NID 0x14): 0x90170110 SPEAKER-OUT (Port-D) */
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),

/* Pin Complex (NID 0x15): 0x0321101f HP-OUT (Port-A) */
- AZALIA_PIN_CFG(0x0, 0x15, 0x0321101f),
+ AZALIA_PIN_CFG(0, 0x15, 0x0321101f),

/* Pin Complex (NID 0x17): 0x411111f0 MONO-OUT (Port-H) */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18): 0x03a11820 MIC1 (Port-B) */
- AZALIA_PIN_CFG(0x0, 0x18, 0x03a11820),
+ AZALIA_PIN_CFG(0, 0x18, 0x03a11820),

/* Pin Complex (NID 0x19): 0x411111f0 MIC2 (Port-F) */
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),

/* Pin Complex (NID 0x1a): 0x411111f0 LINE1 (Port-C) */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),

/* Pin Complex (NID 0x1b): 0x411111f0 LINE2 (Port-E) */
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),

/* Pin Complex (NID 0x1d): 0x4016862d PC-BEEP */
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4016862d),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4016862d),

/* Pin Complex (NID 0x1e): 0x411111f0 S/PDIF-OUT */
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* coreboot specific header */
0x80862806, // Codec Vendor / Device ID: Intel PantherPoint HDMI
@@ -63,16 +63,16 @@
0x00000004, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
+ AZALIA_SUBVENDOR(3, 0x80860101),

/* Pin Complex (NID 0x05) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),

/* Pin Complex (NID 0x06) Not Connected */
- AZALIA_PIN_CFG(0x3, 0x06, 0x58560020),
+ AZALIA_PIN_CFG(3, 0x06, 0x58560020),

/* Pin Complex (NID 0x07) Not Connected */
- AZALIA_PIN_CFG(0x3, 0x07, 0x58560030),
+ AZALIA_PIN_CFG(3, 0x07, 0x58560030),
};

const u32 pc_beep_verbs[] = {
diff --git a/src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c b/src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c
index 8ea3258..d07672d 100644
--- a/src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c
+++ b/src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c
@@ -20,25 +20,25 @@
0x10ec0269, /* Codec Vendor / Device ID: Realtek */
0x17aa21f9, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa21f9),
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140),
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x15, 0x03211020),
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830),
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40138205),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x17aa21f9),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x15, 0x03211020),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x03a11830),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40138205),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

0x80862806, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x58560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x58560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x58560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x58560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/lenovo/x201/hda_verb.c b/src/mainboard/lenovo/x201/hda_verb.c
index ee12d3a..37517fc 100644
--- a/src/mainboard/lenovo/x201/hda_verb.c
+++ b/src/mainboard/lenovo/x201/hda_verb.c
@@ -20,25 +20,25 @@
0x14f15069, /* Codec Vendor / Device ID: Conexant CX20585 */
0x17aa2155, /* Subsystem ID */
11, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa2155),
- AZALIA_PIN_CFG(0x0, 0x19, 0x042140f0), /* Headphone jack */
- AZALIA_PIN_CFG(0x0, 0x1a, 0x61a190f0), /* Dock mic jack */
- AZALIA_PIN_CFG(0x0, 0x1b, 0x04a190f0), /* Mic jack */
- AZALIA_PIN_CFG(0x0, 0x1c, 0x612140f0), /* Dock headphone jack */
- AZALIA_PIN_CFG(0x0, 0x1d, 0x601700f0), /* EAPD detect */
- AZALIA_PIN_CFG(0x0, 0x1e, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x901701f0),
- AZALIA_PIN_CFG(0x0, 0x20, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x22, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x23, 0x90a601f0), /* Internal mic boost volume */
+ AZALIA_SUBVENDOR(0, 0x17aa2155),
+ AZALIA_PIN_CFG(0, 0x19, 0x042140f0), /* Headphone jack */
+ AZALIA_PIN_CFG(0, 0x1a, 0x61a190f0), /* Dock mic jack */
+ AZALIA_PIN_CFG(0, 0x1b, 0x04a190f0), /* Mic jack */
+ AZALIA_PIN_CFG(0, 0x1c, 0x612140f0), /* Dock headphone jack */
+ AZALIA_PIN_CFG(0, 0x1d, 0x601700f0), /* EAPD detect */
+ AZALIA_PIN_CFG(0, 0x1e, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x901701f0),
+ AZALIA_PIN_CFG(0, 0x20, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x22, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x23, 0x90a601f0), /* Internal mic boost volume */

0x80862804, /* Codec Vendor / Device ID: Intel Ibexpeak HDMI. */
0x17aa21b5, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x17aa21b5),
- AZALIA_PIN_CFG(0x3, 0x04, 0x58560010),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x06, 0x58560030),
+ AZALIA_SUBVENDOR(3, 0x17aa21b5),
+ AZALIA_PIN_CFG(3, 0x04, 0x58560010),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x06, 0x58560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/lenovo/x220/hda_verb.c b/src/mainboard/lenovo/x220/hda_verb.c
index 00751c4..470c639 100644
--- a/src/mainboard/lenovo/x220/hda_verb.c
+++ b/src/mainboard/lenovo/x220/hda_verb.c
@@ -26,18 +26,18 @@
0x14f1506e, /* Codec Vendor / Device ID: Conexant CX20590 */
0x17aa21db, /* Subsystem ID */
13, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa21db),
+ AZALIA_SUBVENDOR(0, 0x17aa21db),

- AZALIA_PIN_CFG(0x0, 0x19, 0x04211040),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x61a19050),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x04a11060),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x6121401f),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x20, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x22, 0x40f001f0),
- AZALIA_PIN_CFG(0x0, 0x23, 0x90a60170),
+ AZALIA_PIN_CFG(0, 0x19, 0x04211040),
+ AZALIA_PIN_CFG(0, 0x1a, 0x61a19050),
+ AZALIA_PIN_CFG(0, 0x1b, 0x04a11060),
+ AZALIA_PIN_CFG(0, 0x1c, 0x6121401f),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x1f, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x20, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x22, 0x40f001f0),
+ AZALIA_PIN_CFG(0, 0x23, 0x90a60170),

/* Misc entries */
0x00b707C0, /* Enable PortB as Output with HP amp */
@@ -56,10 +56,10 @@
0x80862806, /* Codec Vendor / Device ID: Intel PantherPoint HDMI */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[] = {
diff --git a/src/mainboard/lenovo/x230/hda_verb.c b/src/mainboard/lenovo/x230/hda_verb.c
index ff1a2dd..f5b5bfd 100644
--- a/src/mainboard/lenovo/x230/hda_verb.c
+++ b/src/mainboard/lenovo/x230/hda_verb.c
@@ -26,33 +26,33 @@
0x10ec0269, /* Codec Vendor / Device ID: Realtek ALC269VC */
0x17aa21fa, /* Subsystem ID */
19, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x17aa21fa),
+ AZALIA_SUBVENDOR(0, 0x17aa21fa),

/* Ext. Microphone Connector: External,Right; MicIn,3.5mm; Black,JD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0a, 0x04a11020),
+ AZALIA_PIN_CFG(0, 0x0a, 0x04a11020),

/* Headphones Connector: External,Right; HP,3.5mm; Black,JD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0b, 0x0421101f),
+ AZALIA_PIN_CFG(0, 0x0b, 0x0421101f),

/* Not connected: N/A,N/A; Other,Unknown; Unknown,JD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0c, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0c, 0x40f000f0),

/* Internal Speakers Fixed,Int; Speaker,Other Analog; Unknown,nJD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x0d, 0x90170110),

/* Not connected */
- AZALIA_PIN_CFG(0x0, 0x0f, 0x40f000f0),
+ AZALIA_PIN_CFG(0, 0x0f, 0x40f000f0),

/* Internal Microphone: Fixed,Int,Top; Mic In,ATIPI; Unknown,nJD; DA,Seq */
- AZALIA_PIN_CFG(0x0, 0x11, 0xd5a30140),
- AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140),
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
- AZALIA_PIN_CFG(0x0, 0x15, 0x03211020),
- AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830),
- AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x40138205),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x11, 0xd5a30140),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x15, 0x03211020),
+ AZALIA_PIN_CFG(0, 0x18, 0x03a11830),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40138205),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),

/* Misc entries */
0x01970804,
@@ -83,10 +83,10 @@
0x80862806, /* Codec Vendor / Device ID: Intel PantherPoint HDMI */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[] = {
diff --git a/src/mainboard/lenovo/x60/hda_verb.c b/src/mainboard/lenovo/x60/hda_verb.c
index 0712498..91a071a 100644
--- a/src/mainboard/lenovo/x60/hda_verb.c
+++ b/src/mainboard/lenovo/x60/hda_verb.c
@@ -18,7 +18,7 @@
0x17aa2025, /* Subsystem ID */
11, /* Number of 4 dword sets */

- AZALIA_SUBVENDOR(0x0, 0x17aa2025),
+ AZALIA_SUBVENDOR(0, 0x17aa2025),

AZALIA_PIN_CFG(0, 0x05, 0xc3014110),
AZALIA_PIN_CFG(0, 0x06, 0x4221401f),
@@ -29,7 +29,7 @@
AZALIA_PIN_CFG(0, 0x16, 0x59f311f0),
AZALIA_PIN_CFG(0, 0x17, 0x59931122),
AZALIA_PIN_CFG(0, 0x18, 0x41a19023),
- AZALIA_PIN_CFG(0, 0x19, 0x9933e12e)
+ AZALIA_PIN_CFG(0, 0x19, 0x9933e12e),
};
const u32 pc_beep_verbs[0] = {};
AZALIA_ARRAY_SIZES;
diff --git a/src/mainboard/msi/ms7707/hda_verb.c b/src/mainboard/msi/ms7707/hda_verb.c
index 0895e29..5221c6d 100644
--- a/src/mainboard/msi/ms7707/hda_verb.c
+++ b/src/mainboard/msi/ms7707/hda_verb.c
@@ -21,21 +21,21 @@
0x10ec0887, /* Codec Vendor / Device ID: Realtek */
0x14627707, /* Subsystem ID */
15, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x14627707),
- AZALIA_PIN_CFG(0x0, 0x11, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x14, 0x01014410),
- AZALIA_PIN_CFG(0x0, 0x15, 0x01011412),
- AZALIA_PIN_CFG(0x0, 0x16, 0x01016411),
- AZALIA_PIN_CFG(0x0, 0x17, 0x01012414),
- AZALIA_PIN_CFG(0x0, 0x18, 0x01813c40),
- AZALIA_PIN_CFG(0x0, 0x19, 0x02a19c50),
- AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1b, 0x02214c20),
- AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x411111f0),
- AZALIA_PIN_CFG(0x0, 0x1e, 0x01454130),
- AZALIA_PIN_CFG(0x0, 0x1f, 0x411111f0),
+ AZALIA_SUBVENDOR(0, 0x14627707),
+ AZALIA_PIN_CFG(0, 0x11, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x14, 0x01014410),
+ AZALIA_PIN_CFG(0, 0x15, 0x01011412),
+ AZALIA_PIN_CFG(0, 0x16, 0x01016411),
+ AZALIA_PIN_CFG(0, 0x17, 0x01012414),
+ AZALIA_PIN_CFG(0, 0x18, 0x01813c40),
+ AZALIA_PIN_CFG(0, 0x19, 0x02a19c50),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x02214c20),
+ AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1e, 0x01454130),
+ AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/packardbell/ms2290/hda_verb.c b/src/mainboard/packardbell/ms2290/hda_verb.c
index 4f78b89..7a90d1e 100644
--- a/src/mainboard/packardbell/ms2290/hda_verb.c
+++ b/src/mainboard/packardbell/ms2290/hda_verb.c
@@ -20,20 +20,20 @@
0x10ec0272, /* Codec Vendor / Device ID: Realtek ALC272X */
0x10250379, /* Subsystem ID */
6, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x0, 0x10250379),
- AZALIA_PIN_CFG(0x0, 0x14, 0x99130110),
- AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830),
- AZALIA_PIN_CFG(0x0, 0x19, 0x99a30920),
- AZALIA_PIN_CFG(0x0, 0x1d, 0x4017992d),
- AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f),
+ AZALIA_SUBVENDOR(0, 0x10250379),
+ AZALIA_PIN_CFG(0, 0x14, 0x99130110),
+ AZALIA_PIN_CFG(0, 0x18, 0x03a11830),
+ AZALIA_PIN_CFG(0, 0x19, 0x99a30920),
+ AZALIA_PIN_CFG(0, 0x1d, 0x4017992d),
+ AZALIA_PIN_CFG(0, 0x21, 0x0321101f),

0x80862804, /* Codec Vendor / Device ID: Intel Ibexpeak HDMI */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x04, 0x18560010),
- AZALIA_PIN_CFG(0x3, 0x05, 0x58560020),
- AZALIA_PIN_CFG(0x3, 0x06, 0x58560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x04, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x05, 0x58560020),
+ AZALIA_PIN_CFG(3, 0x06, 0x58560030),
};

const u32 pc_beep_verbs[0] = {};
diff --git a/src/mainboard/purism/librem_skl/hda_verb.c b/src/mainboard/purism/librem_skl/hda_verb.c
index ea89f00..812def6 100644
--- a/src/mainboard/purism/librem_skl/hda_verb.c
+++ b/src/mainboard/purism/librem_skl/hda_verb.c
@@ -32,39 +32,39 @@
/* Bits 7:0 - Payload */

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x19910269 */
- AZALIA_SUBVENDOR(0x0, 0x19910269),
+ AZALIA_SUBVENDOR(0, 0x19910269),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x12) */
- AZALIA_PIN_CFG(0x0, 0x12, 0x40000000),
+ AZALIA_PIN_CFG(0, 0x12, 0x40000000),

/* Pin Complex (NID 0x14) */
- AZALIA_PIN_CFG(0x0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),

/* Pin Complex (NID 0x15) */
- AZALIA_PIN_CFG(0x0, 0x15, 0x04214020),
+ AZALIA_PIN_CFG(0, 0x15, 0x04214020),

/* Pin Complex (NID 0x17) */
- AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x17, 0x411111f0),

/* Pin Complex (NID 0x18) */
- AZALIA_PIN_CFG(0x0, 0x18, 0x04a19040),
+ AZALIA_PIN_CFG(0, 0x18, 0x04a19040),

/* Pin Complex (NID 0x19) */
- AZALIA_PIN_CFG(0x0, 0x19, 0x90a70130),
+ AZALIA_PIN_CFG(0, 0x19, 0x90a70130),

/* Pin Complex (NID 0x1A) */
- AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1A, 0x411111f0),

/* Pin Complex (NID 0x1B) */
- AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1B, 0x411111f0),

/* Pin Complex (NID 0x1D) */
- AZALIA_PIN_CFG(0x0, 0x1D, 0x40548505),
+ AZALIA_PIN_CFG(0, 0x1D, 0x40548505),

/* Pin Complex (NID 0x1E) */
- AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1E, 0x411111f0),
};

const u32 pc_beep_verbs[] = {};
diff --git a/src/mainboard/samsung/lumpy/hda_verb.c b/src/mainboard/samsung/lumpy/hda_verb.c
index 252d872..f889259 100644
--- a/src/mainboard/samsung/lumpy/hda_verb.c
+++ b/src/mainboard/samsung/lumpy/hda_verb.c
@@ -22,29 +22,29 @@
0x00000007, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x152D0924 */
- AZALIA_SUBVENDOR(0x0, 0x152D0924),
+ AZALIA_SUBVENDOR(0, 0x152D0924),

0x00170500,

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x05) */
- AZALIA_PIN_CFG(0x0, 0x05, 0x022110f0),
+ AZALIA_PIN_CFG(0, 0x05, 0x022110f0),

/* Pin Complex (NID 0x06) */
- AZALIA_PIN_CFG(0x0, 0x06, 0x901700f0),
+ AZALIA_PIN_CFG(0, 0x06, 0x901700f0),

/* Pin Complex (NID 0x07) */
- AZALIA_PIN_CFG(0x0, 0x07, 0x02a110f0),
+ AZALIA_PIN_CFG(0, 0x07, 0x02a110f0),

/* Pin Complex (NID 0x08) */
- AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037),
+ AZALIA_PIN_CFG(0, 0x08, 0x77a70037),

/* Pin Complex (NID 0x09) */
- AZALIA_PIN_CFG(0x0, 0x09, 0xb7a6003e),
+ AZALIA_PIN_CFG(0, 0x09, 0xb7a6003e),

/* Pin Complex (NID 0x0a) */
- AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0)
+ AZALIA_PIN_CFG(0, 0x0a, 0x434510f0),
};

const u32 pc_beep_verbs[] = {
diff --git a/src/mainboard/samsung/stumpy/hda_verb.c b/src/mainboard/samsung/stumpy/hda_verb.c
index 1fa6e35..3d39fca 100644
--- a/src/mainboard/samsung/stumpy/hda_verb.c
+++ b/src/mainboard/samsung/stumpy/hda_verb.c
@@ -22,27 +22,27 @@
0x00000007, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10134210 */
- AZALIA_SUBVENDOR(0x0, 0x10134210),
+ AZALIA_SUBVENDOR(0, 0x10134210),

/* Pin Widget Verb Table */

/* Pin Complex (NID 0x05) 1/8 Gray HP Out at Ext Front */
- AZALIA_PIN_CFG(0x0, 0x05, 0x022120f0),
+ AZALIA_PIN_CFG(0, 0x05, 0x022120f0),

/* Pin Complex (NID 0x06) Analog Unknown Speaker at Int N/A */
- AZALIA_PIN_CFG(0x0, 0x06, 0x90170010),
+ AZALIA_PIN_CFG(0, 0x06, 0x90170010),

/* Pin Complex (NID 0x07) 1/8 Grey Line In at Ext Front */
- AZALIA_PIN_CFG(0x0, 0x07, 0x02a120f0),
+ AZALIA_PIN_CFG(0, 0x07, 0x02a120f0),

/* Pin Complex (NID 0x08) Analog Unknown Mic at Oth Mobile-In */
- AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037),
+ AZALIA_PIN_CFG(0, 0x08, 0x77a70037),

/* Pin Complex (NID 0x09) Digital Unknown Mic at Oth Mobile-In */
- AZALIA_PIN_CFG(0x0, 0x09, 0x77a6003e),
+ AZALIA_PIN_CFG(0, 0x09, 0x77a6003e),

/* Pin Complex (NID 0x0a) Optical Black SPDIF Out at Ext N/A */
- AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0),
+ AZALIA_PIN_CFG(0, 0x0a, 0x434510f0),

/* coreboot specific header */
0x80862805, // Codec Vendor / Device ID: Intel CougarPoint HDMI
@@ -50,16 +50,16 @@
0x00000004, // Number of jacks

/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */
- AZALIA_SUBVENDOR(0x0, 0x80860101),
+ AZALIA_SUBVENDOR(0, 0x80860101),

/* Pin Complex (NID 0x05) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),

/* Pin Complex (NID 0x06) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),

/* Pin Complex (NID 0x07) Digital Out at Int HDMI */
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030)
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[] = {
diff --git a/src/mainboard/sapphire/pureplatinumh61/hda_verb.c b/src/mainboard/sapphire/pureplatinumh61/hda_verb.c
index 2371004..415eb87 100644
--- a/src/mainboard/sapphire/pureplatinumh61/hda_verb.c
+++ b/src/mainboard/sapphire/pureplatinumh61/hda_verb.c
@@ -20,29 +20,29 @@
0x10ec0892, /* Codec Vendor / Device ID: Realtek */
0x10ec0000, /* Subsystem ID */
15, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x2, 0x10ec0000),
- AZALIA_PIN_CFG(0x2, 0x11, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x12, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x14, 0x01014c10),
- AZALIA_PIN_CFG(0x2, 0x15, 0x01011c12),
- AZALIA_PIN_CFG(0x2, 0x16, 0x01016c11),
- AZALIA_PIN_CFG(0x2, 0x17, 0x01012c14),
- AZALIA_PIN_CFG(0x2, 0x18, 0x01a19c40),
- AZALIA_PIN_CFG(0x2, 0x19, 0x02a19c50),
- AZALIA_PIN_CFG(0x2, 0x1a, 0x01813c4f),
- AZALIA_PIN_CFG(0x2, 0x1b, 0x0321403f),
- AZALIA_PIN_CFG(0x2, 0x1c, 0x411111f0),
- AZALIA_PIN_CFG(0x2, 0x1d, 0x4005e601),
- AZALIA_PIN_CFG(0x2, 0x1e, 0x0145e130),
- AZALIA_PIN_CFG(0x2, 0x1f, 0x411111f0),
+ AZALIA_SUBVENDOR(2, 0x10ec0000),
+ AZALIA_PIN_CFG(2, 0x11, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x12, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x14, 0x01014c10),
+ AZALIA_PIN_CFG(2, 0x15, 0x01011c12),
+ AZALIA_PIN_CFG(2, 0x16, 0x01016c11),
+ AZALIA_PIN_CFG(2, 0x17, 0x01012c14),
+ AZALIA_PIN_CFG(2, 0x18, 0x01a19c40),
+ AZALIA_PIN_CFG(2, 0x19, 0x02a19c50),
+ AZALIA_PIN_CFG(2, 0x1a, 0x01813c4f),
+ AZALIA_PIN_CFG(2, 0x1b, 0x0321403f),
+ AZALIA_PIN_CFG(2, 0x1c, 0x411111f0),
+ AZALIA_PIN_CFG(2, 0x1d, 0x4005e601),
+ AZALIA_PIN_CFG(2, 0x1e, 0x0145e130),
+ AZALIA_PIN_CFG(2, 0x1f, 0x411111f0),

0x80862805, /* Codec Vendor / Device ID: Intel */
0x80860101, /* Subsystem ID */
4, /* Number of 4 dword sets */
- AZALIA_SUBVENDOR(0x3, 0x80860101),
- AZALIA_PIN_CFG(0x3, 0x05, 0x58560010),
- AZALIA_PIN_CFG(0x3, 0x06, 0x18560020),
- AZALIA_PIN_CFG(0x3, 0x07, 0x18560030),
+ AZALIA_SUBVENDOR(3, 0x80860101),
+ AZALIA_PIN_CFG(3, 0x05, 0x58560010),
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
};

const u32 pc_beep_verbs[0] = {};

To view, visit change 37849. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7f2937bb7715e0769db3be8cb30d305f9d78b6f8
Gerrit-Change-Number: 37849
Gerrit-PatchSet: 4
Gerrit-Owner: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Alexander Couzens <lynxis@fe80.eu>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Evgeny Zinoviev <me@ch1p.io>
Gerrit-Reviewer: Frans Hendriks <fhendriks@eltan.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-Reviewer: Matt DeVillier <matt.devillier@gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org>
Gerrit-Reviewer: Tristan Corrick <tristan@corrick.kiwi>
Gerrit-Reviewer: Wim Vervoorn <wvervoorn@eltan.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: merged