From ec21170b876fc6af00141e409bba83d958dc3c6e Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 19 Dec 2019 19:37:21 +0100 Subject: mb/**/hda_verb.{c,h}: use denary numerals for codec IDs Denary, also known as "decimal" or "base 10," is the standard number system used around the world. Therefore, make use of it. Change-Id: I7f2937bb7715e0769db3be8cb30d305f9d78b6f8 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/37849 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/mainboard/apple/macbook21/hda_verb.c | 44 +++++++++++----------- src/mainboard/apple/macbookair4_2/hda_verb.c | 30 +++++++-------- src/mainboard/asrock/b75pro3-m/hda_verb.c | 38 +++++++++---------- src/mainboard/asrock/h110m/hda_verb.c | 38 +++++++++---------- src/mainboard/asus/h61m-cs/hda_verb.c | 30 +++++++-------- src/mainboard/asus/maximus_iv_gene-z/hda_verb.c | 38 +++++++++---------- src/mainboard/asus/p8h61-m_lx/hda_verb.c | 30 +++++++-------- src/mainboard/asus/p8h61-m_pro/hda_verb.c | 38 +++++++++---------- src/mainboard/asus/p8z77-m_pro/hda_verb.c | 38 +++++++++---------- src/mainboard/compulab/intense_pc/hda_verb.c | 38 +++++++++---------- src/mainboard/facebook/fbg1701/hda_verb.c | 24 ++++++------ src/mainboard/getac/p470/hda_verb.c | 26 ++++++------- .../variants/ga-b75-d3v/include/variant/hda_verb.h | 30 +++++++-------- .../ga-h61m-s2pv/variants/ga-h61m-s2pv/hda_verb.c | 30 +++++++-------- .../ga-h61m-s2pv/variants/ga-h61ma-d3v/hda_verb.c | 30 +++++++-------- .../auron_paine/include/variant/hda_verb.h | 22 +++++------ .../variants/auron_yuna/include/variant/hda_verb.h | 22 +++++------ .../variants/gandof/include/variant/hda_verb.h | 22 +++++------ .../auron/variants/lulu/include/variant/hda_verb.h | 22 +++++------ .../google/beltino/variants/mccloud/hda_verb.c | 22 +++++------ .../google/beltino/variants/monroe/hda_verb.c | 22 +++++------ .../google/beltino/variants/panther/hda_verb.c | 22 +++++------ .../google/beltino/variants/tricky/hda_verb.c | 22 +++++------ .../google/beltino/variants/zako/hda_verb.c | 22 +++++------ src/mainboard/google/butterfly/hda_verb.c | 22 +++++------ .../variants/drallion/include/variant/hda_verb.h | 26 ++++++------- src/mainboard/google/jecht/hda_verb.c | 22 +++++------ src/mainboard/google/link/hda_verb.c | 28 +++++++------- src/mainboard/google/parrot/hda_verb.c | 30 +++++++-------- .../variants/arcada/include/variant/hda_verb.h | 26 ++++++------- .../variants/sarien/include/variant/hda_verb.h | 22 +++++------ .../google/slippy/variants/falco/hda_verb.c | 22 +++++------ .../google/slippy/variants/leon/hda_verb.c | 22 +++++------ .../google/slippy/variants/peppy/hda_verb.c | 22 +++++------ .../google/slippy/variants/wolf/hda_verb.c | 22 +++++------ src/mainboard/google/stout/hda_verb.c | 30 +++++++-------- src/mainboard/hp/2570p/hda_verb.c | 32 ++++++++-------- src/mainboard/hp/2760p/hda_verb.c | 32 ++++++++-------- src/mainboard/hp/8460p/hda_verb.c | 24 ++++++------ src/mainboard/hp/8470p/hda_verb.c | 30 +++++++-------- src/mainboard/hp/8770w/hda_verb.c | 22 +++++------ src/mainboard/hp/compaq_8200_elite_sff/hda_verb.c | 30 +++++++-------- src/mainboard/hp/folio_9470m/hda_verb.c | 30 +++++++-------- src/mainboard/hp/revolve_810_g1/hda_verb.c | 32 ++++++++-------- src/mainboard/hp/z220_sff_workstation/hda_verb.c | 30 +++++++-------- src/mainboard/intel/baskingridge/hda_verb.c | 22 +++++------ src/mainboard/intel/dcp847ske/hda_verb.c | 8 ++-- src/mainboard/intel/emeraldlake2/hda_verb.c | 22 +++++------ src/mainboard/intel/wtm2/hda_verb.c | 22 +++++------ src/mainboard/kontron/ktqm77/hda_verb.c | 10 ++--- src/mainboard/lenovo/l520/hda_verb.c | 30 +++++++-------- src/mainboard/lenovo/s230u/hda_verb.c | 30 +++++++-------- src/mainboard/lenovo/t410/hda_verb.c | 30 +++++++-------- src/mainboard/lenovo/t420/hda_verb.c | 22 +++++------ src/mainboard/lenovo/t420s/hda_verb.c | 22 +++++------ src/mainboard/lenovo/t430/hda_verb.c | 30 +++++++-------- .../lenovo/t430s/variants/t430s/hda_verb.c | 40 ++++++++++---------- .../lenovo/t430s/variants/t431s/hda_verb.c | 30 +++++++-------- src/mainboard/lenovo/t440p/hda_verb.c | 24 ++++++------ src/mainboard/lenovo/t520/hda_verb.c | 22 +++++------ src/mainboard/lenovo/t530/hda_verb.c | 38 +++++++++---------- src/mainboard/lenovo/t60/hda_verb.c | 2 +- src/mainboard/lenovo/x131e/hda_verb.c | 30 +++++++-------- src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c | 30 +++++++-------- src/mainboard/lenovo/x201/hda_verb.c | 30 +++++++-------- src/mainboard/lenovo/x220/hda_verb.c | 30 +++++++-------- src/mainboard/lenovo/x230/hda_verb.c | 38 +++++++++---------- src/mainboard/lenovo/x60/hda_verb.c | 4 +- src/mainboard/msi/ms7707/hda_verb.c | 30 +++++++-------- src/mainboard/packardbell/ms2290/hda_verb.c | 20 +++++----- src/mainboard/purism/librem_skl/hda_verb.c | 22 +++++------ src/mainboard/samsung/lumpy/hda_verb.c | 14 +++---- src/mainboard/samsung/stumpy/hda_verb.c | 22 +++++------ src/mainboard/sapphire/pureplatinumh61/hda_verb.c | 38 +++++++++---------- 74 files changed, 984 insertions(+), 984 deletions(-) (limited to 'src') diff --git a/src/mainboard/apple/macbook21/hda_verb.c b/src/mainboard/apple/macbook21/hda_verb.c index 0d4149cf06..fa20f386e0 100644 --- a/src/mainboard/apple/macbook21/hda_verb.c +++ b/src/mainboard/apple/macbook21/hda_verb.c @@ -21,31 +21,31 @@ const u32 cim_verb_data[] = { #if CONFIG(BOARD_APPLE_MACBOOK11) || CONFIG(BOARD_APPLE_MACBOOK21) 0x106b2200, /* Subsystem ID */ 11, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x106b2200), - AZALIA_PIN_CFG(0x0, 0x0a, 0x0321e21f), - AZALIA_PIN_CFG(0x0, 0x0b, 0x03a1e02e), - AZALIA_PIN_CFG(0x0, 0x0c, 0x9017e110), - AZALIA_PIN_CFG(0x0, 0x0d, 0x9017e11f), - AZALIA_PIN_CFG(0x0, 0x0e, 0x400000fe), - AZALIA_PIN_CFG(0x0, 0x0f, 0x0381e020), - AZALIA_PIN_CFG(0x0, 0x10, 0x1345e230), - AZALIA_PIN_CFG(0x0, 0x11, 0x13c5e240), - AZALIA_PIN_CFG(0x0, 0x15, 0x400000fc), - AZALIA_PIN_CFG(0x0, 0x1b, 0x400000fb), + AZALIA_SUBVENDOR(0, 0x106b2200), + AZALIA_PIN_CFG(0, 0x0a, 0x0321e21f), + AZALIA_PIN_CFG(0, 0x0b, 0x03a1e02e), + AZALIA_PIN_CFG(0, 0x0c, 0x9017e110), + AZALIA_PIN_CFG(0, 0x0d, 0x9017e11f), + AZALIA_PIN_CFG(0, 0x0e, 0x400000fe), + AZALIA_PIN_CFG(0, 0x0f, 0x0381e020), + AZALIA_PIN_CFG(0, 0x10, 0x1345e230), + AZALIA_PIN_CFG(0, 0x11, 0x13c5e240), + AZALIA_PIN_CFG(0, 0x15, 0x400000fc), + AZALIA_PIN_CFG(0, 0x1b, 0x400000fb), #else /* CONFIG_BOARD_APPLE_IMAC52 */ 0x106b0f00, /* Subsystem ID */ 11, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x106b0f00), - AZALIA_PIN_CFG(0x0, 0x0a, 0x012be032), - AZALIA_PIN_CFG(0x0, 0x0b, 0x90afe111), - AZALIA_PIN_CFG(0x0, 0x0c, 0x9017e131), - AZALIA_PIN_CFG(0x0, 0x0d, 0x4080e10f), - AZALIA_PIN_CFG(0x0, 0x0e, 0x40f0e00f), - AZALIA_PIN_CFG(0x0, 0x0f, 0x018be021), - AZALIA_PIN_CFG(0x0, 0x10, 0x114bf033), - AZALIA_PIN_CFG(0x0, 0x11, 0x11cbc022), - AZALIA_PIN_CFG(0x0, 0x15, 0x4080e10f), - AZALIA_PIN_CFG(0x0, 0x1b, 0x4080e10f), + AZALIA_SUBVENDOR(0, 0x106b0f00), + AZALIA_PIN_CFG(0, 0x0a, 0x012be032), + AZALIA_PIN_CFG(0, 0x0b, 0x90afe111), + AZALIA_PIN_CFG(0, 0x0c, 0x9017e131), + AZALIA_PIN_CFG(0, 0x0d, 0x4080e10f), + AZALIA_PIN_CFG(0, 0x0e, 0x40f0e00f), + AZALIA_PIN_CFG(0, 0x0f, 0x018be021), + AZALIA_PIN_CFG(0, 0x10, 0x114bf033), + AZALIA_PIN_CFG(0, 0x11, 0x11cbc022), + AZALIA_PIN_CFG(0, 0x15, 0x4080e10f), + AZALIA_PIN_CFG(0, 0x1b, 0x4080e10f), #endif }; diff --git a/src/mainboard/apple/macbookair4_2/hda_verb.c b/src/mainboard/apple/macbookair4_2/hda_verb.c index d5b2dcfdca..f9267e4a2b 100644 --- a/src/mainboard/apple/macbookair4_2/hda_verb.c +++ b/src/mainboard/apple/macbookair4_2/hda_verb.c @@ -17,25 +17,25 @@ const u32 cim_verb_data[] = { 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 56c36ea96f..9f98ccfc34 100644 --- a/src/mainboard/asrock/b75pro3-m/hda_verb.c +++ b/src/mainboard/asrock/b75pro3-m/hda_verb.c @@ -21,29 +21,29 @@ const u32 cim_verb_data[] = { 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 dd182a9235..04104bf7e2 100644 --- a/src/mainboard/asrock/h110m/hda_verb.c +++ b/src/mainboard/asrock/h110m/hda_verb.c @@ -21,29 +21,29 @@ const u32 cim_verb_data[] = { 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 4ee07a7237..f985419e9a 100644 --- a/src/mainboard/asus/h61m-cs/hda_verb.c +++ b/src/mainboard/asus/h61m-cs/hda_verb.c @@ -22,21 +22,21 @@ const u32 cim_verb_data[] = { 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 3b8eeff1fe..8c8b35f215 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 @@ const u32 cim_verb_data[] = { 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 fb56759248..b24df6411c 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 @@ const u32 cim_verb_data[] = { 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 403ecb2730..fc73c29b27 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 @@ const u32 cim_verb_data[] = { 0x10ec0887, /* Codec Vendor / Device ID: Realtek */ 0x10438444, /* Subsystem ID */ 15, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x10438444), - AZALIA_PIN_CFG(0x0, 0x11, 0x99430140), - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x14, 0x01014010), - AZALIA_PIN_CFG(0x0, 0x15, 0x01011012), - AZALIA_PIN_CFG(0x0, 0x16, 0x01016011), - AZALIA_PIN_CFG(0x0, 0x17, 0x01012014), - AZALIA_PIN_CFG(0x0, 0x18, 0x01a19850), - AZALIA_PIN_CFG(0x0, 0x19, 0x02a19c60), - AZALIA_PIN_CFG(0x0, 0x1a, 0x0181305f), - AZALIA_PIN_CFG(0x0, 0x1b, 0x02214c20), - AZALIA_PIN_CFG(0x0, 0x1c, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x4005e601), - AZALIA_PIN_CFG(0x0, 0x1e, 0x01456130), - AZALIA_PIN_CFG(0x0, 0x1f, 0x411111f0), + AZALIA_SUBVENDOR(0, 0x10438444), + AZALIA_PIN_CFG(0, 0x11, 0x99430140), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x14, 0x01014010), + AZALIA_PIN_CFG(0, 0x15, 0x01011012), + AZALIA_PIN_CFG(0, 0x16, 0x01016011), + AZALIA_PIN_CFG(0, 0x17, 0x01012014), + AZALIA_PIN_CFG(0, 0x18, 0x01a19850), + AZALIA_PIN_CFG(0, 0x19, 0x02a19c60), + AZALIA_PIN_CFG(0, 0x1a, 0x0181305f), + AZALIA_PIN_CFG(0, 0x1b, 0x02214c20), + AZALIA_PIN_CFG(0, 0x1c, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x4005e601), + AZALIA_PIN_CFG(0, 0x1e, 0x01456130), + AZALIA_PIN_CFG(0, 0x1f, 0x411111f0), 0x80862805, /* Codec Vendor / Device ID: Intel */ 0x80860101, /* Subsystem ID */ 4, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x3, 0x80860101), - AZALIA_PIN_CFG(0x3, 0x05, 0x58560010), - AZALIA_PIN_CFG(0x3, 0x06, 0x58560020), - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030), + AZALIA_SUBVENDOR(3, 0x80860101), + AZALIA_PIN_CFG(3, 0x05, 0x58560010), + AZALIA_PIN_CFG(3, 0x06, 0x58560020), + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/asus/p8z77-m_pro/hda_verb.c b/src/mainboard/asus/p8z77-m_pro/hda_verb.c index 4ab54f9238..b8e8d87a5a 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 @@ const u32 cim_verb_data[] = { 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 82017b5c03..569b9d5277 100644 --- a/src/mainboard/compulab/intense_pc/hda_verb.c +++ b/src/mainboard/compulab/intense_pc/hda_verb.c @@ -21,29 +21,29 @@ const u32 cim_verb_data[] = { 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 5cf820ded9..c06bbb3485 100644 --- a/src/mainboard/facebook/fbg1701/hda_verb.c +++ b/src/mainboard/facebook/fbg1701/hda_verb.c @@ -22,7 +22,7 @@ const u32 cim_verb_data[] = { 0x0000000C, /* Number of jacks */ /* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x152D1165), + AZALIA_SUBVENDOR(0, 0x152D1165), /* Pin Widget Verb Table */ @@ -33,37 +33,37 @@ const u32 cim_verb_data[] = { 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 e858a35005..d46b87fa33 100644 --- a/src/mainboard/getac/p470/hda_verb.c +++ b/src/mainboard/getac/p470/hda_verb.c @@ -22,45 +22,45 @@ const u32 cim_verb_data[] = { 0x0000000d, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10ec0000 */ - AZALIA_SUBVENDOR(0x0, 0x10EC0000), + AZALIA_SUBVENDOR(0, 0x10EC0000), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12), DMIC */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111F0), + AZALIA_PIN_CFG(0, 0x12, 0x411111F0), /* Pin Complex (NID 0x14), LINE_OUT (port D) */ - AZALIA_PIN_CFG(0x0, 0x14, 0x99130110), + AZALIA_PIN_CFG(0, 0x14, 0x99130110), /* Pin Complex (NID 0x15), HP_OUT (port A) */ - AZALIA_PIN_CFG(0x0, 0x15, 0x01214020), + AZALIA_PIN_CFG(0, 0x15, 0x01214020), /* Pin Complex (NID 0x16), MONO-OUT */ - AZALIA_PIN_CFG(0x0, 0x16, 0x411111F0), + AZALIA_PIN_CFG(0, 0x16, 0x411111F0), /* Pin Complex (NID 0x18), MIC1 (port B) */ - AZALIA_PIN_CFG(0x0, 0x18, 0x01A19830), + AZALIA_PIN_CFG(0, 0x18, 0x01A19830), /* Pin Complex (NID 0x19), MIC2 (port F) */ - AZALIA_PIN_CFG(0x0, 0x19, 0x99A30931), + AZALIA_PIN_CFG(0, 0x19, 0x99A30931), /* Pin Complex (NID 0x1A), LINE1 (port C) */ - AZALIA_PIN_CFG(0x0, 0x1A, 0x02A1983F), + AZALIA_PIN_CFG(0, 0x1A, 0x02A1983F), /* Pin Complex (NID 0x1B), LINE2 (port E) */ - AZALIA_PIN_CFG(0x0, 0x1B, 0x0221401F), + AZALIA_PIN_CFG(0, 0x1B, 0x0221401F), /* Pin Complex (NID 0x1C), CD_IN */ - AZALIA_PIN_CFG(0x0, 0x1C, 0x411111F0), + AZALIA_PIN_CFG(0, 0x1C, 0x411111F0), /* Pin Complex (NID 0x1D), PCBEEP */ - AZALIA_PIN_CFG(0x0, 0x1D, 0x411111F0), + AZALIA_PIN_CFG(0, 0x1D, 0x411111F0), /* Pin Complex (NID 0x1E), S/PDIF-OUT */ - AZALIA_PIN_CFG(0x0, 0x1E, 0x411111F0), + AZALIA_PIN_CFG(0, 0x1E, 0x411111F0), /* Pin Complex (NID 0x1F), S/PDIF-IN */ - AZALIA_PIN_CFG(0x0, 0x1F, 0x411111F0), + AZALIA_PIN_CFG(0, 0x1F, 0x411111F0), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/variants/ga-b75-d3v/include/variant/hda_verb.h b/src/mainboard/gigabyte/ga-b75m-d3h/variants/ga-b75-d3v/include/variant/hda_verb.h index 76c4ed3195..8057a8762e 100644 --- a/src/mainboard/gigabyte/ga-b75m-d3h/variants/ga-b75-d3v/include/variant/hda_verb.h +++ b/src/mainboard/gigabyte/ga-b75m-d3h/variants/ga-b75-d3v/include/variant/hda_verb.h @@ -21,23 +21,23 @@ const u32 cim_verb_data[] = { 0x0000000e, // Number of entries /* NID 0x01: Subsystem ID. */ - AZALIA_SUBVENDOR(0x2, 0x1458a002), + AZALIA_SUBVENDOR(2, 0x1458a002), /* Pin Widget Verb Table */ - AZALIA_PIN_CFG(0x2, 0x11, 0x99430130), - AZALIA_PIN_CFG(0x2, 0x12, 0x411111f0), - AZALIA_PIN_CFG(0x2, 0x14, 0x01014410), - AZALIA_PIN_CFG(0x2, 0x15, 0x411111f0), - AZALIA_PIN_CFG(0x2, 0x16, 0x411111f0), - AZALIA_PIN_CFG(0x2, 0x17, 0x411111f0), - AZALIA_PIN_CFG(0x2, 0x18, 0x01a19c50), - AZALIA_PIN_CFG(0x2, 0x19, 0x02a19c60), - AZALIA_PIN_CFG(0x2, 0x1a, 0x0181345f), - AZALIA_PIN_CFG(0x2, 0x1b, 0x02214c20), - AZALIA_PIN_CFG(0x2, 0x1c, 0x411111f0), - AZALIA_PIN_CFG(0x2, 0x1d, 0x4004c601), - AZALIA_PIN_CFG(0x2, 0x1e, 0x411111f0), - AZALIA_PIN_CFG(0x2, 0x1f, 0x411111f0), + AZALIA_PIN_CFG(2, 0x11, 0x99430130), + AZALIA_PIN_CFG(2, 0x12, 0x411111f0), + AZALIA_PIN_CFG(2, 0x14, 0x01014410), + AZALIA_PIN_CFG(2, 0x15, 0x411111f0), + AZALIA_PIN_CFG(2, 0x16, 0x411111f0), + AZALIA_PIN_CFG(2, 0x17, 0x411111f0), + AZALIA_PIN_CFG(2, 0x18, 0x01a19c50), + AZALIA_PIN_CFG(2, 0x19, 0x02a19c60), + AZALIA_PIN_CFG(2, 0x1a, 0x0181345f), + AZALIA_PIN_CFG(2, 0x1b, 0x02214c20), + AZALIA_PIN_CFG(2, 0x1c, 0x411111f0), + AZALIA_PIN_CFG(2, 0x1d, 0x4004c601), + AZALIA_PIN_CFG(2, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(2, 0x1f, 0x411111f0), }; #endif diff --git a/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61m-s2pv/hda_verb.c b/src/mainboard/gigabyte/ga-h61m-s2pv/variants/ga-h61m-s2pv/hda_verb.c index a205ed3cdd..c6df4caf3f 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 @@ const u32 cim_verb_data[] = { 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 a28151d6cc..13e5c38467 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 @@ const u32 cim_verb_data[] = { 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 f7cb2486ac..520879bd57 100644 --- a/src/mainboard/google/auron/variants/auron_paine/include/variant/hda_verb.h +++ b/src/mainboard/google/auron/variants/auron_paine/include/variant/hda_verb.h @@ -32,59 +32,59 @@ const u32 cim_verb_data[] = { /* Bits 7:0 - Payload */ /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */ // group 1, cap 0 // no connector, no jack detect // speaker out, analog // fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */ // group2, cap 0 // black, jack detect // Mic in, 3.5mm Jack // connector, External left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020), + AZALIA_PIN_CFG(0, 0x19, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 - Internal Mic */ // group 1, cap 1 // no connector, no jack detect // mic in, analog connection // Fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1A, 0x90a70111), + AZALIA_PIN_CFG(0, 0x1A, 0x90a70111), /* Pin Complex (NID 0x1B) LINE2 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1B, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, Internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1D, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1D, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/ - AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1E, 0x411111f0), /* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/ // group2, cap 1 // black, jack detect // HPOut, 3.5mm Jack // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x03211021), + AZALIA_PIN_CFG(0, 0x21, 0x03211021), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h b/src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h index e283e954bb..31b97a045a 100644 --- a/src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h +++ b/src/mainboard/google/auron/variants/auron_yuna/include/variant/hda_verb.h @@ -32,55 +32,55 @@ const u32 cim_verb_data[] = { /* Bits 7:0 - Payload */ /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Enabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60130), + AZALIA_PIN_CFG(0, 0x12, 0x90a60130), /* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */ // group 1, cap 0 // no connector, no jack detect // speaker out, analog // fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Enabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x40000008), + AZALIA_PIN_CFG(0, 0x17, 0x40000008), /* Pin Complex (NID 0x18) Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */ // group2, cap 0 // black, jack detect // Mic in, 3.5mm Jack // connector, External left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020), + AZALIA_PIN_CFG(0, 0x19, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1A, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1B, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, Internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1D, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1D, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/ - AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1E, 0x411111f0), /* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/ // group1 // black, jack detect // HPOut, 3.5mm Jack // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h b/src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h index dc2d534a65..48419741ce 100644 --- a/src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h +++ b/src/mainboard/google/auron/variants/gandof/include/variant/hda_verb.h @@ -32,7 +32,7 @@ const u32 cim_verb_data[] = { /* Bits 7:0 - Payload */ /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ @@ -41,50 +41,50 @@ const u32 cim_verb_data[] = { // no connector, no jack detect // mic in, digital // fixed function, internal - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60130), + AZALIA_PIN_CFG(0, 0x12, 0x90a60130), /* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */ // group 1, cap 0 // no connector, no jack detect // speaker out, analog // fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */ // group2, cap 0 // black, jack detect // Mic in, 3.5mm Jack // connector, External left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020), + AZALIA_PIN_CFG(0, 0x19, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1A, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1B, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, Internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1D, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1D, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1E, 0x411111f0), /* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack */ // group2, cap 1 // black, jack detect // HPOut, 3.5mm Jack // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x03211021), + AZALIA_PIN_CFG(0, 0x21, 0x03211021), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h b/src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h index a214a50eef..e00d5b0cda 100644 --- a/src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h +++ b/src/mainboard/google/auron/variants/lulu/include/variant/hda_verb.h @@ -32,7 +32,7 @@ const u32 cim_verb_data[] = { /* Bits 7:0 - Payload */ /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ @@ -41,50 +41,50 @@ const u32 cim_verb_data[] = { // no connector, no jack detect // mic in, digital // fixed function, internal - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60130), + AZALIA_PIN_CFG(0, 0x12, 0x90a60130), /* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */ // group 1, cap 0 // no connector, no jack detect // speaker out, analog // fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */ // group2, cap 0 // black, jack detect // Mic in, 3.5mm Jack // connector, External left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020), + AZALIA_PIN_CFG(0, 0x19, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1A, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1B, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, Internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/ - AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1E, 0x411111f0), /* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/ // group2, cap 1 // black, jack detect // HPOut, 3.5mm Jack // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x03211021), + AZALIA_PIN_CFG(0, 0x21, 0x03211021), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/beltino/variants/mccloud/hda_verb.c b/src/mainboard/google/beltino/variants/mccloud/hda_verb.c index 233a8eecca..6b319dbb52 100644 --- a/src/mainboard/google/beltino/variants/mccloud/hda_verb.c +++ b/src/mainboard/google/beltino/variants/mccloud/hda_verb.c @@ -30,51 +30,51 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */ - AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0), + AZALIA_PIN_CFG(0, 0x14, 0x401111f0), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB */ // group 1, cap 1 // black, jack detect // mic in, analog // connector, left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011), + AZALIA_PIN_CFG(0, 0x19, 0x03a71011), /* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1d) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/beltino/variants/monroe/hda_verb.c b/src/mainboard/google/beltino/variants/monroe/hda_verb.c index 8281fb86d0..5af715d9f3 100644 --- a/src/mainboard/google/beltino/variants/monroe/hda_verb.c +++ b/src/mainboard/google/beltino/variants/monroe/hda_verb.c @@ -30,43 +30,43 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - internal mic */ - AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60110), + AZALIA_PIN_CFG(0, 0x12, 0xb7a60110), /* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */ - AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0), + AZALIA_PIN_CFG(0, 0x14, 0x401111f0), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled*/ - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 PORTF - 3.5mm Jack*/ - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11020), + AZALIA_PIN_CFG(0, 0x18, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1d) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I - Disabled */ - AZALIA_PIN_CFG(0x0, 0x21, 0x411111f0), + AZALIA_PIN_CFG(0, 0x21, 0x411111f0), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/beltino/variants/panther/hda_verb.c b/src/mainboard/google/beltino/variants/panther/hda_verb.c index 233a8eecca..6b319dbb52 100644 --- a/src/mainboard/google/beltino/variants/panther/hda_verb.c +++ b/src/mainboard/google/beltino/variants/panther/hda_verb.c @@ -30,51 +30,51 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */ - AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0), + AZALIA_PIN_CFG(0, 0x14, 0x401111f0), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB */ // group 1, cap 1 // black, jack detect // mic in, analog // connector, left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011), + AZALIA_PIN_CFG(0, 0x19, 0x03a71011), /* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1d) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/beltino/variants/tricky/hda_verb.c b/src/mainboard/google/beltino/variants/tricky/hda_verb.c index 233a8eecca..6b319dbb52 100644 --- a/src/mainboard/google/beltino/variants/tricky/hda_verb.c +++ b/src/mainboard/google/beltino/variants/tricky/hda_verb.c @@ -30,51 +30,51 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */ - AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0), + AZALIA_PIN_CFG(0, 0x14, 0x401111f0), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB */ // group 1, cap 1 // black, jack detect // mic in, analog // connector, left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011), + AZALIA_PIN_CFG(0, 0x19, 0x03a71011), /* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1d) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/beltino/variants/zako/hda_verb.c b/src/mainboard/google/beltino/variants/zako/hda_verb.c index 233a8eecca..6b319dbb52 100644 --- a/src/mainboard/google/beltino/variants/zako/hda_verb.c +++ b/src/mainboard/google/beltino/variants/zako/hda_verb.c @@ -30,51 +30,51 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */ - AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0), + AZALIA_PIN_CFG(0, 0x14, 0x401111f0), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB */ // group 1, cap 1 // black, jack detect // mic in, analog // connector, left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011), + AZALIA_PIN_CFG(0, 0x19, 0x03a71011), /* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1d) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/butterfly/hda_verb.c b/src/mainboard/google/butterfly/hda_verb.c index 231c188d17..973bf73978 100644 --- a/src/mainboard/google/butterfly/hda_verb.c +++ b/src/mainboard/google/butterfly/hda_verb.c @@ -20,25 +20,25 @@ const u32 cim_verb_data[] = { 0x111d76e5, // Codec Vendor / Device ID: IDT 92HD99 0x103c18f9, // Subsystem ID 115, // Number of 4 dword sets - AZALIA_SUBVENDOR(0x0, 0x103c18F9), + AZALIA_SUBVENDOR(0, 0x103c18F9), /* Ext. Microphone Connector: External,Right; MicIn,3.5mm; Black,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0a, 0x04a11020), + AZALIA_PIN_CFG(0, 0x0a, 0x04a11020), /* Headphones Connector: External,Right; HP,3.5mm; Black,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0b, 0x0421101f), + AZALIA_PIN_CFG(0, 0x0b, 0x0421101f), /* Not connected: N/A,N/A; Other,Unknown; Unknown,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0c, 0x40f000f0), + AZALIA_PIN_CFG(0, 0x0c, 0x40f000f0), /* Internal Speakers: Fixed,Int; Speaker,Other Analog; Unknown,nJD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110), + AZALIA_PIN_CFG(0, 0x0d, 0x90170110), /* Not connected */ - AZALIA_PIN_CFG(0x0, 0x0f, 0x40f000f0), + AZALIA_PIN_CFG(0, 0x0f, 0x40f000f0), /* Internal Microphone: Fixed,Int,Top; Mic In,ATIPI; Unknown,nJD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x11, 0xd5a30140), + AZALIA_PIN_CFG(0, 0x11, 0xd5a30140), /* * Hardware EQ Parameters @@ -175,10 +175,10 @@ const u32 cim_verb_data[] = { 0x80860101, // Subsystem ID // Revision ID: 0x100000 4, // Number of 4 dword sets - AZALIA_SUBVENDOR(0x3, 0x80860101), - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030), + AZALIA_SUBVENDOR(3, 0x80860101), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[] = { diff --git a/src/mainboard/google/drallion/variants/drallion/include/variant/hda_verb.h b/src/mainboard/google/drallion/variants/drallion/include/variant/hda_verb.h index 10fbaf13f5..d50fc1e34a 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 @@ const u32 cim_verb_data[] = { /* Rest Codec First */ AZALIA_RESET(0x1), /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x102808b6), + AZALIA_SUBVENDOR(0, 0x102808b6), /* Pin Widget Verb Table */ - AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60130), - AZALIA_PIN_CFG(0x0, 0x13, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x16, 0x40000000), - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x19, 0x04a11030), - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40c00001), - AZALIA_PIN_CFG(0x0, 0x1e, 0x421212f2), - AZALIA_PIN_CFG(0x0, 0x21, 0x04211020), + AZALIA_PIN_CFG(0, 0x12, 0xb7a60130), + AZALIA_PIN_CFG(0, 0x13, 0x411111f0), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x16, 0x40000000), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x04a11030), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40c00001), + AZALIA_PIN_CFG(0, 0x1e, 0x421212f2), + AZALIA_PIN_CFG(0, 0x21, 0x04211020), /* D reset */ 0x0205003C, diff --git a/src/mainboard/google/jecht/hda_verb.c b/src/mainboard/google/jecht/hda_verb.c index 01ba78f34b..535e7e8600 100644 --- a/src/mainboard/google/jecht/hda_verb.c +++ b/src/mainboard/google/jecht/hda_verb.c @@ -27,51 +27,51 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */ - AZALIA_PIN_CFG(0x0, 0x14, 0x411111f0), + AZALIA_PIN_CFG(0, 0x14, 0x411111f0), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB */ // group 1, cap 1 // black, jack detect // mic in, analog // connector, left panel - AZALIA_PIN_CFG(0x0, 0x18, 0x03a71011), + AZALIA_PIN_CFG(0, 0x18, 0x03a71011), /* Pin Complex (NID 0x19) MIC2 PORTF - Disabled */ - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1A, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1B, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1D, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1D, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1E, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/link/hda_verb.c b/src/mainboard/google/link/hda_verb.c index b824f0fc9a..11c92a9ed6 100644 --- a/src/mainboard/google/link/hda_verb.c +++ b/src/mainboard/google/link/hda_verb.c @@ -76,34 +76,34 @@ const u32 cim_verb_data[] = { /* Pin Widget Verb Table */ /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x144DC0C2 */ - AZALIA_SUBVENDOR(0x0, 0x144dc0c2), + AZALIA_SUBVENDOR(0, 0x144dc0c2), /* Pin Complex (NID 0x0B) Port-G Analog Unknown Speaker at Int N/A */ - AZALIA_PIN_CFG(0x0, 0x0b, 0x901700f0), + AZALIA_PIN_CFG(0, 0x0b, 0x901700f0), /* Pin Complex (NID 0x0C) N/C */ - AZALIA_PIN_CFG(0x0, 0x0c, 0x70f000f0), + AZALIA_PIN_CFG(0, 0x0c, 0x70f000f0), /* Pin Complex (NID 0x0D) N/C */ - AZALIA_PIN_CFG(0x0, 0x0d, 0x70f000f0), + AZALIA_PIN_CFG(0, 0x0d, 0x70f000f0), /* Pin Complex (NID 0x0E) N/C */ - AZALIA_PIN_CFG(0x0, 0x0e, 0x70f000f0), + AZALIA_PIN_CFG(0, 0x0e, 0x70f000f0), /* Pin Complex (NID 0x0F) N/C */ - AZALIA_PIN_CFG(0x0, 0x0f, 0x70f000f0), + AZALIA_PIN_CFG(0, 0x0f, 0x70f000f0), /* Pin Complex (NID 0x10) Port-D 1/8 Black HP Out at Ext Left */ - AZALIA_PIN_CFG(0x0, 0x10, 0x032110f0), + AZALIA_PIN_CFG(0, 0x10, 0x032110f0), /* Pin Complex (NID 0x11) Port-B Click Mic */ - AZALIA_PIN_CFG(0x0, 0x11, 0x90a700f0), + AZALIA_PIN_CFG(0, 0x11, 0x90a700f0), /* Pin Complex (NID 0x12) Port-C Combo Jack Mic or D-Mic */ - AZALIA_PIN_CFG(0x0, 0x12, 0x03a110f0), + AZALIA_PIN_CFG(0, 0x12, 0x03a110f0), /* Pin Complex (NID 0x13) What you hear */ - AZALIA_PIN_CFG(0x0, 0x13, 0x90d600f0), + AZALIA_PIN_CFG(0, 0x13, 0x90d600f0), /* coreboot specific header */ 0x80862806, // Codec Vendor / Device ID: Intel CougarPoint HDMI @@ -111,16 +111,16 @@ const u32 cim_verb_data[] = { 0x00000004, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ - AZALIA_SUBVENDOR(0x3, 0x80860101), + AZALIA_SUBVENDOR(3, 0x80860101), /* Pin Complex (NID 0x05) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), /* Pin Complex (NID 0x06) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), /* Pin Complex (NID 0x07) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030) + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; diff --git a/src/mainboard/google/parrot/hda_verb.c b/src/mainboard/google/parrot/hda_verb.c index e0454c7824..6a015e77fc 100644 --- a/src/mainboard/google/parrot/hda_verb.c +++ b/src/mainboard/google/parrot/hda_verb.c @@ -38,59 +38,59 @@ const u32 cim_verb_data[] = { /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10250742 */ - AZALIA_SUBVENDOR(0x0, 0x10250742), + AZALIA_SUBVENDOR(0, 0x10250742), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT PORTD */ // group 1, front left/right // no connector, no jack detect // speaker out, analog // fixed function, internal - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 PORTF */ // group 2, cap 1 // black, jack detect // mic in, analog // connector, right panel - AZALIA_PIN_CFG(0x0, 0x19, 0x04a71021), + AZALIA_PIN_CFG(0, 0x19, 0x04a71021), /* Pin Complex (NID 0x1A) LINE1 PORTC */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE */ // group 2, cap 0 // no connector, no jack detect // mic in, analog // fixed function, internal - AZALIA_PIN_CFG(0x0, 0x1b, 0x90a70120), + AZALIA_PIN_CFG(0, 0x1b, 0x90a70120), /* Pin Complex (NID 0x1d) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORTA? */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, right panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0421101f), + AZALIA_PIN_CFG(0, 0x21, 0x0421101f), /* Undocumented speaker output volume settings from Compal and Realtek */ /* Widget node 0x20 */ @@ -117,16 +117,16 @@ const u32 cim_verb_data[] = { 0x00000004, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ - AZALIA_SUBVENDOR(0x0, 0x80860101), + AZALIA_SUBVENDOR(0, 0x80860101), /* Pin Complex (NID 0x05) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), /* Pin Complex (NID 0x06) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), /* Pin Complex (NID 0x07) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030) + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[] = { diff --git a/src/mainboard/google/sarien/variants/arcada/include/variant/hda_verb.h b/src/mainboard/google/sarien/variants/arcada/include/variant/hda_verb.h index 10fbaf13f5..d50fc1e34a 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 @@ const u32 cim_verb_data[] = { /* Rest Codec First */ AZALIA_RESET(0x1), /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x102808b6), + AZALIA_SUBVENDOR(0, 0x102808b6), /* Pin Widget Verb Table */ - AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60130), - AZALIA_PIN_CFG(0x0, 0x13, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x16, 0x40000000), - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x19, 0x04a11030), - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40c00001), - AZALIA_PIN_CFG(0x0, 0x1e, 0x421212f2), - AZALIA_PIN_CFG(0x0, 0x21, 0x04211020), + AZALIA_PIN_CFG(0, 0x12, 0xb7a60130), + AZALIA_PIN_CFG(0, 0x13, 0x411111f0), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x16, 0x40000000), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x04a11030), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40c00001), + AZALIA_PIN_CFG(0, 0x1e, 0x421212f2), + AZALIA_PIN_CFG(0, 0x21, 0x04211020), /* D reset */ 0x0205003C, diff --git a/src/mainboard/google/sarien/variants/sarien/include/variant/hda_verb.h b/src/mainboard/google/sarien/variants/sarien/include/variant/hda_verb.h index 6eb6d14f6b..e2c0647f12 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 @@ const u32 cim_verb_data[] = { /* Rest Codec First */ AZALIA_RESET(0x1), /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x102808b8), + AZALIA_SUBVENDOR(0, 0x102808b8), /* Pin Widget Verb Table */ - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140), - AZALIA_PIN_CFG(0x0, 0x13, 0x40000000), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x19, 0x04a11030), - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40700001), - AZALIA_PIN_CFG(0x0, 0x1e, 0x421212f2), - AZALIA_PIN_CFG(0x0, 0x21, 0x04211020), + AZALIA_PIN_CFG(0, 0x12, 0x90a60140), + AZALIA_PIN_CFG(0, 0x13, 0x40000000), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x04a11030), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40700001), + AZALIA_PIN_CFG(0, 0x1e, 0x421212f2), + AZALIA_PIN_CFG(0, 0x21, 0x04211020), /* ALC3204 default-1 */ 0x02050040, diff --git a/src/mainboard/google/slippy/variants/falco/hda_verb.c b/src/mainboard/google/slippy/variants/falco/hda_verb.c index 3d12d8aa37..02d39072ae 100644 --- a/src/mainboard/google/slippy/variants/falco/hda_verb.c +++ b/src/mainboard/google/slippy/variants/falco/hda_verb.c @@ -27,55 +27,55 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - interior mobile lid */ - AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60110), + AZALIA_PIN_CFG(0, 0x12, 0xb7a60110), /* Pin Complex (NID 0x14) SPKR-OUT PORTD */ // group 1, front left/right // no connector, no jack detect // speaker out, analog // fixed function, internal - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 PORTF */ // group 1, cap 1 // black, jack detect // mic in, analog // connector, left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a71011), + AZALIA_PIN_CFG(0, 0x19, 0x03a71011), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 PORTE - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* Pin Complex (NID 0x1d) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, internal - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HPOUT PORT-I */ // group1, // black, jack detect // HPOut, 1/8 stereo // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x0321101f), + AZALIA_PIN_CFG(0, 0x21, 0x0321101f), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/slippy/variants/leon/hda_verb.c b/src/mainboard/google/slippy/variants/leon/hda_verb.c index 39a5c78e83..6e01ca58aa 100644 --- a/src/mainboard/google/slippy/variants/leon/hda_verb.c +++ b/src/mainboard/google/slippy/variants/leon/hda_verb.c @@ -27,55 +27,55 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Internal Mic */ - AZALIA_PIN_CFG(0x0, 0x12, 0xb7a61010), + AZALIA_PIN_CFG(0, 0x12, 0xb7a61010), /* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */ // group 1, cap 0 // no connector, no jack detect // speaker out, analog // fixed function, internal - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */ // group2, cap 0 // black, jack detect // Mic in, 3.5mm Jack // connector, External left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020), + AZALIA_PIN_CFG(0, 0x19, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, Internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/ // group2, cap 1 // black, jack detect // HPOut, 3.5mm Jack // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x03211021), + AZALIA_PIN_CFG(0, 0x21, 0x03211021), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/slippy/variants/peppy/hda_verb.c b/src/mainboard/google/slippy/variants/peppy/hda_verb.c index a5ec9bb2a6..4d6ef3430a 100644 --- a/src/mainboard/google/slippy/variants/peppy/hda_verb.c +++ b/src/mainboard/google/slippy/variants/peppy/hda_verb.c @@ -27,59 +27,59 @@ const u32 cim_verb_data[] = { 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), + AZALIA_PIN_CFG(0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */ // group 1, cap 0 // no connector, no jack detect // speaker out, analog // fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */ // group2, cap 0 // black, jack detect // Mic in, 3.5mm Jack // connector, External left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020), + AZALIA_PIN_CFG(0, 0x19, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 - Internal Mic */ // group 1, cap 1 // no connector, no jack detect // mic in, analog connection // Fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1a, 0x90a70111), + AZALIA_PIN_CFG(0, 0x1a, 0x90a70111), /* Pin Complex (NID 0x1B) LINE2 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, Internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/ // group2, cap 1 // black, jack detect // HPOut, 3.5mm Jack // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x03211021), + AZALIA_PIN_CFG(0, 0x21, 0x03211021), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/slippy/variants/wolf/hda_verb.c b/src/mainboard/google/slippy/variants/wolf/hda_verb.c index 56fe320082..11ff65b1c0 100644 --- a/src/mainboard/google/slippy/variants/wolf/hda_verb.c +++ b/src/mainboard/google/slippy/variants/wolf/hda_verb.c @@ -32,55 +32,55 @@ const u32 cim_verb_data[] = { /* Bits 7:0 - Payload */ /* NID 0x01, HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x11790670), + AZALIA_SUBVENDOR(0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - interior mobile lid */ - AZALIA_PIN_CFG(0x0, 0x12, 0xb7a60110), + AZALIA_PIN_CFG(0, 0x12, 0xb7a60110), /* Pin Complex (NID 0x14) SPKR-OUT - Internal Speakers */ // group 1, cap 0 // no connector, no jack detect // speaker out, analog // fixed function, internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) MONO Out - Disabled */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB - Disabled */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x411111f0), /* Pin Complex (NID 0x19) MIC2 - 3.5mm Jack */ // group2, cap 0 // black, jack detect // Mic in, 3.5mm Jack // connector, External left panel - AZALIA_PIN_CFG(0x0, 0x19, 0x03a11020), + AZALIA_PIN_CFG(0, 0x19, 0x03a11020), /* Pin Complex (NID 0x1A) LINE1 PORTC - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1B) LINE2 - Disabled */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* Pin Complex (NID 0x1D) PCBeep */ // eapd low on ex-amp, laptop, custom enable // mute spkr on hpout // pcbeep en able, checksum // no physical, Internal, Location N/A - AZALIA_PIN_CFG(0x0, 0x1d, 0x4015812d), + AZALIA_PIN_CFG(0, 0x1d, 0x4015812d), /* Pin Complex (NID 0x1E) SPDIF-OUT - Disabled*/ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Pin Complex (NID 0x21) HP-OUT - 3.5mm Jack*/ // group2, cap 1 // black, jack detect // HPOut, 3.5mm Jack // connector, left panel - AZALIA_PIN_CFG(0x0, 0x21, 0x03211021), + AZALIA_PIN_CFG(0, 0x21, 0x03211021), /* Undocumented settings from Realtek (needed for beep_gen) */ /* Widget node 0x20 */ diff --git a/src/mainboard/google/stout/hda_verb.c b/src/mainboard/google/stout/hda_verb.c index 46ca274799..abaa8020f8 100644 --- a/src/mainboard/google/stout/hda_verb.c +++ b/src/mainboard/google/stout/hda_verb.c @@ -22,39 +22,39 @@ const u32 cim_verb_data[] = { 0x0000000c, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x17aa21fe */ - AZALIA_SUBVENDOR(0x0, 0x17aa21fe), + AZALIA_SUBVENDOR(0, 0x17aa21fe), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12): 0x90a60930 DMIC */ - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60930), + AZALIA_PIN_CFG(0, 0x12, 0x90a60930), /* Pin Complex (NID 0x14): 0x90170110 SPEAKER-OUT (Port-D) */ - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x15): 0x0321101f HP-OUT (Port-A) */ - AZALIA_PIN_CFG(0x0, 0x15, 0x0321101f), + AZALIA_PIN_CFG(0, 0x15, 0x0321101f), /* Pin Complex (NID 0x17): 0x411111f0 MONO-OUT (Port-H) */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18): 0x03a11820 MIC1 (Port-B) */ - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11820), + AZALIA_PIN_CFG(0, 0x18, 0x03a11820), /* Pin Complex (NID 0x19): 0x411111f0 MIC2 (Port-F) */ - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), /* Pin Complex (NID 0x1a): 0x411111f0 LINE1 (Port-C) */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1b): 0x411111f0 LINE2 (Port-E) */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* Pin Complex (NID 0x1d): 0x4016862d PC-BEEP */ - AZALIA_PIN_CFG(0x0, 0x1d, 0x4016862d), + AZALIA_PIN_CFG(0, 0x1d, 0x4016862d), /* Pin Complex (NID 0x1e): 0x411111f0 S/PDIF-OUT */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Stout MIC detect setup */ 0x02050018, @@ -68,16 +68,16 @@ const u32 cim_verb_data[] = { 0x00000004, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ - AZALIA_SUBVENDOR(0x3, 0x80860101), + AZALIA_SUBVENDOR(3, 0x80860101), /* Pin Complex (NID 0x05) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), /* Pin Complex (NID 0x06) Not Connected */ - AZALIA_PIN_CFG(0x3, 0x06, 0x58560020), + AZALIA_PIN_CFG(3, 0x06, 0x58560020), /* Pin Complex (NID 0x07) Not Connected */ - AZALIA_PIN_CFG(0x3, 0x07, 0x58560030) + AZALIA_PIN_CFG(3, 0x07, 0x58560030), }; const u32 pc_beep_verbs[] = { diff --git a/src/mainboard/hp/2570p/hda_verb.c b/src/mainboard/hp/2570p/hda_verb.c index 585d94aa9d..71556c0b96 100644 --- a/src/mainboard/hp/2570p/hda_verb.c +++ b/src/mainboard/hp/2570p/hda_verb.c @@ -21,30 +21,30 @@ const u32 cim_verb_data[] = { 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 35890f34d8..309d50d5be 100644 --- a/src/mainboard/hp/2760p/hda_verb.c +++ b/src/mainboard/hp/2760p/hda_verb.c @@ -21,30 +21,30 @@ const u32 cim_verb_data[] = { 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 db9570629b..7404576796 100644 --- a/src/mainboard/hp/8460p/hda_verb.c +++ b/src/mainboard/hp/8460p/hda_verb.c @@ -21,22 +21,22 @@ const u32 cim_verb_data[] = { 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 a24aeb2dc8..69fc26ad86 100644 --- a/src/mainboard/hp/8470p/hda_verb.c +++ b/src/mainboard/hp/8470p/hda_verb.c @@ -23,52 +23,52 @@ const u32 cim_verb_data[] = { 11, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ - AZALIA_SUBVENDOR(0x0, 0x103c17c2), + AZALIA_SUBVENDOR(0, 0x103c17c2), /* NID 0x0a. */ - AZALIA_PIN_CFG(0x0, 0x0a, 0x21011030), + AZALIA_PIN_CFG(0, 0x0a, 0x21011030), /* NID 0x0b. */ - AZALIA_PIN_CFG(0x0, 0x0b, 0x0421101f), + AZALIA_PIN_CFG(0, 0x0b, 0x0421101f), /* NID 0x0c. */ - AZALIA_PIN_CFG(0x0, 0x0c, 0x04a11020), + AZALIA_PIN_CFG(0, 0x0c, 0x04a11020), /* NID 0x0d. */ - AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110), + AZALIA_PIN_CFG(0, 0x0d, 0x90170110), /* NID 0x0e. */ - AZALIA_PIN_CFG(0x0, 0x0e, 0x40f000f0), + AZALIA_PIN_CFG(0, 0x0e, 0x40f000f0), /* NID 0x0f. */ - AZALIA_PIN_CFG(0x0, 0x0f, 0x2181102e), + AZALIA_PIN_CFG(0, 0x0f, 0x2181102e), /* NID 0x10. */ - AZALIA_PIN_CFG(0x0, 0x10, 0x40f000f0), + AZALIA_PIN_CFG(0, 0x10, 0x40f000f0), /* NID 0x11. */ - AZALIA_PIN_CFG(0x0, 0x11, 0xd5a30140), + AZALIA_PIN_CFG(0, 0x11, 0xd5a30140), /* NID 0x1f. */ - AZALIA_PIN_CFG(0x0, 0x1f, 0x40f000f0), + AZALIA_PIN_CFG(0, 0x1f, 0x40f000f0), /* NID 0x20. */ - AZALIA_PIN_CFG(0x0, 0x20, 0x40f000f0), + AZALIA_PIN_CFG(0, 0x20, 0x40f000f0), 0x80862806, /* Codec Vendor / Device ID: Intel */ 0x80860101, /* Subsystem ID */ 4, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ - AZALIA_SUBVENDOR(0x3, 0x80860101), + AZALIA_SUBVENDOR(3, 0x80860101), /* NID 0x05. */ - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), /* NID 0x06. */ - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), /* NID 0x07. */ - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030), + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/hp/8770w/hda_verb.c b/src/mainboard/hp/8770w/hda_verb.c index 958b5bdd5e..f4a83b7d13 100644 --- a/src/mainboard/hp/8770w/hda_verb.c +++ b/src/mainboard/hp/8770w/hda_verb.c @@ -22,17 +22,17 @@ const u32 cim_verb_data[] = { 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 b6daf8b1f6..3ad452e7d5 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 @@ const u32 cim_verb_data[] = { 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 7852b30eb3..03caeb271e 100644 --- a/src/mainboard/hp/folio_9470m/hda_verb.c +++ b/src/mainboard/hp/folio_9470m/hda_verb.c @@ -21,25 +21,25 @@ const u32 cim_verb_data[] = { 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 86551a1d3e..c421b1b818 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 @@ const u32 cim_verb_data[] = { 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 9ceb2a16a0..cea4e04ab0 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 @@ const u32 cim_verb_data[] = { 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 bee63f46ee..bfa49dc9f9 100644 --- a/src/mainboard/intel/baskingridge/hda_verb.c +++ b/src/mainboard/intel/baskingridge/hda_verb.c @@ -22,27 +22,27 @@ const u32 cim_verb_data[] = { 0x00000007, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10134210 */ - AZALIA_SUBVENDOR(0x0, 0x10134210), + AZALIA_SUBVENDOR(0, 0x10134210), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x05) 1/8 Gray HP Out at Ext Front */ - AZALIA_PIN_CFG(0x0, 0x05, 0x022120f0), + AZALIA_PIN_CFG(0, 0x05, 0x022120f0), /* Pin Complex (NID 0x06) Analog Unknown Speaker at Int N/A */ - AZALIA_PIN_CFG(0x0, 0x06, 0x90170010), + AZALIA_PIN_CFG(0, 0x06, 0x90170010), /* Pin Complex (NID 0x07) 1/8 Grey Line In at Ext Front */ - AZALIA_PIN_CFG(0x0, 0x07, 0x02a120f0), + AZALIA_PIN_CFG(0, 0x07, 0x02a120f0), /* Pin Complex (NID 0x08) Analog Unknown Mic at Oth Mobile-In */ - AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037), + AZALIA_PIN_CFG(0, 0x08, 0x77a70037), /* Pin Complex (NID 0x09) Digital Unknown Mic at Oth Mobile-In */ - AZALIA_PIN_CFG(0x0, 0x09, 0x77a6003e), + AZALIA_PIN_CFG(0, 0x09, 0x77a6003e), /* Pin Complex (NID 0x0a) Optical Black SPDIF Out at Ext N/A */ - AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0), + AZALIA_PIN_CFG(0, 0x0a, 0x434510f0), /* coreboot specific header */ 0x80862805, // Codec Vendor / Device ID: Intel CougarPoint HDMI @@ -50,16 +50,16 @@ const u32 cim_verb_data[] = { 0x00000004, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ - AZALIA_SUBVENDOR(0x0, 0x80860101), + AZALIA_SUBVENDOR(0, 0x80860101), /* Pin Complex (NID 0x05) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), /* Pin Complex (NID 0x06) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), /* Pin Complex (NID 0x07) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030) + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/intel/dcp847ske/hda_verb.c b/src/mainboard/intel/dcp847ske/hda_verb.c index dfcaa3a70e..25bf012285 100644 --- a/src/mainboard/intel/dcp847ske/hda_verb.c +++ b/src/mainboard/intel/dcp847ske/hda_verb.c @@ -21,10 +21,10 @@ const u32 cim_verb_data[] = { 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 bee63f46ee..bfa49dc9f9 100644 --- a/src/mainboard/intel/emeraldlake2/hda_verb.c +++ b/src/mainboard/intel/emeraldlake2/hda_verb.c @@ -22,27 +22,27 @@ const u32 cim_verb_data[] = { 0x00000007, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10134210 */ - AZALIA_SUBVENDOR(0x0, 0x10134210), + AZALIA_SUBVENDOR(0, 0x10134210), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x05) 1/8 Gray HP Out at Ext Front */ - AZALIA_PIN_CFG(0x0, 0x05, 0x022120f0), + AZALIA_PIN_CFG(0, 0x05, 0x022120f0), /* Pin Complex (NID 0x06) Analog Unknown Speaker at Int N/A */ - AZALIA_PIN_CFG(0x0, 0x06, 0x90170010), + AZALIA_PIN_CFG(0, 0x06, 0x90170010), /* Pin Complex (NID 0x07) 1/8 Grey Line In at Ext Front */ - AZALIA_PIN_CFG(0x0, 0x07, 0x02a120f0), + AZALIA_PIN_CFG(0, 0x07, 0x02a120f0), /* Pin Complex (NID 0x08) Analog Unknown Mic at Oth Mobile-In */ - AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037), + AZALIA_PIN_CFG(0, 0x08, 0x77a70037), /* Pin Complex (NID 0x09) Digital Unknown Mic at Oth Mobile-In */ - AZALIA_PIN_CFG(0x0, 0x09, 0x77a6003e), + AZALIA_PIN_CFG(0, 0x09, 0x77a6003e), /* Pin Complex (NID 0x0a) Optical Black SPDIF Out at Ext N/A */ - AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0), + AZALIA_PIN_CFG(0, 0x0a, 0x434510f0), /* coreboot specific header */ 0x80862805, // Codec Vendor / Device ID: Intel CougarPoint HDMI @@ -50,16 +50,16 @@ const u32 cim_verb_data[] = { 0x00000004, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ - AZALIA_SUBVENDOR(0x0, 0x80860101), + AZALIA_SUBVENDOR(0, 0x80860101), /* Pin Complex (NID 0x05) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), /* Pin Complex (NID 0x06) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), /* Pin Complex (NID 0x07) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030) + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/intel/wtm2/hda_verb.c b/src/mainboard/intel/wtm2/hda_verb.c index f7b74a12fb..fc04e0fb8c 100644 --- a/src/mainboard/intel/wtm2/hda_verb.c +++ b/src/mainboard/intel/wtm2/hda_verb.c @@ -22,27 +22,27 @@ const u32 cim_verb_data[] = { 0x00000007, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10134210 */ - AZALIA_SUBVENDOR(0x0, 0x10134210), + AZALIA_SUBVENDOR(0, 0x10134210), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x05) 1/8 Gray HP Out at Ext Front */ - AZALIA_PIN_CFG(0x0, 0x05, 0x022120f0), + AZALIA_PIN_CFG(0, 0x05, 0x022120f0), /* Pin Complex (NID 0x06) Analog Unknown Speaker at Int N/A */ - AZALIA_PIN_CFG(0x0, 0x06, 0x90170010), + AZALIA_PIN_CFG(0, 0x06, 0x90170010), /* Pin Complex (NID 0x07) 1/8 Grey Line In at Ext Front */ - AZALIA_PIN_CFG(0x0, 0x07, 0x02a120f0), + AZALIA_PIN_CFG(0, 0x07, 0x02a120f0), /* Pin Complex (NID 0x08) Analog Unknown Mic at Oth Mobile-In */ - AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037), + AZALIA_PIN_CFG(0, 0x08, 0x77a70037), /* Pin Complex (NID 0x09) Digital Unknown Mic at Oth Mobile-In */ - AZALIA_PIN_CFG(0x0, 0x09, 0x77a6003e), + AZALIA_PIN_CFG(0, 0x09, 0x77a6003e), /* Pin Complex (NID 0x0a) Optical Black SPDIF Out at Ext N/A */ - AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0), + AZALIA_PIN_CFG(0, 0x0a, 0x434510f0), /* coreboot specific header */ 0x80862805, // Codec Vendor / Device ID: Intel CougarPoint HDMI @@ -50,16 +50,16 @@ const u32 cim_verb_data[] = { 0x00000004, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ - AZALIA_SUBVENDOR(0x0, 0x80860101), + AZALIA_SUBVENDOR(0, 0x80860101), /* Pin Complex (NID 0x05) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), /* Pin Complex (NID 0x06) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), /* Pin Complex (NID 0x07) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030) + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/kontron/ktqm77/hda_verb.c b/src/mainboard/kontron/ktqm77/hda_verb.c index fdbc977e68..d612f37ccf 100644 --- a/src/mainboard/kontron/ktqm77/hda_verb.c +++ b/src/mainboard/kontron/ktqm77/hda_verb.c @@ -23,7 +23,7 @@ const u32 cim_verb_data[] = { 0x0000000c, /* Number of jacks */ /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x11060000 */ - AZALIA_SUBVENDOR(0x0, 0x11060000), + AZALIA_SUBVENDOR(0, 0x11060000), /* Pin Widget Verb Table */ @@ -100,16 +100,16 @@ const u32 cim_verb_data[] = { 0x00000004, /* Number of jacks */ /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ - AZALIA_SUBVENDOR(0x0, 0x80860101), + AZALIA_SUBVENDOR(0, 0x80860101), /* Pin Complex (NID 0x05) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x05, 0x58560010), + AZALIA_PIN_CFG(3, 0x05, 0x58560010), /* Pin Complex (NID 0x06) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), /* Pin Complex (NID 0x07) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030) + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[0] = {}; diff --git a/src/mainboard/lenovo/l520/hda_verb.c b/src/mainboard/lenovo/l520/hda_verb.c index 6ab0938466..5181978fc7 100644 --- a/src/mainboard/lenovo/l520/hda_verb.c +++ b/src/mainboard/lenovo/l520/hda_verb.c @@ -21,25 +21,25 @@ const u32 cim_verb_data[] = { 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 b096487d48..d3c1cdd9e4 100644 --- a/src/mainboard/lenovo/s230u/hda_verb.c +++ b/src/mainboard/lenovo/s230u/hda_verb.c @@ -27,7 +27,7 @@ const u32 cim_verb_data[] = { 0x10ec0269, /* Codec Vendor / Device ID: Realtek ALC269VC */ 0x17aa21fa, /* Subsystem ID */ 12, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa21fa), + AZALIA_SUBVENDOR(0, 0x17aa21fa), /* * PIN_CFG: @@ -62,34 +62,34 @@ const u32 cim_verb_data[] = { * For stream channel to in/out mapping */ /* Digital MIC: Fixed function, mic in, digital */ - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60940), + AZALIA_PIN_CFG(0, 0x12, 0x90a60940), /* SPK out: Fixed function, speaker, analog */ - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* HP out: Location left, headphone out, 1/8" jack, black */ - AZALIA_PIN_CFG(0x0, 0x15, 0x03211020), + AZALIA_PIN_CFG(0, 0x15, 0x03211020), /* Unknown: (Unconnected) */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* MIC1 in: Location left, mic in, 1/8" jack, black */ - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830), + AZALIA_PIN_CFG(0, 0x18, 0x03a11830), /* MIC2 in: (Unconnected) */ - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), /* Line1 in: (Unconnected) */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Line2 in: (Unconnected) */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* PCBEEP */ - AZALIA_PIN_CFG(0x0, 0x1d, 0x40148605), + AZALIA_PIN_CFG(0, 0x1d, 0x40148605), /* S/PDIF out: (Unconnected) */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), 0x01470740, /* Enable output for NID 0x14 (Speaker out) */ 0x015707C0, /* Enable output & HP amp for NID 0x15 (HP out) */ @@ -100,10 +100,10 @@ const u32 cim_verb_data[] = { 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 7569b6b606..70e8a6d057 100644 --- a/src/mainboard/lenovo/t410/hda_verb.c +++ b/src/mainboard/lenovo/t410/hda_verb.c @@ -20,25 +20,25 @@ const u32 cim_verb_data[] = { 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 4c68c73080..ede37f3fbb 100644 --- a/src/mainboard/lenovo/t420/hda_verb.c +++ b/src/mainboard/lenovo/t420/hda_verb.c @@ -25,17 +25,17 @@ const u32 cim_verb_data[] = { 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 9d315d7911..e2841162c8 100644 --- a/src/mainboard/lenovo/t420s/hda_verb.c +++ b/src/mainboard/lenovo/t420s/hda_verb.c @@ -25,17 +25,17 @@ const u32 cim_verb_data[] = { 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 a8f67277f8..833f98e01d 100644 --- a/src/mainboard/lenovo/t430/hda_verb.c +++ b/src/mainboard/lenovo/t430/hda_verb.c @@ -19,25 +19,25 @@ const u32 cim_verb_data[] = { 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 b8f6bfed16..250f3b6de6 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 @@ const u32 cim_verb_data[] = { 0x10ec0269, /* Codec Vendor / Device ID: Realtek ALC269VC */ 0x17aa21fb, /* Subsystem ID */ 19, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa21fb), + AZALIA_SUBVENDOR(0, 0x17aa21fb), /* Ext. Microphone Connector: External,Right; MicIn,3.5mm; Black,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0a, 0x04a11020), + AZALIA_PIN_CFG(0, 0x0a, 0x04a11020), /* Headphones Connector: External,Right; HP,3.5mm; Black,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0b, 0x0421101f), + AZALIA_PIN_CFG(0, 0x0b, 0x0421101f), /* Not connected: N/A,N/A; Other,Unknown; Unknown,JD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0c, 0x40f000f0), + AZALIA_PIN_CFG(0, 0x0c, 0x40f000f0), /* Internal Speakers Fixed,Int; Speaker,Other Analog; Unknown,nJD; DA,Seq */ - AZALIA_PIN_CFG(0x0, 0x0d, 0x90170110), + AZALIA_PIN_CFG(0, 0x0d, 0x90170110), /* Not connected */ - AZALIA_PIN_CFG(0x0, 0x0f, 0x40f000f0), - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60140), - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x15, 0x03211020), - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11830), - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x0f, 0x40f000f0), + AZALIA_PIN_CFG(0, 0x12, 0x90a60140), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x15, 0x03211020), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x18, 0x03a11830), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), 0x01970804, 0x01870803, 0x01470740, 0x00970600, - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40138205), - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1d, 0x40138205), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* Misc entries */ 0x00370600, @@ -76,10 +76,10 @@ const u32 cim_verb_data[] = { 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 5d47099db5..0442f05eef 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 @@ const u32 cim_verb_data[] = { 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 791638d760..3f1ee36e0a 100644 --- a/src/mainboard/lenovo/t440p/hda_verb.c +++ b/src/mainboard/lenovo/t440p/hda_verb.c @@ -21,18 +21,18 @@ const u32 cim_verb_data[] = { 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 46d7d9484d..e431172bbe 100644 --- a/src/mainboard/lenovo/t520/hda_verb.c +++ b/src/mainboard/lenovo/t520/hda_verb.c @@ -25,17 +25,17 @@ const u32 cim_verb_data[] = { 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 5ed12b4882..916268f010 100644 --- a/src/mainboard/lenovo/t530/hda_verb.c +++ b/src/mainboard/lenovo/t530/hda_verb.c @@ -25,39 +25,39 @@ const u32 cim_verb_data[] = { 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 @@ const u32 cim_verb_data[] = { 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 22eec0a798..f73e473dfc 100644 --- a/src/mainboard/lenovo/t60/hda_verb.c +++ b/src/mainboard/lenovo/t60/hda_verb.c @@ -17,7 +17,7 @@ const u32 cim_verb_data[] = { 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 83b5148278..37c4bc0bce 100644 --- a/src/mainboard/lenovo/x131e/hda_verb.c +++ b/src/mainboard/lenovo/x131e/hda_verb.c @@ -23,39 +23,39 @@ const u32 cim_verb_data[] = { 0x0000000b, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x17aa21fe */ - AZALIA_SUBVENDOR(0x0, 0x17aa21fe), + AZALIA_SUBVENDOR(0, 0x17aa21fe), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12): 0x90a60930 DMIC */ - AZALIA_PIN_CFG(0x0, 0x12, 0x90a60930), + AZALIA_PIN_CFG(0, 0x12, 0x90a60930), /* Pin Complex (NID 0x14): 0x90170110 SPEAKER-OUT (Port-D) */ - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x15): 0x0321101f HP-OUT (Port-A) */ - AZALIA_PIN_CFG(0x0, 0x15, 0x0321101f), + AZALIA_PIN_CFG(0, 0x15, 0x0321101f), /* Pin Complex (NID 0x17): 0x411111f0 MONO-OUT (Port-H) */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18): 0x03a11820 MIC1 (Port-B) */ - AZALIA_PIN_CFG(0x0, 0x18, 0x03a11820), + AZALIA_PIN_CFG(0, 0x18, 0x03a11820), /* Pin Complex (NID 0x19): 0x411111f0 MIC2 (Port-F) */ - AZALIA_PIN_CFG(0x0, 0x19, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), /* Pin Complex (NID 0x1a): 0x411111f0 LINE1 (Port-C) */ - AZALIA_PIN_CFG(0x0, 0x1a, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), /* Pin Complex (NID 0x1b): 0x411111f0 LINE2 (Port-E) */ - AZALIA_PIN_CFG(0x0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), /* Pin Complex (NID 0x1d): 0x4016862d PC-BEEP */ - AZALIA_PIN_CFG(0x0, 0x1d, 0x4016862d), + AZALIA_PIN_CFG(0, 0x1d, 0x4016862d), /* Pin Complex (NID 0x1e): 0x411111f0 S/PDIF-OUT */ - AZALIA_PIN_CFG(0x0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), /* coreboot specific header */ 0x80862806, // Codec Vendor / Device ID: Intel PantherPoint HDMI @@ -63,16 +63,16 @@ const u32 cim_verb_data[] = { 0x00000004, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ - AZALIA_SUBVENDOR(0x3, 0x80860101), + AZALIA_SUBVENDOR(3, 0x80860101), /* Pin Complex (NID 0x05) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), /* Pin Complex (NID 0x06) Not Connected */ - AZALIA_PIN_CFG(0x3, 0x06, 0x58560020), + AZALIA_PIN_CFG(3, 0x06, 0x58560020), /* Pin Complex (NID 0x07) Not Connected */ - AZALIA_PIN_CFG(0x3, 0x07, 0x58560030), + AZALIA_PIN_CFG(3, 0x07, 0x58560030), }; const u32 pc_beep_verbs[] = { diff --git a/src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c b/src/mainboard/lenovo/x1_carbon_gen1/hda_verb.c index 8ea325805c..d07672d79b 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 @@ const u32 cim_verb_data[] = { 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 ee12d3adcd..37517fcb5d 100644 --- a/src/mainboard/lenovo/x201/hda_verb.c +++ b/src/mainboard/lenovo/x201/hda_verb.c @@ -20,25 +20,25 @@ const u32 cim_verb_data[] = { 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 00751c4d6f..470c639dff 100644 --- a/src/mainboard/lenovo/x220/hda_verb.c +++ b/src/mainboard/lenovo/x220/hda_verb.c @@ -26,18 +26,18 @@ const u32 cim_verb_data[] = { 0x14f1506e, /* Codec Vendor / Device ID: Conexant CX20590 */ 0x17aa21db, /* Subsystem ID */ 13, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa21db), + AZALIA_SUBVENDOR(0, 0x17aa21db), - AZALIA_PIN_CFG(0x0, 0x19, 0x04211040), - AZALIA_PIN_CFG(0x0, 0x1a, 0x61a19050), - AZALIA_PIN_CFG(0x0, 0x1b, 0x04a11060), - AZALIA_PIN_CFG(0x0, 0x1c, 0x6121401f), - AZALIA_PIN_CFG(0x0, 0x1d, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x1e, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x1f, 0x90170110), - AZALIA_PIN_CFG(0x0, 0x20, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x22, 0x40f001f0), - AZALIA_PIN_CFG(0x0, 0x23, 0x90a60170), + AZALIA_PIN_CFG(0, 0x19, 0x04211040), + AZALIA_PIN_CFG(0, 0x1a, 0x61a19050), + AZALIA_PIN_CFG(0, 0x1b, 0x04a11060), + AZALIA_PIN_CFG(0, 0x1c, 0x6121401f), + AZALIA_PIN_CFG(0, 0x1d, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x1e, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x1f, 0x90170110), + AZALIA_PIN_CFG(0, 0x20, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x22, 0x40f001f0), + AZALIA_PIN_CFG(0, 0x23, 0x90a60170), /* Misc entries */ 0x00b707C0, /* Enable PortB as Output with HP amp */ @@ -56,10 +56,10 @@ const u32 cim_verb_data[] = { 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 ff1a2dd153..f5b5bfdab0 100644 --- a/src/mainboard/lenovo/x230/hda_verb.c +++ b/src/mainboard/lenovo/x230/hda_verb.c @@ -26,33 +26,33 @@ const u32 cim_verb_data[] = { 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 @@ const u32 cim_verb_data[] = { 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 071249897c..91a071a67c 100644 --- a/src/mainboard/lenovo/x60/hda_verb.c +++ b/src/mainboard/lenovo/x60/hda_verb.c @@ -18,7 +18,7 @@ const u32 cim_verb_data[] = { 0x17aa2025, /* Subsystem ID */ 11, /* Number of 4 dword sets */ - AZALIA_SUBVENDOR(0x0, 0x17aa2025), + AZALIA_SUBVENDOR(0, 0x17aa2025), AZALIA_PIN_CFG(0, 0x05, 0xc3014110), AZALIA_PIN_CFG(0, 0x06, 0x4221401f), @@ -29,7 +29,7 @@ const u32 cim_verb_data[] = { AZALIA_PIN_CFG(0, 0x16, 0x59f311f0), AZALIA_PIN_CFG(0, 0x17, 0x59931122), AZALIA_PIN_CFG(0, 0x18, 0x41a19023), - AZALIA_PIN_CFG(0, 0x19, 0x9933e12e) + AZALIA_PIN_CFG(0, 0x19, 0x9933e12e), }; const u32 pc_beep_verbs[0] = {}; AZALIA_ARRAY_SIZES; diff --git a/src/mainboard/msi/ms7707/hda_verb.c b/src/mainboard/msi/ms7707/hda_verb.c index 0895e29055..5221c6d29c 100644 --- a/src/mainboard/msi/ms7707/hda_verb.c +++ b/src/mainboard/msi/ms7707/hda_verb.c @@ -21,21 +21,21 @@ const u32 cim_verb_data[] = { 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 4f78b89917..7a90d1e0f6 100644 --- a/src/mainboard/packardbell/ms2290/hda_verb.c +++ b/src/mainboard/packardbell/ms2290/hda_verb.c @@ -20,20 +20,20 @@ const u32 cim_verb_data[] = { 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 ea89f00a53..812def67d2 100644 --- a/src/mainboard/purism/librem_skl/hda_verb.c +++ b/src/mainboard/purism/librem_skl/hda_verb.c @@ -32,39 +32,39 @@ const u32 cim_verb_data[] = { /* Bits 7:0 - Payload */ /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x19910269 */ - AZALIA_SUBVENDOR(0x0, 0x19910269), + AZALIA_SUBVENDOR(0, 0x19910269), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) */ - AZALIA_PIN_CFG(0x0, 0x12, 0x40000000), + AZALIA_PIN_CFG(0, 0x12, 0x40000000), /* Pin Complex (NID 0x14) */ - AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), + AZALIA_PIN_CFG(0, 0x14, 0x90170110), /* Pin Complex (NID 0x15) */ - AZALIA_PIN_CFG(0x0, 0x15, 0x04214020), + AZALIA_PIN_CFG(0, 0x15, 0x04214020), /* Pin Complex (NID 0x17) */ - AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) */ - AZALIA_PIN_CFG(0x0, 0x18, 0x04a19040), + AZALIA_PIN_CFG(0, 0x18, 0x04a19040), /* Pin Complex (NID 0x19) */ - AZALIA_PIN_CFG(0x0, 0x19, 0x90a70130), + AZALIA_PIN_CFG(0, 0x19, 0x90a70130), /* Pin Complex (NID 0x1A) */ - AZALIA_PIN_CFG(0x0, 0x1A, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1A, 0x411111f0), /* Pin Complex (NID 0x1B) */ - AZALIA_PIN_CFG(0x0, 0x1B, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1B, 0x411111f0), /* Pin Complex (NID 0x1D) */ - AZALIA_PIN_CFG(0x0, 0x1D, 0x40548505), + AZALIA_PIN_CFG(0, 0x1D, 0x40548505), /* Pin Complex (NID 0x1E) */ - AZALIA_PIN_CFG(0x0, 0x1E, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1E, 0x411111f0), }; const u32 pc_beep_verbs[] = {}; diff --git a/src/mainboard/samsung/lumpy/hda_verb.c b/src/mainboard/samsung/lumpy/hda_verb.c index 252d872889..f889259137 100644 --- a/src/mainboard/samsung/lumpy/hda_verb.c +++ b/src/mainboard/samsung/lumpy/hda_verb.c @@ -22,29 +22,29 @@ const u32 cim_verb_data[] = { 0x00000007, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x152D0924 */ - AZALIA_SUBVENDOR(0x0, 0x152D0924), + AZALIA_SUBVENDOR(0, 0x152D0924), 0x00170500, /* Pin Widget Verb Table */ /* Pin Complex (NID 0x05) */ - AZALIA_PIN_CFG(0x0, 0x05, 0x022110f0), + AZALIA_PIN_CFG(0, 0x05, 0x022110f0), /* Pin Complex (NID 0x06) */ - AZALIA_PIN_CFG(0x0, 0x06, 0x901700f0), + AZALIA_PIN_CFG(0, 0x06, 0x901700f0), /* Pin Complex (NID 0x07) */ - AZALIA_PIN_CFG(0x0, 0x07, 0x02a110f0), + AZALIA_PIN_CFG(0, 0x07, 0x02a110f0), /* Pin Complex (NID 0x08) */ - AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037), + AZALIA_PIN_CFG(0, 0x08, 0x77a70037), /* Pin Complex (NID 0x09) */ - AZALIA_PIN_CFG(0x0, 0x09, 0xb7a6003e), + AZALIA_PIN_CFG(0, 0x09, 0xb7a6003e), /* Pin Complex (NID 0x0a) */ - AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0) + AZALIA_PIN_CFG(0, 0x0a, 0x434510f0), }; const u32 pc_beep_verbs[] = { diff --git a/src/mainboard/samsung/stumpy/hda_verb.c b/src/mainboard/samsung/stumpy/hda_verb.c index 1fa6e357d8..3d39fcad54 100644 --- a/src/mainboard/samsung/stumpy/hda_verb.c +++ b/src/mainboard/samsung/stumpy/hda_verb.c @@ -22,27 +22,27 @@ const u32 cim_verb_data[] = { 0x00000007, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10134210 */ - AZALIA_SUBVENDOR(0x0, 0x10134210), + AZALIA_SUBVENDOR(0, 0x10134210), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x05) 1/8 Gray HP Out at Ext Front */ - AZALIA_PIN_CFG(0x0, 0x05, 0x022120f0), + AZALIA_PIN_CFG(0, 0x05, 0x022120f0), /* Pin Complex (NID 0x06) Analog Unknown Speaker at Int N/A */ - AZALIA_PIN_CFG(0x0, 0x06, 0x90170010), + AZALIA_PIN_CFG(0, 0x06, 0x90170010), /* Pin Complex (NID 0x07) 1/8 Grey Line In at Ext Front */ - AZALIA_PIN_CFG(0x0, 0x07, 0x02a120f0), + AZALIA_PIN_CFG(0, 0x07, 0x02a120f0), /* Pin Complex (NID 0x08) Analog Unknown Mic at Oth Mobile-In */ - AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037), + AZALIA_PIN_CFG(0, 0x08, 0x77a70037), /* Pin Complex (NID 0x09) Digital Unknown Mic at Oth Mobile-In */ - AZALIA_PIN_CFG(0x0, 0x09, 0x77a6003e), + AZALIA_PIN_CFG(0, 0x09, 0x77a6003e), /* Pin Complex (NID 0x0a) Optical Black SPDIF Out at Ext N/A */ - AZALIA_PIN_CFG(0x0, 0x0a, 0x434510f0), + AZALIA_PIN_CFG(0, 0x0a, 0x434510f0), /* coreboot specific header */ 0x80862805, // Codec Vendor / Device ID: Intel CougarPoint HDMI @@ -50,16 +50,16 @@ const u32 cim_verb_data[] = { 0x00000004, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */ - AZALIA_SUBVENDOR(0x0, 0x80860101), + AZALIA_SUBVENDOR(0, 0x80860101), /* Pin Complex (NID 0x05) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x05, 0x18560010), + AZALIA_PIN_CFG(3, 0x05, 0x18560010), /* Pin Complex (NID 0x06) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x06, 0x18560020), + AZALIA_PIN_CFG(3, 0x06, 0x18560020), /* Pin Complex (NID 0x07) Digital Out at Int HDMI */ - AZALIA_PIN_CFG(0x3, 0x07, 0x18560030) + AZALIA_PIN_CFG(3, 0x07, 0x18560030), }; const u32 pc_beep_verbs[] = { diff --git a/src/mainboard/sapphire/pureplatinumh61/hda_verb.c b/src/mainboard/sapphire/pureplatinumh61/hda_verb.c index 23710040a0..415eb87134 100644 --- a/src/mainboard/sapphire/pureplatinumh61/hda_verb.c +++ b/src/mainboard/sapphire/pureplatinumh61/hda_verb.c @@ -20,29 +20,29 @@ const u32 cim_verb_data[] = { 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] = {}; -- cgit v1.2.3