Searched refs:WRITE_COEF (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/sound/pci/hda/
H A Dpatch_realtek.c195 #define WRITE_COEF(_idx, _val) WRITE_COEFEX(0x20, _idx, _val) macro
2744 WRITE_COEF(0x03, 0x0002), /* Power Down Control */
2746 WRITE_COEF(0x07, 0x0200), /* DMIC control */
2749 WRITE_COEF(0x0a, 0xcccc), /* JD offset1 */
2750 WRITE_COEF(0x0b, 0xcccc), /* JD offset2 */
2751 WRITE_COEF(0x0e, 0x6e00), /* LDO1/2/3, DAC/ADC */
2754 WRITE_COEF(0x6f, 0x0), /* Class D test 4 */
2756 WRITE_COEF(0x34, 0xa0c0), /* ANC */
2760 WRITE_COEF(0x21, 0x8804), /* DAC ADC Zero Detection */
2761 WRITE_COEF(0x63, 0x2902), /* PLL */
2762 WRITE_COEF(0x68, 0xa080), /* capless control 2 */
2763 WRITE_COEF(0x69, 0x3400), /* capless control 3 */
2764 WRITE_COEF(0x6a, 0x2f3e), /* capless control 4 */
2765 WRITE_COEF(0x6b, 0x0), /* capless control 5 */
2767 WRITE_COEF(0x6e, 0x110a), /* class D test 3 */
2769 WRITE_COEF(0x71, 0x0014), /* class D test 6 */
2770 WRITE_COEF(0x72, 0xc2ba), /* classD OCP */
2772 WRITE_COEF(0x6c, 0xfc06), /* Class D amp control */
2855 WRITE_COEF(0x03, 0x0002), /* Power Down Control */
2857 WRITE_COEF(0x07, 0x0200), /* DMIC control */
2860 WRITE_COEF(0x0a, 0xcccc), /* JD offset1 */
2861 WRITE_COEF(0x0b, 0xcccc), /* JD offset2 */
2862 WRITE_COEF(0x0e, 0x6fc0), /* LDO1/2/3, DAC/ADC */
2865 WRITE_COEF(0x3a, 0x0), /* Class D test 4 */
2867 WRITE_COEF(0x22, 0xa0c0), /* ANC */
2871 WRITE_COEF(0x21, 0x8804), /* DAC ADC Zero Detection */
2872 WRITE_COEF(0x2e, 0x2902), /* PLL */
2873 WRITE_COEF(0x33, 0xa080), /* capless control 2 */
2874 WRITE_COEF(0x34, 0x3400), /* capless control 3 */
2875 WRITE_COEF(0x35, 0x2f3e), /* capless control 4 */
2876 WRITE_COEF(0x36, 0x0), /* capless control 5 */
2878 WRITE_COEF(0x39, 0x110a), /* class D test 3 */
2880 WRITE_COEF(0x3c, 0x0014), /* class D test 6 */
2881 WRITE_COEF(0x3d, 0xc2ba), /* classD OCP */
2883 WRITE_COEF(0x49, 0x0), /* test mode */
2886 WRITE_COEF(0x37, 0xfc06), /* Class D amp control */
3626 WRITE_COEF(0x45, 0xd089), /* UAJ function set to menual mode */ alc_headset_mode_unplugged()
3628 WRITE_COEF(0x06, 0x6104), /* Set MIC2 Vref gate with HP */ alc_headset_mode_unplugged()
3633 WRITE_COEF(0x1b, 0x0c0b), /* LDO and MISC control */ alc_headset_mode_unplugged()
3637 WRITE_COEF(0x1b, 0x0c4b), /* LDO and MISC control */ alc_headset_mode_unplugged()
3641 WRITE_COEF(0x1b, 0x0c0b), alc_headset_mode_unplugged()
3642 WRITE_COEF(0x45, 0xc429), alc_headset_mode_unplugged()
3644 WRITE_COEF(0x06, 0x2104), alc_headset_mode_unplugged()
3645 WRITE_COEF(0x1a, 0x0001), alc_headset_mode_unplugged()
3646 WRITE_COEF(0x26, 0x0004), alc_headset_mode_unplugged()
3647 WRITE_COEF(0x32, 0x42a3), alc_headset_mode_unplugged()
3659 WRITE_COEF(0x76, 0x000e), alc_headset_mode_unplugged()
3660 WRITE_COEF(0x6c, 0x2400), alc_headset_mode_unplugged()
3661 WRITE_COEF(0x18, 0x7308), alc_headset_mode_unplugged()
3662 WRITE_COEF(0x6b, 0xc429), alc_headset_mode_unplugged()
3670 WRITE_COEF(0x45, 0xc429), /* Set to TRS type */ alc_headset_mode_unplugged()
3675 WRITE_COEF(0x15, 0x0d40), alc_headset_mode_unplugged()
3676 WRITE_COEF(0xb7, 0x802b), alc_headset_mode_unplugged()
3731 WRITE_COEF(0x06, 0x6100), /* Set MIC2 Vref gate to normal */ alc_headset_mode_mic_in()
3736 WRITE_COEF(0x06, 0x2100), alc_headset_mode_mic_in()
3737 WRITE_COEF(0x1a, 0x0021), alc_headset_mode_mic_in()
3738 WRITE_COEF(0x26, 0x008c), alc_headset_mode_mic_in()
3750 WRITE_COEF(0x19, 0xa208), alc_headset_mode_mic_in()
3751 WRITE_COEF(0x2e, 0xacf0), alc_headset_mode_mic_in()
3761 WRITE_COEF(0xb7, 0x802b), alc_headset_mode_mic_in()
3762 WRITE_COEF(0xb5, 0x1040), alc_headset_mode_mic_in()
3836 WRITE_COEF(0x45, 0xc089), alc_headset_mode_default()
3837 WRITE_COEF(0x45, 0xc489), alc_headset_mode_default()
3839 WRITE_COEF(0x49, 0x0049), alc_headset_mode_default()
3843 WRITE_COEF(0x06, 0x2100), alc_headset_mode_default()
3844 WRITE_COEF(0x32, 0x4ea3), alc_headset_mode_default()
3856 WRITE_COEF(0x76, 0x000e), alc_headset_mode_default()
3857 WRITE_COEF(0x6c, 0x2400), alc_headset_mode_default()
3858 WRITE_COEF(0x6b, 0xc429), alc_headset_mode_default()
3859 WRITE_COEF(0x18, 0x7308), alc_headset_mode_default()
3864 WRITE_COEF(0x45, 0xC429), /* Set to TRS type */ alc_headset_mode_default()
3869 WRITE_COEF(0x11, 0x0041), alc_headset_mode_default()
3870 WRITE_COEF(0x15, 0x0d40), alc_headset_mode_default()
3871 WRITE_COEF(0xb7, 0x802b), alc_headset_mode_default()
3910 WRITE_COEF(0x45, 0xd489), /* Set to CTIA type */ alc_headset_mode_ctia()
3911 WRITE_COEF(0x1b, 0x0c2b), alc_headset_mode_ctia()
3916 WRITE_COEF(0x45, 0xd489), /* Set to CTIA type */ alc_headset_mode_ctia()
3917 WRITE_COEF(0x1b, 0x0c6b), alc_headset_mode_ctia()
3922 WRITE_COEF(0x45, 0xd429), alc_headset_mode_ctia()
3923 WRITE_COEF(0x1b, 0x0c2b), alc_headset_mode_ctia()
3924 WRITE_COEF(0x32, 0x4ea3), alc_headset_mode_ctia()
3935 WRITE_COEF(0x6b, 0xd429), alc_headset_mode_ctia()
3936 WRITE_COEF(0x76, 0x0008), alc_headset_mode_ctia()
3937 WRITE_COEF(0x18, 0x7388), alc_headset_mode_ctia()
3941 WRITE_COEF(0x45, 0xd429), /* Set to ctia type */ alc_headset_mode_ctia()
3946 WRITE_COEF(0x11, 0x0001), alc_headset_mode_ctia()
3947 WRITE_COEF(0x15, 0x0d60), alc_headset_mode_ctia()
3948 WRITE_COEF(0xc3, 0x0000), alc_headset_mode_ctia()
4000 WRITE_COEF(0x45, 0xe489), /* Set to OMTP Type */ alc_headset_mode_omtp()
4001 WRITE_COEF(0x1b, 0x0c2b), alc_headset_mode_omtp()
4006 WRITE_COEF(0x45, 0xe489), /* Set to OMTP Type */ alc_headset_mode_omtp()
4007 WRITE_COEF(0x1b, 0x0c6b), alc_headset_mode_omtp()
4012 WRITE_COEF(0x45, 0xe429), alc_headset_mode_omtp()
4013 WRITE_COEF(0x1b, 0x0c2b), alc_headset_mode_omtp()
4014 WRITE_COEF(0x32, 0x4ea3), alc_headset_mode_omtp()
4025 WRITE_COEF(0x6b, 0xe429), alc_headset_mode_omtp()
4026 WRITE_COEF(0x76, 0x0008), alc_headset_mode_omtp()
4027 WRITE_COEF(0x18, 0x7388), alc_headset_mode_omtp()
4031 WRITE_COEF(0x45, 0xe429), /* Set to omtp type */ alc_headset_mode_omtp()
4036 WRITE_COEF(0x11, 0x0001), alc_headset_mode_omtp()
4037 WRITE_COEF(0x15, 0x0d50), alc_headset_mode_omtp()
4038 WRITE_COEF(0xc3, 0x0000), alc_headset_mode_omtp()
4092 WRITE_COEF(0x45, 0xd089), /* combo jack auto switch control(Check type)*/ alc_determine_headset_type()
4093 WRITE_COEF(0x49, 0x0149), /* combo jack auto switch control(Vref alc_determine_headset_type()
4103 WRITE_COEF(0x45, 0xD429), /* Set to ctia type */ alc_determine_headset_type()
4107 WRITE_COEF(0x11, 0x0001), alc_determine_headset_type()
4108 WRITE_COEF(0xb7, 0x802b), alc_determine_headset_type()
4109 WRITE_COEF(0x15, 0x0d60), alc_determine_headset_type()
4110 WRITE_COEF(0xc3, 0x0c00), alc_determine_headset_type()
4302 WRITE_COEF(0x1b, 0x880b), alc255_set_default_jack_type()
4303 WRITE_COEF(0x45, 0xd089), alc255_set_default_jack_type()
4304 WRITE_COEF(0x1b, 0x080b), alc255_set_default_jack_type()
4305 WRITE_COEF(0x46, 0x0004), alc255_set_default_jack_type()
4306 WRITE_COEF(0x1b, 0x0c0b), alc255_set_default_jack_type()
4310 WRITE_COEF(0x1b, 0x884b), alc255_set_default_jack_type()
4311 WRITE_COEF(0x45, 0xd089), alc255_set_default_jack_type()
4312 WRITE_COEF(0x1b, 0x084b), alc255_set_default_jack_type()
4313 WRITE_COEF(0x46, 0x0004), alc255_set_default_jack_type()
4314 WRITE_COEF(0x1b, 0x0c4b), alc255_set_default_jack_type()
6455 WRITE_COEF(0x01, 0xbebe), WRITE_COEF(0x02, 0xaaaa), WRITE_COEF(0x03, 0x0),
6456 WRITE_COEF(0x04, 0x0180), WRITE_COEF(0x06, 0x0), WRITE_COEF(0x07, 0x0f80),
6457 WRITE_COEF(0x08, 0x0031), WRITE_COEF(0x0a, 0x0060), WRITE_COEF(0x0b, 0x0),
6458 WRITE_COEF(0x0c, 0x7cf7), WRITE_COEF(0x0d, 0x1080), WRITE_COEF(0x0e, 0x7f7f),
6459 WRITE_COEF(0x0f, 0xcccc), WRITE_COEF(0x10, 0xddcc), WRITE_COEF(0x11, 0x0001),
6460 WRITE_COEF(0x13, 0x0), WRITE_COEF(0x14, 0x2aa0), WRITE_COEF(0x17, 0xa940),
6461 WRITE_COEF(0x19, 0x0), WRITE_COEF(0x1a, 0x0), WRITE_COEF(0x1b, 0x0),
6462 WRITE_COEF(0x1c, 0x0), WRITE_COEF(0x1d, 0x0), WRITE_COEF(0x1e, 0x7418),
6463 WRITE_COEF(0x1f, 0x0804), WRITE_COEF(0x20, 0x4200), WRITE_COEF(0x21, 0x0468),
6464 WRITE_COEF(0x22, 0x8ccc), WRITE_COEF(0x23, 0x0250), WRITE_COEF(0x24, 0x7418),
6465 WRITE_COEF(0x27, 0x0), WRITE_COEF(0x28, 0x8ccc), WRITE_COEF(0x2a, 0xff00),
6466 WRITE_COEF(0x2b, 0x8000), WRITE_COEF(0xa7, 0xff00), WRITE_COEF(0xa8, 0x8000),
6467 WRITE_COEF(0xaa, 0x2e17), WRITE_COEF(0xab, 0xa0c0), WRITE_COEF(0xac, 0x0),
6468 WRITE_COEF(0xad, 0x0), WRITE_COEF(0xae, 0x2ac6), WRITE_COEF(0xaf, 0xa480),
6469 WRITE_COEF(0xb0, 0x0), WRITE_COEF(0xb1, 0x0), WRITE_COEF(0xb2, 0x0),
6470 WRITE_COEF(0xb3, 0x0), WRITE_COEF(0xb4, 0x0), WRITE_COEF(0xb5, 0x1040),
6471 WRITE_COEF(0xb6, 0xd697), WRITE_COEF(0xb7, 0x902b), WRITE_COEF(0xb8, 0xd697),
6472 WRITE_COEF(0xb9, 0x902b), WRITE_COEF(0xba, 0xb8ba), WRITE_COEF(0xbb, 0xaaab),
6473 WRITE_COEF(0xbc, 0xaaaf), WRITE_COEF(0xbd, 0x6aaa), WRITE_COEF(0xbe, 0x1c02),
6474 WRITE_COEF(0xc0, 0x00ff), WRITE_COEF(0xc1, 0x0fa6),

Completed in 98 milliseconds