Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37849 )
Change subject: mb/**/hda_verb.c{c,h}: use denary numerals for codec IDs ......................................................................
mb/**/hda_verb.c{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 --- 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, 983 insertions(+), 983 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/37849/1
diff --git a/src/mainboard/apple/macbook21/hda_verb.c b/src/mainboard/apple/macbook21/hda_verb.c index 5d78ff1..f0cf031 100644 --- a/src/mainboard/apple/macbook21/hda_verb.c +++ b/src/mainboard/apple/macbook21/hda_verb.c @@ -21,17 +21,17 @@ 0x83847680, /* Codec Vendor / Device ID: SigmaTel STAC9221 A1 */ 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 */ @@ -39,17 +39,17 @@ 0x83847680, /* Codec Vendor / Device ID: SigmaTel STAC9221 A1 */ 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 0b72ca5..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 fa76e52..1b5232f 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 ALC887 */ 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 467b329..fd47dc8 100644 --- a/src/mainboard/facebook/fbg1701/hda_verb.c +++ b/src/mainboard/facebook/fbg1701/hda_verb.c @@ -21,7 +21,7 @@ 12, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x152d1165), + AZALIA_SUBVENDOR(0, 0x152d1165),
/* Pin Widget Verb Table */
@@ -32,37 +32,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 3635966..27d88db 100644 --- a/src/mainboard/getac/p470/hda_verb.c +++ b/src/mainboard/getac/p470/hda_verb.c @@ -21,44 +21,44 @@ 13, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x10ec0000), + AZALIA_SUBVENDOR(0, 0x10ec0000),
/* Pin Widget Verb Table */ /* DMIC */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
/* LINE_OUT (port D) */ - AZALIA_PIN_CFG(0x0, 0x14, 0x99130110), + AZALIA_PIN_CFG(0, 0x14, 0x99130110),
/* HP_OUT (port A) */ - AZALIA_PIN_CFG(0x0, 0x15, 0x01214020), + AZALIA_PIN_CFG(0, 0x15, 0x01214020),
/* MONO-OUT */ - AZALIA_PIN_CFG(0x0, 0x16, 0x411111f0), + AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
/* MIC1 (port B) */ - AZALIA_PIN_CFG(0x0, 0x18, 0x01a19830), + AZALIA_PIN_CFG(0, 0x18, 0x01a19830),
/* MIC2 (port F) */ - AZALIA_PIN_CFG(0x0, 0x19, 0x99a30931), + AZALIA_PIN_CFG(0, 0x19, 0x99a30931),
/* LINE1 (port C) */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x02a1983f), + AZALIA_PIN_CFG(0, 0x1a, 0x02a1983f),
/* LINE2 (port E) */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x0221401f), + AZALIA_PIN_CFG(0, 0x1b, 0x0221401f),
/* CD_IN */ - AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
/* PCBEEP */ - AZALIA_PIN_CFG(0x0, 0x1d, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x411111f0),
/* S/PDIF-OUT */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
/* 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 51bc10a..75d41ad 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 @@ -18,21 +18,21 @@ 0x10ec0887, /* Realtek ALC887 */ 0x1458a002, /* Subsystem ID */ 14, /* Number of entries */ - AZALIA_SUBVENDOR(0x2, 0x1458a002), - 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_SUBVENDOR(2, 0x1458a002), + 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 c30b800..7d81ea8 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 @@ -31,12 +31,12 @@ /* Bits 7:0 - Payload */
/* 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 @@ -45,13 +45,13 @@ * 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 @@ -60,7 +60,7 @@ * 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 @@ -69,10 +69,10 @@ * 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 @@ -81,10 +81,10 @@ * 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 @@ -93,7 +93,7 @@ * 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 34bec66..a4b1810 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 @@ -31,12 +31,12 @@ /* Bits 7:0 - Payload */
/* 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 @@ -45,13 +45,13 @@ * 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 @@ -60,13 +60,13 @@ * 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 @@ -75,10 +75,10 @@ * 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 @@ -87,7 +87,7 @@ * 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 fc29a14..a744594 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 @@ -31,7 +31,7 @@ /* Bits 7:0 - Payload */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670),
/* Pin Widget Verb Table */
@@ -42,7 +42,7 @@ * 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 @@ -51,13 +51,13 @@ * 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 @@ -66,13 +66,13 @@ * 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 @@ -81,10 +81,10 @@ * 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 @@ -93,7 +93,7 @@ * 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 fc29a14..a744594 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 @@ -31,7 +31,7 @@ /* Bits 7:0 - Payload */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670),
/* Pin Widget Verb Table */
@@ -42,7 +42,7 @@ * 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 @@ -51,13 +51,13 @@ * 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 @@ -66,13 +66,13 @@ * 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 @@ -81,10 +81,10 @@ * 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 @@ -93,7 +93,7 @@ * 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 63b17ac..8641455 100644 --- a/src/mainboard/google/beltino/variants/mccloud/hda_verb.c +++ b/src/mainboard/google/beltino/variants/mccloud/hda_verb.c @@ -29,18 +29,18 @@ 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 @@ -49,16 +49,16 @@ * 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 @@ -67,10 +67,10 @@ * 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 @@ -79,7 +79,7 @@ * 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 791b2ea..545933d 100644 --- a/src/mainboard/google/beltino/variants/monroe/hda_verb.c +++ b/src/mainboard/google/beltino/variants/monroe/hda_verb.c @@ -29,30 +29,30 @@ 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 @@ -61,13 +61,13 @@ * 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 63b17ac..8641455 100644 --- a/src/mainboard/google/beltino/variants/panther/hda_verb.c +++ b/src/mainboard/google/beltino/variants/panther/hda_verb.c @@ -29,18 +29,18 @@ 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 @@ -49,16 +49,16 @@ * 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 @@ -67,10 +67,10 @@ * 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 @@ -79,7 +79,7 @@ * 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 63b17ac..8641455 100644 --- a/src/mainboard/google/beltino/variants/tricky/hda_verb.c +++ b/src/mainboard/google/beltino/variants/tricky/hda_verb.c @@ -29,18 +29,18 @@ 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 @@ -49,16 +49,16 @@ * 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 @@ -67,10 +67,10 @@ * 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 @@ -79,7 +79,7 @@ * 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 63b17ac..8641455 100644 --- a/src/mainboard/google/beltino/variants/zako/hda_verb.c +++ b/src/mainboard/google/beltino/variants/zako/hda_verb.c @@ -29,18 +29,18 @@ 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 @@ -49,16 +49,16 @@ * 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 @@ -67,10 +67,10 @@ * 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 @@ -79,7 +79,7 @@ * 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 3592a57..8db1849 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 @@ -173,10 +173,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/google/drallion/variants/drallion/include/variant/hda_verb.h b/src/mainboard/google/drallion/variants/drallion/include/variant/hda_verb.h index 9550041..7fc0836 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 @@ AZALIA_RESET(0x1),
/* 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 0d326ea..042422d 100644 --- a/src/mainboard/google/jecht/hda_verb.c +++ b/src/mainboard/google/jecht/hda_verb.c @@ -26,18 +26,18 @@ 0x000f0002, /* Pad - get revision id */
/* 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 @@ -46,16 +46,16 @@ * 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 @@ -64,10 +64,10 @@ * 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 @@ -76,7 +76,7 @@ * 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 2d5fac9..8718698 100644 --- a/src/mainboard/google/link/hda_verb.c +++ b/src/mainboard/google/link/hda_verb.c @@ -74,34 +74,34 @@
/* Pin Widget Verb Table */ /* HDA Codec Subsystem ID Verb Table */ - 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),
/* --- Codec #3 --- */ 0x80862806, /* Codec Vendor / Device ID: Intel CougarPoint HDMI */ @@ -109,16 +109,16 @@ 4, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - 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), };
const u32 pc_beep_verbs[] = { diff --git a/src/mainboard/google/parrot/hda_verb.c b/src/mainboard/google/parrot/hda_verb.c index 039d251..1cb469c 100644 --- a/src/mainboard/google/parrot/hda_verb.c +++ b/src/mainboard/google/parrot/hda_verb.c @@ -37,10 +37,10 @@ 14, /* Number of jacks (NID entries) */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x10250742), + AZALIA_SUBVENDOR(0, 0x10250742),
/* Pin Complex (NID 0x12) DMIC */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
/* * Pin Complex (NID 0x14) SPKR-OUT PORTD @@ -49,13 +49,13 @@ * 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 @@ -64,10 +64,10 @@ * 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 @@ -76,7 +76,7 @@ * mic in, analog * fixed function, internal */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x90a70120), + AZALIA_PIN_CFG(0, 0x1b, 0x90a70120),
/* * Pin Complex (NID 0x1d) PCBeep @@ -85,10 +85,10 @@ * pcbeep enable, 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? @@ -97,7 +97,7 @@ * 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 */ @@ -122,10 +122,10 @@ 4, /* Number of jacks (NID entries) */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x80860101), - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030), + AZALIA_SUBVENDOR(0, 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/sarien/variants/arcada/include/variant/hda_verb.h b/src/mainboard/google/sarien/variants/arcada/include/variant/hda_verb.h index e502760..cff82f9 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 @@ AZALIA_RESET(0x1),
/* 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 2114ed3..c549f86 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 @@ AZALIA_RESET(0x1),
/* 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 f130420..1af3150 100644 --- a/src/mainboard/google/slippy/variants/falco/hda_verb.c +++ b/src/mainboard/google/slippy/variants/falco/hda_verb.c @@ -26,12 +26,12 @@ 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 @@ -40,13 +40,13 @@ * 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 @@ -55,13 +55,13 @@ * 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 @@ -70,10 +70,10 @@ * pcbeep enable, 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 @@ -82,7 +82,7 @@ * 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 00abada..b2cfeaf5 100644 --- a/src/mainboard/google/slippy/variants/leon/hda_verb.c +++ b/src/mainboard/google/slippy/variants/leon/hda_verb.c @@ -26,12 +26,12 @@ 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 @@ -40,13 +40,13 @@ * 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 @@ -55,13 +55,13 @@ * 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 @@ -70,10 +70,10 @@ * pcbeep enable, 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 @@ -82,7 +82,7 @@ * 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 f653d34..00f66d5 100644 --- a/src/mainboard/google/slippy/variants/peppy/hda_verb.c +++ b/src/mainboard/google/slippy/variants/peppy/hda_verb.c @@ -26,12 +26,12 @@ 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 @@ -40,13 +40,13 @@ * 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 @@ -55,7 +55,7 @@ * 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 @@ -64,10 +64,10 @@ * 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 @@ -76,10 +76,10 @@ * pcbeep enable, 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 @@ -88,7 +88,7 @@ * 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 5024a1e..aa4deec 100644 --- a/src/mainboard/google/slippy/variants/wolf/hda_verb.c +++ b/src/mainboard/google/slippy/variants/wolf/hda_verb.c @@ -31,12 +31,12 @@ /* 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 @@ -45,13 +45,13 @@ * 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 @@ -60,13 +60,13 @@ * 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 @@ -75,10 +75,10 @@ * pcbeep enable, 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 @@ -87,7 +87,7 @@ * 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 160838e..2d90438 100644 --- a/src/mainboard/google/stout/hda_verb.c +++ b/src/mainboard/google/stout/hda_verb.c @@ -22,38 +22,38 @@ 12, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x17aa21fe), + AZALIA_SUBVENDOR(0, 0x17aa21fe),
/* Pin Widget Verb Table */ /* Pin Complex (NID 0x12): DMIC */ - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60930), + AZALIA_PIN_CFG(0, 0x12, 0x90a60930),
/* Pin Complex (NID 0x14): SPEAKER-OUT (Port-D) */ - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110),
/* Pin Complex (NID 0x15): HP-OUT (Port-A) */ - AZALIA_PIN_CFG(0x0, 0x15, 0x0321101f), + AZALIA_PIN_CFG(0, 0x15, 0x0321101f),
/* Pin Complex (NID 0x17): MONO-OUT (Port-H) */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
/* Pin Complex (NID 0x18): MIC1 (Port-B) */ - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11820), + AZALIA_PIN_CFG(0, 0x18, 0x03a11820),
/* Pin Complex (NID 0x19): MIC2 (Port-F) */ - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
/* Pin Complex (NID 0x1a): LINE1 (Port-C) */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
/* Pin Complex (NID 0x1b): LINE2 (Port-E) */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
/* Pin Complex (NID 0x1d): PC-BEEP */ - AZALIA_PIN_CFG(0x0, 0x1d, 0x4016862d), + AZALIA_PIN_CFG(0, 0x1d, 0x4016862d),
/* Pin Complex (NID 0x1e): S/PDIF-OUT */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
/* Stout MIC detect setup */ 0x02050018, @@ -67,16 +67,16 @@ 4, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - 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 78d49db..9c48cba 100644 --- a/src/mainboard/hp/8470p/hda_verb.c +++ b/src/mainboard/hp/8470p/hda_verb.c @@ -21,25 +21,25 @@ 0x111d7605, /* Codec Vendor / Device ID: IDT */ 0x103c17c2, /* Subsystem ID */ 11, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x103c17c2), - 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, 0x103c17c2), + 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),
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/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 8870652..7eca321 100644 --- a/src/mainboard/intel/baskingridge/hda_verb.c +++ b/src/mainboard/intel/baskingridge/hda_verb.c @@ -22,25 +22,25 @@ 7, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x10134210), + AZALIA_SUBVENDOR(0, 0x10134210),
/* 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),
/* --- Codec #3 --- */ 0x80862805, /* Codec Vendor / Device ID: Intel LynxPoint HDMI */ @@ -48,16 +48,16 @@ 4, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - 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 deec52c..2750a5b 100644 --- a/src/mainboard/intel/emeraldlake2/hda_verb.c +++ b/src/mainboard/intel/emeraldlake2/hda_verb.c @@ -22,25 +22,25 @@ 7, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x10134210), + AZALIA_SUBVENDOR(0, 0x10134210),
/* 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),
/* --- Codec #3 --- */ 0x80862805, /* Codec Vendor / Device ID: Intel PantherPoint HDMI */ @@ -48,16 +48,16 @@ 4, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - 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 586ff7c..ec7db84 100644 --- a/src/mainboard/intel/wtm2/hda_verb.c +++ b/src/mainboard/intel/wtm2/hda_verb.c @@ -22,25 +22,25 @@ 7, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x10134210), + AZALIA_SUBVENDOR(0, 0x10134210),
/* 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),
/* --- Codec #3 --- */ 0x80862805, /* Codec Vendor / Device ID: Intel WildcatPoint HDMI */ @@ -48,16 +48,16 @@ 4, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - 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 e36faeb..ebd496c 100644 --- a/src/mainboard/kontron/ktqm77/hda_verb.c +++ b/src/mainboard/kontron/ktqm77/hda_verb.c @@ -23,7 +23,7 @@ 12, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11060000), + AZALIA_SUBVENDOR(0, 0x11060000),
/* Pin Widget Verb Table */ /* @@ -98,16 +98,16 @@ 4, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - 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 83b9d8a..2bce616 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: @@ -70,34 +70,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) */ @@ -108,10 +108,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 c2f0ae3..764712c 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 dd5df6c..a8940d0 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 f43f69d..2841891 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, @@ -75,10 +75,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 dec7b9e..7ec5ece 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 fec10a2..678a715 100644 --- a/src/mainboard/lenovo/t530/hda_verb.c +++ b/src/mainboard/lenovo/t530/hda_verb.c @@ -26,39 +26,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 16fc4d9..acf8a15 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 f2bb59c..74b84ac 100644 --- a/src/mainboard/lenovo/x131e/hda_verb.c +++ b/src/mainboard/lenovo/x131e/hda_verb.c @@ -23,39 +23,39 @@ 11, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x17aa21fe), + AZALIA_SUBVENDOR(0, 0x17aa21fe),
/* Pin Widget Verb Table */
/* DMIC */ - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60930), + AZALIA_PIN_CFG(0, 0x12, 0x90a60930),
/* SPEAKER-OUT (Port-D) */ - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110),
/* HP-OUT (Port-A) */ - AZALIA_PIN_CFG(0x0, 0x15, 0x0321101f), + AZALIA_PIN_CFG(0, 0x15, 0x0321101f),
/* MONO-OUT (Port-H) */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0),
/* MIC1 (Port-B) */ - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11820), + AZALIA_PIN_CFG(0, 0x18, 0x03a11820),
/* MIC2 (Port-F) */ - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
/* LINE1 (Port-C) */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
/* LINE2 (Port-E) */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
/* PC-BEEP */ - AZALIA_PIN_CFG(0x0, 0x1d, 0x4016862d), + AZALIA_PIN_CFG(0, 0x1d, 0x4016862d),
/* S/PDIF-OUT */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
/* --- Codec #3 --- */ 0x80862806, /* Codec Vendor / Device ID: Intel PantherPoint HDMI */ @@ -63,16 +63,16 @@ 4, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x3, 0x80860101), + AZALIA_SUBVENDOR(3, 0x80860101),
/* Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x05, 0x18560010),
/* Not Connected */ - AZALIA_PIN_CFG(0x3, 0x06, 0x58560020), + AZALIA_PIN_CFG(3, 0x06, 0x58560020),
/* 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 0e7e978..0e95c10 100644 --- a/src/mainboard/lenovo/x220/hda_verb.c +++ b/src/mainboard/lenovo/x220/hda_verb.c @@ -26,17 +26,17 @@ 0x14f1506e, /* Codec Vendor / Device ID: Conexant CX20590 */ 0x17aa21db, /* Subsystem ID */ 13, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 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_SUBVENDOR(0, 0x17aa21db), + 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 */ @@ -54,10 +54,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 e75b6e1..b499250 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 16fc4d9..acf8a15 100644 --- a/src/mainboard/lenovo/x60/hda_verb.c +++ b/src/mainboard/lenovo/x60/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/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 8f72290..ca50c46 100644 --- a/src/mainboard/purism/librem_skl/hda_verb.c +++ b/src/mainboard/purism/librem_skl/hda_verb.c @@ -32,19 +32,19 @@ /* Bits 7:0 - Payload */
/* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x19910269), + AZALIA_SUBVENDOR(0, 0x19910269),
/* Pin Widget Verb Table */ - AZALIA_PIN_CFG(0x0, 0x12, 0x40000000), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x15, 0x04214020), - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x18, 0x04a19040), - AZALIA_PIN_CFG(0x0, 0x19, 0x90a70130), - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40548505), - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x40000000), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x15, 0x04214020), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x04a19040), + AZALIA_PIN_CFG(0, 0x19, 0x90a70130), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40548505), + 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 5fc1bfa..15a3712 100644 --- a/src/mainboard/samsung/lumpy/hda_verb.c +++ b/src/mainboard/samsung/lumpy/hda_verb.c @@ -21,17 +21,17 @@ 7, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x152d0924), + AZALIA_SUBVENDOR(0, 0x152d0924),
0x00170500,
/* Pin Widget Verb Table */ - AZALIA_PIN_CFG(0x0, 0x05, 0x022110f0), - AZALIA_PIN_CFG(0x0, 0x06, 0x901700f0), - AZALIA_PIN_CFG(0x0, 0x07, 0x02a110f0), - AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037), - AZALIA_PIN_CFG(0x0, 0x09, 0xb7a6003e), - AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0), + AZALIA_PIN_CFG(0, 0x05, 0x022110f0), + AZALIA_PIN_CFG(0, 0x06, 0x901700f0), + AZALIA_PIN_CFG(0, 0x07, 0x02a110f0), + AZALIA_PIN_CFG(0, 0x08, 0x77a70037), + AZALIA_PIN_CFG(0, 0x09, 0xb7a6003e), + 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 59d040c..3e011ca 100644 --- a/src/mainboard/samsung/stumpy/hda_verb.c +++ b/src/mainboard/samsung/stumpy/hda_verb.c @@ -22,25 +22,25 @@ 7, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x10134210), + AZALIA_SUBVENDOR(0, 0x10134210),
/* 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),
/* --- Codec #3 --- */ 0x80862805, /* Codec Vendor / Device ID: Intel CougarPoint HDMI */ @@ -48,16 +48,16 @@ 4, /* Number of jacks */
/* HDA Codec Subsystem ID Verb Table */ - 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] = {};